Академический Документы
Профессиональный Документы
Культура Документы
Oracle11g: ORACLE.
(Advanced Compression, Secured Files, artitioning)
Oracle
Partitioning
ILM
SecureFiles
Compression
Oracle 11g
VLDB
SQL
Composite Range-Range
Composite List-Range
Composite List-List
OLAP
Composite List-Hash
REF Partitioning
Virtual Column Partitioning
Compression enhancements
Performance
Data loading
Cost-Based Aggregation
Data Mining
Manageability
Partition Advisor
Interval Partitioning
SQL Plan Management
Automatic SQL Tuning with Self-Learning Capabilities
Enhanced Optimizer Statistics Maintenance
Multi-Column Optimizer Statistics
ASM Fast Resync, Fast VLDB Startup and other enhancements
Partitioning ()
Oracle Partitioning, Oracle Database 1lg Enterprise Edition,
,
. Oracle Partitioning ,
- , ,
.
,
.
:
DBA:
,
Oracle Partitioning
10
Core functionality
Performance
Manageability
Oracle8
Range partitioning
Global range indexes
Static partition
pruning ()
Basic
maintenance
:
operations:
add,
drop, exchange
add,
drop, exchange
Oracle8i
Partition-wise joins
Dynamic pruning
Merge operation
Oracle9i
List partitioning
Oracle9i R2
Composite range-list
partitioning
Oracle10g
Oracle10g R2
Oracle
Database 11g
.
REF Partitioning
Partitioning .
Global
indexmaintenance
Local
Index maintenance
Multi-dimensional
pruning
Composite Partitioning
composite partitioning
2 (A,B)
2
List Range
Range - Range
ShipDate - OrderDate
List - Hash
- OrderID
List - List
Oracle Database 11g.
Oracle
Database 11g
Composite Partitioning -
Table SALES
RANGE(order_date)-RANGE(ship_date)
Jan
2006
...
...
Feb
2006
...
...
...
...
May
May
2006
...
...
Jan 2006
Feb 2006
...
Jan 2007
2006
(ship_date in May 2006)
...
Mar
Mar2006
2006
2006 .
order_date in March
2006
ship_date in May
2006
view
, DML
-
...
... ()
...
CREATE TABLE accounts
(acc_no
number(10)
not null,
acc_name
varchar2(50) not null, ...
acc_branch number(2)
generated always as
(to_number(substr(to_char(acc_no),1,2)))
partition by list (acc_branch) ...
12500 Adams
12507 Blake
12666 King
12875 Smith
12
12
12
12
...
32320
32407
32758
32980
Jones
Clark
Hurd
Phillips
32
32
32
32
Interval Partitioning
Interval Partitioning
range partitioning ( )
range partitions
Interval Partitioning
CREATE TABLE sales (order_date DATE, ...)
PARTITON BY RANGE (order_date)
INTERVAL(NUMTOYMINTERVAL(1,'month')
(PARTITION p_first VALUES LESS THAN ('01-FEB-2006');
Table SALES
...
Jan 2006
Feb 2006
Mar 2006
...
Jan 2007
...
Oct 2009
Nov 2009
Interval Partitioning
CREATE TABLE sales (order_date DATE, ...)
PARTITON BY RANGE (order_date)
INTERVAL(NUMTOYMINTERVAL(1,'month')
(PARTITION p_first VALUES LESS THAN ('01-FEB-2006');
Table SALES
...
Jan 2006
Feb 2006
Mar 2006
...
Jan 2007
...
Oct 2009
Nov 2009
INSERT INTO sales (order_date DATE, ...)
VALUES ('04-MAR-2006',...);
Interval Partitioning
Interval partition range
interval
Range partitioned interval partitioned
ILM
Table SALES
...
...
2005
Q2 2006
Q1 2006
Old range partition table
...
Oct 2006
Interval partitions
REF Partitioning ( )
( )
: (order) (lineitem)
( )
REF Partitioning
ORDERS
...
Jan 2006
RANGE(order_date)
... Primary key order_id
Feb 2006
PARTITION BY REFERENCE
PK-FK
LINEITEMS
...
Jan 2006
Feb 2006
RANGE(order_date)
... Foreign key order_id
Partitioning Advisor
SQL Workload
SQL Advisor
SQL
SQL Plan
Access Partition
Structure
Tuning
Analysis Analysis
Analysis
SQL
Profile
SQL
Advice
Indexes
& MVs
SQL &
Partition
Advice
MV
Oracle ILM
Oracle
-ILM
Q1
ILM
Q2
Q3
Q4
Table Partitions
,
,
Partitions
()
(partition)
, , ,
,
(Storage Tiers)
All Orders
Q1
Q1
Orders
Storage Tier
Q2
Q2
Orders
Q3
Q3
Orders
Q4
Q4
Orders
(storage tiers)
data partitions
storage tiers
Storage Tier
Previous
Orders
Storage Tier
Partitioning
All Orders
Q1
Q1
Orders
Storage Tier
Q2
Q2
Orders
Q3
Q3
Orders
Q4
Q4
Orders
Storage Tier
Previous
Orders
Storage Tier
partition
tablespace
EXCHANGE PARTITION
MOVE PARTITION
ILM Assistant
,
, , , CAD,
,
,
Backup
Oracle SecureFiles
SecureFiles , ,
,
LOB,
, , -, .
,
LOB LOB
SecureFiles
LOBs
64,
redo undo
, . .
120
100
80
60
(MB/sec)
40
20
0
SecureFiles
Linux Files
LOBs
0,1
10
120
100
80
60
40
20
0
100
(MB)
SecureFiles
Linux Files
LOBs
0,1
10
100
(MB)
:
Linux NFS/Ext3
, , /
, LOBs SecureFiles ,
SecureFiles -
Secure hash
, partition sub-partition
:
, . ,
(
)
3DES168
AES128
AES192 (default)
AES256
Advanced Security Option
SecureFiles ,
LOB
JDBC, ODBC, OCI, .NET, PL/SQL
11g
SecureFiles
(implemented in the XML DB repository)
FTP
WebDav
HTTP
SecureFiles
db_securefiles= FORCE or ALWAYS
LOB (
)
SecureFiles
, , ,
SecureFiles ,
(Advanced Compression)
,
(Sarbanes-Oxley, HIPPA, )
(Web 2.0)
IT
OLTP Table
SecureFiles
SecureFiles
-
-
-
( 9.2)
Oracle9i Release 2
(Direct Load, CTAS)
, DML,
,
IO
partition
OLTP
Oracle Database 11g
OLTP
DML
(INSERT, UPDATE, DELETE)
OLTP
OLTP
Overhead
PCTFREE
PCTFREE
,
,
PCTFREE
, ,
OLTP
11.1
COMPRESS
COMPRESS [FOR {ALL | DIRECT_LOAD} OPERATIONS]
DIRECT_LOAD (DEFAULT)
10g
ALL
OLTP + Direct loads
CREATE TABLE t1 COMPRESS FOR ALL OPERATIONS
direct load
ALTER TABLE t2 COMPRESS
SecureFiles -
(ZLIB, )
2-3 (doc, pdf, xml)
CPU - (3- 5% overhead)
, SecureFile
,
: MEDIUM (default), HIGH
, CPU
SecureFiles
,
partition
Data Pump
Oracle Database 10g
Oracle Database 11g
1
dump OE SH
75%
, gzip
Data Pump
Backup
RMAN
backup set
.
,
backup 40% , Oracle
Database 10g
backups
Data Guard
redo
redo
gap resolution 2
...
+(7 727) 258-47-48
www.oracle.com
www.oracle.ru
Email:
Igor.Scherbakov@oracle.com