12c Partitioning Enhancements, New Features (Doc ID 1568010.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

PURPOSE

The document provides references to the 12c partition specific features, enhancements.  该文档提供了对12c分区特定功能,增强功能的引用

DETAILS

Oracle Database 12c is offering enhanced composite partitioning strategies and vastly improved partition maintenance operations.  Oracle Database 12c提供了增强的复合分区策略,并大大改善了分区维护操作

Enhanced composite partitioning strategies  增强的复合分区策略

Combination of the Interval Partitioning and Reference Partitioning, interval partitioned parent table with reference partitioned child table:  区间分区和引用分区的组合,区间分区的父表与引用分区的子表

Note 1519042.1 How to Create Interval-Reference Partitioned Tables in Oracle 12c  如何在Oracle 12c中创建间隔参考分区表

Combination of Reference Partitioning with virtual column-based Partitioning is supported.  支持将参考分区与基于虚拟列的分区结合使用。

Interval as subpartitioning strategy for any top-level partitioning method (*-Interval) is still not supported.  仍然不支持将间隔作为任何顶级分区方法的子分区策略(*-Interval)

Numerous improvements to partition maintenance operations  分区维护操作的许多改进

Online Partition move  在线分区移动

ALTER TABLE...MOVE PARTITION ... ONLINE statement or ALTER TABLE...MOVE SUBPARTITION ... ONLINE statement moves a table partition or subpartition so that DML operations can continue to run uninterrupted on the partition or subpartition that is being moved.

ALTER TABLE...MOVE PARTITION ... ONLINE 语句或 ALTER TABLE...MOVE SUBPARTITION ... ONLINE 语句可移动表分区或子分区,以便DML操作可以在要移动的分区或子分区上继续不间断地运行

See Note 1584032.1 for more details.  有关更多详细信息,请参见Note 1584032.1

Multiple partitions can be added, dropped, truncated, merged with one DDL command:  可以使用一个DDL命令添加,删除,截断或合并多个分区:

Note 1482456.1 Adding multiple partitions in Oracle 12C  在Oracle 12C中添加多个分区

Note 1482264.1 How to Drop/Truncate multiple partitions in Oracle 12C  如何在Oracle 12C中删除/截断多个分区

Note 1482263.1 How to Merge multiple partitions in Oracle 12C.  如何在Oracle 12C中合并多个分区

Similarly a partition can be split into multiple partitions in one go:  同样,一个分区可以一次性拆分为多个分区

Note 1482230.1 Splitting a Partition into multiple partitions in Oracle 12C 在Oracle 12C 中将一个分区拆分为多个分区

Optimized Global index maintenance during drop or truncate partition  在删除或截断分区期间优化了全局索引维护

Drop or truncate partition is optimized in Oracle Database 12c, so that these operations do not require any immediate index maintenance to keep all indexes valid, making it fast metadata-only operations.
在Oracle Database 12c中对删除或截断分区进行了优化,因此这些操作不需要任何立即的索引维护即可保持所有索引有效,从而使其成为仅使用元数据的快速操作。

Global index maintenance is decoupled from the DROP and TRUNCATE partition maintenance operation without rendering a global index unusable. Index maintenance is done asynchronously and can be delayed to a later point-in-time, making these drop and truncate partition fast metadata-only operations.
全局索引维护与DROP和TRUNCATE分区维护操作分离,而不会导致全局索引不可用。 索引维护是异步完成的,并且可以延迟到以后的某个时间点,从而使这些删除和截断分区操作成为仅使用元数据的快速操作。

As documentation at "Asynchronous Global Index Maintenance for Dropping and Truncating Partitions" states  "Asynchronous global index maintenance for DROP and TRUNCATE is performed by default; however, the UPDATE INDEXES clause is still required for backward compatibility."

正如“ 删除和截断分区的异步全局索引维护 ”中的文档所述:“ 默认情况下,对DROP和TRUNCATE进行异步全局索引维护;但是,为了向后兼容,仍然需要UPDATE INDEXES子句。”

So the UPDATE [GLOBAL] INDEXES clause still needs to be used in order to avoid rendering the status of global index UNUSABLE.

因此,仍然需要使用UPDATE [GLOBAL] INDEXES子句,以避免使全局索引的状态变为UNUSABLE。

When the UPDATE [GLOBAL] INDEXES clause is specified in ALTER TABLE ... DROP|TRUNCATE PARTITION ... statement and the "_fast_index_maintenance"=true (default value), then oracle will do the above mentioned optimized index maintenance. You can find example to demonstrate the behaviour in Tutorial: Oracle Database 12c: What's New in Partitioning?

当在 ALTER TABLE ... DROP|TRUNCATE PARTITION ... 语句中指定 UPDATE [GLOBAL] INDEXES 子句,并且"_fast_index_maintenance"=true(默认值)时,oracle将执行上述优化的索引维护。您可以在教程中找到示例,以演示该行为:Oracle Database 12c:分区中的新增功能?

Partial indexing  部分索引

Global/Local indexes can be either created on all partitions of a partitioned table, or only on a subset of the partitions of a partitioned table.

全局/局部索引既可以在分区表的所有分区上创建,也可以仅在分区表的分区的子集上创建。

Note 1482460.1 How to create Partial Global Indexes for Partitioned tables in Oracle 12c  如何在Oracle 12c中为分区表创建部分全局索引

Partition Advisor  分区顾问

In 12c the Partition Advisor has been enhanced in several ways.  在12c中,分区顾问以多种方式得到了增强。

The time needed to generate recommendations is reduced, the quality of recommendations has improved, it now also recommends more partitioning options e.g., LIST partitioning.

生成建议所需的时间减少了,建议的质量得到了改善,现在还建议了更多的分区选项,例如LIST分区。

Information Lifecycle Management (ILM) integration

Partitioning provides a simple and automated way to implement an Information Lifecycle Management (ILM) strategy.

See example Adding ILM ADO policies.

Further information

Tutorial: Oracle Database 12c: What's New in Partitioning?

Partitioning with Oracle Database 12c (PDF) white paper

VLDB and Partitioning Guide

REFERENCES

NOTE:1584032.1 - 12C New Feature: Online Move Partition
NOTE:276158.1 - Partitioning Enhancements in Oracle 10g
NOTE:452447.1 - 11g Partitioning Enhancements

12c分区增强功能,新功能(文档ID 1568010.1)的更多相关文章

  1. R12 付款过程请求-功能和技术信息 (文档 ID 1537521.1)

    In this Document   Abstract   History   Details   _afrLoop=2234450430619177&id=1537521.1&dis ...

  2. Elasticsearch-更新现有文档

    ES-更新现有文档 ES的更新API允许发送文档所需要做的修改,而且API会返回一个答复,告知操作是否成功.更新流程如下 1. 检索现有的文档.为了使这步奏效,必须打开_source字段,否则ES并不 ...

  3. xtts v4for oracle 11g&12c(文档ID 2471245

    xtts v4for oracle 11g&12c(文档ID 2471245.1) 序号 主机 操作项目 操作内容 备注: 阶段一:初始阶段 1.1 源端 环境验证 migrate_check ...

  4. NPOI word文档表格在新的文档中多次使用

    最近有一个项目,涉及到文档操作,有一个固定的模版,模版中有文字和表格,表格会在新的文档中使用n多次 //获取模版中的表格FileStream stream = new FileStream(strPa ...

  5. 转://【MOS】关于在不同版本和平台之间进行还原或复制的常见问题 (文档 ID 1526162.1)--跨版本恢复

    Questions and Answers 1) 我能用更高版本的 Oracle 还原或复制旧版本的数据库吗? 2) 我能在两个不同的补丁程序集之间进行还原或复制吗? 3) 我能在同一操作系统的不同版 ...

  6. 针对数据泵导出 (expdp) 和导入 (impdp)工具性能降低问题的检查表 (文档 ID 1549185.1)

    针对数据泵导出 (expdp) 和导入 (impdp)工具性能降低问题的检查表 (文档 ID 1549185.1) 文档内容 适用于: Oracle Database – Enterprise Edi ...

  7. sphinx索引分析——文件格式和字典是double array trie 检索树,索引存储 – 多路归并排序,文档id压缩 – Variable Byte Coding

    1 概述 这是基于开源的sphinx全文检索引擎的架构代码分析,本篇主要描述index索引服务的分析.当前分析的版本 sphinx-2.0.4 2 index 功能 3 文件表 4 索引文件结构 4. ...

  8. ORA-01578和ORA-26040--NOLOGGING操作引起的坏块-错误解释和解决方案(文档ID 1623284.1)

    ORA-01578和ORA-26040--NOLOGGING操作引起的坏块-错误解释和解决方案(文档ID 1623284.1) (一)NOLOGGING操作引起的坏块(ORA-01578和ORA-26 ...

  9. 可以搜索到DedeCms后台文章列表文档id吗?或者快速定位id编辑文章

    我们在建站时有的时候发现之前的文章有错误了,要进行修改,但又不知道文章名,只知道大概的文章id,那么可以搜索到DedeCms后台文章列表文档id吗?或者快速定位文章id方便修改? 第一种方法:复制下面 ...

随机推荐

  1. [TimLinux] Linux shell获取进程pid

    调用脚本时,获取进程PID: (/this/is/a/script/file.sh > /out/to/log.txt & echo $!) & 脚本内部,获取进程PID: ec ...

  2. 基于iSensor的MT9M001C12STM传感器调试总结

    iSensor APP 之 摄像头调试  MT9M001C12STM iSensor app 非常适合调试各种摄像头,已测试通过的sensor有: l  OV7670.OV7725.OV9650.OV ...

  3. MySQL 数据查询小练习

    作业 # 创建班级表 create table class ( cls_id int auto_increment primary key, cls_name varchar(10) not null ...

  4. 大数据学习笔记——Hadoop编程实战之Mapreduce

    Hadoop编程实战——Mapreduce基本功能实现 此篇博客承接上一篇总结的HDFS编程实战,将会详细地对mapreduce的各种数据分析功能进行一个整理,由于实际工作中并不会过多地涉及原理,因此 ...

  5. 小胖求学系列之-文档生成利器(上)-smart-doc

    最近小胖上课总是挂着黑眼圈,同桌小张问:你昨晚通宵啦?小胖有气无力的说到:最近开发的项目接口文档没写,昨晚补文档补了很久,哎,昨晚只睡了2个小时.小张说:不是有生成文档工具吗,类似swagger2.s ...

  6. docker-compose编排参数详解

    一.前言 Compose是一个用于定义和运行多容器Docker应用程序的工具.使用Compose,您可以使用YAML文件来配置应用程序的服务.然后,使用单个命令,您可以从配置中创建并启动所有服务. C ...

  7. 历史上的今天接口api

    ip地址查询 www.ipip5.com 为大家提供历史上的今天接口api,提供txt和json两种返回格式.   1.txt文本格式 http://www.ipip5.com/today/api.p ...

  8. 【每天一题】LeetCode 0067. 二进制求和

    开源地址:https://github.com/jiauzhang/algorithms 题目描述 * https://leetcode-cn.com/problems/add-binary * 给定 ...

  9. Python面向对象-概念、类、实例

    OOP——Object Oriented Programming,面向对象编程,是一种程序设计思想.该思想将对象作为程序的基本单元,一个对象包含了数据和操作数据的函数. 区别于面向过程的程序设计即把计 ...

  10. 新人踩坑的一天——springboot注入mapper时出现java.lang.NullPointerException: null

    来公司的第二周接到了定时任务的开发需求:每天早上十点发送用户报表邮件 .校招新人菜鸟没做过这玩意有些懵(尴尬)于是决定分步写,从excel导出->邮件发送->定时器实现->mappe ...