WebService数据中的快速持久数据存储 [英] Fast Persistant DataStore from WebService Data
问题描述
我正在尝试在Windows Phone 8上进行非常快速的数据存储.
我有一个带有关系数据库(MSSQL)的Web服务,只能通过我构建的ASP.NET Web API进行访问.
我得到的数据和相关信息非常丰富.
I'm trying to do a very fast DataStore on the Windows Phone 8.
I have a WebService with a relational DB (MSSQL) which I can only access via the ASP.NET Web API I did build.
The data and releations I'm getting is huge.
***
资产N:1/0工作场所
资产N:1位置
资产N:1/0人
N:1工作地点
工作场所N:1/0人
位置具有3个属性
资产具有5个属性
工作场所具有5个属性
***
***
Asset N:1/0 Workplace
Asset N:1 Location
Asset N:1/0 Person
Workplace N:1 Location
Workplace N:1/0 Person
Location has 3 Attributes
Asset has 5 Attributes
Workplace has 5 Attributes
***
最快的方法是什么?我在Windows Phone上尝试了本地数据库,但是维护起来并不容易,用大约25000个资产设置关系大约需要两分钟->太长了:(
Whats the fastest way to do this? I tried a local Database on the Windows Phone, but it's not that easy to maintain and Setting the Relations with about 25000 Assets takes around two minutes --> too Long :(
有些想法吗? NoSQL还是可能的?
Does some has an Idea? NoSQL or something possible?
非常感谢:)
www.consulting4it.de
www.consulting4it.de
推荐答案
如果您有一个庞大的数据库并需要高性能,则可能应该在服务器中而不是在电话中实现SQL.然后,您可以利用SQL Server论坛等获取有关使用存储过程等高性能的提示.
If you have a huge database and require high performance you probably should implement SQL in a server instead of on the Phone. Then you can leverage the SQL Server forums etc. for tips regarding high performance, using stored procedures etc.
希望这会有所帮助,
-马克
这篇关于WebService数据中的快速持久数据存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!