关于解决方案的问题 - 访问数据库。冬眠?伊巴蒂斯?或者什么?
我的项目对功能的访问有很多时间限制。层视图,我的速度非常快,但是我的 DAO 层有问题。目前我的 DAO 层使用 hibernate。但我注意到我和他有很多问题,我无法修改它以便任何优化机制用于数据库。
在我的数据库中,大约有 2000 万个用户与包含数千个元组的表相关。表被分区以加快访问速度。
我想知道使用什么框架来代替 hibernate。我考虑过使用iBatis。我想知道你对这个想法有什么想法吗? iBatis 是否允许我调整查询/更新以便有效地利用如此大的数据库?我可以完全使用分区数据库吗?
您能推荐其他解决方案吗?
BD:甲骨文。
感谢您的任何帮助。
my project has a lot of time restrictions on access to functionality. Layer view, I have a very fast, but I have a problem with DAO layer. Currently my DAO layer uses hibernate. But I noticed that I had with him a lot of problems and I can not modify it so that any optimization mechanisms use to database.
In my database there are about 20 million users in relation to the tables where there are thousands of tuples. Tables are partitioned for faster access.
I wonder what framework to use instead of hibernate. I thought about using iBatis. I want to know about you think about this idea? Is iBatis will allow me to tune queries / updates in order to make efficient use of such a large database? Can I full use partitioned database?
Can you recommend any other solutions?
BD: Oracle.
Thanks for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用Ibatis,你可以比hibernate更好地进行查询优化,最重要的是sql查询与DAO代码的分离。
use Ibatis, you could do query optimizing much much better than in hibernate, and the most important is separation of sql queries from the DAO Codes.
您应该能够提高 Hibernate 性能或 Hibernate 中的查询性能。您能详细说明一下您的问题和限制在哪里吗?你能发布一些代码吗?
You should be able to improve Hibernate performance or query performance in Hibernate. Could you elaborate more on where your problems and restrictions are? Could you post some code?