是否可以使用Sqlalchemy或任何ORM工具进行神经甲骨文分区?
我几乎是数据库方面的新手。
我们将Oracle 10G标准版用作数据存储。
每天有超过 3000 万行新行被插入到单个表中。(这是我们迄今为止管理的最大数量)
这些行将显示在网页中,作为支持订购和分页的网格。
我们要按日期范围划分表,但发现分区功能不在10 SE上,因此我们必须将其升级到EE,并需要获得Oracle Engineer的支持。
作为EE的替代方法,我将坚持使用SE,每小时(或每天)制作新桌子,并在Sqlalchemy上使用碎片或垂直分区功能。
我可以和其他人一起加入碎片表吗?
我可以对碎屑排序并像它们是同一张桌子一样收集它们?
提前致谢。
i'm almost a newbie to database stuffs.
we are using oracle 10g standard edition as our datastore.
+30m new rows are being inserted to a single table daily.(it's the hugest amount among what we've been managing so far)
the rows will be displayed in a web page as a grid which supports ordering and paging.
we were going to partition table by it's date range but found out partitioning feature wasn't on 10 SE, so we have to upgrade it to EE and need to get support by Oracle engineer.
as an alternative for EE I'm going to stick with SE and will make new table every hour(or every day) and use sharding or vertical partitioning features on SQLAlchemy.
can I join the sharded table with others?
can I sort sharded rows and gather them as if they were same table?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Sqlalchemy具有一些碎片选项,尽管永远不会像Oracle EE一样方便;)
您可以在这里查看一个示例: http://www.sqlalchemy.org/trac/browser/exampleas/sharding/attribute_shard.py.py
SQLAlchemy has some sharding options build-in, although will never be as convenient as Oracle EE ofcourse ;)
You can view an example here: http://www.sqlalchemy.org/trac/browser/examples/sharding/attribute_shard.py