SlideShare a Scribd company logo
Partitioning on Oracle
12c
WHAT CHANGED ON THE MOST IMPORTANT ORACLE FEATURE
Luís Marques
• Oracle ACE
• Founder of Redglue
• OUGPT Founder and Leader
• Blogger at http://lcmarques.com
• @drune / luis.marques@redglue.eu
Once upon a time in partitioning
Range, Hash and
Composite
Partitioning
List Partitioning,
Composite Range-
List Partitioning
Global Hash
Indexes,
1M partitions per
table limit
Interval, Virtual Column,
Extended Composite and
System Partitioning
Interval Reference
Partitioning
Cascading
TRUNCATE&EXCHANGE,
Online Moving
Maintaning Multiple Partition
Global Async Indexes
Partial Indexes
Partial Indexes & async global index
maintenance
Partial Indexes
“Create local or global indexes on subset of partitions enabling more flexibility”
• Default table indexing property (INDEXING) for table or partitions
SQL> create table doc ( doc_id number(10), doc_date DATE, doc_status VARCHAR2(2), doc_owner
VARCHAR2(24)) INDEXING OFF
PARTITION BY RANGE (doc_date ) (
PARTITION doc_old_p1 VALUES LESS THAN (TO_DATE('01-JAN-2016','DD-MON-YYYY'))
INDEXING OFF,
PARTITION doc_new_p2 VALUES LESS THAN (TO_DATE('01-APR-2016','DD-MON-YYYY'))
INDEXING ON,
PARTITION doc_new_p3 VALUES LESS THAN (TO_DATE('01-JUL-2016','DD-MON-YYYY'))
INDEXING ON,
PARTITION doc_new_p4 VALUES LESS THAN (TO_DATE('01-OCT-2016','DD-MON-YYYY'))
INDEXING ON,
PARTITION doc_new_p5 VALUES LESS THAN (TO_DATE('01-DEC-2016','DD-MON-YYYY'))
INDEXING ON);
Partial Indexes
“Partial Indexes only spans for partitions with INDEXING ON attribute. They work with local and
global indexes”
SQL>@t doc
TABLE_NAME PARTITION PARTITION_COUNT STATUS DEF_INDEXING
---------- --------- --------------- -------- ------------
DOC RANGE 5 VALID OFF
TABLE_NAME PARTITION_NAME INTERVAL INDEXING
---------- --------------- -------- --------
DOC DOC_NEW_P2 NO ON
DOC DOC_NEW_P3 NO ON
DOC DOC_NEW_P4 NO ON
DOC DOC_NEW_P5 NO ON
DOC DOC_OLD_P1 NO OFF
Partial Indexes
“Create local or global indexes on subset of partitions enabling more flexibility”
SQL> create index doc_owner_idx on doc(doc_owner) global indexing partial;
doc_old_p
1 (OFF)
doc_old_p
3
doc_old_p
2
doc_old_p
4
doc_old_p
5
global partial index
SQL> create index doc_status_local_idx on doc(doc_status) local indexing partial;
doc_old_p
1 (OFF)
doc_old_p
3
doc_old_p
2
doc_old_p
4
doc_old_p
4
local idx 1 Local idx 2 Local idx 3 Local idx 4
Partial Indexes
“Create local or global indexes on subset of partitions enabling more flexibility”
SQL> @i doc
INDEX_NAME INDEX_TYPE TABLE_NAME UNIQUENES PARTITIONED INDEXING ORPHANED_ENTRIES -----------------
--- --------------------------- ---------- --------- ----------- -------- ----------------- DOC_OWNER_IDX NORMAL DOC NONUNIQUE
NO PARTIAL NO DOC_STATUS_LOCAL_IDX NORMAL DOC NONUNIQUE YES PARTIAL NO
INDEX_NAME TABLE_NAME PARTITION PARTITION_COUNT LOCALITY -------------------- ---------- --------- -
-------------- -------- DOC_OWNER_LOCAL_IDX DOC RANGE 5 LOCAL
INDEX_NAME PARTITION_NAME STATUS INTERVAL ORPHANED_ENTRIES
-------------------- --------------- -------- -------- ----------------- DOC_STATUS_LOCAL_IDX
DOC_OLD_P1 UNUSABLE NO NO DOC_STATUS_LOCAL_IDX
DOC_NEW_P5 USABLE NO NO DOC_STATUS_LOCAL_IDX
DOC_NEW_P4 USABLE NO NO DOC_STATUS_LOCAL_IDX
DOC_NEW_P3 USABLE NO NO DOC_STATYS_LOCAL_IDX
DOC_NEW_P2 USABLE NO NO
Partial Indexes - Global
“CBO awareness – Table expansion”
SQL> create index doc_owner_idx on doc(doc_owner) global indexing partial;
SQL> select * from doc where doc_owner = 'LNLAZMALQMMQQVTEVGCZ’
Global partial index
Full partition single scan
Partial Indexes – Local
“CBO awareness”
SQL> create index doc_status_local_idx on doc(doc_status) local indexing partial;
SQL> select * from doc where doc_status = 'XX'
Local partial index (2,5)
Full partition single scan
Partial Indexes – orphaned entries
“when global index is subject to deferred index maintenance or INDEXING was turned off for partition”
SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off;
doc_old_p
1 (OFF)
doc_old_p
3
doc_old_p
2
doc_old_p
4
doc_old_p
4
global partial index
doc_old_p
1 (OFF)
doc_old_p
3
doc_old_p
2
doc_old_p
4
doc_old_p
4
local idx 1 Local idx 2 Local idx 3 Local idx 4
Partial Indexes – orphaned entries
“when global index is subject to deferred index maintenance or INDEXING was turned off for partition”
SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off;
INDEX_NAME TABLE_NAME UNIQUENES PARTITIONED INDEXING STATUS ORPHANED_ENTRIES
-------------------- ---------- --------- ----------- -------- -------- ----------------- DOC_STATUS_LOCAL_IDX DOC
NONUNIQUE YES PARTIAL N/A NO DOC_OWNER_IDX DOC NONUNIQUE NO
PARTIAL VALID YES
INDEX_NAME PARTITION_NAME STATUS INTERVAL ORPHANED_ENTRIES -------------------- ----
----------- -------- -------- ----------------- DOC_STATUS_LOCAL_IDX DOC_OLD_P1 UNUSABLE NO NO
DOC_STATUS_LOCAL_IDX DOC_NEW_P5 USABLE NO NO
DOC_STATUS_LOCAL_IDX DOC_NEW_P4 USABLE NO NO
DOC_STATUS_LOCAL_IDX DOC_NEW_P3 UNUSABLE NO NO
DOC_STATUS_LOCAL_IDX DOC_NEW_P2 USABLE NO NO
Partial Indexes – orphaned entries
“Behind the scenes of indexing off/on is something fast and something slow ”
SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off;
•Lock Table in EXCLUSIVE & UPDATES dictionary internal tables
•insert into index_orphaned_entry$ (indexobj#, tabpartdobj#, hidden)
SQL> alter table t.doc modify partition DOC_NEW_P3 indexing on;
• Coalesce the global index: alter index "T"."DOC_OWNER_IDX" coalesce cleanup
• Rebuild the local partitioned index: ALTER INDEX "T"."DOC_STATUS_LOCAL_IDX" REBUILD
PARTITION "DOC_NEW_P3”
•Delete from index_orphaned_entry$
Partial Indexes – orphaned entries
“CBO awareness”
SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off;
SQL> select * from doc where doc_owner = 'LNLAZMALQMMQQVTEVGCZ’
Performance penalty – scan the entire global partial index, even the
orphaned entries - maintenance is always required!
Global partial index
Partition Range – understands that you have orphaned entries
Partial Indexes – orphaned entries
“CBO awareness”
SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off;
SQL> select * from doc where doc_owner = 'LNLAZMALQMMQQVTEVGCZ’
Undocumented function - TBL$OR$IDX$PART$NUM(…..) - Returns the partition numbers that it needs to scan.
Partial Indexes – orphaned entries
No segment changes
Partial Indexes – orphaned entries
“orphaned entries, no maintenance? ”
SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off;
Why is this operation so fast? (You already know it!) but …
 Is Oracle is leaving orphaned entries on the indexes for ever? What are my
options?
Asyncronous / deferred index maintenance
“Option 1 – Rebuild me”
SQL> alter index DOC_OWNER_IDX rebuild partition DOC_NEW_P3;
Entire index structure rebuild
Makes sense when the scale of orphaned entries is big enough
Asyncronous / deferred index maintenance
“Option 2 – Coaslesce is dead, long life to new coalesce”
SQL> alter index DOC_OWNER_IDX coalesce cleanup;
Visits each index leaf block and remove the orphaned entries
Better that the standard coalesce as it understands what is an index orphaned entry
Maybe an inexpensive alternative to rebuilt partition
Asyncronous / deferred index maintenance
“Option 3 - Postponed index maintenance to a better time”
Index maintenance can be deferred to a better time; Scheduled (2:00 AM by default) or
manually : Scheduled deferred maintenance.
JOB_NAME JOB_CREATOR COMMENTS
------------------------------ ------------ ------------------------------------------------------------
PMO_DEFERRED_GIDX_MAINT_JOB SYS Oracle defined automatic index cleanup for partition mainten
ance operations with deferred global index maintenance
Manually restore global indexes in need of a cleanup
SQL> exec DBMS_PART.CLEANUP_GIDX('T','DOC');
Partial Indexes – Limitations and defaults
“Create local or global indexes on subset of partitions enabling more flexibility”
• Unique indexes and indexes enforcing unique constraints are
not supported
 Non-partitioned tables are not supported
 Defaults to FULL indexes instead of PARTIAL
 Supports INDEXING clause at partition and subpartition levels
Multipe Partition Maintenance & async
global index maintenance
multiple partition maintenance
“Single DDL does it all – add, drop, merge, splitting and truncating”
SQL> create table t.new_doc ( doc_id, doc_date, doc_status, doc_owner, doc_value)
INDEXING OFF
PARTITION BY RANGE (doc_value ) interval (100)
(PARTITION p0 values less than (99))
as select …., rownum from dual connect by level <= 1000;
TABLE_NAME PARTITION_NAME INTERVAL NUM_ROWS INDEXING
---------- --------------- -------- ---------- --------
NEW_DOC P0 NO OFF
NEW_DOC SYS_P481 YES OFF
NEW_DOC SYS_P482 YES OFF
NEW_DOC SYS_P483 YES OFF
NEW_DOC SYS_P484 YES OFF
NEW_DOC SYS_P485 YES OFF
SQL> alter table NEW_DOC modify partition SYS_P481 indexing on;
SQL> alter table NEW_DOC modify partition SYS_P482 indexing on;
multiple partition maintenance
“Single DDL does it all – add, drop, merge, splitting and truncating”
SQL> create index doc_value_idx on new_doc(doc_value) global indexing partial;
SQL>create index doc_value_idx2 on new_doc(doc_id);
INDEX_NAME TABLE_NAME UNIQUENES PARTITIONED INDEXING STATUS ORPHANED_ENTRIES
-------------------- ---------- --------- ----------- -------- -------- -----------------
DOC_VALUE_IDX2 NEW_DOC NONUNIQUE NO FULL VALID NO
DOC_VALUE_IDX NEW_DOC NONUNIQUE NO PARTIAL VALID NO
P0 (OFF) SYS_P482 SYS_P483SYS_P481 SYS_P490
global partial index
Global index (doc_value_idx2)
multiple partition maintenance – drop/truncate
“Single DDL does it all – add, drop, merge, splitting and truncating”
SQL> ALTER TABLE new_doc DROP partitions for (700), for (500), for (100);
P0 (OFF)
SYS_P482
(200)
SYS_P483
(300)
SYS_P481
(100)
SYS_P490
(400)
global partial index
SYS_Pn
(500)
SYS_Pn
(700)
multiple partition maintenance – drop/truncate
“Single DDL does it all – add, drop, merge, splitting and truncating”
SQL> ALTER TABLE new_doc DROP partitions for (700), for (500), for (100) update global indexes;
10046 Trace:
1
multiple partition maintenance (black magic)
“Single DDL does it all – add, drop, merge, splitting and truncating”
SQL> ALTER TABLE new_doc DROP partitions for (700), for (500), for (100) update global indexes;
SQL> alter system set "_fast_index_maintenance"=false scope=both;
multiple partition maintenance - merge
“Single DDL does it all – add, drop, merge, splitting and truncating”
SQL> MERGE partitions SYS_P481 to SYS_P490 INTO partition MERGE_P1 update indexes;
TABLE_NAME PARTITION_NAME INTERVAL NUM_ROWS INDEXING
---------- --------------- -------- ---------- --------
NEW_DOC MERGE_P1 NO OFF
NEW_DOC P0 NO OFF
NEW_DOC SYS_P525 YES OFF
P0 (OFF) SYS_P482
(200)
SYS_P483
(300)
SYS_P481
(100)
SYS_P490
(400)
MERGE_P1
SYS_Pn
(500)
SYS_Pn
(700)
global partial index
multiple partition maintenance - merge
“Single DDL does it all – add, drop, merge, splitting and truncating”
Range Partitions:
• Partitions need to be adjacent on Range partitioning
•Partitions need to be specified in ascending of their partition bound values
• Keyword “TO” allows to specify lowest and highest partitions for Range Partitioning
List Partitions:
• Partitions don’t need to be adjacent on List Partitioning
• MERGE partition is the union of list values of the partitions merged
•UPDATE INDEXES leaves no orphaned entries on MERGE, but some “unexpected” things may
appear
multiple partition maintenance
“Single DDL does it all – add, drop, merge, splitting and truncating”
before merge
after merge
Asyncronous / deferred index maintenance
conclusions
“Postponed index maintenance to a better time”
• Asynchronous global index maintenance for DROP,TRUNCATE and MODIFY INDEXING OFF
Partitions are performed by default: Only affect Oracle dictionary tables (metadata)
• Global index maintenance is be decoupled from the DROP and TRUNCATE partition
maintenance;
• Move global index maintenance for off-peak times, or whenever you decide to.
• Maintenance of a list of data object numbers in metadata, where orphaned index entries
corresponding to the drop and truncated objects that are invalid are ignored.
Move Partitions Online
Move partitions online
“ALTER TABLE ... MOVE PARTITION operation functions is a non-blocking online DDL command”
SQL> @dml
SQL> ALTER TABLE move_doc move partition for (3000) TABLESPACE move_ts online update indexes;
SQL> ALTER TABLE move_doc move partition for (3000) TABLESPACE move_ts update indexes;
ORA-14020: this physical attribute may not be specified for a table partition
ERROR at line 1:ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
Move partitions online
“ALTER TABLE ... MOVE PARTITION operation functions is a non-blocking online DDL command”
SQL> @dml
SQL> ALTER TABLE move_doc move partition for (3000) TABLESPACE move_ts online;
INDEX_NAME TABLE_NAME LEAF_BLOCKS UNIQUENES PARTITIONED INDEXING STATUS ORPHANED_ENTRIES
-------------------- ---------- ----------- --------- ----------- -------- -------- ----------------- DOC_LOCAL_VALUE_IDX
MOVE_DOC 31 NONUNIQUE YES FULL N/A NO DOC_GLOB_VALUE_IDX
MOVE_DOC 52 NONUNIQUE NO FULL VALID YES
Move partitions online
“ALTER TABLE ... MOVE PARTITION operation functions is a non-blocking online
DDL command”
Requires additional disk space and resources (CPU and I/O) for journaling
Index maintenance for global and local indexes
 Online, transparent operation!
IOTs are out!
Interval Reference Partitioning
Interval reference partitioning
“reference-partitioned table to use interval partitioning as a top partitioning strategy - Child table can inherit the partition characteristics from a parent table ”
TABLE_NAME PARTITION PARTITION_COUNT STATUS DEF_INDEXING
---------- --------- --------------- -------- ------------
DOC RANGE 1048575 VALID ON
TRX REFERENCE 1048575 VALID ON
TABLE_NAME PARTITION_NAME INTERVAL NUM_ROWS TABLESPA INDEXING
---------- --------------- -------- ---------- -------- --------
DOC P0 NO USERS ON
DOC SYS_P8771 YES USERS ON
DOC SYS_P8772 YES USERS ON
DOC SYS_P8773 YES USERS ON
TRX P0 NO USERS ON
TRX SYS_P8771 YES USERS ON
TRX SYS_P8772 YES USERS ON
TRX SYS_P8773 YES USERS ON
DOC
P8771
TRX
P8771
DOC
p0
DOC
P8772
DOC
P8773
TRX
p0
TRX
P8772
TRX
P8773
Interval reference partitioning Modeling
Interval reference partitioning
“reference-partitioned table to use interval partitioning as a top partitioning
strategy “
New partitions created automatically only when new data arrives
Child tables maintained automatically
 Partition name inherit from current partitions (direct parent relative name – same name as
parent )
Interval reference partitioning – CASCADE
TRUNCATE
“CASCADE option for TRUNCATE and EXCHANGE PARTITION”
 Single atomic transaction preserves data integrity
Easier, simplier and less error prone
 CASCADE applies for whole reference tree
Cascading TRUNCATE available for non-partitioned tables
ON DELETE CASCADE for all foreign keys required
Interval reference partitioning – CASCADE
TRUNCATE

Bottom up truncates – 6 truncate operations 1 truncate operation
Interval reference partitioning – CASCADE
TRUNCATE
“CASCADE option for TRUNCATE and EXCHANGE PARTITION”
Simplify partition maintenance with interval reference partitions CASCADE option to truncate of exchange partition from parent to
child.
SQL> ALTER TABLE doc TRUNCATE PARTITION for (299) cascade update indexes;
TABLE_NAME PARTITION_NAME INTERVAL NUM_ROWS TABLESPA INDEXING
---------- --------------- -------- ---------- -------- --------
DOC P0 NO 1 USERS ON
DOC SYS_P8791 YES 1 USERS ON
DOC SYS_P8792 YES 0 USERS ON
DOC SYS_P8793 YES 1 USERS ON
TRX P0 NO 1 USERS ON
TRX SYS_P8791 YES 1 USERS ON
TRX SYS_P8792 YES 0 USERS ON
TRX SYS_P8793 YES 1 USERS ON
Interval reference partitioning – CASCADE
EXCHANGE
“CASCADE option for TRUNCATE and EXCHANGE PARTITION”
 Single atomic transaction preserves data integrity
Easier, simplier and less error prone
 CASCADE applies for whole reference tree
Hierarchy must match target and table to be exchanged
Interval reference partitioning – CASCADE
TRUNCATE

1 Exchange operation – complete hierarchy tree
It’s me...
Thank you & Questions
http://lcmarques.com / @drune / luis.marques@redglue.eu

More Related Content

What's hot

Sql server lesson7
Sql server lesson7Sql server lesson7
Sql server lesson7
Ala Qunaibi
 
Oraclesql
OraclesqlOraclesql
Oraclesql
Priya Goyal
 
Getting Started with MySQL I
Getting Started with MySQL IGetting Started with MySQL I
Getting Started with MySQL I
Sankhya_Analytics
 
Sql ch 12 - creating database
Sql ch 12 - creating databaseSql ch 12 - creating database
Sql ch 12 - creating database
Mukesh Tekwani
 
Getting Started with MySQL II
Getting Started with MySQL IIGetting Started with MySQL II
Getting Started with MySQL II
Sankhya_Analytics
 
Adbms
AdbmsAdbms
Adbms
jass12345
 
Lab
LabLab
Oracle SQL Advanced
Oracle SQL AdvancedOracle SQL Advanced
Oracle SQL Advanced
Dhananjay Goel
 
Sq lite module7
Sq lite module7Sq lite module7
Sq lite module7
Highervista
 
Oracle SQL Basics
Oracle SQL BasicsOracle SQL Basics
Oracle SQL Basics
Dhananjay Goel
 
SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data   SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data
Vibrant Technologies & Computers
 
SQL- Introduction to PL/SQL
SQL- Introduction to  PL/SQLSQL- Introduction to  PL/SQL
SQL- Introduction to PL/SQL
Vibrant Technologies & Computers
 
Oracle Database 12c - Data Redaction
Oracle Database 12c - Data RedactionOracle Database 12c - Data Redaction
Oracle Database 12c - Data Redaction
Alex Zaballa
 
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with ExamplesDML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
LGS, GBHS&IC, University Of South-Asia, TARA-Technologies
 
Sql
SqlSql
Internet Environment
Internet  EnvironmentInternet  Environment
Internet Environment
guest8fdbdd
 
Db2 tutorial
Db2 tutorialDb2 tutorial
Twp partitioning-11gr2-2009-09-130569
Twp partitioning-11gr2-2009-09-130569Twp partitioning-11gr2-2009-09-130569
Twp partitioning-11gr2-2009-09-130569
Naga Mallesh K
 
View & index in SQL
View & index in SQLView & index in SQL
View & index in SQL
Swapnali Pawar
 
New T-SQL Features in SQL Server 2012
New T-SQL Features in SQL Server 2012 New T-SQL Features in SQL Server 2012
New T-SQL Features in SQL Server 2012
Richie Rump
 

What's hot (20)

Sql server lesson7
Sql server lesson7Sql server lesson7
Sql server lesson7
 
Oraclesql
OraclesqlOraclesql
Oraclesql
 
Getting Started with MySQL I
Getting Started with MySQL IGetting Started with MySQL I
Getting Started with MySQL I
 
Sql ch 12 - creating database
Sql ch 12 - creating databaseSql ch 12 - creating database
Sql ch 12 - creating database
 
Getting Started with MySQL II
Getting Started with MySQL IIGetting Started with MySQL II
Getting Started with MySQL II
 
Adbms
AdbmsAdbms
Adbms
 
Lab
LabLab
Lab
 
Oracle SQL Advanced
Oracle SQL AdvancedOracle SQL Advanced
Oracle SQL Advanced
 
Sq lite module7
Sq lite module7Sq lite module7
Sq lite module7
 
Oracle SQL Basics
Oracle SQL BasicsOracle SQL Basics
Oracle SQL Basics
 
SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data   SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data
 
SQL- Introduction to PL/SQL
SQL- Introduction to  PL/SQLSQL- Introduction to  PL/SQL
SQL- Introduction to PL/SQL
 
Oracle Database 12c - Data Redaction
Oracle Database 12c - Data RedactionOracle Database 12c - Data Redaction
Oracle Database 12c - Data Redaction
 
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with ExamplesDML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
 
Sql
SqlSql
Sql
 
Internet Environment
Internet  EnvironmentInternet  Environment
Internet Environment
 
Db2 tutorial
Db2 tutorialDb2 tutorial
Db2 tutorial
 
Twp partitioning-11gr2-2009-09-130569
Twp partitioning-11gr2-2009-09-130569Twp partitioning-11gr2-2009-09-130569
Twp partitioning-11gr2-2009-09-130569
 
View & index in SQL
View & index in SQLView & index in SQL
View & index in SQL
 
New T-SQL Features in SQL Server 2012
New T-SQL Features in SQL Server 2012 New T-SQL Features in SQL Server 2012
New T-SQL Features in SQL Server 2012
 

Viewers also liked

OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowOTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
Alex Zaballa
 
How to find and fix your Oracle-based application performance problem
How to find and fix your Oracle-based application performance problemHow to find and fix your Oracle-based application performance problem
How to find and fix your Oracle-based application performance problem
Cary Millsap
 
Table partitioning in Oracle Database
Table partitioning in Oracle DatabaseTable partitioning in Oracle Database
Table partitioning in Oracle Database
Aakash Mehndiratta
 
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi servicesOracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
dbi services
 
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Cathrine Wilhelmsen
 
whitepaper_advanced_analytics_with_tableau_eng
whitepaper_advanced_analytics_with_tableau_engwhitepaper_advanced_analytics_with_tableau_eng
whitepaper_advanced_analytics_with_tableau_eng
S. Hanau
 
Partitioning
PartitioningPartitioning
Partitioning
Reema Gajjar
 
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
vasuballa
 
Oracle Enterprise Manager 11g
Oracle Enterprise Manager 11gOracle Enterprise Manager 11g
Oracle Enterprise Manager 11g
Valentin Leonard Tabacaru
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
Bob Rhubart
 

Viewers also liked (10)

OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowOTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
 
How to find and fix your Oracle-based application performance problem
How to find and fix your Oracle-based application performance problemHow to find and fix your Oracle-based application performance problem
How to find and fix your Oracle-based application performance problem
 
Table partitioning in Oracle Database
Table partitioning in Oracle DatabaseTable partitioning in Oracle Database
Table partitioning in Oracle Database
 
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi servicesOracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
 
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
Table Partitioning in SQL Server: A Magic Solution for Better Performance? (P...
 
whitepaper_advanced_analytics_with_tableau_eng
whitepaper_advanced_analytics_with_tableau_engwhitepaper_advanced_analytics_with_tableau_eng
whitepaper_advanced_analytics_with_tableau_eng
 
Partitioning
PartitioningPartitioning
Partitioning
 
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
 
Oracle Enterprise Manager 11g
Oracle Enterprise Manager 11gOracle Enterprise Manager 11g
Oracle Enterprise Manager 11g
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
 

Similar to Partitioning on Oracle 12c - What changed on the most important Oracle feature

Database & Technology 2 _ Richard Foote _ 10 things you probably dont know ab...
Database & Technology 2 _ Richard Foote _ 10 things you probably dont know ab...Database & Technology 2 _ Richard Foote _ 10 things you probably dont know ab...
Database & Technology 2 _ Richard Foote _ 10 things you probably dont know ab...
InSync2011
 
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Understanding Query Optimization with ‘regular’ and ‘Exadata’ OracleUnderstanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Guatemala User Group
 
2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation
Biju Thomas
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
Markus Flechtner
 
IDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OSIDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OS
Cuneyt Goksu
 
Discard inport exchange table & tablespace
Discard inport exchange table & tablespaceDiscard inport exchange table & tablespace
Discard inport exchange table & tablespace
Marco Tusa
 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_features
AiougVizagChapter
 
从 Oracle 合并到 my sql npr 实例分析
从 Oracle 合并到 my sql   npr 实例分析从 Oracle 合并到 my sql   npr 实例分析
从 Oracle 合并到 my sql npr 实例分析
YUCHENG HU
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security Multitenant
Arush Jain
 
My SYSAUX tablespace is full, please
My SYSAUX tablespace is full, pleaseMy SYSAUX tablespace is full, please
My SYSAUX tablespace is full, please
Markus Flechtner
 
Percona xtra db cluster(pxc) non blocking operations, what you need to know t...
Percona xtra db cluster(pxc) non blocking operations, what you need to know t...Percona xtra db cluster(pxc) non blocking operations, what you need to know t...
Percona xtra db cluster(pxc) non blocking operations, what you need to know t...
Marco Tusa
 
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdfNOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
cookie1969
 
21
2121
Things you should know about Oracle truncate
Things you should know about Oracle truncateThings you should know about Oracle truncate
Things you should know about Oracle truncate
Kazuhiro Takahashi
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation
Biju Thomas
 
War of the Indices- SQL Server and Oracle
War of the Indices-  SQL Server and OracleWar of the Indices-  SQL Server and Oracle
War of the Indices- SQL Server and Oracle
Kellyn Pot'Vin-Gorman
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01
Karam Abuataya
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11g
fcamachob
 

Similar to Partitioning on Oracle 12c - What changed on the most important Oracle feature (20)

Database & Technology 2 _ Richard Foote _ 10 things you probably dont know ab...
Database & Technology 2 _ Richard Foote _ 10 things you probably dont know ab...Database & Technology 2 _ Richard Foote _ 10 things you probably dont know ab...
Database & Technology 2 _ Richard Foote _ 10 things you probably dont know ab...
 
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Understanding Query Optimization with ‘regular’ and ‘Exadata’ OracleUnderstanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
 
2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
 
IDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OSIDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OS
 
Discard inport exchange table & tablespace
Discard inport exchange table & tablespaceDiscard inport exchange table & tablespace
Discard inport exchange table & tablespace
 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_features
 
从 Oracle 合并到 my sql npr 实例分析
从 Oracle 合并到 my sql   npr 实例分析从 Oracle 合并到 my sql   npr 实例分析
从 Oracle 合并到 my sql npr 实例分析
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security Multitenant
 
My SYSAUX tablespace is full, please
My SYSAUX tablespace is full, pleaseMy SYSAUX tablespace is full, please
My SYSAUX tablespace is full, please
 
Percona xtra db cluster(pxc) non blocking operations, what you need to know t...
Percona xtra db cluster(pxc) non blocking operations, what you need to know t...Percona xtra db cluster(pxc) non blocking operations, what you need to know t...
Percona xtra db cluster(pxc) non blocking operations, what you need to know t...
 
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdfNOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
 
21
2121
21
 
Things you should know about Oracle truncate
Things you should know about Oracle truncateThings you should know about Oracle truncate
Things you should know about Oracle truncate
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
 
2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation
 
War of the Indices- SQL Server and Oracle
War of the Indices-  SQL Server and OracleWar of the Indices-  SQL Server and Oracle
War of the Indices- SQL Server and Oracle
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11g
 

More from Luis Marques

Apache Hive for modern DBAs
Apache Hive for modern DBAsApache Hive for modern DBAs
Apache Hive for modern DBAs
Luis Marques
 
Ksplice - Keep your Database systems up to date with no downtime
Ksplice - Keep your Database systems up to date with no downtime Ksplice - Keep your Database systems up to date with no downtime
Ksplice - Keep your Database systems up to date with no downtime
Luis Marques
 
Indices B-Tree – considerações básicas
Indices B-Tree – considerações básicasIndices B-Tree – considerações básicas
Indices B-Tree – considerações básicas
Luis Marques
 
Oracle TDE - O Básico
Oracle TDE - O BásicoOracle TDE - O Básico
Oracle TDE - O Básico
Luis Marques
 
Proof of Concept with Real Application Testing 12c
Proof of Concept with Real Application Testing 12cProof of Concept with Real Application Testing 12c
Proof of Concept with Real Application Testing 12c
Luis Marques
 
Drill Down the most underestimate Oracle Feature - Database Resource Manager
Drill Down the most underestimate Oracle Feature - Database Resource ManagerDrill Down the most underestimate Oracle Feature - Database Resource Manager
Drill Down the most underestimate Oracle Feature - Database Resource Manager
Luis Marques
 
Exadata - O Todo é maior que a soma das Partes
Exadata - O Todo é maior que a soma das PartesExadata - O Todo é maior que a soma das Partes
Exadata - O Todo é maior que a soma das Partes
Luis Marques
 

More from Luis Marques (7)

Apache Hive for modern DBAs
Apache Hive for modern DBAsApache Hive for modern DBAs
Apache Hive for modern DBAs
 
Ksplice - Keep your Database systems up to date with no downtime
Ksplice - Keep your Database systems up to date with no downtime Ksplice - Keep your Database systems up to date with no downtime
Ksplice - Keep your Database systems up to date with no downtime
 
Indices B-Tree – considerações básicas
Indices B-Tree – considerações básicasIndices B-Tree – considerações básicas
Indices B-Tree – considerações básicas
 
Oracle TDE - O Básico
Oracle TDE - O BásicoOracle TDE - O Básico
Oracle TDE - O Básico
 
Proof of Concept with Real Application Testing 12c
Proof of Concept with Real Application Testing 12cProof of Concept with Real Application Testing 12c
Proof of Concept with Real Application Testing 12c
 
Drill Down the most underestimate Oracle Feature - Database Resource Manager
Drill Down the most underestimate Oracle Feature - Database Resource ManagerDrill Down the most underestimate Oracle Feature - Database Resource Manager
Drill Down the most underestimate Oracle Feature - Database Resource Manager
 
Exadata - O Todo é maior que a soma das Partes
Exadata - O Todo é maior que a soma das PartesExadata - O Todo é maior que a soma das Partes
Exadata - O Todo é maior que a soma das Partes
 

Recently uploaded

Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussionArtificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
OECD Directorate for Financial and Enterprise Affairs
 
Using-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptxUsing-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptx
kainatfatyma9
 
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfWhy Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Ben Linders
 
Competition and Regulation in Professions and Occupations – OECD – June 2024 ...
Competition and Regulation in Professions and Occupations – OECD – June 2024 ...Competition and Regulation in Professions and Occupations – OECD – June 2024 ...
Competition and Regulation in Professions and Occupations – OECD – June 2024 ...
OECD Directorate for Financial and Enterprise Affairs
 
XP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to LeadershipXP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to Leadership
samililja
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
 
IEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdfIEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdf
Claudio Gallicchio
 
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
OECD Directorate for Financial and Enterprise Affairs
 
Disaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other usesDisaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other uses
RIDHIMAGARG21
 
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussionArtificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
Carrer goals.pptx and their importance in real life
Carrer goals.pptx  and their importance in real lifeCarrer goals.pptx  and their importance in real life
Carrer goals.pptx and their importance in real life
artemacademy2
 
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
kekzed
 
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussionPro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
gpww3sf4
 
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussionPro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
OECD Directorate for Financial and Enterprise Affairs
 
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
SkillCertProExams
 
Proposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP IncProposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP Inc
Raheem Muhammad
 
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
OECD Directorate for Financial and Enterprise Affairs
 

Recently uploaded (20)

Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussionArtificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
 
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
 
Using-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptxUsing-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptx
 
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfWhy Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
 
Competition and Regulation in Professions and Occupations – OECD – June 2024 ...
Competition and Regulation in Professions and Occupations – OECD – June 2024 ...Competition and Regulation in Professions and Occupations – OECD – June 2024 ...
Competition and Regulation in Professions and Occupations – OECD – June 2024 ...
 
XP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to LeadershipXP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to Leadership
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
 
IEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdfIEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdf
 
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
 
Disaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other usesDisaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other uses
 
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussionArtificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
 
Carrer goals.pptx and their importance in real life
Carrer goals.pptx  and their importance in real lifeCarrer goals.pptx  and their importance in real life
Carrer goals.pptx and their importance in real life
 
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
 
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussionPro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
 
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
 
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussionPro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
 
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
 
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
 
Proposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP IncProposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP Inc
 
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
 

Partitioning on Oracle 12c - What changed on the most important Oracle feature

  • 1. Partitioning on Oracle 12c WHAT CHANGED ON THE MOST IMPORTANT ORACLE FEATURE
  • 2. Luís Marques • Oracle ACE • Founder of Redglue • OUGPT Founder and Leader • Blogger at http://lcmarques.com • @drune / luis.marques@redglue.eu
  • 3. Once upon a time in partitioning Range, Hash and Composite Partitioning List Partitioning, Composite Range- List Partitioning Global Hash Indexes, 1M partitions per table limit Interval, Virtual Column, Extended Composite and System Partitioning Interval Reference Partitioning Cascading TRUNCATE&EXCHANGE, Online Moving Maintaning Multiple Partition Global Async Indexes Partial Indexes
  • 4. Partial Indexes & async global index maintenance
  • 5. Partial Indexes “Create local or global indexes on subset of partitions enabling more flexibility” • Default table indexing property (INDEXING) for table or partitions SQL> create table doc ( doc_id number(10), doc_date DATE, doc_status VARCHAR2(2), doc_owner VARCHAR2(24)) INDEXING OFF PARTITION BY RANGE (doc_date ) ( PARTITION doc_old_p1 VALUES LESS THAN (TO_DATE('01-JAN-2016','DD-MON-YYYY')) INDEXING OFF, PARTITION doc_new_p2 VALUES LESS THAN (TO_DATE('01-APR-2016','DD-MON-YYYY')) INDEXING ON, PARTITION doc_new_p3 VALUES LESS THAN (TO_DATE('01-JUL-2016','DD-MON-YYYY')) INDEXING ON, PARTITION doc_new_p4 VALUES LESS THAN (TO_DATE('01-OCT-2016','DD-MON-YYYY')) INDEXING ON, PARTITION doc_new_p5 VALUES LESS THAN (TO_DATE('01-DEC-2016','DD-MON-YYYY')) INDEXING ON);
  • 6. Partial Indexes “Partial Indexes only spans for partitions with INDEXING ON attribute. They work with local and global indexes” SQL>@t doc TABLE_NAME PARTITION PARTITION_COUNT STATUS DEF_INDEXING ---------- --------- --------------- -------- ------------ DOC RANGE 5 VALID OFF TABLE_NAME PARTITION_NAME INTERVAL INDEXING ---------- --------------- -------- -------- DOC DOC_NEW_P2 NO ON DOC DOC_NEW_P3 NO ON DOC DOC_NEW_P4 NO ON DOC DOC_NEW_P5 NO ON DOC DOC_OLD_P1 NO OFF
  • 7. Partial Indexes “Create local or global indexes on subset of partitions enabling more flexibility” SQL> create index doc_owner_idx on doc(doc_owner) global indexing partial; doc_old_p 1 (OFF) doc_old_p 3 doc_old_p 2 doc_old_p 4 doc_old_p 5 global partial index SQL> create index doc_status_local_idx on doc(doc_status) local indexing partial; doc_old_p 1 (OFF) doc_old_p 3 doc_old_p 2 doc_old_p 4 doc_old_p 4 local idx 1 Local idx 2 Local idx 3 Local idx 4
  • 8. Partial Indexes “Create local or global indexes on subset of partitions enabling more flexibility” SQL> @i doc INDEX_NAME INDEX_TYPE TABLE_NAME UNIQUENES PARTITIONED INDEXING ORPHANED_ENTRIES ----------------- --- --------------------------- ---------- --------- ----------- -------- ----------------- DOC_OWNER_IDX NORMAL DOC NONUNIQUE NO PARTIAL NO DOC_STATUS_LOCAL_IDX NORMAL DOC NONUNIQUE YES PARTIAL NO INDEX_NAME TABLE_NAME PARTITION PARTITION_COUNT LOCALITY -------------------- ---------- --------- - -------------- -------- DOC_OWNER_LOCAL_IDX DOC RANGE 5 LOCAL INDEX_NAME PARTITION_NAME STATUS INTERVAL ORPHANED_ENTRIES -------------------- --------------- -------- -------- ----------------- DOC_STATUS_LOCAL_IDX DOC_OLD_P1 UNUSABLE NO NO DOC_STATUS_LOCAL_IDX DOC_NEW_P5 USABLE NO NO DOC_STATUS_LOCAL_IDX DOC_NEW_P4 USABLE NO NO DOC_STATUS_LOCAL_IDX DOC_NEW_P3 USABLE NO NO DOC_STATYS_LOCAL_IDX DOC_NEW_P2 USABLE NO NO
  • 9. Partial Indexes - Global “CBO awareness – Table expansion” SQL> create index doc_owner_idx on doc(doc_owner) global indexing partial; SQL> select * from doc where doc_owner = 'LNLAZMALQMMQQVTEVGCZ’ Global partial index Full partition single scan
  • 10. Partial Indexes – Local “CBO awareness” SQL> create index doc_status_local_idx on doc(doc_status) local indexing partial; SQL> select * from doc where doc_status = 'XX' Local partial index (2,5) Full partition single scan
  • 11. Partial Indexes – orphaned entries “when global index is subject to deferred index maintenance or INDEXING was turned off for partition” SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off; doc_old_p 1 (OFF) doc_old_p 3 doc_old_p 2 doc_old_p 4 doc_old_p 4 global partial index doc_old_p 1 (OFF) doc_old_p 3 doc_old_p 2 doc_old_p 4 doc_old_p 4 local idx 1 Local idx 2 Local idx 3 Local idx 4
  • 12. Partial Indexes – orphaned entries “when global index is subject to deferred index maintenance or INDEXING was turned off for partition” SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off; INDEX_NAME TABLE_NAME UNIQUENES PARTITIONED INDEXING STATUS ORPHANED_ENTRIES -------------------- ---------- --------- ----------- -------- -------- ----------------- DOC_STATUS_LOCAL_IDX DOC NONUNIQUE YES PARTIAL N/A NO DOC_OWNER_IDX DOC NONUNIQUE NO PARTIAL VALID YES INDEX_NAME PARTITION_NAME STATUS INTERVAL ORPHANED_ENTRIES -------------------- ---- ----------- -------- -------- ----------------- DOC_STATUS_LOCAL_IDX DOC_OLD_P1 UNUSABLE NO NO DOC_STATUS_LOCAL_IDX DOC_NEW_P5 USABLE NO NO DOC_STATUS_LOCAL_IDX DOC_NEW_P4 USABLE NO NO DOC_STATUS_LOCAL_IDX DOC_NEW_P3 UNUSABLE NO NO DOC_STATUS_LOCAL_IDX DOC_NEW_P2 USABLE NO NO
  • 13. Partial Indexes – orphaned entries “Behind the scenes of indexing off/on is something fast and something slow ” SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off; •Lock Table in EXCLUSIVE & UPDATES dictionary internal tables •insert into index_orphaned_entry$ (indexobj#, tabpartdobj#, hidden) SQL> alter table t.doc modify partition DOC_NEW_P3 indexing on; • Coalesce the global index: alter index "T"."DOC_OWNER_IDX" coalesce cleanup • Rebuild the local partitioned index: ALTER INDEX "T"."DOC_STATUS_LOCAL_IDX" REBUILD PARTITION "DOC_NEW_P3” •Delete from index_orphaned_entry$
  • 14. Partial Indexes – orphaned entries “CBO awareness” SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off; SQL> select * from doc where doc_owner = 'LNLAZMALQMMQQVTEVGCZ’ Performance penalty – scan the entire global partial index, even the orphaned entries - maintenance is always required! Global partial index Partition Range – understands that you have orphaned entries
  • 15. Partial Indexes – orphaned entries “CBO awareness” SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off; SQL> select * from doc where doc_owner = 'LNLAZMALQMMQQVTEVGCZ’ Undocumented function - TBL$OR$IDX$PART$NUM(…..) - Returns the partition numbers that it needs to scan.
  • 16. Partial Indexes – orphaned entries No segment changes
  • 17. Partial Indexes – orphaned entries “orphaned entries, no maintenance? ” SQL> alter table t.doc modify partition DOC_NEW_P3 indexing off; Why is this operation so fast? (You already know it!) but …  Is Oracle is leaving orphaned entries on the indexes for ever? What are my options?
  • 18. Asyncronous / deferred index maintenance “Option 1 – Rebuild me” SQL> alter index DOC_OWNER_IDX rebuild partition DOC_NEW_P3; Entire index structure rebuild Makes sense when the scale of orphaned entries is big enough
  • 19. Asyncronous / deferred index maintenance “Option 2 – Coaslesce is dead, long life to new coalesce” SQL> alter index DOC_OWNER_IDX coalesce cleanup; Visits each index leaf block and remove the orphaned entries Better that the standard coalesce as it understands what is an index orphaned entry Maybe an inexpensive alternative to rebuilt partition
  • 20. Asyncronous / deferred index maintenance “Option 3 - Postponed index maintenance to a better time” Index maintenance can be deferred to a better time; Scheduled (2:00 AM by default) or manually : Scheduled deferred maintenance. JOB_NAME JOB_CREATOR COMMENTS ------------------------------ ------------ ------------------------------------------------------------ PMO_DEFERRED_GIDX_MAINT_JOB SYS Oracle defined automatic index cleanup for partition mainten ance operations with deferred global index maintenance Manually restore global indexes in need of a cleanup SQL> exec DBMS_PART.CLEANUP_GIDX('T','DOC');
  • 21. Partial Indexes – Limitations and defaults “Create local or global indexes on subset of partitions enabling more flexibility” • Unique indexes and indexes enforcing unique constraints are not supported  Non-partitioned tables are not supported  Defaults to FULL indexes instead of PARTIAL  Supports INDEXING clause at partition and subpartition levels
  • 22. Multipe Partition Maintenance & async global index maintenance
  • 23. multiple partition maintenance “Single DDL does it all – add, drop, merge, splitting and truncating” SQL> create table t.new_doc ( doc_id, doc_date, doc_status, doc_owner, doc_value) INDEXING OFF PARTITION BY RANGE (doc_value ) interval (100) (PARTITION p0 values less than (99)) as select …., rownum from dual connect by level <= 1000; TABLE_NAME PARTITION_NAME INTERVAL NUM_ROWS INDEXING ---------- --------------- -------- ---------- -------- NEW_DOC P0 NO OFF NEW_DOC SYS_P481 YES OFF NEW_DOC SYS_P482 YES OFF NEW_DOC SYS_P483 YES OFF NEW_DOC SYS_P484 YES OFF NEW_DOC SYS_P485 YES OFF SQL> alter table NEW_DOC modify partition SYS_P481 indexing on; SQL> alter table NEW_DOC modify partition SYS_P482 indexing on;
  • 24. multiple partition maintenance “Single DDL does it all – add, drop, merge, splitting and truncating” SQL> create index doc_value_idx on new_doc(doc_value) global indexing partial; SQL>create index doc_value_idx2 on new_doc(doc_id); INDEX_NAME TABLE_NAME UNIQUENES PARTITIONED INDEXING STATUS ORPHANED_ENTRIES -------------------- ---------- --------- ----------- -------- -------- ----------------- DOC_VALUE_IDX2 NEW_DOC NONUNIQUE NO FULL VALID NO DOC_VALUE_IDX NEW_DOC NONUNIQUE NO PARTIAL VALID NO P0 (OFF) SYS_P482 SYS_P483SYS_P481 SYS_P490 global partial index Global index (doc_value_idx2)
  • 25. multiple partition maintenance – drop/truncate “Single DDL does it all – add, drop, merge, splitting and truncating” SQL> ALTER TABLE new_doc DROP partitions for (700), for (500), for (100); P0 (OFF) SYS_P482 (200) SYS_P483 (300) SYS_P481 (100) SYS_P490 (400) global partial index SYS_Pn (500) SYS_Pn (700)
  • 26. multiple partition maintenance – drop/truncate “Single DDL does it all – add, drop, merge, splitting and truncating” SQL> ALTER TABLE new_doc DROP partitions for (700), for (500), for (100) update global indexes; 10046 Trace: 1
  • 27. multiple partition maintenance (black magic) “Single DDL does it all – add, drop, merge, splitting and truncating” SQL> ALTER TABLE new_doc DROP partitions for (700), for (500), for (100) update global indexes; SQL> alter system set "_fast_index_maintenance"=false scope=both;
  • 28. multiple partition maintenance - merge “Single DDL does it all – add, drop, merge, splitting and truncating” SQL> MERGE partitions SYS_P481 to SYS_P490 INTO partition MERGE_P1 update indexes; TABLE_NAME PARTITION_NAME INTERVAL NUM_ROWS INDEXING ---------- --------------- -------- ---------- -------- NEW_DOC MERGE_P1 NO OFF NEW_DOC P0 NO OFF NEW_DOC SYS_P525 YES OFF P0 (OFF) SYS_P482 (200) SYS_P483 (300) SYS_P481 (100) SYS_P490 (400) MERGE_P1 SYS_Pn (500) SYS_Pn (700) global partial index
  • 29. multiple partition maintenance - merge “Single DDL does it all – add, drop, merge, splitting and truncating” Range Partitions: • Partitions need to be adjacent on Range partitioning •Partitions need to be specified in ascending of their partition bound values • Keyword “TO” allows to specify lowest and highest partitions for Range Partitioning List Partitions: • Partitions don’t need to be adjacent on List Partitioning • MERGE partition is the union of list values of the partitions merged •UPDATE INDEXES leaves no orphaned entries on MERGE, but some “unexpected” things may appear
  • 30. multiple partition maintenance “Single DDL does it all – add, drop, merge, splitting and truncating” before merge after merge
  • 31. Asyncronous / deferred index maintenance conclusions “Postponed index maintenance to a better time” • Asynchronous global index maintenance for DROP,TRUNCATE and MODIFY INDEXING OFF Partitions are performed by default: Only affect Oracle dictionary tables (metadata) • Global index maintenance is be decoupled from the DROP and TRUNCATE partition maintenance; • Move global index maintenance for off-peak times, or whenever you decide to. • Maintenance of a list of data object numbers in metadata, where orphaned index entries corresponding to the drop and truncated objects that are invalid are ignored.
  • 33. Move partitions online “ALTER TABLE ... MOVE PARTITION operation functions is a non-blocking online DDL command” SQL> @dml SQL> ALTER TABLE move_doc move partition for (3000) TABLESPACE move_ts online update indexes; SQL> ALTER TABLE move_doc move partition for (3000) TABLESPACE move_ts update indexes; ORA-14020: this physical attribute may not be specified for a table partition ERROR at line 1:ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
  • 34. Move partitions online “ALTER TABLE ... MOVE PARTITION operation functions is a non-blocking online DDL command” SQL> @dml SQL> ALTER TABLE move_doc move partition for (3000) TABLESPACE move_ts online; INDEX_NAME TABLE_NAME LEAF_BLOCKS UNIQUENES PARTITIONED INDEXING STATUS ORPHANED_ENTRIES -------------------- ---------- ----------- --------- ----------- -------- -------- ----------------- DOC_LOCAL_VALUE_IDX MOVE_DOC 31 NONUNIQUE YES FULL N/A NO DOC_GLOB_VALUE_IDX MOVE_DOC 52 NONUNIQUE NO FULL VALID YES
  • 35. Move partitions online “ALTER TABLE ... MOVE PARTITION operation functions is a non-blocking online DDL command” Requires additional disk space and resources (CPU and I/O) for journaling Index maintenance for global and local indexes  Online, transparent operation! IOTs are out!
  • 37. Interval reference partitioning “reference-partitioned table to use interval partitioning as a top partitioning strategy - Child table can inherit the partition characteristics from a parent table ” TABLE_NAME PARTITION PARTITION_COUNT STATUS DEF_INDEXING ---------- --------- --------------- -------- ------------ DOC RANGE 1048575 VALID ON TRX REFERENCE 1048575 VALID ON TABLE_NAME PARTITION_NAME INTERVAL NUM_ROWS TABLESPA INDEXING ---------- --------------- -------- ---------- -------- -------- DOC P0 NO USERS ON DOC SYS_P8771 YES USERS ON DOC SYS_P8772 YES USERS ON DOC SYS_P8773 YES USERS ON TRX P0 NO USERS ON TRX SYS_P8771 YES USERS ON TRX SYS_P8772 YES USERS ON TRX SYS_P8773 YES USERS ON DOC P8771 TRX P8771 DOC p0 DOC P8772 DOC P8773 TRX p0 TRX P8772 TRX P8773
  • 39. Interval reference partitioning “reference-partitioned table to use interval partitioning as a top partitioning strategy “ New partitions created automatically only when new data arrives Child tables maintained automatically  Partition name inherit from current partitions (direct parent relative name – same name as parent )
  • 40. Interval reference partitioning – CASCADE TRUNCATE “CASCADE option for TRUNCATE and EXCHANGE PARTITION”  Single atomic transaction preserves data integrity Easier, simplier and less error prone  CASCADE applies for whole reference tree Cascading TRUNCATE available for non-partitioned tables ON DELETE CASCADE for all foreign keys required
  • 41. Interval reference partitioning – CASCADE TRUNCATE  Bottom up truncates – 6 truncate operations 1 truncate operation
  • 42. Interval reference partitioning – CASCADE TRUNCATE “CASCADE option for TRUNCATE and EXCHANGE PARTITION” Simplify partition maintenance with interval reference partitions CASCADE option to truncate of exchange partition from parent to child. SQL> ALTER TABLE doc TRUNCATE PARTITION for (299) cascade update indexes; TABLE_NAME PARTITION_NAME INTERVAL NUM_ROWS TABLESPA INDEXING ---------- --------------- -------- ---------- -------- -------- DOC P0 NO 1 USERS ON DOC SYS_P8791 YES 1 USERS ON DOC SYS_P8792 YES 0 USERS ON DOC SYS_P8793 YES 1 USERS ON TRX P0 NO 1 USERS ON TRX SYS_P8791 YES 1 USERS ON TRX SYS_P8792 YES 0 USERS ON TRX SYS_P8793 YES 1 USERS ON
  • 43. Interval reference partitioning – CASCADE EXCHANGE “CASCADE option for TRUNCATE and EXCHANGE PARTITION”  Single atomic transaction preserves data integrity Easier, simplier and less error prone  CASCADE applies for whole reference tree Hierarchy must match target and table to be exchanged
  • 44. Interval reference partitioning – CASCADE TRUNCATE  1 Exchange operation – complete hierarchy tree
  • 45. It’s me... Thank you & Questions http://lcmarques.com / @drune / luis.marques@redglue.eu

Editor's Notes

  1. Couples the index creation with
  2. Local or global indexes on a subset of partitions Enable more flexibility Couples the index creation with table DDL The table indexing property is only considered for partial indexes Not supported for unique constraints or indexes enforcing unique constraints
  3. Local or global indexes on a subset of partitions Enable more flexibility Couples the index creation with table DDL The table indexing property is only considered for partial indexes Not supported for unique constraints or indexes enforcing unique constraints Reducing unnecessary storage requirements, reducing index maintenance overheads improving performance by reducing index block accesses.
  4. select table_name, partitioning_type, partition_count, status, def_indexing from dba_part_tables where owner = 'T' and table_name = UPPER('&1'); select table_name, partition_name, interval, num_rows, indexing from dba_tab_partitions where table_owner = 'T' and table_name = UPPER('&1'); DEF INDEXING default is ON ORA-14020: this physical attribute may not be specified for a table partition
  5. LOCAL INDEXES: Partial indexing for local indexes is implemented through the UNUSABLE state of a partition GLOBAL INDEXES: Includes only the partitions that the properting INDEXING is ON. By default, any index is created as FULL index
  6. Partial indexing for local indexes is implemented through the UNUSABLE state of a partition, more precisely: by using the UNUSABLE value as displayed in the STATUS column of the USER_IND_PARTITIONS view.  Melhorar o discursor Orphaned entries
  7. TABLE EXPANSION: and it is happening by doing intelligent rewrite of queries using UNION ALL in the background. Also possible on 11g on unsuable partitions. The index rowid batched basically means Oracle can potentially access a number of rowids and sort them out into distinct blocks and so only access each distinct table block the once. Intelligent Rewrite with UNION ALL / Table Expansion in the Presence of Unusable local Index Partition or Partial Index (Doc ID 1638318.1)
  8. Coalesce cleanup = remove orphaned entrys on the global index? Please verify
  9. Cost almost duplicate on PARTITION RANGE SINGLE to PARTITION RANGE OR – 275 to 549 2 partitions to read instead of one Understands orphaned entries – penalty is scanning the global partial index Investigate parameter _fast_index_maintenance
  10. Cost almost duplicate from 280 to 554. Investigate parameter _fast_index_maintenance PARTITION RANGE OR instead of PARTITION RANGE SINGLE The function returns (sub)partition position within partitioned table based on HIGH_VALUE parameter.
  11. Index structure says DEL_LF_ROWS - Number of deleted leaf rows in the index is 100000 (one hundred thoudsand)
  12. Kdxlende = number of index entries that have been marked as deleted within the block Only change is on metadata When an index entry is deleted (or indeed updated which is effectively a delete of an index entry followed by an insert), the entry is not physically deleted but is only marked as deleted.
  13. Global index maintenance is be decoupled from the DROP and TRUNCATE partition maintenance; Move global index maintenance for off-peak times, or whenever you decide to.
  14. 11g Partition maintenance (DROP/TRUNCATE PARTITION) always involve index maintenance for orphaned entries deletion.
  15. 11g Partition maintenance (DROP/TRUNCATE PARTITION) always involve index maintenance for orphaned entries deletion.
  16. 11g Partition maintenance (DROP/TRUNCATE PARTITION) always involve index maintenance for orphaned entries deletion.
  17. Partial indexing for local indexes is implemented through the UNUSABLE state of a partition, more precisely: by using the UNUSABLE value as displayed in the STATUS column of the USER_IND_PARTITIONS view. 
  18. Automatically created partitions inherit the default indexing property of the table (INDEXING OFF). Default in ON
  19. 11g Partition maintenance (DROP/TRUNCATE PARTITION) always involve index maintenance for orphaned entries deletion.
  20. If you don’t use “UPDATE INDEXES” your indexes will be in UNSUABLE state and you have to rebuilt. indexes are in a VALID state so the optimizer will not require the parameter skip_unusable_indexes to be set to TRUE. Remember that this parameter says to the optimizer to skip indexes if they are in an UNUSABLE state, to avoid blocking DMLs.
  21. UPDATE [GLOBAL] INDEXES clause still needs to be used in order to avoid rendering the status of global index UNUSABLE. Asynchronous global index maintenance for DROP and TRUNCATE is performed by default; CBO is aware of index orphaned entries
  22. Update indexes and fast_index_maintenance=false reverts oracle behavior and immediately performs index maintenance on DROP or TRUNCATE partition
  23. - One partition merge
  24. List Partitioning: ALTER TABLE sales_list MERGE PARTITIONS sales_NY, sales_NJ, sales_CT INTO PARTITION TRI_STATE;
  25. - Remember that the 2 partitions were merged have no longer any rows and you endup with an index of 0 leaf blocks.
  26. Partition maintenance – dropping or truncating
  27. global indexes are maintained when a partition is moved
  28. global indexes are maintained when a partition is moved
  29. Partition maintenance – dropping or truncating
  30. 11g Partition maintenance (DROP/TRUNCATE PARTITION) always involve index maintenance for orphaned entries deletion.
  31. 11g Partition maintenance (DROP/TRUNCATE PARTITION) always involve index maintenance for orphaned entries deletion.
  32. Both partitions are truncated
  33. 11g Partition maintenance (DROP/TRUNCATE PARTITION) always involve index maintenance for orphaned entries deletion.
  34. 11g Partition maintenance (DROP/TRUNCATE PARTITION) always involve index maintenance for orphaned entries deletion.
  35. Couples the index creation with