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. C++ 代码小技巧(一)

    在写代码的时候,我们常常会用一些小技巧,下面做简单介绍 一.o1+o2+o3(常数优化) 如题,开优化开关. 有的OJ上有O2优化选项,当然,你也可以这样:在代码开头这样加一句: #pragma GC ...

  2. 洛谷 题解 P1351 【联合权值】

    Problem P1351 [联合权值] record 用时: 99ms 空间: 13068KB(12.76MB) 代码长度: 3.96KB 提交记录: R9883701 注: 使用了 o1 优化 o ...

  3. 基于python的种子搜索网站(三)项目部署

    项目部署过程 系统要求:ubuntu 16.04(或以上) 环境搭建和配置,必须严格按照以下步骤来安装部署!如有问题可以咨询(weixin:java2048) 安装部分 安装nginx sudo ap ...

  4. 【Webpack】373- 一看就懂之 webpack 高级配置与优化

    本文原载于 SegmentFault 社区专栏 前海拾贝 作者:JS_Even_JS 一.打包多页面应用 所谓打包多页面,就是同时打包出多个 html 页面,打包多页面也是使用 html-webpac ...

  5. 【Eureka】服务端和客户端

    [Eureka]服务端和客户端 转载:https://www.cnblogs.com/yangchongxing/p/10778357.html Eureka服务端 1.添加依赖 <?xml v ...

  6. 【Ubuntu 16.04.2_64】安装配置SVN

    [Ubuntu 16.04.2_64]安装配置SVN 转载:https://www.cnblogs.com/yangchongxing/p/10190549.html 检查是否已安装svn # svn ...

  7. 记一次 Kafka 集群线上扩容

    前段时间收到某个 Kafka 集群的生产客户端反馈发送消息耗时很高,于是花了一段时间去排查这个问题,最后该集群进行扩容,由于某些主题的当前数据量实在太大,在对这些主题迁移过程中话费了很长一段时间,不过 ...

  8. NodeJS7-1本地构建_gulp入门学习

    NodeJS在前端最常用的两种方式: 1.做成webserver 2.做成前端开发的相关工具 本地构建:前端发布代码都会经过压缩(谁来处理) ,前端技术的日新月异,利用新特性代码变得易读,清晰,可是老 ...

  9. HttpRunner学习9--切换测试报告模板

    前言 在HttpRunner中,给我们提供了 2 套测试报告模板,分别是 default_report_template.html 和 extent_report_template.html . 默认 ...

  10. HttpRunner学习7--引用CSV文件数据

    前言 在之前的文章中,我们已经学习了 parameters 参数化,是在测试脚本中直接指定参数列表.这种方法简单易用,但如果我们的参数列表数据比较多,这种方法可能就不太适合了. 当数据量比较大的时候, ...