Вы находитесь на странице: 1из 43

<Insert Picture Here>

Oracle11g: ORACLE.
(Advanced Compression, Secured Files, artitioning)


Oracle

Oracle 11g VLDB

Partitioning
ILM
SecureFiles
Compression

Oracle 11g
VLDB

SQL

Composite Range-Range

SQL Pivot and Unpivot

Composite List-Range

Continuous Query Notification

Composite List-List

OLAP

Composite List-Hash
REF Partitioning
Virtual Column Partitioning
Compression enhancements

Materialized view refresh and SQL rewrite


Continued database integration
Cube metadata in the Data Dictionary
Fine-grained data security on cubes

Performance

Simplified application development

Query Result Cache

Fully declarative cube calculations

Data loading

Cost-Based Aggregation

Change data capture enhancements

Simpler calculation definitions

Materialized view refresh enhancements

Data Mining

Manageability

Simplified development and deployment of models

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

Supermodels: data preparation combined with


mining model
Additional packaged predictive analytics
Integration in database dictionary
New algorithms: General Linear Models
Encapsulates several widely used analytic
methods
Multivariate linear regression; logistic regression

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

Hash and composite


range-hash partitioning

Partition-wise joins
Dynamic pruning

Merge operation

Oracle9i

List partitioning

Oracle9i R2

Composite range-list
partitioning

Oracle10g

Global hash indexes

Oracle10g R2

1M partitions per table

Oracle
Database 11g

.
REF Partitioning

Partitioning .

Global
indexmaintenance

Fast partition split

Local
Index maintenance

Multi-dimensional
pruning

Yahoo 430000 partitions

Fast drop table


Interval Partitioning
Partition Advisor

Composite Partitioning
composite partitioning
2 (A,B)
2

Composite partitioning range


partitioning
Oracle Database 11g ..
11g

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

...

...

(order_date in March 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

Oracle Database 11g


,

, 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

ALTER TABLE sales (order_date DATE, ...)


SET INTERVAL(NUMTOYMINTERVAL(1,'month');

REF Partitioning ( )


( )
: (order) (lineitem)


( )

Oracle Database 11g REF Partitioning


(Child)
PK-FK

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

Range (equal-interval), range


key and interval
Hash, hash key




MV

Oracle ILM
Oracle
-ILM

Fine grained ILM


Oracle



Oracle

ILM
Oracle



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
:
, . ,

Transparent Data Encryption (TDE)


SecureFile
LOB BasicFiles

(
)

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

XML DB (Binary XML)


Oracle InterMedia ( )
Oracle Spatial
Content DB
UCM


db_securefiles= FORCE or ALWAYS

LOB (
)


SecureFiles

, , ,

SecureFiles ,

Transactions, Read Consistency, Flashback


Readable Standby, Consistent Backup, Point in Time Recovery
Fine Grained Auditing, Label Security
XML indexing, XML Queries, XPath
Real Application Clusters
Automatic Storage Management
Partitioning ILM

(Advanced Compression)
,

(Sarbanes-Oxley, HIPPA, )
(Web 2.0)

IT

Oracle Advanced Compression Option

OLTP Table

SecureFiles

SecureFiles

Data Pump Data

RMAN Fast Backup

-
-
-

Data Guard Redo


Transport

( 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

Вам также может понравиться