记忆足迹指导 [英] Memory Footprint Guidance

查看:90
本文介绍了记忆足迹指导的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在内存(散列表)中保留大约500,000条记录以便快速访问O(1)。

I need to keep around 500,000 records in memory (hashtable) for fast access O(1).

请告诉我是否适合保留如此庞大的数字内存中的记录(使用分析器检查内存占用大约100MB)。

Please tell me if it is suitable to keep such a huge number of records in memory (with memory footprint of around 100MB checked with profiler).

如果WinCE设备应用程序在没有重启的情况下运行了几天会有任何缺点吗?

Will there be any cons if the WinCE device application is running without restart for days?

 

我们想到的另一种方法是将所有记录保存在索引的数据库表中。但性能不是很好。

The other approach which we are thinking of is, keeping all records in indexed DB tables. But the performance is not that good.

还有其他办法。

快速搜索WinCE设备中的记录的行业标准是什么?

What is the industry standard for fast search of records in WinCE devices?

 

感谢您的帮助。

推荐答案

 

嗨LalitSRana。

 

Hi LalitSRana.

 

对于大型数据存储,我建议你使用SQL服务器。基于Windows CE,您可以安装 
您设备上的SQL Server CE并将它们存储在SQL Server CE中,有关详细信息,请单击
此处。您还可以将大数据存储在计算机和移动站点上的SQL Server中,

使用Microsoft SQL Server Compact 3.5 for Windows Mobile
通过WMDC或RDA与IIS连接,有关详细信息,请参阅

此主题。

For large data store, I suggest you use SQL server. Based on Windows CE, you can install  SQL Server CE on your device and store them in SQL Server CE, for more information please click here. Also you can store the large data in SQL Server on your computer and at your mobile site, use Microsoft SQL Server Compact 3.5 for Windows Mobile to connect it, by WMDC or RDA with IIS, for more information please see this thread.

 

我希望我的建议可以帮助你解决这个问题。

I hope my suggestion can help you to solve this problem.

  ;

祝你好运,

Jesse


这篇关于记忆足迹指导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆