oData RIA PowerPivot 大消息大小
我正在使用 powerpivot 直接从 sql 数据库加载 300 万行,性能出奇的好。
我尝试使用 vs2010 和 silverlight RIA 服务生成一个简单的 oData 服务,并从 powerpivot 访问该服务。它适用于少量行,但如果单个方法尝试返回 300 万行,则会在服务器上崩溃。我想这并不奇怪。
我经常遇到 WCF 的消息大小问题,配置传输以支持更大的大小确实很痛苦。另外,理想情况下我不需要一条大消息,而是某种数据打包。在 WCF 之上添加 RIA 和 oData 层似乎只会使更改最大消息大小的想法变得更加复杂。
oData 接口是否支持传输或打包从方法返回的数据?
这是 WCF/RIA 或 oData 本身的限制吗?是否可以使用连接到返回数百万行的 oData 源的 powerpivot?
有人有关于通过 WCF / RIA / oData 公开大量数据的更好技术的想法吗?
谢谢, 亚当
I was playing with powerpivot to directly load 3 million rows from a sql database and performance is suprisingly good.
I tried generating a simple oData service by using vs2010 and silverlight RIA services and access that from powerpivot. Which works with small numbers of rows but blows up on the server if a single method tries to return 3 million rows. Not suprising I guess.
Ive often run into the message size issue with WCF and it is a real pain to configure transports to support larger sizes. Plus, ideally I dont want one big message but some sort of data packeting. Adding a layer of RIA and oData ontop of WCF seems to just make the idea of changing max message sizes even more convoluted.
Is there any support in the oData interface for a transport that will stream or packet the data returned from a method?
Is this a limitation of WCF/RIA or oData itself. Is it possible to use powerpivot connected to an oData source that returns millions of rows?
Anybody have ideas for better techniques of exposing large sets of data via WCF / RIA / oData ?
thanks,
Adam
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到了!在 DataService<> 中类的InitializeService方法需要使用config.SetEntitySetPageSize。
Found it! In the DataService<> class InitializeService method needed to use config.SetEntitySetPageSize.