如何估计甲骨文中的表空间大小

发布于 2025-02-13 00:28:56 字数 74 浏览 0 评论 0原文

当我期望每个表中的每张表格从100k到500k中记录时,我想估算Oracle数据库中的表空间和大小 我找不到方程式或方式来解决这一点。

i want to Estimate tablespace and block size in Oracle DataBase when i expect records in each table from 100K to 500K ,
i cannot find equation or way to esstimate this point.

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

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

发布评论

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

评论(1

诗酒趁年少 2025-02-20 00:28:58

这将在很大程度上取决于您的特定数据,所拥有的索引的数量和类型,以及在静止时使用压缩和加密等数据。没有一个单一适合的全部公式可供使用。如果您的数据已经存储在其他地方,请将其用作原始表数据的粗略数量级的指南,然后对索引所需的空间进行最佳猜测,并根据您的数量和类型留出空间来增长空间期望对桌子。

诀窍是给自己足够的空间来容纳自己拥有的数据,以及随着时间的推移增长的余地(您不想经常成长,所以不要使DataFile Auto Expand Exprient递增增量太小) 。

就甲骨文而言,您不必非常精确。如果您没有分配足够的空间开始,则数据文件可以随着时间的推移而增长,也可以在表空间中添加更多数据文件。如果您分配太多的空间,可以减少数据文件的大小,以免无缘无故地备份空间。

It will depend a lot on your specific data, the number and type of indexes you have, and on things like use of compression and encryption of data at rest. There isn't a single one-size-fits-all formula to use. If your data is already stored somewhere else, use that as a guideline for the rough order of magnitude for the raw table data, then make your best guess on space required for indexes and leave room to grow based on the number and type of transactions you expect against the tables.

The trick is to give yourself just enough space to hold the data you have, plus room to grow in reasonably sized increments over time (you don't want to grow too often, so don't make the datafile auto expand increments too small).

You don't have to be super precise as far as Oracle is concerned. If you don't allocate enough space to start, your datafiles can grow over time as needed, or you can add more datafiles to your tablespace. If you allocate too much space to start, you can reduce the size of your datafiles so that you don't have a lot of empty space to backup for no reason.

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