简体   繁体   English

大容量 Excel 数据拉取 - 避免 ODBC

[英]Large Volume Excel Data Pulls - Avoiding ODBC

We have a requirement to provide ad-hoc access to large subsets of a system's data to users to analyse in Excel.我们需要向用户提供对系统数据的大型子集的临时访问,以便在 Excel 中进行分析。 We do not want to grant direct ODBC access.我们不想授予直接 ODBC 访问权限。 This will curb our ability to make DB layout changes without our users' processes breaking.这将限制我们在不中断用户进程的情况下更改数据库布局的能力。

Web Services seem ill suited for the volume of data at stake, in the region of 100's of thousands of records. Web 服务似乎不适合处理数以千计的记录数以百计的数据量。

What would you suggest as an alternative to direct ODBC access?作为直接 ODBC 访问的替代方法,您有什么建议?

There is a database concept of a "view" which does exactly what you need - it allows to expose large set of data and gives you a freedom of DB schema changes as long as you take care of exposing the same data to a user.有一个“视图”的数据库概念,它完全可以满足您的需要 - 只要您负责将相同的数据暴露给用户,它就允许公开大量数据并为您提供 DB 模式更改的自由。

I agree with you regarding web services - it is not only the volume of data, but also the fact getting web services to work with Excel (2007 and above) is far from trivial.关于 web 服务,我同意你的看法 - 这不仅是数据量,而且让 web 服务与 Excel (2007 年及以上)一起工作的事实远非微不足道。 Also you will lock your DB schema as much as you would with a view.此外,您将锁定您的数据库模式,就像您使用视图一样。

For the really, really huge number of records you can consider data warehousing - a separate db, where you provide a read only access for reporting purposes and feeding the data from your read/write database.对于非常非常大量的记录,您可以考虑使用数据仓库 - 一个单独的数据库,您可以在其中提供只读访问权限以用于报告目的并从读/写数据库中提供数据。 The feed can be easily and quickly done via SSIS.通过 SSIS 可以轻松快速地完成进给。

HTH高温高压

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM