本机与 ODBC 数据库连接
据我了解,某些数据库在 R 中具有本机支持(例如 MySQL),但您可以使用 RODBC 连接到其他数据库,例如 MS SQL Server。 与 RODBC 相比,使用本机驱动程序的读/写速度能提高多少? 还有哪些其他数据库在 R 中具有本机驱动程序? 一般来说,阅读比写作快还是慢?
I understand that some databases have native support in R (e.g. MySQL) but you can connect to other DBs like MS SQL Server using RODBC. How much speed improvement does one gain for reading/writing with the native drivers vs. RODBC? What other DBs have native drivers in R? Is reading faster or slower than writing generally?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您对 SQL Server 特别感兴趣,下面的参考资料有点过时,但我想它可能仍然适用。
将 ODBC 与 Microsoft SQL Server 结合使用
If you're specifically interested in SQL Server, the reference below is a little bit out of date but I imagine it probably still holds.
Using ODBC with Microsoft SQL Server