Oracle分割槽表基礎運維-01分割槽表分類
Oracle 分割槽表基礎運維 -01 分割槽表分類
關於分割槽表的基本概念,可以檢視Oracle 官方文件,連結如下:
https://docs.oracle.com/en/database/oracle/oracle-database/19/vldbg/vldb-and-partitioning-guide.pdf
Oracle® Database VLDB and Partitioning Guide
分割槽表使用場景:
在某些情況下,需要對錶進行分割槽。
這裡有一些建議,當你應該考慮分割槽一個表的情況:
•大於 2 GB 的表。
應該始終將這些表視為分割槽的候選表。
•包含歷史資料的表,其中新資料被新增到最新的分割槽。
一個典型的例子是歷史表,其中只有當前月份的資料是可更新的,其他11 個月是隻讀的。
•表的內容必須分佈在不同型別的儲存裝置上。
When to Partition a Table
There are certain situations when you would want to partition a table.
Here are some suggestions for situations when you should consider partitioning a table:
• Tables that are greater than 2 GB.
These tables should always be considered as candidates for partitioning.
• Tables that contain historical data, in which new data is added into the newest partition.
A typical example is a historical table where only the current month's data is updatable and the other 11 months are read only.
• Tables whose contents must be distributed across different types of storage devices.
何時對索引進行分割槽
在某些情況下,需要對索引進行分割槽。
以下是一些何時考慮對索引進行分割槽的建議:
•避免在刪除資料時進行索引維護。
•對部分資料進行維護,而不使整個索引失效。
•減少索引對具有單調遞增值的列造成的索引傾斜的影響。
When to Partition an Index
There are certain situations when you would want to partition an index.
Here are some suggestions for when to consider partitioning an index:
• Avoid index maintenance when data is removed.
• Perform maintenance on parts of the data without invalidating the entire index.
• Reduce the effect of index skew caused by an index on a column with a monotonically increasing value.
分割槽策略
Partitioning Strategies
Oracle Partitioning offers three fundamental data distribution methods as basic partitioning strategies that control how data is placed into individual partitions.
Oracle 分割槽提供了三種基本的資料分佈方法作為基本分割槽策略,用於控制如何將資料放置到各個分割槽中。
These strategies are:
• Range
• Hash
• List
組合分割槽
Composite Partitioning
Composite partitioning is a combination of the basic data distribution methods.
With composite partitioning, a table is partitioned by one data distribution method and then each partition is further subdivided into subpartitions using a second data distribution method. All subpartitions for a given partition represent a logical subset of the data.
Composite partitioning supports historical operations, such as adding new range partitions, but also provides higher degrees of potential partition pruning and finer granularity of data placement through subpartitioning. Figure 2-3 offers a graphical view of range-hash and range-list composite partitioning, as an example.
The types of composite partitioning are:
• Composite Range-Range Partitioning
• Composite Range-Hash Partitioning
• Composite Range-List Partitioning
• Composite List-Range Partitioning
• Composite List-Hash Partitioning
• Composite List-List Partitioning
• Composite Hash-Hash Partitioning
• Composite Hash-List Partitioning
• Composite Hash-Range Partitioning
歡迎關注我的微信公眾號"IT小Chen",共同學習,共同成長!!!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29785807/viewspace-2692253/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle分割槽表基礎運維-06分割槽表索引Oracle運維索引
- Oracle分割槽表基礎運維-04列表分割槽Oracle運維
- Oracle分割槽表基礎運維-09刪除分割槽Oracle運維
- Oracle分割槽表基礎運維-05組合分割槽Oracle運維
- Oracle分割槽表基礎運維-02範圍分割槽Oracle運維
- Oracle分割槽表基礎運維-03HASH分割槽Oracle運維
- Oracle分割槽表基礎運維-07增加分割槽(3列表分割槽)Oracle運維
- Oracle分割槽表基礎運維-07增加分割槽(2 HASH分割槽)Oracle運維
- Oracle分割槽表基礎運維-07增加分割槽(1範圍分割槽)Oracle運維
- Oracle分割槽表基礎運維-07增加分割槽(4 RANGE_HASH)Oracle運維
- Oracle分割槽表基礎運維-07增加分割槽(5RANGE_LIST)Oracle運維
- Oracle分割槽表基礎運維-07增加分割槽(6RANGE_RANGE)Oracle運維
- Oracle分割槽表基礎運維-08Coalescing PartitionsOracle運維
- oracle分割槽表和分割槽表exchangeOracle
- oracle分割槽表和非分割槽表exchangeOracle
- oracle分割槽表的分類及測試Oracle
- [oracle] expdp 匯出分割槽表的分割槽Oracle
- oracle 分割槽表move和包含分割槽表的lob moveOracle
- ORACLE分割槽表梳理系列Oracle
- oracle將表配置為分割槽表Oracle
- oracle 普通表-分割槽表改造流程Oracle
- oracle 線上重新定義,普通表改變分割槽表,分割槽表可以更改型別、分割槽欄位等Oracle型別
- PostgreSQL/LightDB 分割槽表之分割槽裁剪SQL
- PG的非分割槽表線上轉分割槽表
- Oracle 12.2之後ALTER TABLE .. MODIFY轉換非分割槽表為分割槽表Oracle
- 【MYSQL】 分割槽表MySql
- 非分割槽錶轉換成分割槽表
- 移動分割槽表和分割槽索引的表空間索引
- 對oracle分割槽表的理解整理Oracle
- Oracle SQL調優之分割槽表OracleSQL
- MySQL 分割槽表探索MySql
- 分割槽表-實戰
- MySql分表、分庫、分片和分割槽MySql
- hive 分割槽表和分桶表區別Hive
- 【Linux】MBR磁碟分割槽表只能有四個分割槽?Linux
- ORACLE刪除-表分割槽和資料Oracle
- Oracle drop分割槽表單個分割槽無法透過閃回恢復Oracle
- MySQL分表後原分割槽表處理方案MySql