Oracle分区

发布于 2024-08-07 01:50:27 字数 95 浏览 6 评论 0原文

我有 1 个表,其中包含 8 个子表。每个子表又包含3到5个子表。现在我的问题是是否可以按层次结构对表进行分区?这意味着我喜欢将所有表信息保留在一张表中,然后在它们上创建分区。

I have 1 table which contain 8 subtables. Each subtable contains another 3 to 5 subtables. Now my question is that is it possible to partition tables by hierarchy? That means i like to keep all the tables info in one table and then create partitioning on them.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

薄情伤 2024-08-14 01:50:27

是的。 Oracle 允许我们在分区内定义分区:它被称为 子分区

Yes. Oracle allows us to define partitions within partitions: it is called subpartitioning.

小苏打饼 2024-08-14 01:50:27

2种方式:
1.首先对主表进行分区,然后进行子分区。

  1. 在单个查询中创建分区和子分区。

笔记:
使用 DBMS_REDEFINITION 和 RANGE 分区

2 ways:
1. First Partition the main table and proceed with the sub partition.

  1. Make partition and sub partition in a single query.

Note:
use DBMS_REDEFINITION and RANGE partitioning

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文