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

Oracle 11g

, ,

, ,

Oracle 11g. , 4-
.

.
.
.
.
.
.
.

. , . , .
Oracle llg. , 4- . - . . - .: -, 2009. 464 ., .
ISBN 978-5-93286-140-0
Oracle. Oracle, .
Oracle Database 11 g, , .
Oracle, , , . ,
. , ,
, OLTP-, ( , , NUMA- grid). Oracle -,
Oracle Database llg.
, ,
, Oracle,
Oracle.

.
ISBN 978-5-93286-140-0
ISBN 978-0-596-51454-9()
-, 2009
Authorized translation of the English edition 2008 O'Reilly Media, Inc. This translation is published and sold by permission of O'Reilly Media, Inc., the owner of all
rights to publish and sell the same.
, . , , .

-. 199034, -, 16 , 7,
. (812) 324-5353, www.symbol.ru. N 000054 25.12.98.
-
005-93, 2; 953000 - .
27.01.2009. 70x100716- .
29 . . 1000 . N 847

199034, -, 9 , 12.

1. Oracle

Oracle Database
Oracle







Oracle

2. Oracle




3. Oracle
Oracle

Oracle Net



Oracle

11
21
23
28
30
30
35
39
40
42
46
51
53
55
58
58
64
75
82
84
84
87
92
98
98
99
107

8
4. Oracle







SQL-

5. Oracle

Oracle Enterprise Manager


Oracle Support
6. ,
Oracle

112
112
121
129
131
133
136
139
140
151
153
153
156
158
161
167
169
174
176

177
188
189

7. Oracle

193


Oracle /
Oracle
Oracle
Oracle
Database Resource Manager

194
200
211
218
225
227

8. Oracle

229


Oracle
Oracle
Oracle
Oracle

230
234
235
236
238
241
242

9
9. Oracle

246

OLTP
OLTP Oracle
OLTP
OLTP Oracle

Oracle Streams Advanced Queuing

247
251
252
257
264
265
268

10.
- Oracle

270

-


, OLAP



271
276
279
283
286
287
302
302

11. Oracle
?






12. Oracle





Grid-

?

307

>

308
312
317
332
340
345
349
350
351
352
353
355
358
360
362
364

10
13.
Oracle


14. Oracle
-

Oracle

367
367
373
382
383
389
395

15. Oracle

397

Application Express
Oracle Fusion Middleware
Oracle SOA Suite

397
398
413

A. Oracle Database 11g,


417

B.

425

434


- .
2007 . , ,
, - , , . .
, -. 1998 .
Oracle . , ,
Oracle (DBA) Oracle, ,
.
, , , . , .
, .
,
, , .
, Oracle - . , .
Oracle l l g .
. ,
, , , ,
. ,
, , . .
. , , .
Oracle , -
- ,

12

. ,
, ,
. Oracle , , , : , ,
, ?

Oracle l l g . . .
, Oracle
Database llg - . , ,
, , .
, - .

-
Oracle.
:

. , ,
Oracle, .

, - , .
.

, Oracle. , ! , , Oracle. , .
,
.
- ( ) Oracle . ,
.

13


, Oracle. - , - Oracle, , Oracle,
, , Oracle . , - Oracle .
, . - , ,
. , , .
Oracle . , . , , , ,
.
, . , Oracle , .
, . ,
- , . , .

(Oracle Database 11g)


Oracle Database 10g , , O'Reilly Media , - Oracle Database l l g .
, , : , Oracle Database
. , . , .

14

, ,
Oracle Database llg.
, . , . , Oracle. , - ,
,
.


15 .
1 Oracle Oracle
,
Oracle.
2 Oracle (, ),
Oracle.
3 Oracle -
, , Oracle Net.
4 Oracle , Oracle,
Oracle (, , ) .
5 Oracle Oracle, (advisor), Oracle Database l l g . Oracle Enterprise Manager (),
, Oracle Support.
6 , Oracle
Oracle, ,
Oracle Database
Vault Option A u d i t Vault Server .
7 Oracle , Oracle, - , , . Oracle Enterprise Manager, Automatic Workload
Repository Automatic Database Diagnostic Monitor
, Oracle.

11
8 Oracle
(, , ). ,
Oracle.
9 Oracle (OLTP) Oracle.
10 - Oracle

- (business intelligence), , Oracle , OLAP
Data Mining, .
11 Oracle
. , Oracle , ,
Oracle, (high
availability) (failover).
12 Oracle , Oracle, grid-.
13
Oracle , Oracle , : , Streams Advanced Queuing .
14 Oracle Oracle, Java, -,
,
, .
15 Oracle
Oracle Application Express, Oracle Application Server Fusion
Middleware, Oracle - (SOA).
Oracle Database l l g , ,
Oracle Database l l g .
- , .

16

,
.

, (, ).

Oracle.

, , .
, . , , - Oracle
.
,
, , Oracle , , .


:
O'Reilly Media, Inc.
1005 Gravenstein Highway N o r t h
Sebastopol, CA 95472
800-998-9938 ( )
707-829-0515 ( )
707-829-0104 ()
-,
, . :
http://www.oreilly.com/catalog/9780596514549

13

:
bookquestions@oreilly.com
, , O'Reilly Network :
http://www.oreilly.com


. " . ,
. ,

.
- .
.
.
, , . , ,
ISBN, : Oracle Essentials: Oracle Database l l g , F o u r t h Edition, by Rick Greenwald, Robert Stackowiak, and J o n a t h a n Stern. Copyr i g h t 2008 O'Reilly Media Inc., 978-0-596-51454-9.
,
, ,

permissions@oreilly.com.

Safari Books Online



Safari Books Online, ,
O'Reilly Network S a f a r i Bookshelf.
S a f a r i , .
,
, , ,
. http://
safari.oreilly.com.

18

- , O'Reilly,
, . (Colleen Gorman) O'Reilly,
(Sumita Mukherji),
(Rob Romano), ,
(Shan Young), . , (Debby Russell),

. ,
, ,
, !
. - , , . ,
. - (Darryl Hurley), (Dwayne King),
(Arup Nanda) (Bert Scalzo). - (Craig Shallahamer) OraPub, (Domenick Ficarel1), ( J o n a t h a n Gennick),
(Jenny Gelhausen) (Dave Klein).
, , . (Lance Ashdown) ,
, Oracle.
, - (Bruce
Scott), (Earl Stahl), ( J e r r y Chang)
(Jim Milbery). ,
, -
(Ed Hickland) .

.
, Oracle, . (John Lang), (Bruce Lowenthal),
(Alice Watson), (Dave Leroy),
(Sushil Kumar), (Mughees Minhas),
(Daniela Hansell), (Penny Avril), (Mark
Townsend) (Mark Drake). -

19

(Jenny Tsai-Smith), ,
Oracle . ,
,
.
, Oracle , IBM, H a r r i s Comp u t e r Systems .
. Oracle
(Andy Mendelsohn), : (Mark Townsend), (Raymond Roccaforte),
(George Lumpkin), (Hermann Baer)
.
- Oracle,
(Louis Nagode), (Jim Bienski),
(Gayl Czaplicki), (Alan Manewitz),
(Joan Maiorana), (Sandrine Ost)
(Max Rivera). , (Mark
Salser) (Paul Cross),
.
,
,
; . , (Sheila ), - Oracle Database llg 1 ,
.
,
(Murray Golding), ' (Sam Mele),
Oracle -
( J u a n Tellez), (Ron Weiss), ( J u a n Loaiza) (Carol Colrain) -
Oracle. , , , .

1
Oracle
?
, Oracle, , , . - ,
Oracle, Oracle
Database 11g. Oracle, - . , ,
,
Oracle, , .
, Oracle, Application Server Fusion Middleware, - (E-Business Suite, PeopleSoft, JD Edwards, Siebel, Hyperion Project Fusion).
, , .
- . . ,
- , Oracle
Oracle, - .
30 Oracle
. , Oracle ,

1. Oracle

22

. , .
. ,
, ,
. ,
Oracle:
Oracle8 ( 1997 ).
, .

Oracle8i ( 1999 ). -
18 -.

19 ( 2001 ). Oracle Parallel Server Real Application Clusters. .


Oracle Database lOg ( 2003 ). grid-. Grid () - , . Oracle .
, Oracle Database lOg1 ,
, : Automated Database Diagnostic Monitor ( ), Automated Shared Memory Tuning (
), Automated Storage Management
( ) Automated Disk Based Backup and Recovery ( ).

Oracle Database llg 1 ( 2007 ) - .


, Automatic Memory Management, .
Oracle Enterprise Manager , Oracle

Oracle Support
Support Workbench. .

, , ,
Oracle. Oracle .

23


. IBM, System R4 Relational (1970 ). ,
, , .
1977 Software Development
Laboratories Relational Software,
Oracle V.2
( Relational Software, Incorporated). 1985 Oracle 1000 . ,
IBM - Query Management Facility
1983 .

-? .
1960-
, . 1964 (Charles
Bachman) , , . 1.1, .
CODASYL. North American Aviation IBM 1965 , .
, . 1.1, . IBM

. 1.1. () ( )

1. Oracle

24

1969
Information Management System (IMS). 1980
. , , 20 , IMS.



, , . 1.2.
,
(relationship). ,
, . , , (
), .
,
. - (master-detail),

. , ,
, ,
.
, .
-

. 1.2.

25

.
.
. 1.2 .
.
; .
, , :

,
. ,
( ).

, .

.


.
v
, . ,
. 1 . 2 , '
DEPTNO , (foreign key), DEPTNO ,
(primary key) .
, , , ,
. Oracle ( 4), , - .

Structured Query Language (SQL). SQL IBM, , Oracle

1. Oracle

26

1979 . SQL , , :
( SELECT);

(Data
Manipulation Language, DML) ( INSERT, UPDATE DELETE);
(Data Definition Language, DDL) ( CREATE DROP );

( GRANT REVOKE).

SQL , A N S I /
ISO, .

Oracle
1983 Relational Software Incorporated Oracle Corporation, Relational
Technologies Incorporated. - Oracle
( 3), Digital
VAX/VMS, UNIX . 1985 , Oracle 30 .
,
. ( VMS, , Oracle,
IBM MVS, H P / U X , IBM AIX Solaris - UNIX, Sun.) Oracle
- UNIX-, 1980-. Oracle
, Microsoft Windows Linux.
, Oracle 1980-, (-), ANSI
SQL .
1980- :
/ -, .

Oracle ( J a v a - grid-). Oracle ,

27

XML, - (SOA). . 1.1


Oracle .
1.1. Oracle

1977 , Software
Development Laboratories
1979 Oracle version 2: ,
SQL
1983 Oracle version 3: Oracle

1984 Oracle version 4: ,



1986 Oracle version 5: -
1987 CASE 4GL
1988 Oracle Financial Applications
1989 16:
1991 Oracle Parallel Server -
1993 17:
1994 Oracle version 7.1: , ,
1996 SQL
,
1997 18: - (Very Large Database, VLDB)
1999 Oracle8i: Java- (JVM)
2000 Oracle9i Application Server: Oracle,

2001 Oracle9i Database Server: Real Application Cluster, OLAP
,
2003 Oracle Database 10g Oracle Application Server 10g': grid-;
Oracle Database lOg
2005 Oracle PeopleSoft Siebel, ERP- CRM -.
2007 Oracle Database l l g :
; Hyperion OLAP Financial Performance
Management

28

1. Oracle

Oracle Database
Oracle Database 11g - , ()
Oracle, . :
Oracle Enterprise Edition
. , Oracle. Enterprise Edition , (Virtual Private Database, VPD),
(Fine-Grained Auditing) , Database Vault,
Advanced Security Label Security. Enterprise Edition ,
- , (Information Lifecycle Management, ILM), , (Partitioning), OLAP (Data Mining). , Enterprise Edition, Data
Guard, (flashback) , . Oracle Database l l g Advanced Compression Option
, , (Large Object, LOB) ;
, Real Application
Testing Option Database Replay SQL
P e r f o r m a n c e Analyzer, Total Recall Option, Flashback Data Archive, , ( AS OF,
).
Oracle Standard Edition
. ,
4 , Real Application Clusters (RAC).
Oracle Standard Edition One
,
RAC. Oracle Standard Edition.
Oracle Personal Edition
, -
, .

Oracle Database

29

Express Edition, ,
Enterprise Edition.
Oracle Express Edition
, Windows Linux . 1 4 . , Standard Edition One. , Java-, , Automatic
Storage Management. Oracle Enterprise Manager
, ,
Oracle Application Express ( HTML-DB), .
Oracle - . , , -
. . , 1998
Oracle 18i, i . 19i . 2003 Oracle Database 1Og, g
grid-. Oracle
, . Oracle . , .
Oracle, 18, 18i, 19i, Oracle Database 1Og Oracle Database 11g
, Oracle Database 11g . ,
,
, ,
Oracle. ,
, Oracle.
1983 Oracle Development
, .
- ,
, , , , . , Oracle .

1. Oracle

30

Oracle .

Oracle
Oracle - . ,
. .
-
Oracle, :

;
;

;
;
;
;
.
,
. Oracle - .
- .

. , , .


Oracle , . .
. , , .


Oracle ,
. , Oracle, -,
. Oracle SQL,

31

ODBC, JDBC, SQLJ, OLE DB, ODP.NET, SQL/XML, XQuery WebDAV.


, ,
PL/SQL J a v a .

SQL
ANSI S t r u c t u r e d Query Language (SQL)
,
. - Oracle -,
, SQL .

PL/SQL
PL/SQL - Oracle
SQL.
. PL/SQL , , , .
PL/SQL
. , PL/SQL, SQL*Plus, Oracle. PL/SQL
.

Java
Oracle8i J a v a
, J a v a - (JVM) ( JServer). JVM
J a v a , , Enterprise JavaBeans (EJB),
CORBA, HTTP.
J a v a Oracle ,
J a v a , Oracle. Java- , -
. Oracle Database 11g JIT- J a v a ,
.
J a v a 14.

Oracle -
Oracle Database 11g, -, XML DB. -
SQL XQuery XML
PL/SQL- . XQuery Oracle Database llg

1. Oracle

32

JSR-225 , .


(LOB) , ,
. Oracle . 18
LOB-. Oracle Database 10g . Oracle Database 11g SecureFiles, . LOB- SecureFiles .

-
- Oracle8i. ,
, . Oracle Object Views, -
. (VARRAY),
- (index organized tables, ). - Oracle 14.

(3GL)
Oracle ,
, ++, J a v a COBOL, SQL. , . SQL
, . Oracle
*
++ Pro*COBOL COBOL.
Oracle SQLJ
J a v a , SQL SQLJ, J a v a .


Oracle ,
ODBC (
) JDBC ( -

33

Java).
OLE-DB .NET.

Oracle
, , SQL
, ,
Oracle (Oracle Call Interface, OCI). OCI
,
.
OCI ,
. ,
, Real Application Clusters, OCI
, , .


(National Language Support, NLS) , , . Oracle Database 11g Unicode 5.0. Unicode . UTF-8 UTF-16
57 200 .
(, ),
Oracle Locale Builder .
Globalization Toolkit
, .


. , , , , SQL.
14.

Oracle Multimedia
Oracle Multimedia ( interMedia) , , - , , :
2

847

1. Oracle

34

Multimedia, (Oracle Text), , ;

Multimedia, ,
;
Oracle Database l l g , DICOM
;
Multimedia, - , - ;
Multimedia, ,
.

Oracle
Content Database Option, , Stellent, Oracle 2007 : Universal Content Management, Universal
Records Management Information R i g h t s Management.

Oracle
Oracle Database Application Server U l t r a Search. ,
. . , Secure Enterprise Search, , Oracle.

Oracle Spatial Option


Oracle Spatial Option Oracle
Enterprise Edition. , , ().
.

XML DB
XML Oracle9i. XML- -
W3C DOM.
X P a t h SQL SQLX. XQuery .

35



. , . Oracle

( ). : Oracle Application Server.


, .
. Oracle , .

Oracle Net
Oracle Net 18 Net8, - SQL*Net. , - T C P / I P .
, Oracle Net, , Oracle Net Services.

Oracle Internet Directory


- Oracle I n t e r n e t Directory (OID)
Oracle8i. OID Oracle
Names,
Oracle Server, . OID LDAP- (Lightweight
Directory Access Protpcol), Oracle Net
LDAP.

Oracle Connection Manager



, .
(Connection Manager, CMAN),
. 1.3, Oracle Net ,
- , .
.

1. Oracle

36

. 1.3.

, , T C P / I P . Oracle Database 10g ,
, CMAN.

Oracle Application Server


/ (
) ( ,
). Oracle Application Server
-, . Oracle Application Server - Fusion Middleware, .
- Apache, JavaServer Pages (JSP), - / . -

37

Enterprise JavaBeans (EJB).


JDBC, SQLJ E J B . TopLink - ,
Java- JDBC, J a v a SQL
, .
Oracle Application Server
, , - .

Oracle Application Server Web Cache - . Oracle Application Server Database Cache, PL/SQL-npo PL/SQL-, Oracle Application Server 10g .

Oracle Application Server Portal


Oracle Developer Suite ( )
.
Application Server.
-
Application Server Business Intelligence
Portal, -, Oracle:
Oracle Reports - ;

Oracle Discoverer ;
JDeveloper OLAP- .
10.
Oracle Wireless
Oracle Wireless ( Oracle Portal-to-Go)
:
- XML;

(device t r a n s f o r m e r ) XML ,
;
, , (location mark)

1. Oracle

38

; ,
, , URL , .
Oracle Application Server : Enterprise Edition, Standard Edition, Standard Edition One J a v a
Edition; , J a v a . Standard Edition Standard Edition One Portal, TopLink Application Development Framework
Web Cache. Enterprise Edition :
Forms Services, Reports Services, Discoverer Viewer, Oracle I n t e r n e t Directory, Oracle Application Interconnect, Wireless Option
Enterprise Service Bus (ESB). J a v a Edition HTTP
Server, OC4J TopLink Application Development Framework.
Oracle Application Server 15.
Oracle Application Server Enterprise Edition
:
BPEL Process Manager Option
Business Process Execution Language (BPEL, -) (SOA) , -, .
BPEL, Web Services, XML, XSLT, XPATH, J M S JCA.
Business Activity Monitoring
(BAM)
, (key performance indicator, KPI), , .
BI

Publisher
,
XML.

Service Registry
Oracle Service Registry (System of Record) SOA-.
SOA Suite Oracle Middleware
Oracle Fusion Middleware
SOA: BPEL, , -, Enterprise Service Bus
( , ), Web Services Management ( -

39

), Web Services Registry, .


Communication

and

Mobility

Server

TimesTen, SIP Servlet Container, , .


WebCenter
WebCenter - Oracle
.
Ajax-, , Web 2.0. , , , Wiki, VOIP-, SIP Servlet Container, API J a v a -,
Click-2-dial .

Fusion

Middleware

, , EDI .
Fusion Middleware SOA Suite
Application Integration A r c h i t e c t u r e (AIA).
B A I A - -
Process Integration Packs. Oracle.


Oracle
. Oracle ^ , . Oracle, , ,
.
.



.
, .

1. Oracle

40

Oracle
1980-
. .
, , . , 13, , , , , .
. , .

(TP), Oracle (/Open) . 18i

Microsoft Transaction Server (MTS),
, MTS,
Oracle.

Heterogeneous Services
Heterogeneous Services Oracle , , ODBC OLE-DB.
Transparent Gateways , .

SQL Oracle .
SQL, .
SQL- Heterogeneous Services Oracle ,
,
Oracle.
Oracle , , Heterogeneous Services
.


Oracle .
, -

41

.
() .
Oracle Database 10g / (data pump).
Oracle : , Advanced
Queuing Oracle Streams, , (ETL) . .



Oracle8i. /, ,
,
, .
, ,
.
.
Oracle Database 10g
.

Advanced Queuing Oracle Streams


Advanced Queuing (AQ), 18i, Oracle .
, , , , .
, AQ , .
Oracle / . , ,
.
. Oracle9i
AQ XML Oracle I n t e r n e t Directory (OID).

42

1. Oracle
Oracle9i AQ Oracle Streams. : ,
. Oracle Database 10g Streams Change Data Capture (
) . Streams Oracle Enterprise Manager 13.

,
Oracle Warehouse Builder (OWB) ,
(data warehouses), .

, (ETL). OWB
ETL, cle9i. OWB Oracle Oracle Database 10 Release 2. 10.
Oracle Oracle Data I n t e g r a t o r (ODI), Oracle,
OWB ( Oracle , ). Oracle Data I n t e g r a t o r Sunopsis, Oracle. ETL ODI - SOA
SOA,
Oracle.


Oracle , .
:
.


, .
, , . ,
:

43

;
;
GROUP BY;
NOT IN ();
;
;
SELECT DISTINCT UNION UNION ALL;
;
ORDER BY ;
(bitmap s t a r joins);
(partition-wise join);
( PL/SQL J a v a ,
).

Oracle. 7.

-
Oracle
, - . , ,
- , 10.


Oracle 7.3 , . ,
.
.
, 1, , 0 . 1
4.

. . , . , 1, 0. rowid . - . . .

1. Oracle

44



,
. Oracle 7.3
.
. 18 (parallel bitmap star join). , .


Oracle8i, .
, ,
, ,
. ,
. Oracle .


Oracle , SQL. 18,
CUBE ROLLUP. , ,
, , , , -, ,
.

OLAP Option
OLAP Option Oracle.
SQL, J a v a API. Oracle Database l l g
Oracle . - . .

45

Data Mining Option


19i
. Data Mining Option, PL/SQL J a v a
API. ,
, DataMiner Oracle , - Oracle, InforSense SPSS. Data Mining
Option Oracle Database llg :
, , , , (SVM), (NMF), .

-
Oracle
- . Oracle ,
, . Oracle Oracle Discoverer Reports ( Application
Server Oracle Business Intelligence Standard Edition Suite).
Oracle Oracle Business Intelligence Enterprise Edition Suite (OBI EE), Siebel Analytics: Oracle
Answers, Dashboards, Delivers, BI Publisher Office Plug-ins. OBI EE Plus Hyperion: Foundation Services, Interactive Reporting,
SQR production reporting, Financial Reporting, SmartView f o r Office
Web Analysis.
OLAP-
Essbase. OBI Business Intelligence Standard Edition One Oracle Standard Edition One Oracle
Warehouse Builder.
Oracle -,
, ;
. Oracle Business Intelligence Applications ( Siebel Business Analytics Applications) Hyperion Financial P e r f o r m a n c e Management Applications.

1. Oracle

46


Oracle ,
. Oracle
Database 10g, Oracle Database 11g . Oracle (, ), ,
.
Oracle Database lOg Automatic
Workload Repository (AWR) . Automatic Database Diagnostic
Monitor (ADDM)
Oracle Enterprise
Manager, , , . ,
, , Automatic Memory Management ( ), , A W R .
, Oracle,
, . ,
. , Oracle Enterprise Manager, , Information Lifecycle Management, ,
.

Oracle Enterprise Manager


Oracle Enterprise Manager (EM)
. HTML-
, . Oracle Application Server, Oracle Applications, Linux .
Oracle , , ,
. Oracle Database llg Support Workbench , Oracle. .

47

:
, (
) (
). Enterprise Manager
, (Grid Control)
Oracle, .
Enterprise Manager Microsoft Pocket PC I n t e r n e t Explorer EM2Go, Oracle Oracle Application Server.

Information Lifecycle Management ILM Assistant


I n f o r m a t i o n
Lifecycle Management (ILM), 2006 ,
.
, . ILM Assistant ILM Oracle Technology Network http://otn.oracle.com. 5.


, - , . , ,
. ,

. , . ,
11.

Recovery Manager
: ( ), ,
, .
18 Recovery Manager (RMAN),
, (Recovery Catalog). RMAN , (
) , .
19 RMAN -

1. Oracle

48


. Oracle Enterprise Manager RMAN.
Oracle Enterprise Manager 10g ,
RMAN .


Enterprise Edition RMAN .
,
, . , , . RMAN , (, ).

Oracle Secure Backup


RMAN , Oracle Database lOg,
, Oracle Secure
Backup . Oracle - Oracle Secure Backup.


, . Oracle . :

(partitioning) 18 .

49

,
.
,
. :
- (
-, ) ( , , ). Oracle Database 11g
,
.
. , -, -, -,
- -.

Data Guard
(standby database)
Oracle 7.3. ,
, , - . .
, . Data Guard, 19i, ; . , a Data Guard
Broker . Data
Guard , .
Data Guard
.
Oracle SQL
.
Oracle Database 10g , , (Flashback) . Oracle Database 10g
(rolling upgrade). Oracle Database 11g Active Data Guard Option
, , .

1. Oracle

50

Fail Safe
Fail Safe Oracle. (failover)
, , , ,
. Fail Safe Windows
Microsoft Cluster Services .
Fail Safe -
,
. 19
Real Application Clusters.

Oracle Real Application Clusters


Oracle9i Oracle Parallel Server (OPS) Real Application Clusters (RAC). RAC
, UNIX, Linux
Windows.
Cache Fusion,
.
. Oracle Database 10g RAC (clusterware) RAC .
Real Application Clusters Oracle
(grid). RAC ,
. .
,
. , . Oracle Call Interface (OCI).

Data Guard RAC


Oracle9i Data Guard RAC Parallel Fail Safe. RAC Data Guard

. ,
, -

51

, .

Automated Storage Management


Oracle Database 10g Automated Storage
Management (ASM),
. ASM
Enterprise Manager,
, .

Real Application Testing Option


Oracle Database 11g
, ,
. Real Application
Testing Option. Database Replay
SQL P e r f o r m a n c e Analyzer. Database Replay
, ,
.
Replay Client . , Database Replay
. SQL P e r f o r m a n c e Analyzer , , SQL-.



Oracle . Enterprise Manager . , Advanced Security
Option. 6.
Oracle
(Virtual P r i v a t e Database, VPD) ,
. W H E R E
SELECT, INSERT, UPDATE, DELETE INDEX.

1. Oracle

52

,

. Oracle .
Advanced Security Option, Label Security Option, Database Vault A u d i t Vault.

Advanced Security Option


Advanced Security Option Advanced
Networking Option (ANO). Oracle Net - RC4 ( RSA Data Security), Data Encryption Standard (DES), Triple DES
Advanced Encryption S t a n d a r d (AES).
Kerberos, RADIUS
Distributed Computing Environment (DCE). MD5 SHA-1. Oracle
Database l l g Kerberos Oracle.

Label Security Option


Label Security Option , , ,
, . .
Policy Manager. , ,
.

Database Vault Option


Database Vault Option
, . , ,
.
(realm),
.

Audit Vault Server


Oracle Audit Vault Server ,
, . -

Oracle

53

Oracle
,
Oracle. Oracle, ,
Oracle : Oracle JDeveloper,
Oracle SQL Developer Oracle Developer Suite. Developer
Suite, Oracle I n t e r n e t Developer Suite, Oracle Forms Developer, Oracle Reports Developer, Oracle Designer, Oracle Discoverer Administrative Edition Oracle Portal.

Oracle JDeveloper
Oracle Oracle JDeveloper 1998 . J a v a . JDeveloper , Oracle Technology Network. :
Data Form Wizard, Beans Express W i z a r d
JavaBeans Beanlnfo
Deployment W i z a r d . JDeveloper
: Oracle,
Connection Editor, JDBC API,
SQLJ, J a v a SQL . ,
JDeveloper, Oracle Application Server. JDeveloper Java- - , J a v a .

Oracle SQL Developer


Oracle SQL Developer 2006 .
Oracle
Oracle9i Release 2. SQL Developer
Oracle, , , , , , , . ,
PL/SQL-. , SQL Developer
Oracle.

1. Oracle

54

SQL Developer , Oracle Technology Network. Windows, Linux


Apple Mac OS X. , Oracle Oracle
Technology Network , SQL Developer.

Oracle Forms Developer


Oracle Forms Developer - , -
.
Oracle Application Server. Developer - (4GL). ,
. Developer ,
J a v a . Forms Builder Java- -.

Oracle Reports Developer


Oracle Reports Developer
Reports for Oracle Application Server.
, , , .
(CSS).

Oracle Designer
Oracle Designer
(Rapid Application Development,
RAD),
- - , . .
Oracle,
, .
Designer Oracle Developer, HTML-, Oracle Application Server,
++. Designer , .
(round-trip engineering), Designer, ,
Designer.

55

Oracle Discoverer Administration Edition


Oracle Discoverer Administration Edition Discoverer End User Layer (EUL),
- Oracle. -
SQL -, Discoverer
.
EUL . , ,
; Discoverer .

Oracle Portal
Oracle Portal 1999 WebDB. HTML - ,
.
. Portal , ,
HTTP. Oracle Application Server.
Oracle Portal WebDB - ,
- , .
, Answers, Discoverer Reports.
Oracle, , - WebCenter - 2006 Application Server.


Oracle , , . Oracle , TimesTen, Berkeley DB Oracle Database Lite. , ,
. .

1. Oracle

56

Oracle TimesTen
Oracle TimesTen - ,
. ,
TimesTen, SQL, JDBC, J M S ODBC. TimesTen
.
TimesTen, , Oracle Cache Connect.
,
. Cache Connect , Oracle, ,
. TimesTen Oracle .
, TimesTen . TimesTen ,
.

Oracle Berkeley DB
Oracle Berkeley DB - , . J a v a XML. . Berkeley
DB , .
400 .
Berkeley DB J a v a Edition J a v a Transaction API (JTA), J 2 E E Connector Architecture (JCA) J a v a Management
Extensions (JMX). J A R - 820
J a v a - , . Java- Direct Persistence Layer (DPL).
Berkeley DB XML Edition
.
XQuery X p a t h .
.
. .

57

Oracle Lite
Oracle Lite - , . - Oracle Lite Database, Mobile Development Kit Mobile Server (
Oracle Application Server).
Oracle Lite Database 50 1
.
Mobile SQL, ++ J a v a .
ODBC. J a v a J a v a JDBC. Oracle
Lite Database .

Windows , Symbian, Windows Linux.
Oracle Lite ,
Oracle Lite Database, Oracle Database Server.
.
. ,
.
Oracle Lite :
Oracle;

-;

T C P / I P , HTTP, CDPD, 802.1 HotSync.

. ( ?),
,
.
Mobile Server , , . . , Mobile Server Oracle Web-to-Go, ,
.

2
Oracle
,
Oracle. Oracle, ,
.
Oracle . , ,
.


Oracle
. ( ) . , Oracle.
Oracle
, - ,
. ; , . . 2.1.
- : , . - :
, .
, Oracle System Global Area (SGA, ) - Program Global Area (PGA, ). . , -

59

. 2.1.

. ,
.
,
Oracle; Oracle.
.
, - .
. , , . Oracle, , . . ,
, . ,
. - .

Oracle
, , , , ,
(RMAN). -

2. Oracle

60

, , .


, Oracle, . (tablespace) -
; . , (datafiles). , .
, . Oracle
, .
. 2.2
.
Oracle.
DATA1 DATA2.
, .
Oracle Database lOg1 Release 2

.
, 64- .
Oracle9i , Oracle (Oracle
Managed Files, OMF), , -

,. 2.2.

61

, , , . OMF ,
.
- , . Oracle Database 10g OMF .
Oracle - 64 000. , 1024 , 64-
32 , Oracle 8 (1 = 1 ). 1 Automatic Storage Management (ASM), , , RAID-. 2


Oracle :
(control files);
(datafiles);
, (redo log files).
. 2.3 .
, , - . :
;
;
;
;
;

;
;
1

, .
RAID (Redundant Array of Inexpensive Disks) -
. 7.

2. Oracle

62

. 2.3. ,

,
;
;
.

, ,
. Oracle Database lOg
DROP DATABASE , , .


Oracle . , .
,
INIT.ORA, , Oracle9i, , ( SPFILE).
Oracle. Oracle , . -

63

Database Configuration Assistant (DCA),


(, ).
Oracle Database llg 1 :
CONTROL_FILES
.
DB_NAME
.
DB_DOMAIN
(, us.companyname.com).
LOG_ARCHIVE_DEST
.
LOG_ARCHIVE_DES

T_STATE

, .
DB_RECOVERY_FILE_DES

(flash recovery
area) (, ASM).
DB_RECOVERY_FILE_DEST_SIZE
.
DB_BLOCK_SIZE
(, 4 4096).
PROCESSES
, .
SESSIONS
.
OPENjCURSORS
.
SHARED_SERVERS
.
REM TE_LIS

TENER

.
COMPATIBLE
, , , (, 11.1.0, 10.0.0).

2. Oracle

64
MEMORY_TARGE

, SGA PGA
.
DDL_LOCK_TIMEOUT
(DDL) - ( )
, .
NLS_LANGUAGE
, (National Language Support, NLS) .
NLS_TERRITORY
,
.
,
Oracle Database
UNDO_MANAGEMENT
(undo). ,
,
. ( , , redo log; ,
, .)
Oracle , , .

, .
.


Oracle. -
Oracle.


.
.
, .
, .

65

,
, CONTROL_FILES.
, :
control_files = (/uOO/oradata/control.001.dbf,
/u01/oradata/control.002.dbf,
/u02/oradata/control.003.dbf)

, .
Oracle , ,
. ,
Oracle Oracle Managed Files ( ).
Oracle
RAID-, RAID-1 RAID-5,
. ( RAID 7.) ,
, ,
. :
1. (striped array)
(mirror-pair) , , , . , ,
.
,
, . , , - .
2. . -
, *
. .

.
, . /,
Oracle.


, :
, , , , .

66

2. Oracle
, , . Oracle 2 32 . 19 .
- , -
(
). . 2.4 Oracle .
. Oracle , .
, .
- Oracle . , - , - .
/ Oracle
. Automatic Storage Management,
Oracle Database 10g, .

. 2.4. Oracle

67


19i , , , . 19i .
,
DB_BLOCK_
SIZE.
?
Oracle .
, ,
,
.
- , .
(OLTP)
, , .
,
. (4 ). Oracle
, .
.

, .
8 16 . / , .


.
,
, . , , .
,
, , .

2. Oracle

68


,
. , : , . . - Oracle, , .
, Oracle
, . , Oracle
, .
,
, . 5. ,
Oracle. Oracle Database 10g Segment Advisor, .


,
Oracle. ,
, - . , ,
, ,
.
,
( 8). ,
!
, (undo), ROLLBACK. ,
, .
, , - . NOLOGGING , NOLOGGING.
.

69


Oracle , . . , , .
- ,
SQL- NOLOGGING. (, 18 UNRECOVERABLE.) . , .
, , . , .


Oracle
. Oracle (thread) , .
, .

. Oracle , , . , .
. 2.5 . ,
.
, Oracle .
, . , .
. , , -
.

2. Oracle

70

. 2.5.
Oracle . ,
, . , - , . Oracle , , .
, ,
, , - - . , , , . - ,
, , . , Oracle
.

Oracle
, Oracle
. , Oracle

71

.
. .
, redologl.log,
redolog2.log, redolog3.log. Oracle , 1, 2 3 . Oracle - redolog1.log , 4. redolog2.log, 5.
, , a Oracle , , . ,
.
. 2.6 .

. 2.6.

2. Oracle

72


, , , , . Oracle Managed Files,
, .
. 2.6:
redog1m1.log, redog1m2.log,

...

redo . log ,
. g1m1 g1m2
. , - , , .


, ,
-, Oracle
.
. : -
.
. , .
, , .
, Oracle, - .
( )
. ,
, , Oracle :

, Oracle
, ,
.

, .
Oracle
:

73

NOARCHIVELOG
, .

, . : .
, ,
(. 11).
Oracle .
ARCHIVELOG
, Oracle .
,
. , .
.

.

.

ARCHIVELOG
Oracle Database 10g
ARCHIVELOG :
ALTER DATABASE ARCHIVELOG

ARCHIVELOG, , , Oracle .
, . ALTER DATABASE ARCHIVELOG -.
Oracle Database 10g ,
. :
LOG_ARCHIVE_START = TRUE

2. Oracle

74


: LOG_ARCHIVE_DEST LOG_ARCHIVE_
FORMAT. ,
LOG_ARCHIVE_DEST = C:\ORANT\DATABASE\ARCHIVE

, Oracle ,
LOG_ARCHIVE_FORMAT = 0RCL%t_%s_%r.arc

.
0 R C L . a r c .
:
%t
.
%8

.
%

.
, ,
, , :
L O G _ A R C H I V E _ F O R M A T = "0RCL%T_%S_%R.arc"

Oracle,
. ,
ARCHIVELOG. , ARCHIVELOG .
,
. , Oracle , .
. 2.7 , .

. , . Oracle . , .
.

75

. 2.7.
LOG_ARCHIVE_DUPLEX_DEST
.
LOG_ARCHIVE_MIN_SUCCEED_DEST
,
. 1 10, , 1
2 .
, , Oracle.


Oracle
.
(System Global Area,
SGA). SGA , , . , , , SGA.
19/ SGA Oracle. SGA
, . 19i -

2. Oracle

76

SGA , . Oracle9i ,
, SGA.
Oracle Database 10g
(Automatic Shared Memory Management, ASMM), Oracle Database 11g -
(Automatic Memory Management, AMM) SGA PGA. MEMORY_
TARGET ( Oracle Database 11g) SGA_TARGET,
SGA, . (
SHARED_POOL_SIZE), (LARGE_POOL_SIZE), J a v a (JAVA_POOL_SIZE), (DB_CACHE_SIZE) Streams (STREAMS_
POOL_SIZE). , , Oracle Enterprise Manager.
, .
.
. 2.8 , .

. 2.8. Oracle

77

- , , : (
Oracle9i - Multi-Threaded Server, MTS),
.


. 2.8, (SGA)
. , . J a v a , Streams.
. SGA Oracle 7.


.

Oracle. (, ), . Oracle LRU (Least Recently Used), , . ,
, ,

, .
, , . , ,
, , .
.
/ ,
,
Oracle. - , /,
. /, Oracle .
18
:
DEFAULT
Oracle.
, .

2. Oracle

78
KEEP

, .
RECYCLE
, .
K E E P RECYCLE LRU.
, .
. ,
,
.
Oracle Database 10g DB_CACHE_SIZE. , ,
DB_BLOCK_BUFFERS. DB_
CACHE_SIZE , RY_TARGET SGA_TARGET.
DB_KEEP_CACHE_SIZE DB_RECYCLE_CACHE_SIZE; , .


, . , SQL- , , , .
PL/SQL , , - LRU.
Oracle Database 11g PL/SQL- ,
, .
Oracle,
, .
SHARED_POOL_
SIZE,
, MEMORY_TARGET SGA_
TARGET. , Oracle Database lOg out of
memory ( ). Oracle .

79



, . . Oracle ,
, , .

SGA
SGA :

/ , .
, Oracle .
Java
, Java- Java-, Java-, .

Streams
Oracle Streams, .
(capture) (apply).
LARGE_POOL_SIZE, JAVA_POOL_SIZE STREAMS_POOL_SIZE. , RY_TARGET SGA_TARGET.

PGA
Oracle
(PGA). PGA SQL. PGA_AGGREGATE_TARGET.
Oracle Database 10g
PGA SQL ,
. Oracle Database 11g PGA
, SGA, MEMORY_TARGET.

2. Oracle

80


. 2.8, .
.
(Database Writer, DBWn)
SGA ,
. Oracle 20 DBW, /
, DBW/. DBW. DBW :

(
, ). Oracle , ,
. Oracle
,
, .
,
. , .
.

(Log Writer, LGWR)


SGA . , SGA. Oracle , LGWR .
(System Monitor, SMON)
. SMON
. ,
,
Real Application Clusters. SMON
, , , , .
(Process Monitor, PMON)
,
. -

81

PMON
( ) , .

(Archiver, ARCH )
. 10 , ARC0-ARC9. LGWR .
LOG_ARCHIVE_
MAX_PROCESSES. 2, .
(Checkpoint, )

.

(Recover,

RECO)

(Dispatcher)
, .
(Global Cache Service, LMS)
, Real Application Clusters,
.
(Job Queue)
PL/SQL .
(Queue Monitor, QMNn )
Oracle
Streams. 10 .

(Automatic
Storage Management, ASM)
RBAL
. ORBn .
ASMB ASM.

2. Oracle

82

?
, :
Oracle - ?
- Oracle, DBW LGWR, . Windows Oracle . UNIX - ,
. , UNIX DBW LGWR - , Windows - .
. , .
,
Enterprise
Manager .


Oracle , ,
. ,
, Oracle.
, , - , .
SQL. . 2.1 ,
.

SYSTEM. V$
GV$ ( , ).
DBA_, ALL_ USER_, .

83

2.1.


V $ DATABASE, V$VERSION, V$INSTANCE

V$QUEUE, V$DISPATCHER, V$SHARED_SERVER

DBA_CPOOL_INFO, V$CPOOL_STAT, V$CPOOL_CC_STATS

USER FREE SPACE, DBA FREE SPACE, V$TEMPFILE,


DBA_USERS, DBA_TS_QUOTAS

V$CONTROLFILE, V$PARAMETER, V$CONTROLFILE RECORD_SECTION

V$DATAFILE, V$DATAFILE HEADER, DBA DATA FILES, DBA EXTENTS, USER_EXTENTS

DBA_SEGMENTS, USER_SEGMENTS

DBA_EXTENTS, USER_EXTENTS

V$THREAD, V$LOG, V$LOGFILE, V$LOG_HISTORY

V$UNDOSTAT, V$ROLLSTAT, V$TRANSACTION

V $ DATABASE, V$LOG, V$ARCHIVED LOG, V$ARCHIVE_DEST

V$INSTANCE, V$PARAMETER, V$SYSTEM_PARAMETER

V$SGA, V$SGASTAT, V$SGAINFO, V$SGA DYNAMIC


COMPONENTS, V$SGA DYNAMIC "FREE MEMORY,
V$SGA RESIZE OPS, V$SGA RESIZE CURRENT OPS,
V$MEMORY TARGET ADVICE, V$SGA TARGET ADVICE, V$PGA_TARGET_ADVICE

V$PGASTAT, V$SYSSTAT

V$PROCESS, V$BGPROCESS, V$SESSION

DBA THRESHOLDS, DBA OUTSTANDING ALERTS,


DBA_ALERT_HISTORY, V$ALERT_TYPES, V$METRIC

- V$LOCK, DBA LOCK, V$SESSION WAIT, V$SQLAREA,


V$LATCH

RMAN

V$RECOVER_FILE

V$PWFILE_USERS

DBA_TABLES, ALL_TABLES, USER_TABLES

DBA INDEXES, ALL_INDEXES, USER_INDEXES

DBA_OBJECTS, ALL_OBJECTS, USER_OBJECTS

3
Oracle
, , ,
Oracle.
. ( Oracle, .)
, Oracle. , ,
, .

Oracle
Oracle8i Oracle UNIX . Motif
X Windows. Windows NT . Oracle8i Java.
Oracle - ,
Java:
. Oracle - .
Oracle , Oracle Database 10g. , Oracle
Database 11g 20 . . 3.1
Oracle Database 10g.
Oracle Universal Installer
, ,

Oracle

85

. 3.1. Oracle Universal Installer

. , .
Net Configuration Assistant Database Configuration Assistant, Oracle.
- , , .
, , .
,
. Oracle
Database Server .
, (
, ) . , .

86

. Oracle
, ,
Oracle . .

.
.
,
-. ( ), , ,
Oracle . ,

;
.
Oracle

, . , -

. . :
;
Oracle ;
, : ,
.

Optimal Flexible Architecture (OFA),
.

Optimal Flexible Architecture (OFA)


Oracle ( ) , , , Oracle . An Optimal Flexible Architecture for a Growing Oracle Database
( Oracle),
, Oracle, OFA. , OFA
, Oracle. , ,
. , OFA,
Oracle , . .

87

OFA Oracle
Oracle7. , Oracle, OFA, Oracle . OFA
Oracle.

Oracle
Oracle . Oracle ORACLE_HOME, ,
. , Oracle , ORACLE_HOME. ,
Oracle,
ORACLE_HOME.
Oracle ORACLE_HOME
UNIX Windows . OFA .

Oracle
Oracle Database lOg
: Database Upgrade Assistant .
,
Database Upgrade Assistant, Oracle Universal Installer. Oracle Database
Database
U p g r a d e A s s i s t a n t
Oracle .
: , .
. Real Application Clusters, Oracle Database 10g,
. , ,
, . . Oracle .


2 , Oracle
.
.

. Oracle

88

, , .


Oracle,
, , .
, ,
.
- , , , . ,
, /.
. , .
?
?

?
OLTP- ( ) ?

. , , , ,
.
?

?

. . CRUD-, , , (Create, Read, Update, Delete), ,


, -. , ,
, . , CRUD- -

89

, . 3.1,
, .
3.1. ,

DEPT
SALARY
?
. , 100 , 300 . , 300 ,
, ,
.
, .
Oracle9i,
, . Oracle9i (resumable space allocation).
, ,
.
AFTER SUSPEND, ,
.
Automatic Storage Management (ASM),
Oracle Database 10g,
, .
, ,
, ASM .
?
(, )? ASM ,
.
?
, , ? -

3. Oracle

90

(, ), ?
?
: ,
Oracle ( - )?


- ,
, . . ,
5 3 , , - 3 ,
8 . , . , , . ,
.
, . , .
.
,
,
.
(Automatic Workload Repository, AWR), Oracle Database 10g, .

(Automatic Database Diagnostic Monitor, ADDM) . A W R .


Oracle:
Database Configuration
Assistant;
.
Oracle Database
Configuration Assistant, :

91

Oracle. J a v a . , . (
), (
). , Database Configuration
Assistant .
. 3.2 .
,
. 3.3 ( Oracle Database 11g). .
, SQL- .
Oracle , . Oracle7 18
Server Manager;
18i SQL*Plus. Oracle BUILD_DB.SQL,
.
.

. 3.2. Database Configuration Assistant

. Oracle

92

. 3.3.

Oracle Net
Oracle Net ( Net8
Oracle8 Oracle8i SQL*Net ) - ,
Oracle .
Net8 Oracle Net 19.
Oracle Oracle Net.
Oracle Net Services Oracle
Net - , ;
.
Oracle Net ,
, .
. Oracle Net
. , , LU 6.2
, T C P / I P

Oracle Net

93

, Oracle Net ,
, . Oracle Net,
Oracle Net. -
- .
Oracle Net , .
, ,
,
. , Oracle Net
,
.

Oracle Net
Oracle Net , .


TNSNAMES.ORA, Oracle Net ( Oracle). , . ,
.
Oracle Internet Directory TNSNAMES.ORA .

Oracle Names

Oracle Names,
Oracle, TNSNAMES.ORA
. . , Oracle Names - . Oracle Internet Directory
, Oracle Names 19i.
Oracle Internet Directory

Oracle.
- Lightweight Directory Access Protocol
(LDAP). Oracle Database 11g
Fusion Middleware, 15,
Oracle Internet Directory (OID). OID - LDAP , , Oracle Names. ,

. Oracle

94

Oracle Application
Server Portal, 15. Oracle
Database 10g
TNSNAMES.ORA, , .

, . T C P / I P , IP-. ,
Domain Name Service (DNS) IP-
, Oracle Names . Oracle Database 10g ,
( ) IP, , .

Oracle Net , Kerberos Radius. Oracle Advanced Security ( Oracle8i
Advanced Networking Option).
. , Oracle I n t e r n e t Directory ( TNSNAMES.ORA). SQLNET.ORA
(, OID,
, TNSNAMES.ORA).
, . ,
, OID, (, ) - TNSNAMES.ORA.
Oracle . ,
IP- Oracle .
T C P / I P
,
.

Oracle Net Manager


Oracle8 Net8 Assistant
, -

Oracle Net

95

Net8. Oracle9i Oracle Net Manager.


Database Configuration Assistant, Oracle Net Manager
J a v a .
, .
Oracle Net , , .
Oracle Net Manager ,
. Oracle
Database 11g . 3.4.

. 3.4. Oracle Net Manager


, , , Oracle Net , . , Oracle Net Manager. Oracle , , -
.

. Oracle

96


Oracle 7.3
, . . 18 Oracle
Net Manager, , Oracle Net.
Oracle, , Oracle Intelligent Agent.
, , , . , , Oracle, , ,
, , .
Oracle Net . Oracle 5.

Oracle Net
Oracle Net . :
Windows ORACLE_HC)ME\net80\admin Oracle8
ORACLE_HOME\network\admin Oracle8
.

UNIX

ORACLE_/network/admin.

, TNS_ADMIN. ,
.
, Oracle
Net.
LISTENER.ORA
Oracle
Net Listener:
. ,
, . Oracle
Net .
TNSNAMES.ORA
Oracle . (

Oracle Net

97

Oracle Names OID, TNSNAMES.ORA .) - , Oracle Net.


TNSNAMES.ORA ,
. ,
SALES. TNSNAMES.ORA SALES, HOST1 PROD. , SALES, HOST2, TNSNAMES.ORA, HOST2.
.
SQLNET.ORA
, , .
LDAP.ORA
18i , LDAP-,
Oracle I n t e r n e t Directory. , ,
LDAP-
, . Oracle Database 10g , LDAP- (DNS).
2, Oracle9i SPFILE, , Oracle ALTER SYSTEM. ^ . ,
( SPFILE) .
SPFILE - , .
Oracle9i
SPFILE, INIT.ORA.
SPFILE .
(Oracle Real Application Clusters)
.

QA1

. Oracle

98


. Windows
Oracle ( ,
), UNIX Linux - STARTUP SQL*Plus Enterprise Manager.
, - , .
:
1. . Oracle
SPFILE INIT.ORA .
. ^ ,
NOMOUNT. ( , Oracle D a t a b a se 10g Oracle Database l l g ,
SPFILE . ,
Oracle Database 11g, 2.)
.
, - ,
SGA. ,
SYSOPER SYSDBA, .
2. .
. - CONTROL_FILES. .
MOUNT,
,
. , .
, ,
MOUNT . ALTER DATABASE,
.
3. .
, , .
.


,
:

99

1. . Oracle SGA,
, . Oracle
, ,
, . , .
2. . Oracle
. , , .
, .
3. . Oracle , SGA.
(, ) . , Oracle SGA .
, . , , , ,
, - . ,
, .


. - .
, ,
.


, . , , - , Oracle. ,
SQL*Plus :

SQL*Plus, ;

Oracle, ,
Oracle.

. Oracle

100


Oracle ,
. , SGA,
.
, - , . ,
,

, . , , , SGA , .


. Log Writer (LGWR) Database W r i t e r (DBWR).



. , .
-
. ,
Oracle (Inter Process Communication, IPC); , Oracle Net.

-
.
, Oracle /. Oracle
- ,
- . , - , . , .
, Oracle, , .
. , , Java-, .

101

Oracle Oracle Application Server. Oracle . Application Server


15.
. 3.5 ,
Oracle , - , .
,
.
, - , - . - , IPC.

. 3.5.

Oracle Net
, . 3.5, .
Oracle ?
, Oracle,
Oracle Net Listener.

102

. Oracle
. , . . , ,
, . , , , ,
.
:
1. .
2.
.
3. .
4. , .
, .
.
. 3.6 . .

. 3.6. Oracle Net Listener

103

/

, .
, 1000 , Oracle 1000 . ,
. . Oracle

Oracle 7 Multi-Threaded Server (MTS).
Oracle9i (shared server).
Oracle . - . .
,
, , . , .

.
. Oracle
, .
Oracle Net,
,
- .
Oracle Net.
. ,
.
.
,
, .
:
.

,
, . ,

104

. Oracle
. , ,
.
(, T C P / I P ).
. , . - , SGA.
.

, .
.
.
. Oracle , SHARED_SERVERS. - Oracle ,
MAX_SHARED_SERVERS.
,
, Oracle , - SHARED_SERVERS.
, .
1. .
2. ,
Oracle Net, , . , , .
3. , .
4. , , . . .
5. SGA.
6. .
7.
,
.

105

8. .
9. .
. 3.7
. .

. 3.7. Oracle Net Listener


( )



Oracle , . , Oracle.
, SQL,
. . , . (Program Global Area, PGA).
,
PGA . , .
Oracle (System Global Area, SGA).

. Oracle

106

SGA. SGA . , ,
SGA, SGA .
, SGA;
Oracle . .
- . (
2.)


SQL-, .
. Oracle Database 10g
. Oracle Database 11g
SGA, PGA,
MEMORY_TARGET.


(. 2) MTS
:
V$SHARED_SERVER_MONITOR
,
, .
V$DISPATCHER
,
. , .
V$SHARED_SERVER
,
. , ,
.
V$CIRCUIT
;,
( ) -

107

Oracle

.
, .

Oracle

Oracle, , . , ,
.

Oracle
,
. , , SQL, (Data Manipulation Language, DML). ,
. 8 , ,
.

, . INSERT, UPDATE, DELETE, . ,


. DML .
Oracle ,
,
, . ,
, .


,
(commit) , , (roll back),
.
(SCN)
, . ,
-

3. Oracle

108

, , ,
. (System Change Number, SCN), , . 1 SCN Oracle
;
8.
,
- Oracle,
, .
.
- , .
:
.
- , . , , .
.
SGA . ,
.
8 Oracle - . . , Oracle snapshot
too old ( ).


Oracle9i
.
. Oracle9i

.
, ; , ,
. Oracle Database lOg 1

, , . SCN , . , ,
. - . ..

Oracle

109

,
.

, . , Oracle
:
;
; ,
/ .
, .

, Oracle . , , , . .

, . - , , .

Oracle9i
(Flashback .Query). ,
. Oracle SQL-
. ,
, . ,
Oracle.
,
, ,
. - ,
. , , ,
, , ,
, .

. Oracle

110

Oracle
. Oracle Database 10g
:
(Flashback Database), ;

(Flashback Database)
;
(Flashback Drop)
DROP;
(Flashback Versions Query)
.

Oracle Database 11g - (Flashback Transaction),


, .

-

. ; , Oracle. , . , .
,
.
, Oracle . 8.
,
, ,
.
:
1. , SQL- UPDATE .
2.
SQL . , .

. . (
4.)
SQL.
3. , , .
.

Oracle

111

, , , , . , , .
.
4. ,
, .
.
5. .
6. Log W r i t e r (LGWR)
. , , .
7. , .
, ,
, .
. 3.8. .

. 3.8.

4
Oracle

, Oracle. , , Oracle - , , ;
, .
- ,
, . - . ,
Oracle, , , .
Oracle, ,
. .


- . , , , .
Oracle : , .
, :
C R E A T E SAMPLE_TABLE(
char_field CHAR(IO),

113


varchar_field
todays_date

VARCHAR2(10),

DATE)

P L /
SQL-.


,
. ,
, . ( )
, UPPER, LOWER, SUBSTR SOUNDEX.
.
CHAR

1 2000 . , 1. CHAR, Oracle
. CHAR:
C H A R ( 1 0 ) = "Rick

",

"Jon

", "Stackowiak"

VARCHAR2
.
, . ,
VARCHAR2, . VARCHAR2 - 4000 .
VARCHAR2 , CHAR,
, .
18 VARCHAR VARCHAR2 - ,"
VARCHAR2 . VARCHAR2, :
V A R C H A R 2 ( 1 0 ) = "Rick", "Jon", "Stackowiak"

NCHAR NVARCHAR2

, , .
. ( National Language Set (NLS).

114

4. Oracle
NCHAR NVARCHAR2. ,
, ,
. , ,
NCHAR NVARCHAR2.
Oracle9i , NCHAR NVARCHAR2 ,
. ,
, ,
, 14 .

Oracle Database 10g Globalization Development Kit (GDK)


-
. - , Java PL/SQL.
Oracle Database lOg
.

LONG
2 . LONG Oracle. Oracle
CLOB NCLOB. LONG , , W H E R E , GROUP BY, ORDER BY
CONNECT BY, SQL DISTINCT. LONG .
CLOB NCLOB
Oracle Database lOg 4 .
128 . NCLOB , NLS. Oracle Database 10f
CLOB NCLOB
.
(LOB) .


Oracle
, 38 .
, Oracle, -
NUMBER. NUMBER, , ;

115

38 .
NUMBER :
column NUMBER(,

38. , 38. ; 0.
, Oracle . ,
:
column_round NUMBER(10,-2)
column_round = 1,234,567

column_round

1 234 600.

Oracle
NUMBER. ANSI : DECIMAL/DEC, NUMBER, INTEGER/INT, SMALLINT, DOUBLE PRECISION REAL NUMBER.
, Oracle,
,
NUMBER.
Oracle Database lOg BINARY_FLOAT BINARY_DOUBLE, , IEEE 754-1985. Oracle Database 11 g
SIMPLE_INTEGER.

Date
NUMBER,
. ,; DD-MON-YY :1:
SS, DD - , MON -
, YY - , , Ml SS - , .
, .

NLS_DATE_FORMAT. SQL- ALTER SESSION , TO_DATE.
Oracle SQL ,
, - ,
. , .5 , , 12 . :

4. Oracle

116

12_DEC_07 + 10 = 22_DEC_07
31_DEC_07:23:59:59 + . 25 = 1_JAN_2008:5:59:59
19,
: INTERVAL YEAR MONTH INTERVAL DAY SECOND
. .


, , , Oracle .
RAW LONG RAW
Oracle , . , . , NUMBER , .
R A W LONG R A W - Oracle. , Oracle , . R A W
, . R A W 2 , LONG R A W - 2 .
ROWID
ROWID - , (pseudocolumn). ROWID
^ . , SQL- SELECT. ROWID Oracle . ROWID
ROWID.
ROWID
, , . ROWID . ROWID
. , ROWID , .
ROWID SQL .
18 ROWID .
, ,
. ,
,
, ROWID.

117

ROWID,
Oracle , , , ROWID.
ORA_ROWSCN
Oracle Database 10
ORA_ROWSCN, (SCN), , . ,
. SCN 8, Oracle.
LOB
(LOB)
4 . LOB:
CLOB
NCLOB
BLOB
, LOB , .
LOB .
Oracle . , LOB, PL/SQL- DBMS_LOB OCI.
LONG LOB ^ 19
LOB , LONG. , ALTER TABLE
LONG LOB.
BFILE
BFILE - ,
Oracle. BFILE , . ,
BFILE,
.
XMLType
XML 19
XMLType. XML-
. . ,
XMLType .

4. Oracle

118

018 , Oracle. , ,
. Oracle 14.
,

Any Data,

AnyDataSet

Oracle9i ,
,
.
, Oracle
.


Oracle SQL, .
, Oracle
(
ASCII) . ,
10 NUMBER.
( ) ,
.
Oracle
. , , .
,
.


Oracle
SQL (||). . . NUM1 - , 1, NUM2 , 2, a NUM3 - , 3, :
NUM1 || NUM2 || NUM3 = "123
NUM1 || NUM2 + NUM3 = "IS" (12 + 3)
NUM1 + NUM2 || NUM3 = "33" (1 + 2 || 3)

, , .

119

. , , ,
- . . ,
. , ,
, .
Oracle
: . , , .
, N ( N - ) , . , " " ( , ) "" ( ) ,
.
, .
, VARCHAR2 NVARCHAR2, - .
Oracle Database 10g (Expression Filter), ,
, . EVALUATE,
. Expression Filter , .

(NULL)
NULL - . , NULL -
. , NOT NULL,
, NULL .
, NOT NULL
, Oracle .
NULL . NULL SQL . : TRUE FALSE. NULL, : TRUE, FALSE
.
,
NULL:

4. Oracle

120
>
<
=
!=

,
NULL
.
NULL IS
NULL, NULL 0, - .
NULL = NULL

FALSE, NULL , NULL.

NULL?
, , - , TRUE, FALSE.
NULL.
, NULL . NULL :
. NULL - (, 0 )
, , NULL.
NULL, .
- , ,
. ,
, AVG ( ).
NULL -
, , , , .

121


Oracle - , . , .

- .
. . , , - .
Oracle9i . ,
, () . , . ,
.
Oracle Database llg . , , .

(view) Oracle , SQL-. SQL- .


, . ,
, .
:
, .

(,
W H E R E , ,
). 19i (finegrained access control),
, .

, ,
. ,

4. Oracle

122

, .
SQL
- ,
. INSERT, UPDATE DELETE. , SQL-
.
INSTEAD OF, .
Oracle8t .
, , , ,
.
10.

- ,
.
.
SQL :
C R E A T E INDEX emp_idx1 ON emp (ename,

job);

emp_idx1 - , emp - , , ename job - .


Oracle
. , , , ,
/. , . ,
( ). -
.
ROWID . ROWID , .
(
) -

1:

123

. , NULL,
.
Oracle - , . , , . , Oracle
. ,
.
, Oracle: *-, , - , Oracle8i. Oracle Database 11g , . Oracle ,
. .

*-
Oracle *-. - (. 4.1).
*-
. , -

. 4.1. *-

4. Oracle

124

. . , ROWID
.
*- , /. ,
.
.
Oracle - (index organized tables,
), , ROWID, . , ,
ROWID. 1 - UNIQUE, . , - , ( ), Oracle Database lOg1
Oracle Streams .
Oracle9t - , ,
- ,
-. Oracle Database 10|f
- - . .


, .
" A B C D " ,
" D C B A " .
, , , *-. , *- .
, / .

, , ,
( ) - . - . ..

125

. 4.1 .
, . .
, ,
. ,

. *- , , . - *-,
- - ,
. , .
,
. - , . . , 234, 235 236 , 432,
532 632
. .

, *-. Oracle.


*- ROWID
. ROWID. ,
*. ROWID
. , , NULL
.
, *-. . 4.2
, , . 10.3
(. 10) - .

, ,

126

4. Oracle

. 4.2.
. 10.
-
- Oracle8i. *- ,
SQL-,
, ( ).
Oracle8i, , , . -
,
.
, , , WHERE UPPER,
-.
, UPPER, .
Oracle Database 10g
-.

127

, .
,
, .


Oracle Database 11 g - .
(.
). ,
. ,
.
,
, , ?
- -
, .

Enterprise Edition 18 P a r t i t i o n i n g Option.


, , . . ,
( - )
- (
). Oracle9i ,
. Oracle Database l l g ,
, hji .
, . Oracle Database llg 1 -.
, , - .
Oracle
:

128

4. Oracle

, ,
;
W H E R E , Oracle , .

,
.
, . - ,
, - . ,
. ,
- ,
.
,
, , , ' , SQL- UNION . , UNION,
.

,
. ,
LOCAL. , , , .
Oracle . Oracle Database lOg Release 2 , 64 - 1 128 - 1 .
Oracle Database 11g . ,
P a r t i t i o n Advisor, , .
Oracle.

129


Oracle ,
.

. Oracle , . - , Oracle , . Oracle


, - , SGA.
, . , .
, , Oracle . , . ,
, , .
, ,
- .
, , ,
. ? .
Oracle Database
PL/SQL.

Oracle - .
; , .
, DEMO - DEMO.EMP. , Oracle
.
,
, . ,

130

4. Oracle
. ,
, , , , , P L /
SQL-, .
( ) (
).
, DEMO
,
DEMO. . , DEMO , SCOTT
DEMO
. SCOTT . , , SCOTT DEMO.
. . .
Oracle Database 10 , , PL/SQL-, .

- ,
. , .
. Oracle , /,
, .
.
, . , .
,
, , .
, , , .

131

,
, . ,
,
/, .


, , .

/ - .
,
- . -,
-,
, .
- , . HASHKEYS, .
, -.
, - .
-, , . - . . , -.
Oracle Database 10g , , -, , .
,
.


Oracle , ,
,

132

4. Oracle
. Rules Manager
Expression Filter.

Rules Manager
Oracle : . Rules Manager,
Oracle Database 10g Release 2, -
.
, Rules Manager, .
, .
- , ,
. ,
. , .
. .
-, :
, ,
Oracle;
;

, ;

;
PL/SQL-, ;

,
PL/SQL , , , , .


, . Rules
Manager ,
.
, .
Oracle.

133

Expression Filter
Expression Filter ( ), Oracle Database 10, Rules Manager . . - ,
, . , , VARCHAR2,
P L /
SQL- SQL- .
EVALUATE W H E R E SQL-.
, . --
; .
Enterprise Edition .
,
, , .



. , , . Oracle .
; .
(Dave


. - . ,
: (1NF), (2NF) . ,
, - (3NF).

.

4. Oracle

134

Ensor) (Ian Stevenson) Oracle Design (


O'Reilly, 2).
. . 1960-
, .

: ,
. .
.
, ,
. , , .
.
.
1. , , (entities). . 4.3:
(employees), (locations) (jobs).
2. ; .
. 4.3 - (employee name) (salary
. , - .
3. (relationships) , . , , . ,
DEPARTMENT NUMBER
EMPLOYEE NAME, , . - , .

. 4.3.

135

,
. , .
,
.
,
, ,
.

. , /
, .
, ,
, , ,
/ .
- , Oracle, , ,
/.
, . .
. 4.3 , .
.
. , ,
,
.
,
.

. , , , - .

, ,
, .

136

4. Oracle


(constraint)
. , Oracle
, . Oracle .
( )
, SQL ALTER TABLE.
Oracle8 :
NOT NULL
NOT NULL. - SQL NOT NULL , Oracle .

,
.
, .
. , . , Oracle
.
, NULL, , NULL, ,
NULL . , NOT NULL.


. .
.
NOT NULL.
, .

( ), ( ). -

137

-
. , , , , .
,

. , ,

?
, .
, . ,
. , ,
.
, ,
.
, ,
.

, ,
, .
.
,
. , ,
, , , . ,
.
, , ,
, . , , , , .

138

4. Oracle
, ,
,
6 .
NULL, - .
, , - . ,
.
,
. ,
,

,

.
, TRUE
FALSE. FALSE,
SQL, , . , , , 100 . , ,
- .
. , , .
.
.
, . SQL-, . SQL-
, . - .
, . ,
Oracle
. -

139

, , .


. , , .
Oracle .

, Oracle
, , ,
, .
- , ,
. :

( UPDATE);

( INSERT);

( DELETE).

, , , .
. ,
SQL-, , . SQL-KO ,
,
.
:
, ;
, ;
, .

: , , .
Oracle Database 11g ;
. , .
INSTEAD OF 18.
- -

140

4. Oracle
, (, ,
). INSTEAD OF - ,
. INSTEAD OF
. Oracle.
.
, FALSE .
,
. , ,
SQL, . 18 PL/SQL - , Oracle Version . Oracle8i
J a v a , J a v a .
PL/SQL Java
,
.
SQL-, . , . ,
Oracle .
, ( m u t a t i n g tables), ,
, (constraining tables), , .
Oracle8t ,
.
Oracle8i (
) (
). ,
, ,
, .


- , .
Oracle , . -

141


Oracle, .
- . , Oracle , .
, Oracle
. . , .
, , , Oracle :

ROWID , ;
- .

,
/. , , .
/ , .
,
, - ORDER BY,
. , ,
,
, , /
,
.
, . ,
, .
Oracle Database 10g
- (rule-based optimizer)
(cost-based optimizer); . Oracle Database 10g
.
, Oracle.

142

4. Oracle


Oracle , 17 . . Oracle Database lOg , , .
, Oracle
. , - . Oracle
20 , .
, , .
, .

,
.
, . SQL-. ,
SQL-.
, , ,
SMALLTAB 10
LARGETAB 10 (. 4.4).
SMALLTAB, 10 ,
LARGETAB . , LARGETAB,
10 000 , 10 000 SMALLTAB . , SMALLTAB,
, , ,
.
.

, , ,
.


SQL-
Oracle 7 . , - -

143

. 4.4.

. , /. , .
, & , SQL-.
18 . Oracle Database 10g . ,
. Oracle Database 10g (Automatic Workload Repository,
AWR). , , , SQL-, ,
(Active Session History, ASH). 1

, AWR, . - , . - . . .

144

4. Oracle


,
. , , .
, ,
. . 4 . 1
.
4.1. ,

*-




Oracle Database lOg ,


/.
- .


/.
,
; ,
/ .
,

145

- , .
, .
SQL- ANALYZE.
PL/SQL-
DBMS_STATS, ,
.
, .
. , Oracle Database lOg ,
, ( 10 )
.

. ,
,
.
W H E R E .
, 1000 ,
10 000. , 20 , - 5000. , ,
.
Oracle9i ,
.


, (, , ). Oracle ,
,
; ,
.
, ,
.

146

4. Oracle


. Oracle Database 10g , /.

.
, ( )
, ,
.
, , -
.
. , 5000
,
. , ,
5001 , . , . ,
Oracle'"7.3 ,
. Oracle Database 10g, , ANALYZE INDEX. 1 Oracle SQL.


, , . -, OPTIMIZER_MODE. ALL_ROWS,
.
FIRST_ROWS , .
.
, , .
.
- , SQL-. :
, ;
;
;
;
;
1

,
ANALYZE TABLE. - . .
.

147

, , , -, , ;

, , .

. , .
EMP_IDX:
S E L E C T /*+ I N D E X ( E M P _ I D X ) / LASTNAME,

FIRSTNAME,

PHONE FROM EMP

SQL-,
, ,
,
.
SQL-, ,
. , , , , (, , ) .
, , , ,
. , , ,
.
, ,
.


ALL ROWS FIRST ROWS. Oracle Database 10g :
RULE
.
CHOOSE
Oracle.
CHOOSE, , Oracle ,
. . Oracle

148

4. Oracle
, , , .
.


,
. , .

, Oracle. , ,
. ' .
,
,
. Oracle Oracle ,
. Oracle Database 10g
.

?
Oracle, Oracle Database 10|f, . , ,
, . , ,
. , , .

. Oracle, , ,
,
, Oracle . , , .
, :

149

.
Oracle , , - , . , ,
,
,
.

.
.
. Oracle9i
, Oracle Database 10g /. , ,
, .

- .
. , ,
4 .
, Oracle .

,
, .
Oracle SQL , . ,
,
.
,
, .

150

4. Oracle
.
,
.

.


,
SQL-. , , , SQL
, .
Oracle8i (stored outline), , . ,
. Oracle9i
, .
Oracle Database 11g
SQL- (SQL plan baseline).
Oracle ,
. SQL-, , ,
. SQL- Oracle ,
,
SQL-, .


Oracle . , ,
, , , .
SQL*Analyzer , .
SQL-, , , .
, SQL*Analyzer . SQL*Analyzer
, ,
.

151

Oracle Database llg Database Replay.


.
, ,
. Database Replay
.


- .

. Oracle - 7.


Oracle .
, , , .
,
, - .
Oracle . , Oracle ,
.
- SQL- EXPLAIN PLAN.
FOR SQL-, ,
.
SQL*Plus , . 4.5.
. , , .
. PLAN_TABLE, EXPLAIN PLAN. (
PLAN_TABLE Oracle utlxplan.sql.) EXPLAIN PLAN
Oracle.
. EXPLAIN PLAN . ,

152

4. Oracle

. 4.5.
EXPLAIN PLAN SQL*Plus
SQL?
, TKPROF,
. TKPROF
SQL Trace , SQL-.
TKPROF EXPLAIN,
,
SQL- EXPLAIN
PLAN.
TKPROF. , SQL- /, , , , .
TKPROF - . .
, ( Oracle, Developer)
EXEC SQL SQL- ALTER SESSION ,
3GL-. , , , , ,
, .

153

SQL,
, Enterprise Manager. SQL- , EXPLAIN PLAN TKPROF
, . , , , . EXPLAIN PLAN SQL- ,
. , , SQL- .

SQL-
Oracle Database 10g SQL Tuning Advisor. SQL- , (Automatic Workload Repository)
. , SQL Tuning Advisor , : ,
SQL-. . , SQL-.
SQL Access Advisor,
. Oracle Database 11 g
SQL Tuning Advisor SQL Access Advisor
SQL Advisor, P a r t i t i o n Advisor.
, .


Oracle - , .
.
, :
DBA_
, . DBA.

154

4. Oracle
USER_
.
ALL_
,
. ,
, .
, , :
D B A T A B L E S , USER_TABLES ALL_TABLES.
. 4.2 , .
4.2. ,

ALLTABLES

TABLES

TAB_COMMENTS

TAB_HISTOGRAMS

TAB_PARTITIONS

TAB_PRIVS*

, ,

TAB_COLUMNS

COLCOMMENTS

COL_PRIVS*

, ,

LOBS

VIEWS

INDEXES

IND_COLUMNS

IND_PARTITIONS

, . - .
. .

155

PART_*

CONS_COLUMNS

CONSTRAINTS

SEQUENCES

SYNONYMS

TAB_COL_STATISTICS

TRIGGERS

TRIGGER_COLS

5
Oracle
Oracle , .
, , . ,
Oracle, .
Oracle (). .
:

;
;
;
, , ;
, ;
;
, ,
;
;
;
;

157

Oracle Worldwide Customer Support Services.

.
, , ,

(, ) .
Oracle .
, , . , ,
Oracle Enterprise Manager () , Oracle. .

Oracle. Oracle Database 10g grid-. .
(grid),
, ,
, .
Oracle grid- , .
,
Oracle.
, ,

. grid- .


. , , , , 3. - 6. Oracle:

158

5. Oracle

Oracle Enterprise Manager, , ;

,
;


, ;
Oracle Support.

,
,

, Oracle, .


Oracle Database 10g
.
, . Oracle Database 11g
.
, . Segment Advisor SQL Tuning Advisor.
Oracle Enterprise Manager
, ,
(Automatic Workload Repository, AWR). (Automatic Database Diagnostic Monitor, ADDM)
. Enterprise Manager. .
. ,
Oracle Database 10g, , $-,
SQL- , .


ADDM - , Oracle Enterprise Manager. .

159

SQL Advisor
Oracle Database 11g SQL Tuning Advisor, SQL Access Advisor P a r t i t i o n Advisor. SQL Tuning Advisor
SQL- . SQL Access
Advisor P a r t i t i o n Advisor , ,
.
SQL Performance Impact Advisor
, Oracle Database 11g, ,
SQL.

Memory Advisor - ,
SGA PGA. Oracle Database 11g .
, Shared Pool (SGA)
Advisor PGA Advisor. ,
, Shared
Pool (SGA) Advisor, B u f f e r Cache Advisor PGA Advisor.
Segment

Advisor

Segment Advisor

. , ,
.

.
Undo Advisor
,
. Oracle Database l l g .
MTTR
Advisor
Mean Time to Recovery (MTTR) Advisor MTTR ( ).
Enterprise Manager, Oracle .
Streams
TuningAdvisor
Streams, ,
.

160

5. Oracle
Oracle Database llg , , . ,
(health check) Health Monitor. , , , Health Monitor ,
Automatic Diagnostic Repository (ADR). SQL Test Case Builder, Oracle
Support. :
SQL Repair Advisor
SQL- , SQL Repair Advisor
^ .
Data Recovery Advisor
, : . RMAN.


Oracle Database
:
(Automatic Storage Management, ASM). :
, .
. :-:
(
(
) ( ). :
(failure group) ASM ,
.
, ASM, Oracle
ASM , ,
, RMAN. , :
, : .

161

Oracle Enterprise Manager

Oracle Enterprise Manager


Oracle Enterprise Manager (EM)
Oracle7 .
Windows.
Oracle8i Java-, . 1 , Oracle9i, Oracle Application Server, HTML-.
Enterprise Manager. Oracle Database llg 1
Java- .
- , . , Oracle, :
(Database Management Packs)
, , ,
, (Provisioning).
(Standalone Management
, .

(Application
Packs)
E-Business Suite, PeopleSoft Enterprise, Siebel.

Packs)

Management

(Oracle Application Server)


, , , (Provisioning), SOA.

(Management

Connectors)

Microsoft Operations Manager, Remedy Helpdesk

Oracle Linux

EMC Celerra, EMC Symmetrix DMX, NetApp Filer, BEA WebLogic,


JBoss Application Server, IBM WebSphere, IBM WebSphere MQ, IBM
DB2, Microsoft IIS Server, Microsoft Active Directory, Microsoft BizTalk Server, Microsoft Commerce Server, Microsoft ISA Server, Microsoft .NET framework, Microsoft SQL Server, Check Point Firewall,
J u n i p e r Netscreeen Firewall, F5 BiglP Local T r a f f i c Manager, Linux
Hosts, Unix Hosts, Windows Hosts.
1

, Java- (Java application), . - . . .

5. Oracle

162

Oracle, .
:
(Database Diagnostics Pack)
,
ADDM, A W R , .
(Database Tuning Pack)
, SQL,
SQL-. SQL
Tuning Advisor SQL Access Advisor Object Reorganization W i z a r d .
(Database Change
Management Pack )
,
, .
(Database Configuration
Management
Pack)
, .
.
(Database Provisioning Pack)
, ,

RAC.

Enterprise Manager
Enterprise Manager , .
:
. Oracle,
, Gric
Control.
Grid Control
,
. Grid Control . 5.1.
Enterprise Manager :

Oracle Enterprise Manager

163

. 5.1. Grid Control

Oracle
(Oracle Management Agents)
, . Oracle H T T P / H T T P S .
Oracle .
Enterprise Manager Console
.
Oracle Management Service (OMS)
Oracle Management Repository. OMS
. OMS - - J 2 E E , Grid Control .
Oracle Management Repository
Enterprise Manager , , .

164

5. Oracle


Enterprise Manager Database Control. Oracle Grid Control , OMS
Oracle Management Agent.
. 5.2.

. 5.2. Oracle Enterprise Manager



, Oracle, , . Simple Network Management Protocol (SNMP) .

Oracle Enterprise Manager


, Oracle . ,
. , Enterprise Manager ,
, , . Oracle. , , .

Oracle Application Server Portal.

Oracle Enterprise Manager

165

, , , ,
.
Enterprise Manager ,
. .
Enterprise Manager. Oracle
, . , Oracle
Database 11g, Home (), Performance (), Availability (), Server (), Schema (), Data Movement ( ) Software and Support (
). Home, Administration (), Maintenance () Performance (. 5.3).
( , ), (,
), .
Oracle Database 11g Enterprise Manager
.
Home
, , , , .

. 5.3.
Oracle Enterprise Manager

166

5. Oracle
( , SQL-)
. ,
,
,
. Advisor Central ( ) , ,
(alert log).
Performance
, , , /
.
Availability
, RMAN LogMiner.
Server
, Automatic Memory Management, A W R
.
Schema
, , , ,
, , (Flashback).
Data Movement
, Streams, .
Software and Support
Support Workbench Oracle , A W R .
Enterprise Manager . , Oracle Database 1 l g (Real Applications Testing Option). Enterprise Manager ,
.
Software and Support. (,

167

). ,
.
. , , .

EM2GO
EM2Go - Enterprise Manager, Oracle Database 10g\ Oracle . EM2Go Enterprise Manager,
OMS, Management Repository Oracle. Enterprise Manager Microsoft Pocket PC I n t e r n e t Explorer,
. OMS HTTP.
Enterprise Manager
EM2Go, .
. - , .
EM2Go, .
SQL- .
,
Oracle Oracle Application Server. ,
.


,

. -
, .
Oracle , - . , : , . , . , .

5. Oracle

168

,
, ( ),
.
, /,
.


Oracle Database 10^
. Segment Advisor, ,
. ADDM , , .
Oracle9i
CREATE TABLE... AS SELECT. , , .
, , , .
, .
Oracle9i .
,
. , , , .
. ,

.
, .
Oracle .
:

.
(
, - ) .

, ,
. -
, , ,
/, .


Oracle Database lOg -

169

. .


, .
- .
Oracle : ,
, , , .
Oracle . , Real Application Clusters . .
- . ,
.
,
:

,
, ;
ARCHIVELOG, ;

;
, , .

ARCHIVELOG
, . , . , (.
10).
Recovery Manager (RMAN),
Oracle8 ,
. RMAN
Enterprise Manager.

170

5. Oracle

, , ( )
( ). , ( ,
).

, . , .
Recovery Manager Enterprise Manager RMAN -
.
.
RMAN , (), , Oracle, , ,
. 19 RMAN
, . ,
.
Oracle Database 10g RMAN
, .
, .
:
;
(
, );


( );

171

CANCEL;

(System Change Number, SCN).

RMAN, ,
SQL SQL*Plus.
Oracle Database 10g RMAN
. . RMAN
, . RMAN , .
,
, RMAN .
Oracle Database 10g (Flash Recovery
Area),
. ,
, , RMAN. RETENTION
AREA
. ,
. Flash Recovery Area
ASM ( ). , RMAN .


, .
, , , , , , . ,
, - .

172

5. Oracle
. 11.

Oracle Secure Backup


Secure Backup
Database 10g Oracle Secure Backup Express (XE), Single
Server Version (LSSV) Legato. Enterprise Manager 10g Release 2 Secure Backup Enterprise Manager. Secure Backup XE RMAN ,
. , Oracle Secure Backup, .
Oracle Secure Backup 200
,
Network Data Management Protocol (NDMP), , (network attached storage, NAS),
Virtual Tape Library (VTL), ,
, , .
, Oracle,
. Oracle Oracle Backup Solutions P r o g r a m (BSP), RMAN.
Oracle Technology Network.


Information Lifecycle Management (ILM)
, , , . ILM
, , , .
,
, ,
, - , .

173

ILM 2006 19g,


ILM Assistant, Oracle Technology Network. ILM Assistant
Oracle Application Express ( HTML
DB), , .
ILM A s s i s t a n t
, . , ,
,
. ILM Assistant , .
, ILM Assistant .
ILM Assistant Lifecycle
Setup ( ).
, , (. 5.4). ILM
Assistant , . ,
, , .
ILM Assistant (Lifecycle Events Calendar), . , ,
Lifecycle Management ( ).

. 5.4. Oracle Information Lifecycle Management Assistant

174

5. Oracle
Reports () ,

, , ,
. Compliance and Security ( ) :
(VPD), ; ; , , ; (FGA),
.

Oracle Support
, - ,
Oracle. , . Oracle - , . ,
,
.
Oracle Worldwide Customer
Support Services , , .
Oracle , Service Request (SR). Technical Assistance Request (TAR).
, .
, 2. , .
,
1.
(
). , ,
.

Oracle Support

175


,
- MetaLink. MetaLink,
, ,
, .
MetaLink ,
, , ,
.
(Customer Support Identification,
CSI). (Oracle Sales Consultants).
Oracle Worldwide Customer Support Services
.
, Enterprise Manager Oracle Database l l g Support Workbench, .
SQL Test Case Builder, Oracle Support , .
Enterprise Manager. , , , Oracle Support ,
.


Oracle Support MetaLink (patches). Oracle Database 10g ,
.

Enterprise Manager. Enterprise Configuration
Management ,
.
RAC , . (
3.) , , .

6
,
Oracle
Oracle - , . , ,
. . .
.

,
, .
, .
, ,
, . Oracle Database 11g
,
. , , .
.
- , . . , - , -

. .

177


Oracle - . Oracle

.
:

;
;
.


() . ,
.
Oracle.

, ,
.

/ (username/password).
(
), , .

.

, ,
(DBA)
,
.
, DBA: SYS SYSTEM. ( DBA
.)
.
:
;
;
, ;

6. , Oracle

178


1 100;
;
( )
.

Oracle
,
.
, SQL-. (,
), (,
).
. , .
, , . Oracle Enterprise Manager (), 5. ,
,
, , , ,
, ,
.
PUBLIC,
. , PUBLIC, . , PUBLIC,
,
, . 1 , CREATE PUBLIC DB LINK . ,
PUBLIC .

PUBLIC PUBLIC,
, . PUBLIC , PUBLIC - -

. - . . .

179


, , .
, ,
. ,
Oracle Identity Management, LDAP-, Oracle
I n t e r n e t Directory (OID). , OID SYSDBA SYSOPER.


:
SELECT

INSERT
UPDATE
DELETE

, , , :
CREATE

DROP
ALTER

SQL-.
GRANT , REVOKE - . , . .
PUBLIC,
.
, EXECUTE,
, PL/SQL. PL/SQL ,
. ,
, ,
.

- DBA, SYSDBA SYSOPER


.
- DBA. . SYS

6. , Oracle

180

SYSTEM, .
SYS .
SYSTEM , Oracle. , Oracle , .
DBA ,
SYSDBA SYSOPER. SYSDBA SYSOPER
.
, CONNECT AS,
SYSDBA SYSOPER,
. SYSDBA
SYS , SYSDBA. SYSDBA SQL*Plus Oracle Enterprise Manager:
STARTUP
.
SHUTDOWN
.
ALTER DATABASE
OPEN
, .
ALTER DATABASE
MOUNT
.
ALTER

DATABASE

BACKUP

CONTROLFILE

.
RMAN,

5.
ALTER
DATABASE
ARCHIVELOG

.
ALTER DATABASE
RECOVER

.
CREATE
DATABASE
, , .

181

DROP
DATABASE
, .
CREATE

SPFILE

( I N I T . O R A ) .
RESTRICTED
SESSION

, . , , SYS.
, SYSOPER,
: STARTUP SHUTDOWN, CREATE SPFILE, ALTER
DATABASE OPEN, MOUNT, BACKUP, ALTER DATABASE
ARCHIVELOG, ALTER DATABASE RECOVER. , RESTRICTED SESSION.
. CONNECT INTERNAL, Oracle,
. , OSDBA OSOPER.
ORAPWD. SYS , SYSDBA.
Oracle ,
. ,
,
Oracle.

- .
,
, . PL/SQL , , , IP- .
Oracle Database 10 Enterprise Manager
, , . , ,
.

182

6. , Oracle
, .
. .


, . ,
. , , , , . , .

,
, , .
,
.
,
, (, ), ( , ). , .
Label Security Option. .


- , , .
: ,
, .
,
, ,
.
, - , . , .

183

Oracle
(fine-grained access control, FGAC).
,
PL/SQL-, (virtual private database, YPD).
, SQL- . , ,
, G.
W H E R E , . ,
, .
,
.

, PL/SQL- DBMS_RLS,
, .
Oracle Database 10g VPD , . VPD
. SQL-.
UPDATE, INSERT
DELETE - SELECT. FGAC PL/SQL Oracle P L /
SQL Programming (Steven Feuerstein)
(Bill Pribyl) Oracle PL/SQL f o r DBAs ( O'Reilly,
2).

Label Security Option


Label Security Option VPD PL/SQL,
, .
, ,
, .
, / . , , ,
(compartment), -

184

6. , Oracle
, , ( ) .
, . , , , .
, , , .
SQL-
, VPD. Oracle Database 10g, ,
Oracle Internet Directory.

,

. ,
, .
, , .
,
. SET ROLE, , .
DBMS_SESSION.SET_
ROLE PL/SQL.
- . ,

, . , INSERT EMPLOYEE, HIRE_
EMPLOYEE, , , .
, , ,
.
, , . , ,
, .
, , H R _ R E P . .

185

H R _ R E P . , H R _ R E P ,
, . , H R _ R E P .
,
:
, .


AUTHID CURRENT_USER, , , ,
( ).
, ,
, AUTHID
CURRENTJJSER.



,
Oracle, , 13.
. , , ,
, . (
)
.



.
. Advanced Security Option, .
LDAP- OID Enterprise Manager.
, ,
, .
OID.
cookie .

186

6. , Oracle
, , Oracle Identity Management, .



Oracle Application Server, .
,
Oracle Identity Management (OIM). Oracle Internet Directory , Oracle. OID
, .
.
-, . , ,
. ; ,
. - .
Oracle ,
.
.
Oracle 10jr Release 2
OCI, . Release 2 , , SQL*Plus, -.

Advanced Security Option


Oracle Advanced Security Option (ASO),
Advanced Networking Option (ANO), Oracle Net,
. , Oracle Net, Net/SSL, IIOP/SSL
JDBC- , . : RC4 40, RC4 56, RC4_128, RC4_256, DES, DES_40, 3DES112,
3DES168, AES128, AES192 AES256.
,
MD5 SHA-1.

187

Oracle Database 10g Release 2 Advanced Security Option Transparent Data Encryption (
), , ASO .
ASO . Kerberos, RADIUS DCE. RADIUS , -
(token card).
(Public Key I n f r a s t r u c t u r e ,
PKI), -
, .509 v3
( E n t r u s t Profiles), Oracle Wallets. Oracle Database 10g
, (credentials) Kerberos, Kerberos .
Oracle Enterprise Security Manager
, LDAP- OID. Oracle (
Oracle Wallet Manager), LDAP.
,
,
, LDAP-. ,
, , SSL- LDAP-, .

, Oracle.
.
Oracle ,
Oracle Database lOg1 Release 2 T r a n s p a r e n t Data Encryption.
, , . -
, , . - ,

6. , Oracle

188

, .
, , .
Transparent Data Encryption
. Oracle , , ,
, , , SQL-.
Oracle Database
(. 4), .

Secure Backup
, Oracle. , , , ?
,
- . Secure Backup, Oracle Database lOg Release 2 Oracle Database 11 g,
.
, , , .

Oracle :/
. , ,
, , -
- .
.
Oracle
, . , .

.
, , / . ,
, Oracle Database 10f
Automatic Workload Repository (AWR).

189

:
;
;
;
, ;
, ;
;
.
( A U D $
SYS), ,
.
Oracle9i , SELECT .
Oracle Database 10g
. SELECT,
UPDATE, INSERT DELETE.
Oracle Database 11g ,
AUDIT_TRAIL DB. :
ALTER ANY PROCEDURE
ALTER ANY TABLE

ALTER DATABASE

ALTER PROFILE

ALTER SYSTEM, ALTER USER


AUDIT SYSTEM
CREATE ANY JOB, CREATE ANY LIBRARY, CREATE ANY PROCEDURE, CREATE ANY TABLE, CREATE EXTERNAL JOB, CREATE PUBLIC DB LINK, CREATE SESSION, CREATE USER
DROP ANY PROCEDURE, DROP ANY TABLE, DROP PROFILE,
DROP USER
EXEMPT ACCESS POLICY
GRANT ANY OBJECT PRIVILEGE, GRANT ANY PRIVILEGE
GRANT ANY ROLE


,
. , - , .

190

. , Oracle
, ,
.

. ,
-
- . ,
Oracle
. , , , -. .
Oracle , , - Oracle Database Vault Option Option Oracle Audi:
Vault Server, .
Flashback Data Archive, , 3.

Oracle Database Vault Option


Oracle Database Vault Option 2006 . ,
. ,
, .
Oracle Database Vault Option
, , , .
, Oracle Database Vault Option,
. , ,
.
,
. 40 , .
. , , , . ,
, , ,
. , , , , , .

1:

191

(realm) ,
, . , Oracle . ,
. , .
Oracle Database Vault Option , , . . 6.1
Oracle Database Vault Option.

. 6.1. Oracle Database Vault Option

Oracle Audit Vault Server


Oracle A u d i t Vault Server 2007 .
Oracle .
,
,
, , . -, Oracle BI Publisher.

192

6. , Oracle
Oracle A u d i t Vault Server
, , , .
Oracle 9i Release 2.
(SDK).

Flashback Data Archive


(Flashback) 3, r
. 19i, Oracle Database 11g .
Flashback Data Archive , . ,
, .

7
Oracle
, Oracle .
.
,
. , .
Oracle
. , ; 2.
Oracle, .

. Oracle.
, .
,
Oracle.
, Oracle , ,
. . ,
,
. , , .

194

7. Oracle


- , .
, , .
. , , ,
. ,
.
.
; - , , , .
, . , ,
- .
Oracle, .
Oracle
:
1. ,
.
2. Oracle.
3. , .



- ,
. , . ?
- ; , ,
. , ,
.
,
, ,
, . , ,

195

. ,
, ,
, .
, ,
, . ,
, , , , .

Oracle
,
Oracle Enterprise Manager (. 5).
- , Oracle
. , , .
Oracle
. Automatic Workload
Repository (AWR), Automatic Database Diagnostics Monitor (ADDM)
Oracle Enterprise Manager Grid Control Oracle Database 10g
, . V $ , 19 ( Real Application Cluster) , GV$. ,
:
V$SYSTEM_EVENT
, .
V$SESSION_EVENT
,
.
V$SESSION_WAIT
, .
V$SESSION
, ,
.
,
.
.

7. Oracle

196

Oracle Database 10g , , ,


.

, , , , .
,
DB_BLOCK_BUFFERS,
, , .
V$METRICNAME.
, ,
. , ,
.
Oracle .

AWR, ADDM Enterprise Manager



Enterprise Manager ( RAC Grid
Control) . (Automatic Workload Repository, AWR). 30 7 .
, Enterprise Manager
.
A W R
. , Oracle Database 10. - (Automatic Database Diagnostic Monitor,
ADDM).
ADDM , , , SQL-. Oracle Database 11g ADDM
. ,
ADDM Enterprise Manager, . Enterprise Manager Oracle,
. , , . Enterprise Manager -

197

, , .
SQL
Advisor. Oracle Database
SQL Tuning Advisor, SQL Access Advisor P a r t i t i o n Advisor. SQL Advisor A W R
/ SQL-, ADDM. ,
, ,
SQL, , , , , SQL- .
.
Memory

Advisor

MEMORY_TARGET ( Oracle Database 11 g, ) SGA_TARGET ( ).


Segment
Advisor

.
Undo

Advisor

.
, Mean Time to Recovery (MTTR)
Advisor, Oracle,
. ( Oracle 5.)


, , , .
Oracle , ,
. ,
, ,
. ,
.
,
. ,

7. Oracle

198

, / . ,
.

, . ,
. ,

.
, , Oracle : ,
/. - , /.
/ .
,
.

. Enterprise Manager Oracle
Database 10g
.

- . , ,
. ,
.
, , Oracle Enterprise Manager, ,
, . Enterprise
Manager 10g Automatic Performance Monitoring ().
(beacons) - ,
. , Oracle, .

...
, ,
. -

199

, /

. SQL, .
,
SQL-, . , ,
- . ,
.
Enterprise Manager Automatic Database Diagnostic Monitor (ADDM) SQL-,
, SQL Tuning Advisor
. (
.)
, ,
, Oracle . Oracle - - ,
2.


. , , , - , .
, A W R
, , , /
.
, . . , .
,
, .
Oracle Database 11g . , A W R .
.

200

7. Oracle

Oracle /
, /

. / , , 4 , - 64 128 . / . Oracle
, .
Oracle / , ,
:
I
, 8 . . , , Oracle
/.

, 32 8 . / 256 . /
, . DB_FILE_MULTIBLOCK_READ_COUNT.
/ Oracle , ( ). , .

/ Oracle
, ,
, Oracle /
.
, /:
;
;
;
,
SYSTEM;
, TEMP
, ;

Oracle /

201

, , ;
, ( , ARCHIVELOG).

/ Oracle:
, /

RAID. Oracle Database 10g
, Enterprise Manager ASM.
/
/ / , .
,
.

. Oracle / , , , , 4,
. /
,
.
, , , . . , ,
/ . /, .
Oracle ,
.

. Oracle , / .
,

202

7. Oracle
- , / .
8 , Oracle Database 10g Release 2
. , , .

/
SYSTEM, ,
TEMP ,
. , . , , ,
-
,
.
/.
Oracle Database 10g SORT_
AREA_SIZE ,
. Oracle
, SYSTEM,
SGA, . Oracle Database 10 SGA .

, /, ,
.
,
:
,
,

/.
, ,

-

Oracle /

203

,
.
. ,
.
Oracle 11.

RAID
, /, - RAID-. RAID (Redundant A r r a y of Inexpensive, Independent Disks) ( ) .
- .
11,
RAID, .
,
/ ,
. ,
, , , . , /
, .
, ,
. /
, , Oracle
/ .

/. ,
Oracle
, . Oracle Database 10g Automatic Storage Management. ASM
. ASM
.


, . Oracle
Logical Volume Manager (LVM) Hewlett Packard Volume Manager Veritas Software. LVM

204

7. Oracle

RAID
RAID- .
RAID; :
RAID-0
- ,
RAID-0,
, .
RAID-1
,
. .
RAID':0+1
RAID-1
RAID-0.
RAID-3
,
,
. RAID-1, RAID-3
, ,
, , .
RAID-5
, RAID-3, , . .
RAID, RAID-6,
, RAID-7 RAID-8, RAID-5.

, /
, .
, .
, ,
. Oracle. . 7.1 .

Oracle /

205

. 7.1.

Oracle9i Release 2 Linux Windows


, Oracle. Oracle
Database 10g , ASM. ASM , .


, , (disk farms). , , () , /. EMC, Network Appliance, Hewlett-Packard, IBM Sun.
. / .
(storage area network, SAN), ,
. / ,
.

206

7. Oracle

:

/ / , / Oracle
( 1 0 - 1 2
3 - 5 );

, /;

/ ;
.
/ / ,
, .

,
, ,
, . , Oracle ,
, . . 7.2
/.


/

/, - . , ,
, RAID-1 RAID-S. ( RAID-S , http://www.emc.com, .)
,
RAID-1 RAID-S, . .
RAID-1

/ .
RAID-S
/
, . -

Oracle /

207

. 7.2. /
, , /. Oracle
20 /.
. 7.3 , , RAID-S.

,

RAID. / .
/ , .

208

7. Oracle

. 7.3.
/
, . - . ,
. , .
.
- , Oracle .
:
, , -
. , - -

Oracle /

209

, .
, , .
,
. , ,
1000 . ,
1000 , , . , / 50 20 , . , 20
50 . , 5 , ,
, . ,
.
Oracle Database lOg1 . ASM
1
. ( -
). .
,
. ,

. , .
, . , , - , ASM .
Oracle Database l l g . Oracles Information Appliances, 8.

/
Oracle
/,
,
. RAID- , / .

210

7. Oracle

Oracle, ASM, (chunksize). , ,


. / /
Oracle.
, - 8 , DB_FILE_MULTIBLOCK_READ_COUNT - 32. Oracle 8 ,
- 256 (32x8 ). ,

64 , 256 64 .
/ 8 , 8 64 . 1

/ :
. / 256 .
64 , 256 ,
256 . /
. /
.
/
,
64
256 .
. 7.4 /
.

, -
Oracle ,
,
. ,
, Configuring Oracle Server for VLDB (. ). ( Millsap)
Oracle, Hotsos.

/ Oracle. , , , .

Oracle

211

. 7.4. / Oracle

Oracle
- (Very Large Database, VLDB).
,
- (symmetric multiprocessing, SMP), .
. Oracle SMP, - Oracle Real Application Clusters. SQL-
- , , /, - .
(, ),
, . (PGA).
,
, /, -
.

212

7. Oracle
Oracle :

.

,
.
.


1994 Oracle 7.1
, .
- Oracle , ,
. Oracle? , ,
. ,
(. 4).
, SQL-, . (-).
, - . / , -
, .
,
.

- , . - . -
/. , .
- , .
, , , ,
. , , 20 , 20- .
.

Oracle

213


. / /. , , -, , ,
.
- .
, ,
- . Oracle . - , . ,
- ..
, , , . - , . . 7.5
.

7.5.


18
, .
,
. ,

7. Oracle

214

, .
. ( - ) , . ,
. , , ID 1000, ID 1100 5000, , .
Oracle9i,
,
. 4 , Oracle
.
, , ,
. , .
, , .

?
Oracle .
, :

;
;

;
-;
CREATE TABLE... AS SELECT (, );
, ;
;
;
(, Oracle Database 10*);

Oracle

215

( Oracle Database llgO;


(INSERT, UPDATE, DELETE);
;
OLAP- ( Oracle Database lOg).

Oracle
:
;
;
;
;
;
;
(partition-wise joins);
(NOT IN);
SELECT DISTINCT;
UNION UNION ALL;
ORDER BY;

GROUP BY;
;
;

, .


Oracle (-), . -
Oracle; - , , . ,
,
. . 7.6 - .
- . , 8 ,
20 ? 160 - ( 8
20 ), .

216

7. Oracle

. 7.6.
- (, 2), , ,
.


Oracle8i . , . , Oracle , , .
,
, . , . .
:
;
, (
Database Resource Manager). ( Database Resource Manager 9 .) , , , .

Oracle

217


Oracle, ,
,
SQL-. - ,
. . :

;
;
.


18 (Data Manipulation Language, DML),
INSERT, UPDATE
DELETE. (, ).
18
, Oracle8i - .
12 (, ) 12 .
, .
(, 4 jno
PRODUCT_ID ), 48 (12 4
).
4 -, 4 . Oracle
.
18 , ,
- - .


, Oracle . Oracle 7.3 .

218

7. Oracle
,
,
. Oracle , . .



Oracle INSERT INSERT
INTO tableX SELECT...FROM tableY ,
.
SELECT INSERT - .
-.
.
.
, .

Oracle

, . Oracle .
, (System Global
Area, SGA), ,
(Program Global Area.
PGA).
Oracle9i SGA , , . Oracle9i ,
, . Oracle Database 10g . Oracle Database 11 g SGA PGA.
. Oracle,

, .
, .

Oracle

219

Oracle
(SGA)
Oracle SGA :

, ,
;
SQL-,
;
.

Oracle9i ,
SGA, .
.

SGA
Oracle Database 10g SGA
.
: , ,
, Java- Streams-. , SGA, SGA_TARGET.
Oracle Database 10|? , ,
. SGA,
. D B C A CHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE, JAVA_POOL_
SIZE STREAMS_POOL_SIZE.
SGA - LOG BUFFER, DB_KEEP_CACHE_SIZE DB RECYCLE_CACHE_SIZE - - .


SGA,
SGA_TARGET 0, (
). ,
, , , . . , 9 0 % ,
DB_CACHE_SIZE.

7. Oracle

220


Oracle Enterprise Manager.

,
.
, , , . OLTP- (, , ). / - -
- , .
.
, . , , , , , . ,
. ,
, , ,
.



Oracle. ,
SQL-
, .

, . , Oracle /
.
, , .
:

SQL-, , :-

Oracle

221

, . SQL-, , ,
, .
, -
,
.

, , , : SHARED_POOL_SIZE. ,
,
1 5 0 - 2 5 0 .

Oracle (Oracle Performance Tuning Guide) , 2.


SGA , . ,
, ,
, .
( ) . Oracle , , .
.
, , . /, . . , redo b u f f e r allocation retries (
). V$SYSSTAT ,
.
:
SELECT name, value FROM V$SYSSTAT
WHERE name = 'redo buffer allocation retries';

222

7. Oracle
, . ,
,
. , , . , redo b u f f e r allocation retries
0. , ,
, LOG_BUFFER.


Oracle Database 11g
.
Oracle , . Oracle SQL, . Oracle Database 11g .
. , :
. , ,
, , -. PL/SQL-.
Oracle Database 11g , , .
, , .

Oracle
(PGA)
(PGA) , . ,
PGA,
Oracle. ,
PGA. (Multi-Threaded Server, - Oracl e d - ) ;
.

Dracle

223

PGA
, ,
SQL-, , . ( ) ,
. PGA , .

SQL-
SQL- ,
PGA, SQL
(private SQL area), .
SQL . SQL
SQL-, ,
.
4.
SQL SQL- , .
SQL . , ,
.
SQL- ( ) SQL
. , SQL
PGA, , .

.
, PGA SQL, . SQL , .
PGA - SQL.
SQL, , , . , PGA SQL .
OLTP- SQL-, . , , , . -

224

7. Oracle
, ,
, SQL-, . SQL- , ,
SQL-.

PGA

PGA. , .
, - .
Oracle Database 10
PGA .
, , .
, .
Oracle Database lOg
PGA.
, PGA 20% SGA
, PGA.
SORT_AREA_SIZE.
Oracle Database llg 1
SGA, PGA. MEMORY_TARGET, ( ,
PGA SGA) PGA
SGA . Oracle SGA PGA .

TimesTen
2005 Oracle TimesTen - . , . TimesTen , , . ,
, , . TimesTen -

Oracle

225

OLTP-, .
TimesTen
Oracle. TimesTen
Oracle, Cache Connect to Oracle .
TimesTen

.
TimesTen Oracle Technology Network.

Oracle
Oracle , . , Oracle ,
.
, , , .
, . , .
, .
, ,
.

: , , . , SQL .
, .
, Oracle . , . , .
SQL-
SQL- - . Oracle ,

226

7. Oracle
. SQL-, , ,
, Oracle , . SQL
, Oracle .
, ,
, .
SQL- . Oracle Database 10g.
Oracle Database lOg SQL Tuning Advisor,
SQL-,
, , , .

, .
SQL Advisor Oracle Database 11g SQL
Tuning Advisor, SQL Access Advisor P a r t i t i o n Advisor.
Oracle Database 11g
, , SQL- .
, .
Oracle Database 11g (. 4).
, ,
. ,
, .
, ,
.


SQL- ,
SQL-, Oracle
.

.
.
(. 9),
.
- . - -

Database Resource Manager

227

, . ,
, . Oracle 9t
, . ,
Oracle Database
, .

,
,
-,
. (
) , . - , . , ,

-
. , , . , -
, ,
, .
Real Application Clusters grid- .


Oracle,
. , . , ,
Oracle, .

Database Resource Manager



- .
Oracle8i (Database

228

7. Oracle
Resource Manager, DRM),
.
DRM . . DRM ,
.
, DRM .
DRM, ,
.
, DRM:


D R M ,
. , Oracle Database 10g /. 19i , .

DRM . ,
. , -
, ,
DRM - ,
.

DRM
. , -
. ,
.
Oracle Database llg
DRM . , , , Automatic Segment Advisor Automatic SQL Tuning Advisor.

8

Oracle
- . ,
, - .
, . , , . , .
.
Transaction Control and 17
(Ken Jacobs), - Oracle, , , . ,
.
, , , , , . , ,
,
.
, ,
. ,

230

8. Oracle
. , , -
.
,
-
. . , , . ,
.
, .
, .

, . , , .
. . , Oracle .

, Oracle . , ,
.


,
,
.

-
.
. , ,
, COMMIT
ROLLBACK. -

231

COMMIT, .
,
. , ,
, . , , .

. . , ,
.
. 8.1. .
. ,
, , .
. - (write lock), (exclusive lock).
,
, COMMIT

. 8.1.

232

8. Oracle
ROLLBACK.
,
.
(read
locks), (shared locks).
, , . , , . . 8.1
, ,
, .
Oracle ,
FOR UPDATE SELECT,
FOR UPDATE ,
,
. , Oracle .


, , .
, , - , . (contention), .
,
.

. Oracle
(Multiversion Read Consistency) , .


, :
. .
(lost updates)
, .

233

, , , . .

(dirty

reads)

,
, , . , , , .
, , .

(nonrepeatable reads)
, . - . , , ,
. ,
, , , . .
(phantom reads)
, . -
. ,
, , .
, , , -
.

-
, .
SQL92, (serializable). ,
. , , .

234

8. Oracle
,
.
, .
, ,
- . Oracle
.

Oracle
Oracle (multiversion read
consistency, MVRC). ,
.
,""Oracle , . -
, , Oracle , ,
. ,
.
. , Oracle . .
, , .
, ,
.
, , , . , ,
. , , ,
.

Oracle

235

Oracle
Oracle, ,
. , - , .

(ALTER SESSION) (SET TRANSACTION). , ,
.
Oracle : READ COMMITTED SERIALIZABLE. ( , READ ONLY,
.) .
.
READ
COMMITTED
. ,
, .
,
, . READ COMMITTED Oracle .
SERIALIZABLE
.
_, ,
.
-
-, -
. , ,
READ COMMITTED, .
, .
, , , SERIALIZABLE, , , . , ,
SERIALIZABLE, . -

236

8. Oracle


SERIALIZABLE .
( ) , ,
Oracle .

Oracle , READ ONLY, . ,


,
.


Oracle

Oracle :

(rollback segments) ,
. , .
,
. .
- , . ,
.
SGA . ,
,
.
(SCN)
,
. Oracle
(System Change Number, SCN).
SCN - , . Oracle SCN

Oracle

237

,
. SCN Oracle , ( ).
Oracle Database 10g
ORA_ROWSCN, SCN. , .
.


- , . ,
- .
Oracle , . Oracle ,
, . ,
.
, , Oracle ,
:
(nonescalating row locks)
, "
. , -
,
, , ,
SQL-.
,
, . Oracle , . Oracle
.
Distributed Lock Manager (DLM)
Oracle Parallel Server , . ,
. Oracle Parallel Server DLM

238

8. Oracle
Real Application Clusters, 19i
9.

Oracle
,

Oracle. ,
, : ,
, .
, ,
, Oracle.


,
. , .
. :
1.
SQL- UPDATE .
2. , .
3. .
4. , , SCN
ORA_ROWSCN ( Oracle Database 10g ).
5.
,
. , ,
,
, .
6. .
7. Log W r i t e r (LGWR) , ,
SCN- ,
. , , .

Oracle

239

8. ,
.
Oracle Database 10g Release 2 , . - OLTP-.
- ,
, , .
,
.


,

. :
1.
SQL- UPDATE .
2. , .
3. .
4. .
5. , , SCN ORA_ROWSCN ( Oracle
Database 10g ).
6.
SQL- UPDATE .
7. , .
8.
. . , , READ COMMITTED, . - SERIALIZABLE, .
9. ,
, .
10. SQL- READ
COMMITTED, .

240

8. le
Oracle , .
SERIALIZABLE
, RE
AD COMMITTED.
: ,
( SCN
Oracle Database 10g ), SELECT FOR UPDATE, .


Oracle , , ,
,
, ,
, , .
1. SQL- SELECT .
2. SCN . SCN, , SCN , .
SCN, ,
,
, .
(MYRC).
. , Oracle
.
3. SQL- UPDATE
, SELECT, . SCN ' .
4. . , , ,
, Oracle SCN
.
5. , , . ,
,
SCN, SELECT.
,
, . SELECT -

241

, .
. 8.2.
MVRC .
, ,
.
Oracle , ,
. , , MVRC.

. 8.2.


, , , , Oracle - . .
, Oracle - ( ) , .

242

8. Oracle
Oracle , /.
, . ,
, , . Oracle , .
, , , . Oracle ,
,
, , . Oracle ,

/.
,
/. ,
,
, . , - , , .
, , a Oracle ,
, .
, .
, . , - .
Oracle , .
, Oracle - ,
, .
. ,
Oracle, - , .


Oracle9i ,
, - Workspace
Manager.

243

(workspace) - . Workspace Manager


, ,
. , , , .
, . ,
, ,
. .
. -
,
, ,
.
, .


-
.
, . Workspace Manager.
. , . , . ; , ,
, . Workspace Manager , , , INSTEAD OF
DML-.
,
.
,
. ,
. .
Oracle
. , , , , , .

244

8. Oracle
,
, .

,
-
. (. 3
.
, . , , 24 ,
.
,
.
, .
, , - . , , . ,
.

(rollback)


. ,
.
( refresh )

. ,

.
.
( merge )
,
, .
,
.
; .

245


Workspace Manager Oracle. Oracle
Database 10g
SQL*Loader.
,
, .
Oracle Database 11g :
, .

9
Oracle
,
. -
. , - , . 19701980- (mainframe)
-, . . (online transaction processing, OLTP). 1980-
/,
,
.
/ , ,
, 1990- , grid- (
1). , Oracle .

247

OLTP

Oracle,
. ,
OLTP-.

OLTP
OLTP Oracle, .


Oracle 8. , ,
.
(DML),
INSERT, UPDATE, DELETE, COMMIT, , ROLLBACK,
.
OLTP (Jim Gray)
(Andreas Reuter) Transaction Processing: Concepts and Techniques ( Morgan K a u f m a n n , . 2) ACID- .
:

(Atomic)

, .
^

(Consistent)

(Isolated)

.

(Durable)
, , .
- , -
ACID- . , , .
ACID- -

248

9. Oracle
. 8
Oracle .

OLTP
-:
, , , .


OLTP- :

OLTP- - , ,
.

OLTP- - -,
. OLTP-
(Service Level Agreement), .

, (mission-critical), .


OLTP- .
, OLTP-
. , .



.
,
.
, .

OLTP

249

.
.

. OLTP- : , . , , .
,
, , - . OLTP-, . OLTP-.
, .

, OLTP-. , ,
. ,
, , , . , , , , ,
.
- , . ,
.
,
.
Oracle,
Streams ( 13), - OLTP- , .

OLTP -
- OLTP -

. , OLTP- , ,

250

9. Oracle
,
, , , .
;
, . OLTP- -
-
. , , .
-
, . , , , OLTP-. , 1 ,
-
.
OLTP-,
, . , OLTP- , , .
OLTP- ,
,
. , OLTP- , - . / OLTP-
7 0 - 8 0 % 2 0 - 3 0 % - ;
. -
, , ,
. , -, - OLTP-
, , .
- OLTP-
, , , , ,
,
. . Real Application Clusters, Oracle Database 10g , . ,
(, ).

OLTP Oracle

251

OLTP Oracle
Oracle
OLTP- . 16 ( OLTP Oracle), Oracle
OLTP- 17.
, :
Multi-Threaded Server (MTS), - ;
SQL;
;
;
;
;
Oracle Parallel Server (OPS).1
Oracle8
:
;
;
;
Advanced Queuing (AQ);
-;
Distributed Lock Manager
(DLM) Oracle Parallel Server;
.
Oracle8i ,
OLTP:
Java ;
: CORBA V2.0
Enterprise JavaBeans (EJB) vl.O;
/
Advanced Queuing;
;
Database Resource Manager (DRM);
1

OPS 1989 DEC VMS, 16 ( 6.0.36) NCR Unix,


17 ,
.

252

9. Oracle

;
, .

Oracle9i ::
Real Application Clusters, ;
Oracle Parallel Server OLTP-. Oracle
Database 10 Real Application Clusters grid-. , , :
Oracle. :
.

OLTP
OLTP- , ,
OLTP- , , - grid-.


/
-
1980-.
. () , . SQL- .
, , -
. ,
.
. 9.1.


17
PL/SQL, Oracle .
(RPC), SQL-.
,
, , :

OLTP

253

. 9.1. /
. SQL- .
, . ,
, , , .
. , , . . 9.2 .

. 9.2.


OLTP-
.
, .

254

9. Oracle
, , , , .
OLTP-, . , .
, , ( ),
.
:

Tuxedo BEA Systems


UNIX Windows CICS IBM .
J a v a 2 Enterprise Edition (J2EE).
Microsoft .NET,
' Microsoft,
Windows 2000 Windows 2003.

, .. . , , ,
-Lite ( ).

, :

(funneling)

Oracle, , . ,
,
,
.
(connection pool)
,
.
.

(load-balancing)
, .

.

OLTP

255

(fault-tolerance)
;
. 1 , .
,
,
.
Tuxedo,
,
.

(transaction
routing)
,
.

(heterogeneous

,
, Oracle

transactions)
, DB2.

OLTP- , . , , , . ,
OLTP-,
,
, , .
. 9 . 3 .

-
, , / -. , , , HTTP,
HTML, CGI J a v a .

X/
Open Distributed Transaction Processing,
/Open. , , , .

9. Oracle

256

. 9.3.
J 2 E E .NET
, . - J 2 E E , Microsoft, ,
.NET.
J 2 E E .NET,
. , , N- .
. 9.4 N- , ,
-, .

(grid)
Oracle Database 10g - grid-.
, - , .
, - , .

OLTP Oracle

257

. 9.4. N-
OLTP- .

OLTP Oracle
Oracle , , , OLTP-.
.
, .
Oracle .



8 , Oracle OLTP-. , OLTP.

Oracle , ,
.
,
. , , ,
- ,
.

258

9. Oracle


Oracle , . , ,
. ,
,
, , . , , Oracle . : (
) ( ). , .

SQL-

SQL- . Oracle
.
,
. ,
. OLTP- , .
SQL-.

18 , (bound
plans). SQL-
.
, Oracle
. , , . Oracle9i .
Oracle Database 10g
SQL-, OLTP, SQL. SQL Tuning Advisor
SQL- SQL-. .

OLTP Oracle

259

Database Resource Manager


Oracle , .

, ,
17 (Multi-Threaded Server, MTS; Oracle9i
, . 2)
. , - .
, 18 , .
Oracle Net

.
-, , . Oracle , , .
Oracle ,
. , , (, ).
Oracle Net Connection Manager

. , Oracle Net Connection Manager (CMAN). Oracle Net,
. , -, .
Oracle , Connection Manager, .
, Connection Manager - . . 9.5 .
Oracle Database lOg Connection Manager
;

9. Oracle

260

. , CMAN.

. 9.5. Oracle Net

Database Resource Manager


Oracle8i Database Resource Manager (DRM),
,
. ,
. DRM .
, . , .

OLTP Oracle

261


SQL-
, SQL- -
. OLTP ,
W H E R E . Oracle SQL-.
,
W H E R E ,
(bind variables). , , , .
, - . :
UPDATE emp SET salary = salary (1 + 0 . 1 )
W H E R E empno = 123;
UPDATE emp SET salary = salary * (1 + 0 . 1 5 )
WHERE empno = 456;

, , - . , , :
UPDATE emp S E T salary = salary * (1 + :v_incr)
W H E R E empno = :v_empno;
UPDATE emp S E T salary = salary * (1 + :v_incr)
WHERE empno = :v_empno;

, . : v _ i n c r : v _ e m p n o - 0,1
123 0,15 456. Oracle SQL-. , . Oracle
.
Oracle Database 10g , , .

262

9. Oracle
, 80% , , 20% - , . , . , , , ,
. , 2 0 % .
, 80%
, - 20% ,
. DRM
, .
19 Database Resource Manager
.
, .
. , ,
, .
, Database Resource Manager
. ,
, ,
. ,
.
, Oracle9i DRM , . , , OLTP-, ,
.
Oracle Database 10g
, , .

Real Application Clusters


, Oracle9 Real Application Clusters (RAC), Oracle
Parallel Server (OPS).
OPS
, , - , ,
. OPS , (pinging).
OPS RAC
, ,

OLTP Oracle

263

(. 9.6).

. 9.6. RAC
,
. OPS , ,
. , ,
, , .
. /, .
- OPS ,
-
,
. , OPS, , OPS.
Real Application Clusters .
RAC Cache Fusion, , , , . -
,
,
, .

264

9. Oracle
Cache Fusion ,
.
Real Application Clusters .
, OLTP-, ( ), .

( 4).
Real Application Clusters
, OPS.
,
. , , ,
.
Oracle Database 10g RAC, , grid-. Oracle
,
, . Oracle 10g
Release 2
.


, OLTP- -
,
. Oracle .

Oracle , - . , . 18i
.
Oracle9i Release 2 (logical standby). SQL-, , .

Oracle Streams Advanced Queuing

265

( Transparent Application Failover, TAF )


TAF - ,
Oracle, . ,
, .
Oracle Streams/Advanced Queuing (AQ)
AQ Oracle Streams , , , . ,
,
. , Streams Oracle .
.
13.
Oracle Streams

Oracle. . , . 19 Release 2 Streams.
13.
Real Application Clusters (RAC)
Real Application Clusters
Oracle, , . RAC
,
, . - ,
. grid-.
Oracle Database llg
,
. 11.

Oracle Streams Advanced Queuing


OLTP-. ,

9. Oracle -

266

.
.

Oracle Streams.

18 Advanced Queuing (AQ)


Oracle9i Release 2 AQ

Oracle Streams AQ , .
, , .
, , .
, , . ,
-,
. AQ , , . Oracle , .
, .
, , . .
Oracle ,
.
. 9.7
.
Oracle Database 10g
Streams - , .

Streams

OLTP-
. , ,
4 0 - 6 0 %
(ERP). , -

Oracle Streams Advanced Queuing

267

. 9.7. Oracle Streams/Advanced Queuing


, .
Oracle Streams (hub-andspoke), , . .
, . ,

.

, , . , . , .
.
. . 9.8
.

/ Oracle
Oracle8t Advanced Queuing
/ (publish-subscribe). , -

268

9. Oracle
. , , Oracle
, , , . , , ,
. .
/ .

. 9.8.



, ,
. , , , ,
.
, . ,
(, , ),

269

. ,
.
,
. (API),
. A P I .
:
, , API. , , , , .
18 , -
J a v a . - Oracle 14. , , (Service-Oriented Architecture, SOA)
-, 15.

10

- Oracle
,
:


, .

.

, , .
,
, - .
, .
, -, , . :
, -.
. Oracle
17 1990-.
, , ,
. Oracle -

271

-, .
- :
,
;

, ;
;

, .

, , -.
Oracle ,
.

-
-? , (OLTP), ? :

-
, .
OLTP-
,
. , . "
,
, ,
.
OLTP-
OLTP- , .

272

10. - Oracle
. , OLTP-
, .

,
, .
,
( ). (
.) ,
, , , - . , , (data mart),
, , OLTP-.

-
- .

,
.

, . -,
, ,
.
- , . , (CRM),
, , , .
1980- , (decision support systems, DSS),
. , DSS-, , ,
OLTP- , -

273

, /. , OLTP-.
, , OLTP-.
1990- (Bill Inmon), 2,
, . - ,
. , , , OLTP-.
, /

(. 12).

-
,
, ,
. 10.1.
,
.
(analysis paralysis).
OLTP- (-
), , , . , .
, , .
" , , , .


, . ,
, (data mart), , .
,
.

274

10. - Oracle

. 10.1. -
. , , . , , ,
.
. ,
( ).
, ,
. ,
. ,

275

,
.
,
. ,
. ,
. , ( ),
.

- ,
. , . , , , .
, .
. Oracle ,
.



(operational data store, ODS)
1990-. ODS
. OLTP-, . ODS , , . ODS
. ODS .
, , -
,
. ODS , .

276

10. - Oracle

.
.
,
.
ODS . , .

OLTP- -
OLTP- . , ,
, . - . OLTP-
.

(master data management, MDM). , , , . Oracle ,
.
, , OLTP-
MDM-, . , -, .
, (extraction, transformation and loading, ETL).


- ;
, . - - ,
. ,
, , , () . - ,

277


.
,
, -
.
, .
, .
, , .
.
, .
. Oracle Warehouse Builder (OWB), Enterprise Edition, Standard Edition Standard Edition
One ( 2006 ),

.
.
, . DML- , , PL/SQL SQL*Loader,
, .
,
, , OLTP-. .
.
Oracle, 8, . Oracle
,
, .
, Oracle , .

OLTP-.

. OLTP- , , , .
, . ,

278

10. - Oracle
, , , .
Oracle
, ,
, , . 10.2.
, , . ,
, , , .
(Ralph Kimball),
The Data Warehouse Toolkit ( Wiley, . ),
, , , (. . 10.2) . :
, ()
() () 6 ().
. 10.2 ( ),

. 10.2.

279

(, ). ,
( ).
, Oracle
.


17
- .
Oracle Database 10g
, .

. Oracle Database 11g
OLAP Option,
.
? -, , . . 17
.
,
. - , .
17 , , . , (
, ,
), .

. .
Oracle (, STAR_TRANSFORMATION) , . , .

280

10. - Oracle


(. 4) Oracle?
,
. ,
, . ,
. , . 10%, ,

100 000 !
1 ,-
, 0 - .
. , . , AND ( AND - ). ,
.
. 10.3 W H E R E . ,
, . Oracle
, ( ), , .
Oracle ,
, .
,
, . (
), . -
,
.
, Oracle9i

. - ,
.
, , , . -

281

. 10.3.
WHERE

, .
, . , , . 7. ,
Oracle '.
Real Application Clusters, Oracle Parallel Server
Oracle9i, , .
, Oracle , Oracle Database 10g
( A N A L Y Z E ) . .
Oracle Database lOg Automatic Workload Repository. SQL Access Advisor .

282

10. - Oracle


(, , - , - , - ). , ? ?

, . ,
, . 10.2,
, .
,- .


18i , . .
,
,
.
, . ,
,
.
, , . Oracle Database 10g . Oracle
Enterprise Manager (. 5). SQL Advisor
Enterprise Manager, SQL Access Advisor,
,
.

, OLAP

283

, OLAP

, , .
, (online analytical processing, OLAP) (data mining).
, Oracle , IEEE 754-1985 ( ). BINARY_FLOAT BINARY_DOUBLE, Oracle Database 10 g.


Oracle8i . Oracle Enterprise Edition Standard Edition SQL.
.

. RANK, DENSE_RANK, CUME_


DIST, PERCENT_RANK, NTILE ROW_NUMBER. (hypothetical ranking).

. SUM, AVG, MIN, MAX, COUNT,


VARIANCE, STDDEV, FIRST_VALUE LAST_VALUE.

/

, , 2006
2007 .

SUM, AVG, MIN, MAX, COUNT, VARIANCE, STDDEV RATIO_
TO_REPORT


REGR_COUNT, REGR_AVGX REGR
AVGY, REGR SLOPE, REGR INTERCEPT, REGR R2 ,
(, X Y).

284

10. - Oracle
, Oracle (pivoting), ( WIDTH_BUCKET), CASE,
.
DBMS_STATS_FUNCS.
, , , (-, F-, , - , ,
-, - -), (, -, , V- , ) ( ,
).

MODEL SELECT
MODEL Oracle Database 10g
SELECT. ( ) ,
, UNION.
MODEL , .
, . , MODEL ,
. MODEL
.

OLAP
( ), Oracle9i OLAP Option. OLAP
SQL, J a v a API. Oracle Database l l g OLAP SQL.
OLAP ,
: Essbase Hyperion ( Oracle 2007 ).
Hyperion
, -
. Essbase -

, OLAP

285

, Oracle Business Intelligence Enterprise


Edition (OBI EE).
Oracle9i
Data Mining Option. J a v a API,
PL/SQL.
OBI , Oracle
Sigma Dynamics 2006 . Real-Time Decisions (RTD).
OLAP, -, Oracle.



. 14,
, .


Multimedia ( interMedia)
, ,
.
(Oracle Text). , , ,
. .

Spatial Option
^ ,
. . , Spatial Option - .
- , , .

XML
XML Oracl e d
XML SQL. Oracle XQuery -

286

10. - Oracle
XQuery Oracle Database 10g Release 2. Oracle Database 11g XML

XML-. Oracle, XML XML LOB 15 .


, Oracle . UNIX, (RAC) Linux.
Windows- Linux-. .
Oracle Enterprise Manager , . , Oracle. ( 5.)

. Oracle Database 10g Enterprise Manager .

. P a r t i t i o n i n g Option
(, ) . , ,
. ,

. , , , , , .
18.
Oracle8i -,
.
- (
), ,

287

, .
Oracle9i : ,
.
(,
) Oracle9i Release 2. Oracle Database 11g
- -, -, - -.
, , .



- . . ,

:

- . .



.
,
,
.
,
.
,
.
, . - , .

288

10. - Oracle

, . , , .

-, , .
, ,
.

, -
. .
OLAP
, ,
.

,
,
.

,
.
, .
, Oracle
.

,
ETL (extraction - ,
t r a n s f o r m a t i o n - , andloading - ). ,
, ,
,
-
.
(, , ), -

289

?
, .
OLTP-, ? .
, . ,
.
- , .
, OLTP-
-.
(
).
, . , - , .
, , , .

, .
,
, .
, , .
( ). , ,
. .
.
,
(trickle feed),
.
Oracle
:

290

10. - Oracle
(Transparent
(Heterogeneous
Services )

Gateways)

,
(-1)
Oracle, Oracle SQL. Heterogeneous
Services
ODBC. .

(Transportable
Tablespaces)
, Oracle ,
/. ( )
. Oracle Database 10^ - , (, Solaris) (, Linux).
Oracle Streams
Streams Oracle9i Release 2. , Advanced Queues (AQ).
Oracle Database lOg Transportable
Tablespaces. Streams . Oracle Database 10^ (downstream capture), , RMAN Transportable
Tablespaces, LONG, LONG RAW.
NCLOB ,

.
/
Oracle Database 10g / Data P u m p ( ),
. .

. Oracle , Oracle Warehouse Builder (OWB), -

291

. OWB , ETL. ,
OWB - ETL;
.
, ,
Oracle Designer, CA's ERwin, Sybase PowerDesigner Business Objects Designer.
, , -
Oracle ( ), (
ODBC ) .
, (, ). , OWB, , Oracle
,
. OWB Enterprise Option , . OWB Data Quality Option
(data rules).
OWB
(. 10.4).
, :

. 10.4.
Oracle Warehouse Builder

292

10. - Oracl

DDL-, ;

SQL*Loader
;

PL/SQL- ,
.

, , Enterprise Manager. , OWB - ETL, .


- , OWB Oracle Workflow.
OWB .
E-Business Suite PeopleSoft ,
ERP-
. SAP Connector
,
SAP ,
, RFC-.
Oracle
SQL*Loader (direct path load), , . ( ), SQL*Loader .
, OWB, SQL*Loader.
19 ETL
. ,
, ( ,
, Change Data Capture . OWB. , OWB
Streams Advanced Queues.
ETL Oracle
Oracle Data I n t e g r a t o r (ODI).
2007 , Sunopsis. ODI (Knowledge Modules),
, , SQL- SQL-
, . :
., , -

293

(orchest r a t i o n agent).
ETL ODI SOA (Service-Oriented Architecture). ODI Oracle MDM -.



, ,
, , ,
. ,
. -
-, -. Oracle -, Oracle
, Business Objects, Cognos MicroStrategy.
Oracle -
- Oracle Business Intelligence Enterprise Edition, Standard Edition One Standard Edition. , Hyperion, Oracle
, Oracle Business Intelligence Enterprise Edition Plus. Oracle Enterprise Edition Plus Standard
Edition One, .
Oracle Business Intelligence Enterprise Edition (OBI EE)
, Siebel Analytics, Oracle BI Publisher ( XML Publisher).
Oracle
. ' :

, OBI , Answers. ,
, - .
Answers
( DHTML)
. Answers

10. - Oracle

294


MOLAP.

BI Publisher.
(BI Publisher)
. XML,
, PDF, RTF, HTML, Excel, XML
eText. , Adobe Acrobat Microsoft W o r d .
Delivers
iBot,
. Delivers ,
SMS- . Business Process Execution Language (BPEL).
Disconnected Analytics

-
, , .
.
Office
BI Server
Microsoft, Excel.
BI

Server
.
-, , , , .
Oracle Oracle OLAP Option (
), Microsoft SQL Server Analysis Services, IBM
DB2, Teradata ,
ODBC. , : Oracle Business Intelligence (BI) Applications, PeopleSoft EPM, E-Business Suite, Siebel,
Fusion Business Intelligence Applications SAP.

BI

Server Administrator
, -
, , BI Server.
-
.

295

OBI Plus Hyperion: Hyperion Foundation Services, Interactive Reporting, SQR production reporting, Financial Reporting, Smartview f o r Office Web
Analysis.
. 10.5 , Answers OBI .

. 10.5. ,
Answers
. 10.6 , Answers
.
Oracle Business Intelligence Standard Edition One , (
, ,
5 50 ). Oracle Dashboards, Answers, BI Publisher, BI. Server BI Server Administ r a t o r . , OBI SE One Oracle Database
Standard Edition One Oracle Warehouse Builder.
- , Oracle, Oracle
Business Intelligence Standard Edition (OBI SE) Oracle Application
Server. :
Discoverer Plus
Java- , -. Discoverer

296

10. - -

. 10.6. Answers
Oracle Oracle OLAP Option ( ). HTML-. Discoverer
,
, .
Discoverer Viewer
, , Discoverer. , Discoverer Plus.
Discoverer Portlet Provider
, Discoverer, , , ,
Oracle P o r t a l .
Discoverer Administration
Edition
Discoverer (End User Layer, EUL), - ,
, -
.

297

Reports
, PDF, HTML . .
,
(drill-down search), .
Oracle Application Server (Oracle Portal, - WebCenter).
- -, Oracle Business Intelligence. , Answers JSR-.

.

OLAP OLAP-
-
, . OLAP .
OLAP
(. ). OLAP
, .
Multidimensional
Online Analytical Processing, MOLAP ( ). Oracle Express Server Oracle Hyperion Essbase, Microsoft Analysis Services. , ,
( ). Oracle Essbase MOLAP, .
OLAP
, , - . ROLAP (Relational Online Analytical Processing - OLAP). -

10. - Oracle

298

, ,
MOLAP-, .
ROLAP- Oracle Business Intelligence ANSI ,
S Q L , OLAP Option, L A P - , SQL.
Oracle Database 11g OLAP Option
. SQL , -
OLAP Option.
Oracle Database 11g OLAP- , Oracle SQL . Oracle Database 11g OLAP-.
OLAP Option
. Oracle
Warehouse Builder Analytic Workspace Manager (AWM).
.
Oracle JDeveloper business intelligence beans
OLAP-,
. JavaBeans
, ,
,
Express. JDeveloper Java-,
J a v a OLAP API, OLAP Option.


(data mining) .

,
. ,
, :

,
;

, ;

299

,
, - .

, .
, :
, .
, ,
,
. , , ,
.

( , ) .
.


.
.

,
.

, , , .
,
, .


,
.

. Oracle - Oracle

300

10. - Oracle
Darwin, , , , , Oracle . Oracle9i
Data Mining Option. : , , , (SVM),
(NMF), ( Oracle Database 11g
). A P I J a v a PL/SQL.

(text mining), BLAST, SYM ( ).
Oracle Data Miner , . , .
, (binning), . Data Mining
Option Oracle Database 11g . Data Miner ,
Java-, XML- .
, , InforSense
SPSS Clementine, ,
Data Mining Option, .

-
- - ,
. OLTP-
(Oracle Daily Business Intelligence), - , .
Oracle Business Intelligence Applications, PeopleSoft SAP Business Warehouse - Oracle.
- , . , , Oracle Hyperion Financial
Performance Management,
. , , ,

301

. , .
Oracle E-Business Suite Daily Business Intelligence
(DBI) Oracle. (workbook) Oracle Business Intelligence,
.
- OBI . Oracle DBI : Compliance ( ), Customer Support (
), Financials (), Human Resources (), Procurement (), Product Lifecycle ( ),
Projects (), Marketing (), Maintenance (), Sales (), Supply Chain ( ) .
Oracle Business Intelligence Applications OBI
2500 () ,
Siebel, Oracle E-Business Suite, PeopleSoft,
SAP . Siebel Analytics,
: Sales (), Service and Contact Center ( ),
Marketing (), Financials (), Supply Chain (
) W o r k f o r c e ( ). Oracle Business Intelligence Applications
-. Oracle , ETL, .
PeopleSoft 1200 PeopleSoft JD Edwards. (Human Capital Management), (Financials), (Campus Solutions), (Supply Chain)
(Customer Relationship Management). OBI .

.
, .

302

10. - Oracle


, , ,
, . - - .
, ,
.
, , .

. 2000 , .
, Object Management Group
(OMG), Common Warehouse Metadata Interchange (CWMI)
XML. Oracle ,
. , CWM- , Oracle Warehouse Builder. OWB
,
,
.

, ETL
.
.
, - .
- ,
.


, -, , , :

-,
,

-, ,
- , - - .

303

-
-
, .


.

,
- ,
.


, -
.
,
.

,
.
: , .

,
. ;
, , .
- , - , -. - ,
. ( r e t u r n on investment, ROI).
- ,
- ,
.
- , , .

304

10. - Oracle
, .

. .


( ) -
. ( ) , -
.

.
- ,
, ,
, .

, .
,
.
- , , , .

, , , .

, .
-.

- ,
.

.
.
.

- , - .

305

, .



. -
, , , , , ! , ,
ROI , (
- ).
.
- , , ROI.
, . ; , .
, , -.

.
, , ,
. ,
" .
, .
, ,
.

. . , , ; -
. ; -

306

10. - Oracle
, - . - ,
. , ,
.
-
- .
, .

11
Oracle
, , - . , , -
Oracle.
(DBA), . , - , , -
.
,

. , Oracle . , , .
,
.
.
-
Oracle, .
Oracle
,
, Real Application Clusters.
, .
.

308

11. Oracle

?
, (availability).
. , , ( )
( ).
- . , ,
. ,
-,
,
. , , - , .
,
. , .
, , .
,
.

, , . , ,
, .


,
24 7 (
24/7). , .
, , , - .
, -
- . -

309

-
.
, ,
, .
, . 11.1 ,
,
, , (365 ).

11.1.

, %
95,000

6
18
0

96,000

14

14

24

97,000

10

23

48

98,000

12

99,000

16

36

99,500

20

48

99,900

46

99,990

53

99,999


99% , .
. 95 99%
, 99 9 9 , 9 9 % , , .
- ,
. 99% (, 8 5 ) - ,
99% 24 .
,
. , . , .
, , , , . , ,
, .
2 4 / 7
.

310

11. Oracle
, .

. -
. , , , ,
, .

-.


.
, , , , . . 11.1 .

. 11.1. ,

311

,
,
, .
(
), .


, , .

. , .
. 11.2 .
, .
; ,
/ ,
.

. 11.2.

11. Oracle

312

, , , . . .
,
.
,
,
, .


, , -
. , , ,
, - , -


, Oracle :
0RA-03113:

End-of-file on communication channel

(: )

, , - . , . Oracle
- , Oracle. , -, ,
.
.
0RA-01034: Oracle not available
(: Oracle )

, , Oracle, . ,
. ,
Oracle, ORA-01034.

313

. ,
Oracle.
, - Oracle
. ,
Oracle, , (. 2).
, , , Oracle.
, , . ,
, .
. , .

?
Oracle ,
, . Oracle ,
,
, .
:

();
().

,
: , , Oracle . , Oracle
, .


-
(rollforward) (rollback).
,
2. ,
.
Oracle Database l l g
, , .

314

11. Oracle

, (. 2).
Oracle
.
. ,
, . Oracle
, . , ,
, ,
.
,
.


- - . ,
, . Oracle ,

. .
Oracle , . , . , ,
, ,
,
. , ,
John Jonathan. , Oracle , ,
. , Oracle John , .
, . ,
. - . , , Oracle .

315



/,
, . 18
L O G C H E C K POINT_INTERVAL ( ) LOG_CHECKPOINT_TIMEOUT ( ),
. , Oracle
.
( , ) , , , .
. ,
.
18 , : FAST_
START_IO_TARGET. , . , Oracle ,
. Oracle , .
Oracle9i . -- ,
.
, . - , (/ ), .
Oracle9 . ( FAST_START_MTTR_TARGET, MTTR Mean Time to Recover - ).
FAST_START_IO_
TARGET LOG_CHECKPOINT_INTERVAL. MTTR
V$INSTANCE_RECOVERY, .

316

11. Oracle
. Oracle .
Oracle Database 10g\




. , .
Oracle Version 7.3 . ,
, , , , , ,
. OLTP-
.
.
Oracle 7.3 . Oracle
,
. .
, , ?
, , ,
. ,
.
Oracle8i - , , ,
. , , 500 . Oracle8i
,
500 ,
,
. :
, . .

317

. , Oracle
Database 10g , . Redo Logfile Size Advisor
FAST_START_MTTR_TARGET .


, :
;
Real Application Clusters;

Transparent Application Failover.


, ,
, . (fault-tolerance) .
, . , , :

;
;
;
;

;
.

- ,
. , , .


, - -

11. Oracle

318

, .
RAID (
).

- RAID-.
RAID :

.

,
, ,
.
, - . - , , . , . :
A + B + C + D = E

RAID, Oracle
, Oracle
RAID-5 - . RAID-1 RAID-0+1
, . RAID-5 - , , .
,
RAID:

RAID-1 - ;
RAID-5 - ,
/
;
RAID-1 RAID-0+1 - , .

319

A-D - , , -
, . - , , . , , :
B

E -

A -

C -

, R A I D , . R A I D 7, . 1 1 . 2 R A I D , Oracle.
1.2. RAID

Oracle

RAID-0 ,


.

RAID,

Oracle.
,

- ,

.
- ,




. , /

. /

,


/

320

11. Oracle

1.2 (

0+1

- ,

Oracle

1/N,
N -

.
,


2 0 %
1/5

, RAID-0.
- -
,

--,

RAID-5

,

,
RAID-.
.

/
, .


,


Oracle, .
.
, . -


.
OLTP-.

,
, (RAID-S),


. 11.3
RAID.

321

. 11.3. RAID,
Oracle


Oracle Database 10g (Automatic Storage Management, ASM). 5 ASM . ASM
.
ASM
, Oracle. ASM , RAC ASM.
ASM SAME (Striping and Mirroring Everything - ) ,
JBOD ( J u s t a Bunch of Disks - ).
, -
. ,
. ASM ,
. ,

322

11. Oracle
, .

Oracle Enterprise Manager.
. . ASM ,
Oracle Database 11g ,
. ASM , .


Oracle . , , , .
.
- , .
.
, , (failover).
.
,
.
:
.
(hearbeat),
.
, , , , ,
, .
Oracle ,
.
, .
, ,
- Oracle, .

323

,
, , , , Oracle. , - ,
, . ,
Oracle . , .
. 11.4 11.5 .


, , .
,

, . -

. 11.4.

11. Oracle ;

324

. 11.5.
, , 30 . .
,
(, , Oracle) .
- , . , , .
, .
, Oracle
,
. Oracle FAST_START_IO_TARGET FAST_ST ART_MTTR_T ARGET.
- , , .

325

, ,
Transparent Application Failover,
.


.
UNIX- : , , . Oracle .
Windows Oracle Fail
Safe, Microsoft Cluster Server.
- . ( Fail
Safe Manager Real Applications Cluster Guard Manager .)

Real Application Clusters


Oracle Parallel Server (OPS) - Real Application Clusters - Oracle 1989 VAX Digital Equipment Corporation,
VMS, 1993 - UNIX. OPS- . Oracle9i, 2001 , OPS
Real Application Clusters.
, Real Application Clusters (RAC)
, . RAC, . ,

. RAC Oracle
, Oracle.

.
Oracle ,
.
, .
. 11.6 Real Application Clusters.

326

11. Oracle

. 11.6. Real Application Clusters

Real Application Clusters



Real Application Clusters, , , . , , , . Enterprise Manager Grid Control Oracle Database lOg .
Real Application Clusters , . , ,
. RAC .
, ,
. , ,
RAC, -
,
.
:

327

RAC ,
: ,
,
Oracle . .

RAC

. , ,
.
RAC , , .
, ,
!


, . ,
. ,
.
Real Application Clusters , . , ,
( ).
, RAC
,
, ,
. , . ,
.
, , .
Oracle9i . Oracle Database 10g
.
Real Application Clusters Oracle 9 .

328

11. Oracle

Real Application Clusters


- - , RAC. , . - , ,
. Oracle , .
Oracle - ; , , Real Application Clusters.
Real Application Clusters .

Real Application Clusters


, .
Oracle9i : , .
. .

,
Real Application Clusters. . ,
. , . , . ,
,
, - . Oracle ,
,
. ,
, .

, .
- ,
, . ,
-

329

. , .
RAC, , , .
, . ,
, . ,
. , ,
, Transparent Application Failover (TAF)
, . ,
TAF
.

Parallel Fail Safe/RACGuard


Parallel Fail Safe Oracle9i RACGuard RAC Oracle Database lOg.
Oracle Database
RAC,
, . Oracle Database \0g .
RACGuard :

Oracle;
;
;
, Transparent Application Failover
(. );

.

Oracle Transparent Application Failover (TAF)


(Transparent Application Failover, TAF) Oracle8.

Oracle . TAF

. . 11.7 TAF Real Application Clusters.
, TAF
, ,
. TAF .

330

11. Oracle

. 11.7. TAF
Real Application Clusters

. TAF, , . ,
. , ,
.

TAF , , . Oracle , . ,
.
, Oracle
, .

331


Oracle8i
TAF.
TAF ,
.
.

TAF ,
.
, - , . , , TAF , .

TAF
TAF Oracle Call Interface (OCI) - API Oracle. , , ,
. OCI
.
, TAF ,
Oracle Net, .
OCI - API, . , Oracle OCI
, TAF,
. TAF ODBC JDBC, , TAF ,
Oracle. , TAF
, ODBC.
TAF ODBC ODBC,
Oracle Net, Oracle Net TAF. ODBC Oracle Net, TAF.

TAF Oracle
TAF Real Application Clusters -
, TAF -

332

11. Oracle
Oracle
, .
:
TAF
, , - . , Oracle Enterprise
Manager, .
.
, , .

TAF
, .
, Oracle .


, TAF , , . ,
. , Oracle
,
.


, .
Oracle
,
.
, . ,
,
- /.
,
, Oracle,
(Flashback).



, -

333

Oracle.
, , .
, .
, , . , , , - . .

Oracle
Oracle .

,
, .

. , .
, ,
.
, , . , (, ), (, ). , ; ,
.
( NOARCHIVELOG, 2), . , ,
.

INIT.ORA SPFILE -
Oracle . ,

.
.

334

11. Oracle
Oracle
, .


Oracle - .

, . ,
. ,
. , . , , , ,
. -
ARCHIVELOG
. 11.8 .

ARCHIVELOG,
. -

. 11.8. ,

335

, .
. .

, . Oracle9i ,
. . 11.9
.

. 11.9.

, / . 18 LogMiner .
Oracle9i LogMiner Oracle Enterprise Manager . , LogMiner .

Recovery Manager
Recovery Manager (RMAN), Oracle8,
. RMAN
:

336

11. Oracle

;
;
;

;

Oracle .

RMAN ( Oracle), , .
, ,

- , , , - NOLOGGING.
RMAN .
,
. RMAN ,
,
.
Oracle Database 10g RMAN
- . , RMAN Oracle, .
RMAN Oracle, .
RMAN ,
Oracle , RMAN / Oracle,
Oracle.
RMAN :
;
,
,
;
;
;

;

337

;
;
;
,
;
;
.

Oracle Database 10g RMAN .


- , , , .
RMAN ,
. RMAN
. ASM RMAN
, , . (Flash Recovery Area).
Oracle Information
Lifecycle Management (ILM) Assistant
. Oracle Database l l g ILM , .
, Total Recall Option, .

,
Oracle 7.3. SQL- ALTER TABLESPACE. ,
, .

/ .
, ,
/. , , .

338

11. Oracle
, ,
, , , . , . ,
.
, ,
Oracle (, ) , (. 10).
, ,
.
,
.


Oracle 7.3
(point-in-time recovery, PITR). ,
, (SCN) . , , . ,
, .
, .
18 -
,
, . , .
, , ,
, , . ,
T a b l e s p a c e l ,
T a b l e s p a c e 2 - DEPT, . T a b l e s p a c e 2
, T a b l e s p a c e l , -

339

,
DEPT
. Flashback (
) , , Flashback Table .

(Flashback)
19 (Flashback) -
, . Flashback Query. .
,
SCN. Oracle ,
. ,

.
Oracle Database 10g
.
(Flashback Versions Query)
, , .
(Flashback Transaction Query)
, .
(Flashback Drop)
-
.

(Flashback

Table)

.

(Flashback Database)
. .
(Flashback Restore Points)
,
( SCN
). Data Guard
RMAN .
Oracle Database l l g Flashback Transaction .

340

11. Oracle
, Oracle Database l l g
Total Recall Option, (Flashback Data Archive). . , . SQL AS
OF ,
, . .


, Oracle, - .
, , - .
, , ? ? ,

, , , .
, :
;
;
;
;
.

.
Real Application Clusters
, .
, - .

Oracle Data Guard:



Oracle 7.3. Oracle9i - -

341

:

, ,
, ,
. , grid- . , ,
, .
, .
,
. - ( ) , .
, , ,
.
. - ,
ETL .

. Oracle Data Guard.


-
, .
. , , . , , . . 11.10 .

, , ,
.
Oracle Database 10g , , -

11. Oracle

342

. 11.10.
, .
.
, . Oracle Database lOg .
Oracle
Database l l g , Active Data Guard Option , .
, , ,
.


Oracle Data Guard
. Oracle SQL-,
. . ,
, -
. ,
,
. , , ,

343

. Oracle Database 10g


, .

Oracle Data Guard


Oracle Data Guard
.
. Oracle Enterprise Manager Data Guard Manager ,
. Oracle Database l l g SQL*Plus SQL- Data Guard .
Oracle Database 10g Data Guard
, RAC-. Data Guard Cluster Ready Services.



, . :
;
;
, .
- (. ).


Oracle8i .
- , N ,
. (, , )
, N , ,
.
18 , . .
, , , ,

344

11. Oracle
. , Oracle
.
19
. , . , . ,
,
.
- ,
.
, - , Oracle
Database 11g
,
, . , Oracle Database l l g ,



, , , .
, .
, .

, . ,
, Oracle
,
.
, . .
, , .
, . -

345

,
, , . . .


(redundant data) -
. , .
Oracle . , .
, , .
Oracle
.
-
. , Oracle
0.6 N- (multimaster) ,
.


,
, , . (
, , - .)
,
. . Oracle
. ( ),
( ).
Oracle
Streams. , Advanced Queues (. 13).
.

346

11. Oracle

, . ,
, .

,
. Oracle Database lOg
Streams ,
.

,
.

,
, , , .

, , ,
. , .

, .
. 11.11 .
, , , ,
. ,
. ,
. ,
.
, . ,
-
, .
, , . , -

347

. 11.11.
, . , , ,
.
, .

- - . ,
,
,
- . , . ,
, ,
. , .



Oracle. -

348

11. Oracle

Oracle Export.
Oracle Oracle Import.
, .
Oracle 7.3 (direct
path export), 70% .
, ,
Oracle. Oracle Database 10i / , . ,

/,
?

,
. ?
: . / -
Oracle Data P u m p - ,
.
, .
, , , Oracl e 9 i ;
. ,
. Streams ,

,
.

. , ,
, .

349

Data Pump, 60%


1 5 - 2 0 - .
-
, SELECT . SQL*Loader . , , ,
;
, , .
, ,
.
,
. Oracle Database 10g
, ,
.


,
.
.
, Oracle . ,
,
.
, , -
. RAC-KOH ASM ( Oracle Database 10g Release 2) .
, .
, RAC ASM , Oracle . ,
Data Guard.
Oracle Streams.

12
Oracle
2 Oracle, 7 , Oracle . , , . ,
,
/, .
, .
Oracle
Oracle Database 11g , grid- (information appliance).
, , Oracle . :

( );
(SMP);
;
(Non-Uniform Memory Access.
NUMA);
grid-.

, .

351



,
. :

, , , ;

,
;
/, ,
.


.
, ; , , ,
.
(OLTP)
.
- , ,
.
( )
, /
.
- . . 12.1 . ,
.

(Ll-), . , .
: , ; -
; - ; ,
.

Oracle ,
(, ).

352

12. Oracle
,
/. Oracle
, , , . 7.
12.1.


( )

10


( )

40-60


( )

120

1-10 .

1-10


, (. 1 2 . 1 ) . , / .

.12.1.

353

, (, ). , , .
1990- - - . Oracle ,
.
,
.
.
,
. ,
. , .
. , Oracle, P A R A L L E L T H R E ADS_PER_CPU 2. Oracle
, 7. . , Oracle .



,
, - , . (SMP)

, . 12.2.
. ,
, . -

, , -

354

12. Oracle

.12.2.
. , SMP-. Oracle Standard
Edition One, Standard Edition Enterprise Edition. (
Standard Edition One Standard Edition
, Enterprise Edition .)
SMP- 1980- , UNIX.

64- ( 32-). - Windows Linux.
SMP-, , H P , IBM Sun, . , SMP , , /. , . Oracle SMP- UNIX Linux.
SMP- ().

.

355

64-
, 32-; .
, SMP-ap, .
(DML), , Oracle ,
. , Oracle , :

=
!
2
+
(Gene Amdahl) 1967 , . , ,
. , , ,
, .
, .
Oracle . ,
.
? 7.
Oracle .
,
; ,
- , . Oracle ,
.


, 1980- DEC VAXcluster, . , ,

356

12. Oracle
/, . , ( ).
(. 12.3). Oracle. , , , .

.12.3. (, )
Oracle VAXcluster.
Oracle ,
. , , ,
.
Oracle Real Application Clusters (RAC) (
Oracle Parallel Server - OPS,
Oracle9i). RAC
Windows, Linux UNIX. Oracle
, (),
6 .
RAC Cache Fusion, .

357

, 8, , ,
. , , Oracle.
Cache Fusion / OPS,
Oracle9i RAC . Oracle Sockets Direct Protocol (SDP)
/, , RAC, T C P / I P .
, Infiniband
Reliable Datagram Sockets (RDS). ,
Infiniband
, Gigabit Ethernet ( , 7 0 - 8 0 ).
Real Application Clusters .
, ,
, . - . RAC ,
.
Real Application Clusters Windows Linux, , UNIX.

. Windows
RAC Oracle Fail Safe,
, .
, Fail Safe , Real Application Clusters.
- - (). , , , (. 12.4).
,
().

358

12. Oracle

.12.4. -


(Non-Uniform Memory Access, NUMA), 1990-,
, SMP-,
, SMP- (. 12.5). , , /
. ,
, .

359

, , , , SMP-. .
NUMA- :

(
NUMA ).

NUMA- , ,
.

.12.5.

12. Oracle

360

NUMA-,
, Hewlett Packard Superdome.
, SMP-, , (
NUMA- ).

Grid-
g Oracle Oracle Database 10g
grid-. (grid) ^ , .
. , ,
.

(. 12.6). Oracle RAC.
Oracle Database 10 , .
(Dynamic Service Provisioning)

.12.6. , -

361

Grid-

. . -
,
.
-
- - ,
( ),
. - , , J a v a PL/SQL XML.

(rolling upgrade) ,
, . . Oracle
.

(Automatic
Storage Management, ASM)
ASM ,
.
Enterprise Manager Grid Control
Enterprise Manager Grid Control ,
RAC-, ,
Oracle Application Servers/Fusion Middleware
.
Oracle Database

ASM , . Automatic Database Diagnostics Monitor (ADDM)
RAC , , -
, ,
(, /) .
Oracle, RAC-, .

362

12. Oracle


- , ,
/ - .
- /,
. : / 1
4 , 2 .
, / - .
Oracle - / ( ,
), - . , Oracle Database 10g Oracle
ASM,
. ,
. , , . Oracle
,
. Information Appliance Initiative.
Oracle Optimized Warehouse Initiative
,
HP, IBM, Sun EMC/Dell. Oracle Oracle Optimized
Warehouses, Oracle. , ,
.
,
. Oracle .
Optimized Warehouse Oracle.

363


,
, /.
Network Attached Storage (NAS) Storage Area Network (SAN). ,
, -
.
, RAID. RAID-
. RAID-
7 11, . , Oracle Database 10g
Automatic Storage Management (ASM) RAID- (, )
. ASM
5.
Oracle9i
, .
,
. . Oracle Database 11 g
Advanced Compression Option ,
, OLTP-.
* 5 0 % . ,
,
,
( ).
, , , -. , ,
,
,
, ( ) , .
I n f o r m a t i o n Lifecycle
Management (ILM) ILM Assistant, 2007 , .

364

12. Oracle

?
: ,
, - ! , ,
.
,
.


Oracle SMP-, .
SMP :
SMP- ,
;

64- SMP- ( );

, SMP- Oracle, ;
SMP- ,
;
SMP- , NUMA-, ,
/.

,
. SMP-,
. RAC-.
.
, , , -
.
, . Oracle
.
.

365

1:1. , Oracle , , . , ,
,
. , , , , Oracle.

. 12.2 , .

12.2.

SMP

SMP

SMP

, , . - , . , .


,
, ,
. .
-, - , ( ). , 1965 Intel (
), 1 , 5 - 2 .
.
- .

366

12. Oracle
?
, , , ,
,
.
, , ,
-. ,
.
,
, , . SMP- , ,
. - , (, /) .
Grid- , . Oracle Database 10g
Oracle
Database 11 g grid- ,
.

13

Oracle

, ,
, ,
. , , , .
,
. , .
:
,
, , . ,
.




,
Oracle Oracle.
, .

368

13. racle


Oracle
Oracle , Oracle , . , . .
, , Oracle
, .
SQL
(links) . .
C R E A T E PUBLIC DATABASE LINK e m p l o y e e s . n o r t h p o l e . b i g t o y c o . c o m

, Bigtoyco's N o r t h Pole.
, ,
N o r t h Pole, SQL- (employees, northpole. bigtoyco. com).
Oracle Net ( Net8 SQL*Net)
.
, Oracle . ,
. , &
- . , 4. 17 . , , ,
. ,
, .
Oracle8i
, , , . Oracle Database 10g , .
, . , -
, , -

369

SQL-.
. .
COMMIT, Oracle ,
.
.


Oracle Transparent Gateways (. 13.1) Oracle SQL. SQL ,
, Oracle, .
, - . Oracle, NUMBER, CHAR DATE,
. , , Oracle .
Oracle, . ( Oracle Application Server).
.
Open Database Connectivity
ODBC OLE DB
Oracle. Open Systems Gateways
Informix, Microsoft SQL Server, Sybase UNIX Windows. Oracle Heterogeneous Services,
. , Oracle Database 10g

. 13.1. Transparent Gateways

370

13. racle
OLAP Option OLE DB OLAP (ODBO), -,

(Transparent Gateways)
. Mainframe Integration Gateways DB2.
. Enterprise Integration Gateways IBM A S / 4 0 0 ,
IBM Distributed Relational Database Architecture
(DRDA). , Oracle EDA/SQL Gateways. Transparent Gateway 18
Heterogeneous Services . .
Oracle8i ^
Oracle9i
Oracle Database 11g. Oracle Database 10g SELECT. Oracle Database 11g
Adabas, IMS VSAM.

(Procedural Gateways)
, . ;
(
IBM) , Oracle
, CICS
DB2, IMS, VSAM
, SNA LU6.2
IBM MQSeries MQSeries. Oracle Enterprise
Integration Gateways.
(Access Manager)
Oracle
, . Oracle Access Manager A S / 4 0 0 A S / 4 0 0 RPG, COBOL Oracle .
ANSI SQL
DML DDL, Oracle. PL/SQL
, A S / 4 0 0 Oracle. T C P / I P LU6.2 ( Oracle Net). Oracle Access
Manager A S / 4 0 0 Oracle Enterprise
Integration Gateways.

371


-
. , , , , Oracle . ,
, .
- , ; (twophase commit).
, , ; ,
- . ,
, . - , ,
, .
, ,
, . ,
COMMIT. COMMIT, .
, , , , COMMIT.
, , .
- ,
, , . , -
, , - .


1991 /Open , (transaction processing, TP) - , , Oracle .

13. Oracle

372

TP-,
BEA Tuxedo, CICS Encina, IBM.
Oracle8i Windows NT Oracle
Manager Microsoft Transaction Server (MTS).
Microsoft .NET. Oracle9i Release 2 .NET, .NET Oracle .
TP- . , TP- , . , Oracle
;
TP-.
(. 13.2),
,
.
,
, :
( COBOL CICS ) CICS UNIX Windows NT.

,
Oracle - .

. 13.2.

373


( )
.
:


, .

grid-
.
,
, - . , ,
- . , , , , , , .
Oracle . Oracle9i Release 2 Oracle Streams. ,
.

Advanced Replication
Oracle . , , .
, .

.
Oracle Advanced Replication
. , Oracle DB2 Replication Services, M a i n f r a m e Integration Gateways.

374

13. Oracle
Oracle , . 18 ,
. 18i
. 19
. Oracle9i Release 2
Oracle Streams.
(Advanced Replication),
Streams. , Streams, Advanced Replication.
. ,
, - , .
Oracle Standard Edition
, . Enterprise Edition . , , ; .
,
.
(RPC), ,
.
,
Enterprise Edition. , . , ,
.

, () .

.

375



,
.
( DATE)
, ,
DATE
.
,
.
, 2 .


,
.
,
.
:

.


.


, .

, .

Advanced Replication
Oracle Enterprise Manager.
, ,
,

376

13. Oracle
.
,
.
,
(master group),
, .
, (master definition site)
.
. , , .

Advanced Queuing
1980- , (message-oriented middleware,
MOM). .
, MOM
. , IBM MQSeries, ( , ,
), , . , , .
Advanced Queuing (AQ),
Oracle8 Enterprise Edition, Oracle Streams,
Oracle. , . ,
(
Oracle, 14), . , , - .


PL/SQL J a v a API. :
1. .
2. .

377

3. , .
4. , : , ,
.
, .
, , ,
. ,
. , Oracle Call Interface (. 1) , .
, . ,
: , . , , .
, , .
(, ), .
Oracle Database 10i Release 2 . , , , .
Oracle Enterprise Manager :
, , ;

;

;
: , ,
.

13. Oracle

378

Oracle9i AQ
:

XML HTTP ; Internet Document Access Protocol (), XML.

Dynamic Services
AQ.

AQ
Oracle I n t e r n e t Directory (OID).

Oracle9i AQ PL/SQL XSLT. , MQSeries TIBCO.

/
Oracle8t Enterprise Edition Advanced Queuing /.
. 13..3, ,
.
, . , , ,
. ( ). ,
.
Advanced Queuing

. 13.3. Advanced Queuing


/

379

, -.
(, , ) (, ). ,
, ; , , ,
.
Oracle Database

, .

Oracle Streams
Oracle9i Release 2 Oracle Streams,
Advanced Replication Advanced Queuing .

. Streams (capture-and-apply), Oracle. Oracle, Oracle ( Transparent Gateways), Oracle (

, ).
Streams ( DML) ( DDL) , .
.

, (logical change
record, LCR). LCR Streams.
, . Oracle Database 10g ,
.
, Oracle Database lOg Steams ,
(Database Change Notification) ,
HTTP PL/SQL-.
, . Oracle Database 11g

380

13. Oracle
, ,
- .
Oracle Database lOg1 Release 2 Streams
Oracle Enterprise Manager. , Advanced Replication Streams.

Streams grid-
Oracle Streams - grid-.
, . Streams
( ), ,
, . ,
.
,
, .
Oracle Database l l g Streams DML
DDL , RAC-.
Streams - RAC,
. .
Streams Oracle.
, ,
Streams ,
.


, , ,
.

, .
Oracle8i
Enterprise Edition . ( ). -

381

, ftp.
,

. .
, :

;


;
-;

,
, Oracle9i .
Oracle Database 10g ,
.

14
Oracle
Oracle ,
- . , , , 4. XML (. 4)
, XMLSchema, XML DB
( URL XML-, Oracle) SQL/XML ( XML-
SQL), Oracle
XML- . , Oracle ,
, .
.
, , , , , ,
, 4.
. , -
.
Oracle , . , ,
SQL,
.

383

-
-
-. , - , .
, . , , ,

-.
Oracle , , , . Oracle8i
Oracle - .


1980- -
, .
,
. , (, ++) (- , CORBA, DCOM .NET)
- . J a v a , ,
. ,
Oracle
- .

- (Service-Oriented Architecture, SOA), 15. Oracle Application Server/Fusion Middleware. , -, .

384

14. Oracle
J a v a . Java JVM ( JServer) .
Java-, J a v a .

-
- Oracle.

Oracle
Oracle ,
-. , , Objects and Extensibility, , : - , . , SQL or PL/SQL.
, .
, . , , . - ,
PL/SQL J a v a , ( ) - , .
. .

.
, . , , ( ).
,
.
. -
(object identifier, OID), Oracle. - .
REF. Oracle ,
.
(object views) - , . . -

385

, , ,
, . . ,
- , -. , , ,
.
.
, , ,
, . ,
, .
(VARRAY), , ,
. 4000 , ; (BLOB) , (out-of-line) . , NESTED_TABLE_ID. VARRAY ,
, - , , .
SQL, P L /
SQL, Pro*C/C++, J a v a , OCI '(Oracle Type Translator, OTT). OTT ,
. .
(inheritance)
, .
- . , .
, . - .
(override),
(),
,

14. Oracle

386

. ,
. (. 14.1) , ,
.
, ,
, .

. 14.1. ,
Oracle8 , , - ,
++ J a v a , . Oracle9i SQL-

, , , ,
, . Oracle Database 10g .
Oracle Database 11g ANSI
SQL .


Objects and Extensibility :


;

Oracle;

387


SQL;
.

- , . Oracle
, Spatial Multimedia.

Java -
J a v a , -, -
.
J a v a , Oracle , Oracle JDBC 3.0 Oracle Database 10g,
J a v a - n p o r p a M M - JDBC SQLJ.
API.
JDBC
SQL- ,
.
SQLJ
, , Java-npo SQL-. SQLJ Oracle ,
J a v a , SQLJ ( ).
Java-
SQLJ.
SQLJ JDBC ,
, SQL-.
19/ J a v a - JVM
( Oracle8i JServer)
- . , J a v a -
J a v a ;
Enterprise JavaBeans (EJB-). Oracle Streams
J a v a API (Java Messaging Support, JMS).

388

14. Oracle
Oracle Database 10g - . , -, SQL, PL/SQL, J a v a , JDBC, HTTP- SOAP Oracle Application
Server (Java, J 2 E E , JDBC, HTTP, SOAP- XML).
-,
J P u b l i s h e r ,
, .
Oracle Database 11g - (SOA) HTTP- XDB SOA. -
PL/SQL-, . SQL XQuery.

Enterprise JavaBeans
Java- Enterprise JavaBeans (EJB)
, JavaBeans. EJB- Oracle Application Server. J a v a - , (SGA),
EJB-,
JVM. , JVM
5 0 - 1 5 0 .
Oracle8t -
(session bean) - EJB-,
. -
(stateless), EJB-

, (stateful) -
. , - ,

JDBC SQLJ. - (entity J a v a beans), (persistent beans), ,
Oracle8i , Oracle9i. EJB- - ,
(message-driven bean), -

389

J a v a Message Services (JMS) Applications Server, E J B 3.0.

Oracle SQL ,
. , . , , , Oracle.

Oracle Multimedia Oracle Text


Oracle Multimedia ( interMedia)
Oracle 8.1.6 Oracle8i. Oracle9t
, , Oracle Text. :

Text Management ConText Option;

Location Services Spatial Option (. Oracle Spatial Option );

Image Option.

, , - , ,
CLOB- XML.
Oracle Oracle Multimedia Oracle Text
, ,
. Oracle Multimedia Oracle Text ,
. 14.1.
Oracle Database lOg LOB- 128 . Oracle Database 11 g
Multimedia ,
BLOB- ( 8 128 ). , Multimedia BLOB
Oracle SecureFiles.

390

14. Oracle

14.1. , , Oracle Multimedia


Oracle Text

VARCHAR2
BLOB
CLOB
VARCHAR
CHAR
LONG
LONG RAW

/ ( , - )
BFILE
URL,
DICOM

BLOB
BFILE
URL,

VARRAY

Oracle Multimedia Oracle Text :


ASCII, Micros o f t Word, Excel PowerPoint, W o r d P e r f e c t , HTML, XML Adobe
Acrobat (PDF).

AU, AIFF, AIFF-C, WAV, MPEG1,


MPEG2 MPEG4.

Apple QuickTime 3.0, AVI, MPEG


(MPEG MP4) Real Networks Real (RMFF).

BMPF, CALS, FPIX, GIFF


(gif), J F I F (jpeg), PBMF, PGMF, PPMF, P P N F , PCXF (pcx), PICT,
PNGF, R P I X , RASF, TGAF, TIFF WBMP.
: ASCII-,
BMPRLE, DEFLATE, DEFLATE-AD AM 7, FAX3, FAX4, GIFLZW,
GIFLZW-INTERLACED, HUFFMAN3, J P E G , JPEG-PROGRESSIVE,
LZW, LZWHDIFF, NONE, PACKBITS, PCXRLE, R A W , SUNRLE
TARGARLE.

Oracle Database 1 Digital Imaging


and Communications in Medicine (DICOM) 3.

391

, , , . DICOM J P E G , GIF, PNG, TIFF . XML-


.
Oracle
()
. Oracle Database 10g
(NEAR)
.
, - . Oracle Database 10g
Oracle Text XMLType.
Oracle
, , ,
- .
, Oracle Database lOg JDeveloper , ,
,
.
Oracle
,
, .
- J a v a Media Framework (JMF) ( Oracle9i J a v a
Advanced Imaging JMF). Real Networks Server
- .
, - , Oracle Multimedia,
++, J a v a , OCI PL/SQL. Oracle Database 10 SQL/
MM Still Image, ISO/IEC 13249-5 SQL J a v a Advanced Imaging
(JAI) Sun Microsystems,
.
DICOM Oracle Database 11g A P I J a v a
PL/SQL.
, - ,
Multimedia, - -

392

14. Oracle
-. Oracle Application Server, Oracle JDeveloper, Oracle.

Oracle
Oracle Content Database Suite , ,
, . Content DB ,
a Content Server . ,
,
,
,.
2007 Oracle
Stellent Universal Content
Management (UCM). UCM - , , -,
- .
, , Oracle - Imaging and Process Management (IP/M) , - E-Business Suite, PeopleSoft JD
Edwards. , , .
.
Universal Records Management (URM) - .
. , URM Content DB Oracle Records DB.
Information Rights Management (IRM), Secure Keys IRM Server,
. IRM
, , , .

Oracle Ultra Search


Ultra Search , Oracle, , ODBC.

393

Oracle Portal, IMAP-, HTML- - . Oracle 8.1.7 U l t r a Search Oracle Text. Ultra Search Oracle Oracle Application
Server.
Ultra Search (crawler) - Java, Oracle . , , Oracle Text
Oracle.
U l t r a Search -, J 2 E E .
U l t r a Search PL/SQL J a v a , API .
Ultra Search Oracle Application Server
. Application Server
,
Oracle Portal.

.
(ACL). XML DB.
Ultra Search , Oracle Application Server. , , , Oracle Secure Enterprise Search (SES)
-.

Oracle Spatial Option


(spatial data)
. Oracle Spatial Option ,
Oracle , .
- , Main Street First Avenue, 100 ,
. ,
() - (. 14.2). , ,
( )
( ), .

394

14. Oracle

. 14.2.

Oracle Spatial Option
, : , , , ,
, . ,
touch (), overlap (), inside ( )
disjoint ( ).
,
(, ), . , . ,

. Spatial Option . , , ,
. ,
, .
, .
Spatial Option - Oracle - , -

395

Oracle

, . VARRAY.
Oracle Database 10g GeoRaster , , ,
,
.
-
. Oracle Database 11g -, Web Feature Service (WFS),
Catalog Services Web (CSW) OpenLS.
,
, . , .
Oracle Spatial .


Oracle
Oracle . Oracle
, . :

e'SQL-

, . ,
, CLOSER
(), .

, .
. .

, , ,
. .

396

14. Oracle

, Oracle ( , )
, ,
, /, , . Oracle.
, , , SQL.

15
Oracle
( !), Oracle -
, .
Oracle - ,
. Oracle .
Oracle, :
Application Express - . Oracle, .
Fusion Middleware Oracle Application Server .
Oracle SOA Suite -
(SOA) - , , .

Application Express
1
Oracle, , . Application Express ( ),
HTML. ,
.
PL/SQL-, Oracle.

398

15. Oracle
Application Express HTML-DB, - WebDB. -
, .
PL/SQL-, . ,
. , .
:

- ,
.
.

-.
,
Oracle .

PDF,
.
.
SQL Workshop ( ) Oracle.
Oracle Technology Network ,
.
.
-
JavaScript.


Access, Access Oracle. Oracle,
- .

Oracle Fusion Middleware


,
, . ,
/, , - .
, , , .
, , -

399

Oracle Fusion Middleware

- , .
- .
,
, Oracle,
, .
, .
, .
,
. Oracle Application
Server (AS), , , .
Oracle Application Server, Oracle Database 10g Oracle AS, - Oracle. ,
, . AS Oracle,
, ,
.
Oracle Fusion Middleware - Oracle
Application Server 10g ( , ). , Fusion Middleware Oracle SOA Suite,
, , Oracle
. Fusion Middleware,
Oracle Application Server.

Oracle Application Server


Oracle Database
tion Server:

Oracle Applica-

Java Edition
HTTP-, Java- J 2 E E , JDeveloper,
Oracle Application Development Framework, TopLink, Oracle Business Rules ( Oracle SOA Suite),
Map Viewer Enterprise Manager.
Standard Edition One (SE1)
Oracle Database Standard Edition One, AS SE1
Standard Edition, -

400

15. Oracle
, .
Oracle Int e r n e t Directory.
Standard
Edition
, J a v a Edition, Portal, Web Cache,
Content
Management SDK. Oracle I n t e r n e t Directory.
Enterprise
Edition
, Standard Edition, :

Oracle Business Intelligence Discoverer;

;
Wireless ( );
Oracle,Sensor Edge Server;
;

Oracle Enterprise Service Bus ( , Oracle SOA Suite).

Enterprise Edition Oracle


WebCenter, Oracle Business Activity Monitoring Oracle BPEL, AS - Oracle Service Registry. WebCenter , - ,
Oracle SOA Suite.

Oracle Application Server


,
Oracle Application Server - .
AS ,
, - J 2 E E Server, Web Cache, Portal, Wireless, Business Intelligence Forms.

Oracle Application Server



Oracle Application Server. ,
AS , Oracle Application
Server.

HTTP Server
- Oracle HTTP Server (OHS), Oracle Application Server, - ,
. OHS - Apache,
.

Oracle Fusion Middleware

401

mod_oc4j
Java- Oracle Containers J a v a , .
mod _jserv
J a v a Server Pages.
mod_webdav

Distributed
A u t h o r i n g and Versioning (WebDAV).
mod_osso
.
OHS , Oracle
.
Oracle HTTP Server
(SSI), , , .
OHS , . OHS - -, URL,
, URL .
OHS - Internet
Information Server SunONE, ,
OHS.
(. )
Oracle Containers J 2 E E ( ).

Containers J2EE (OC4J)


J a v a Oracle Application Server Oracle Application Server Containers J 2 E E , OC4J.
Java-, J a v a 1.3, JavaBeans, J a v a Server Pages 1.2 Servlets 2.3, J a v a Message Service.
OC4J : 4J
OC4J , .

402

15. Oracle
OC4J JDBC- Oracle, .

TopLink
TopLink - ,
. TopLink, , Java-, .
TopLink .


Oracle Application Server 10g
.
Application Development Framework
(ADF)
, Java.
, Java-.
XML Development Kit
, XML
.
Content Management Kit

Collaboration

,
.

, Suite, ,
, ,
-

MapViewer
.
WebCenter
Oracle Application Server
Application Server 10g Release 3.
J a v a , A J A X , -,
. Oracle , WebCenter
Oracle Applications Fusion
Applications,
.

Oracle Fusion Middleware

403

- . Oracle Application Server - SOAP,


WSDL UDDI. AS -
^ - , WSDL- .
, , ,
. AS .NET
SOAP J a v a SOAP, Oracle
.


Oracle Oracle Forms Developer ( Developer), Oracle Reports JDeveloper
Oracle Developer Suite Oracle
Designer Discoverer. AS Forms Reports.
Oracle Application Server Enterprise Edition Forms Services, Forms- Java- .
Forms Service ,
HTTP- Java-.
AS Enterprise Edition Reports Server, Reports .
. ,

.
.

Portal
Oracle Application Server Portal
. Oracle
WebDB, Portal HTML. HTML DB , . WebDB Oracle Portal, .
, .
, , -

404

15. Oracle
. , .
,
- -.
.
.
,
.
.
. , .
.
Oracle Application Server 10g Release 2
I n s t a n t Portal,
.
Oracle Portlet Factory,
, , SAP.

Wireless
OracleAS Wireless - , , , , .
OracleAS Wireless :
(pull mode)
.
(push mode)
.

(persistent mode}
, .
, :

- WAP , ;

Oracle Fusion Middleware

405

;
;
;
, ;
, ;
, , Oracle
Lite;
, .

OracleAS Wireless :

Mobile Office - ;

- ;

Mobile Location - , ,
.



, . 6 , Oracle.
Oracle Application Server , .

'
, , .
Oracle Application Server Oracle I n t e r n e t Directory (OID), LDAP (Lightweight Directory Access Protocol). OID ,
Oracle.
:
, , ,
;
( OID);

406

15. Oracle

PKI- ( AS Certificate A u t h o r i t y , OID);

,
Enterprise Manager.

, Oracle Application Server .


, .
Oracle .
Oracle Application Server lOg Release 3 Oracle
Security Developer Toolkit, . . Oracle Identity Management Control
Oracle Certificate A u t h o r i t y .

-
- .
, Siebel Hyperion, Oracle
,
. Oracle Application Server 10g - :
Reports

services

.
Discoverer
, - Oracle. Discoverer
- : , , , -.
, (End User Layer) . Discoverer ,
(. 15.1). Discoverer Oracle Business Intelligence
Suite.

Oracle Fusion Middleware

407

Oracle
10.

. 15.1. Discoverer

- , . Oracle
, Streams Heterogeneous Gateways.
Oracle Application Server 10|f :
Integration
Modeler
- -
. , .
Integration

Manager

, .

Oracle Application Server , SAP PeopleSoft,


. A d a p t e r SDK .

408

15. Oracle
Oracle Application Server 10g Release 2 AS Oracle Integration Interconnect ( ), BPEL Process Manager Business Activity Monitor (
Oracle SOA Suite), Data Hubs ( ).

Oracle Application Server


Oracle Application Server , :

AS;
;
AS - ;

Oracle Sensor Edge Server (RFID).

Oracle Database 10g Enterprise Manager AS. 5 Enterprise Manager , Oracle Application Server. , , .
AS, .
AS , ,
.
Oracle Application Server 10g Release 2 OC4J Beans-
J M X ,
JavaBeans.
Oracle Application Server 10g Release 3 - Dynamic Resource Monitor (DRM).
, , .

Oracle Fusion Middleware

409

-
,
. , , . Reports Server ,
.
Oracle Application Server , , - Web Cache J a v a
Object Cache.
Web Cache -
, . Web Cache HTML- . , , . Web Cache
,
.
HTML- Edge Side Includes,
, ; Web Cache
. Web Cache , , , J a v a .
Web Cache ,
. .
Web Cache , Oracle Application Server, (. 15.2). , , . , . Web
Cache Forms and Reports.
Web Cache , .

.
Oracle Application Server lOg Web Cache
, Application P e r f o r m a n c e Monitoring ( ), Enterprise Manager.

410

15. Oracle
J a v a Object Cache Java-.
, Java- - . Java- , , , , .


Oracle Application Server
.
Web Cache, J a v a Container, Portal, Forms
Service, Report Server ( Oracle Application Server lOg Release 2) OID. , Real Application Clusters AS Portal. . 15.2
.
mod_oc4j, Oracle HTTP Server
Oracle Container J a v a , J a v a Container
- , -

. 15.2. Oracle Application Server

Oracle Fusion Middleware

411

. Oracle Application Server 10g Release 2 OC4J


.
, , . cookies J a v a
Object Cache. Oracle J a v a Containers , , , , - ,
. Oracle Application
Server 10g ,
.
Oracle Application Server , , . , , , ,
. Oracle HTTP Server (OHS) ,
.
Oracle Application Server 10g Release 3
Flashback,
, Application Server Guard,
. , AS
, ,
, .
AS ,
. Cold Failover
Cluster ( ).
, .
, . Oracle Application Server 10g ,
(Active Failover Clusters, AFCs) (
AS10g ).
AFC , , .
. 15.3
.

412

15. Oracle

. 15.3.

, Oracle Application Server : Java, , . ,


.
, .
Distributed Conf i g u r a t i o n Management (DCM) AS, J 2 E E .
Oracle Application Server 10g
,
. AS , , - TCP/IP.

AS ,
.

Oracle SOA Suite

413

Oracle Sensor Edge Server


Oracle Sensor Edge Server, Oracle Application Server, , -.
, , .

Oracle SOA Suite


Oracle Application Server , - (SOA) -
2007 .
SOA, . SOA - . . , SOA, .
SOA. -, , XML
BPEL ( XML).
,

.
-, , , . , .
- -. , A P I
. , , .
Oracle SOA Suite.

Oracle BPEL Process Manager


BPEL Business Process Engineering Language ( -). ,
-, .
BPEL , -

414

15. Oracle
-. -, .
,
-;
- .
Oracle BPEL Process Manager JDeveloper Eclipse. Process Manager , .

Business Activity Monitoring


Oracle Business Activity Monitoring ()
,
(). Oracle ,
, ,
, -
.
Oracle , , , .

-
- , . - , , , , .
,
. - , ,
, , , ,
.
Oracle Business Rules, Oracle Application Server, Rule A u t h o r i n g ( , ),
Rules Engine ( ) Rules SDK (
).

Oracle SOA Suite

415

Enterprise Service Bus


SOA , . ,
(
Web Services Definition Language, WSDL).
Oracle Enterprise Service Bus (ESB) .
ESB , , Oracle Adapters (
), ,
.

Web Services Manager


-
, - .
Oracle Web Services Manager
-,
.
Oracle Web Services Manager -. - UDDI- .

Oracle JDeveloper
Oracle JDeveloper - Oracle J a v a . Oracle JDeveloper 1998 Java- . JDeveloper ,
Oracle Technology Network. Oracle SOA Suite. Oracle Application
Server lOg1 Release 3 JDeveloper .
Oracle JDeveloper , JavaBeans Beanlnfo,
Java-. JDeveloper
, , Oracle, Connection Editor, JDBC API,
SQLJ, SQL
Java-.

416

15. Oracle
JDeveloper Java-,
.

Oracle Adapters Web Services Invocation Framework (WSIF) . 300


, CICS, Tuxedo FTP.
Oracle Adapters .

Oracle Service Registry


Oracle Service Registry Oracle SOA
Suite,
SOA. , , .
Oracle Service Registry SOA Suite . Oracle Application Server lOg1 Oracle Service Registry Oracle Application Server.


Oracle Database 11g,

1999 ,
Oracle , Oracle.
, .
, SQL PL/SQL;
, , . .
Oracle Database 11g
. Oracle.
, , , , , .
Oracle Database llg,
, .
,
.

1. Oracle
, , Oracle Database 11g.
, .

418

2. Oracle
, Oracle Database 11g, , . :

()
SGA PGA .

PL/SQL-

, P L /
SQL- .

3. Oracle *
Oracle
, Oracle Database 11g
, :
Oracle Internet Directory
Fusion Middleware.
SGA PGA
, RYTARGET.

4. Oracle
, Oracle. :

, , .
.

( ),
.

Oracle Database 11g ,


.

Oracle Database 11g,

419

(
)
: , - -. , .

Partition Advisor
, .

PL/SQL
PL/SQL.

, .

,
, .

SQL Advisor
SQL Tuning Advisor, SQL Access Advisor P a r t i t i o n Advisor (. ). 7.

5. Oracle
Oracle Enterprise
Manager, Oracle Database l l g :
SQL Performance Impact

SQL.

Undo Advisor
.

Health
Monitor
, Support Workbench: SQL
Test Case Builder, SQL Repair Advisor Data Recovery Advisor.
Real Applications Testing Option
.

420

6. ,
Oracle
, 5 .
, Oracle Database 11 g:

,
Oracle Database 11g , , .

Transparent Data Encryption .

.
Flashback Data Archive
,
, .

7. Oracle
, .

Automatic
Database
Diagnostic
Monitor

ADDM .

SQL Advisor
SQL Tuning Advisor, SQL Access Advisor P a r t i t i o n Advisor (. ).
4.
Automatic Workload Repository
AWR .

Oracle Database 11|?


, .

Oracle Database 11g,

421

Oracle , , . ,
.
Database Resource Manager (DRM)
, ,
, .

8.
Oracle
, ,
Oracle. , ,
.

9. Oracle
Oracle OLTP-. Oracle Database 11g

OLTP,
.

10.
- Oracle

-. ,
:

OLAP Option
OLAP Option , -

422


SQL- OLAP Option .

XML
XML-
15 , , LOB.

(-, -,
- -), - ,
.
Data Mining Option
.

11. Oracle

Oracle,
. :
Automatic Storage Management
, ASM.

Flashback Transaction .
Total Recall Option
(Flashback Data Archive),
, .
Active Data Guard Option

.
.
Data Guard
SQL*Plus SQL-
Data Guard .

423

Oracle Database 11g,

12. Oracle
Oracle Optimized Warehouse Initiative.
:
Advanced Compression Option
, .

13.
Oracle
- Oracle , , Oracle . :

parent Gateway

Trans-

Oracle Database 11g


Transparent Gateways.
.
Transparent Gateways ADABAS,
IMS VSAM.

.
(Database Change Notification )

.
Oracle Streams
DDL
DML RAC-
.

14. Oracle

Oracle. , Oracle :

424

-
(
SOA

, PL/SQL
-.
Multimedia
( interMedia)
,
BLOB-. SecureFiles BLOB. DICOM.

-.

15. Oracle
Oracle. - Application Express () , Oracle.
Fusion Middleware, Oracle Application
Server , Oracle
SOA Suite, SOA.




, Oracle . ,
. , , Oracle, . , ,
.
- - (
) , Oracle .
, ,
- Oracle ,
. , Oracle ,
.
, - . ,
Oracle. , , ,
( ) , (, Oracle Database 11g).

426

Oracle:
http://www.oracle.com
- .
, .
Oracle
Technology Network:
http://otn.oracle.com
Oracle . Oracle Technology Network (OTN)
, , Oracle,
.

Oracle
(International
Oracle
Users Group, IOUG): http://www.ioug.org
Oracle , Oracle,
, .
, Inc.:
http://www.orapub.com
(Craig Shallahamer), ,
Oracle.
Oracle .
Quest
Software:
http://www.quest.com
Quest Software ,
PL/SQL, Oracle, J a v a .
O'Reilly Media, Inc.: http://www.oreilly.com
O'Reilly , .
, , http://oreilly.com/
catalog/9780596514549/index.html.

Oracle
Oracle
.

1. Oracle
Ellison Lawrence Oracle Overview and Introduction to SQL. Belmont, CA:
Oracle Corporation, 1985.

427

Greenwald Rick et al. Professional Oracle P r o g r a m m i n g . Indianapolis,


IN: W r o x / J o h n Wiley & Sons, 2005.
Kreines David and Brian Laskey Oracle Database Administration: The
Essential Reference. Sebastopol, CA: O'Reilly Media, Inc., 1999.
honey Kevin and Bob Bryla OraclelOg DBA Handbook. New York, NY:
McGraw-Hill, 2005.
Ralston Anthony, ed. Encyclopedia of Computer Science and Engineering.
New York, NY: Nostrand Reinhold Company, 1983.
Thome Bob Achieving a 24x7 e-Business Leveraging the Oracle Database.
Belmont, CA: Oracle Corporation, 2000.
Flashback Data Archive (An Oracle W h i t e Paper). Redwood Shores, CA:
Oracle Corporation, 2007.
Oracle Database \\g Concepts. Redwood Shores. CA: Oracle Corporation,
2007.
Oracle Database New Features Guide l l g Release 1. Redwood Shores, CA:
Oracle Corporation, 2007.
Oracle Database l l g : Real Application Testing and Manageability Overview. (An Oracle W h i t e Paper). Redwood Shores, CA: Oracle Corporation,
2007.

2. Oracle
Kreines David and Brian Laskey Oracle Database Administration: The
Essential Reference. Sebastopol, CA: O'Reilly Media, Inc., 1999.
Loney Kevin Oracle Database 10g The Complete Reference. New York,
NY: McGraw-Hill, 2004.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.

3. Oracle
Kreines David and Brian Laskey Oracle Database Administration: The
Essential Reference. Sebastopol, CA: O'Reilly Media, Inc., 1999.
Toledo Hugo and Jonathan Gennick Oracle Net8 Configuration and Troubleshooting. Sebastopol, CA: O'Reilly Media, Inc., 2000.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Database Installation Guide, l l g Release f o r Microsoft Windows.
Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Database Net Services A d m i n i s t r a t o r s Guide. Redwood Shores,
CA: Oracle Corporation, 2007.

428


Oracle Enterprise Manager Basic Installation and Configuration. Redwood Shores, CA: Oracle Corporation, 2007.

4. Oracle
Date C.J. The Relational Database Dictionary. Sebastopol, CA: O'Reilly
Media, Inc., 2006.
Ensor Dave and Ian Stevenson Oracle Design. Sebastopol, CA: O'Reilly
Media, Inc., 1997.
Harrington Jan L. Relational Database Design Clearly Explained. San
Francisco, CA: AP Professional, 1998.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.

5. Oracle
Feuerstein Steven with Bill Pribyl Oracle PL/SQL P r o g r a m m i n g , F o u r t h
Edition. Sebastopol, CA: O'Reilly Media, Inc., 2005.
Greenwald Ric% and David Kreines Oracle in a Nutshell: A Desktop Quick
Reference. Sebastopol, CA: O'Reilly Media, Inc., 2002. 1
Himatsingka Bhaskar and Juan Loaiza How to Stop D e f r a g m e n t i n g and
S t a r t Living: The Definitive W o r d on Fragmentation. Paper no. 711. Belmont, CA: Oracle Corporation, 1998.
Kuhn Darl and Scott Schulze Oracle RMAN Pocket Reference. Sebastopol, CA: O'Reilly Media, Inc., 2002.
Manning Paul and Angelo Pruscino Simplify your J o b - Automatic Storage Management. (Oracle W h i t e Paper), Redwood Shores, A: Oracle
Corporation, 2003.
Legato Storage Manager A d m i n i s t r a t o r ' s Guide. Belmont, CA: Oracle
Corporation, 1999.
Oracle Database A d m i n i s t r a t o r ' s Guide. Redwood Shores, CA: Oracle
Corporation, 2007.
Oracle Database Backup and Recovery Basics. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Database Storage A d m i n i s t r a t o r ' s Guide. Redwood Shores, CA:
Oracle Corporation, 2007.
Oracle Database VLDB and P a r t i t i o n i n g Guide. Redwood Shores, CA: Oracle Corporation, 2007.
1

, Oracle. . - . . - .:
-, 2005.

429

Oracle Enterprise Manager Concepts. Redwood Shores, CA: Oracle Corporation, 2007.
Feature Overview: Oracle Enterprise Manager EM2Go. Redwood Shores,
CA: Oracle Corporation, 2003.
Managing the Complete Oracle Environment with Oracle Enterprise Manager. (Oracle W h i t e Paper). Redwood Shores, CA: Oracle Corporation,
2003.

6. ,
Oracle
Knox David Effective Oracle Database lOg Security by Design. New
York, NY: McGraw-Hill, 2005.
Feurstein Steven and Bill Pribyl Oracle PL/SQL P r o g r a m m i n g . Sebastopol, CA: O'Reilly Media, Inc., 2005.
NandaArup and Steven Feuersten Oracle PL/SQL f o r DBAs. Sebastopol,
CA: O'Reilly Media, Inc., 2005. 1
Oracle Database Advanced Security A d m i n i s t r a t o r ' s Guide. Redwood
Shores, CA: Oracle Corporation, 2003.
Oracle Database Label Security A d m i n i s t r a t o r ' s Guide. Redwood Shores,
CA: Oracle Corporation, 2003.
Oracle Database Security Guide. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Database 2 Day + Security Guide. Redwood Shores, CA: Oracle
Corporation, 2007.

7. Oracle
Millsap Cary with Jeff Holt Optimizing Oracle P e r f o r m a n c e . Sebastopol,
CA: O'Reilly Media, Inc., 2003. 2
Niemiec Rich et al. Oracle Database lOg P e r f o r m a n c e Tuning Tips & Techniques. New York, NY: McGraw-Hill, 2007.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Database P e r f o r m a n c e Tuning Guide. Redwood Shores, CA: Oracle
Corporation, 2007.
Oracle Real Application Clusters Administration. Redwood Shores, CA:
Oracle Corporation, 2007.
1

, Oracle PL/SQL
. - . . - .: -, 2008.
, Oracle. . - . . - .: -, 2006.

430

8.
Oracle
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.

9. Oracle
Gray Jim and Andreas Reuter Transaction Processing: Concepts and
Techniques. San Francisco, CA: Morgan K a u f m a n n Publishers, 1992.
Edwards Jeri with Deborah DeVoe 3-Tier Client/Server at W o r k . New
York, NY: J o h n Wiley & Sons, 1997.
Oracle Database 10g Application Developer's Guide - Fundamentals.
Redwood Shores, CA: Oracle Corporation, 2003.
Oracle8i Call Interface P r o g r a m m e r ' s Guide. Belmont, CA: Oracle Corporation, 1999.
Oracle Database Concepts Guide. Redwood Shores, CA: Oracle Corporation, 2007. r
Oracle Database J a v a Developer's Guide. Redwood Shores, CA: Oracle
Corporation, 2007.
Oracle Database Net Services Reference Guide. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Real Application Clusters A d m i n i s t r a t i o n and Deployment Guide.
Redwood Shores, CA: Oracle Corporation, 2003.
Oracle Streams Advanced Queuing Users Guide and Reference. Redwood
Shores, CA: Oracle Corporation, 2007.

10.
- Oracle
Berry Michael J. A. and Gordon Linoff Data Mining Techniques. New
York, NY: J o h n Wiley & Sons, 1997.
Dodge Gary and Tim Gorman Oracle8 Data Warehousing. New York, NY:
J o h n Wiley & Sons, 1998.
Hobbs Lilian et al. Oracle9iR2 Data Warehousing. Oxford, UK: Butterworth-Heinemann, 2003.
Inmon W. H. Building the Data Warehouse, New York, NY: J o h n Wiley &
Sons, 1996.
Kelly Sean Data Warehousing, The Route to Mass Customisation. Chichester, England: J o h n Wiley & Sons, 1996.
Kimball Ralph The Data Warehouse Toolkit. New York, NY: J o h n
Wiley & Sons, 1996.

431

Peppers Don and Martha Rogers Enterprise One to One. New York, NY:
Currency Doubleday, 1997.
Peppers Don, Martha Rogers and Bob Dorf One to One Fieldbook. New
York, NY: Currency Doubleday, 1999.
Stackowiak Robert et al. Oracle Data Warehousing and Business Intelligence Solutions. Indianapolis, IN: J o h n Wiley & Sons, 2007.
Stackowiak Robert W h y Bad Data Warehouses Happen to Good P e o p l e / /
The J o u r n a l of Data Warehousing, April 1997.
Oracle Data Mining Concepts. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Database Data W a r e h o u s i n g Guide. Redwood Shores, CA: Oracle
Corporation, 2007.
Oracle Database 2 Day + Data W a r e h o u s i n g Guide. Redwood Shores, CA:
Oracle Corporation, 2007.
Oracle OLAP U s e r ' s Guide. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Warehouse Builder User's Guide. Redwood Shores, CA: Oracle
Corporation, 2007.

11. Oracle
Chen Lee et al. RAID: High Performance, Reliable Secondary Storage.
ACM Computing Surveys, J u n e 1994.
Peterson Erik No Data Loss. Standby Database^Belmont, CA: Oracle Corporation and Paul Manning, EMC Corporation, 1998.
Oracle Database Backup and Recovery Basics. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Data Guard Concepts and Administration. Redwood Shores, CA:
Oracle Corporation, 2007.
Oracle High Availability Overview. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Streams Replication A d m i n i s t r a t o r ' s Guide. Redwood Shores, CA:
Oracle Corporation, 2007.

12. Oracle
Morse H. Stephen Practical Parallel Computing. Cambridge, MA: AP
Professional, 1994.

432


Pfister Gregory In Search of Clusters. Upper Saddle River, NJ: Prentice
Hall PTR, 1995.
Oracle Grid Computing (An Oracle Business White Paper). Redwood Shores, CA: Oracle Corporation, 2003.

13.
Oracle
Cerutti Daniel and Donna Pierson Distributed Computing Environments. New York, NY: McGraw-Hill, 1993.
Dye Charles Oracle Distributed Systems. Sebastopol, CA: O'Reilly Media,
Inc., 1999.
Ortalie Robert, Dan Harkey and Jeri Edwards The Essential Distributed
Objects Survival Guide. New York, NY: John Wiley & Sons, 1996.
Oracle Streams Advanced Queuing User's Guide and Reference. Redwood
Shores, CA: Oracle Corporation, 2007.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Database Heterogeneous Connectivity Administrator's Guide.
Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Streams Advanced Queuing User's Guide. Redwood Shores, CA:
Oracle Corporation, 2007.
Oracle Streams Replication User's Guide. Redwood Shores, CA: Oracle
Corporation, 2007.

14. Oracle
Bales Donald Java Programming with Oracle JDBC. Sebastopol, CA:
O'Reilly Media, Inc., 2001.
Siegal Jon CORBA Fundamentals and Programming. New York, NY:
John Wiley & Sons, 1996.
Taylor David A. Object-Oriented Technology: A Manager's Guide, Alameda, CA: Servio Corporation, 1990.
Oracle Database Concepts. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Multimedia User's Guide. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Multimedia Reference. Redwood Shores, CA: Oracle Corporation,
2007.
Oracle Database Java Developer's Guide. Redwood Shores, CA: Oracle
Corporation, 2007.

433

Oracle Database Object Relational Developer's Guide. Redwood Shores,


CA: Oracle Corporation, 2007.
Oracle Database SecureFiles and Large Objects Developer's Guide. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Database 2 Day Developer's Guide. Redwood Shores. CA: Oracle
Corporation, 2007.
Oracle Database 2 Day + J a v a Developer's Guide. Redwood Shores, CA:
Oracle Corporation, 2007.
Oracle Spatial Developer's Guide. Redwood Shores, CA: Oracle Corporation, 2003.
Oracle Spatial GeoRaster Developer's Guide. Redwood Shores, CA: Oracle
Corporation, 2007.
Oracle Text Reference. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle Ultra Search User's Guide. Redwood Shores, CA: Oracle Corporation, 2007.

15. Oracle
Greenwald Rick and Robert Stackowiak Oracle Application Server lOg Essentials. Sebastopol, CA: O'Reilly Media, Inc., 2005.
Muench Steve Building Oracle XML Applications, Sebastopol, CA:
O'Reilly Media, Inc., 2000.
Oracle Application Server lOg. (A Technical W h i t e Paper). Redwood Shores, CA: Oracle Corporation, 2003.
Oracle Application Server l O g - Grid Computing. (An Oracle W h i t e Paper). Redwood Shores, CA: Oracle Corporation, 2003.
Oracle Application Server lOg R3 New Features Overview. (An Oracle
W h i t e Paper), Redwood Shores, CA: Oracle Corporation, 2006.
Oracle Database Application Express User's Guide. Redwood Shores, CA:
Oracle Corporation, 2007.
Oracle Database J a v a Developer's Guide. Redwood Shores, CA: Oracle
Corporation, 2007.
Oracle Database lOg SQLJ Developer's Guide and Reference. Redwood
Shores, CA: Oracle Corporation, 2003.
Oracle XML DB Developer's Guide. Redwood Shores, CA: Oracle Corporation, 2007.
Oracle lOg: I n f r a s t r u c t u r e f o r Grid Computing. (An Oracle W h i t e Paper).
Redwood Shores, CA: Oracle Corporation, 2003.

15.3. 847

ACID (,
,
, ), 247
Active Failover Clusters (AFCs), 411
ADDM (Automatic Database Diagnostic
Monitor), 1 5 8 , 1 9 5
ADR (Automatic Diagnostic Repository),
160
Advanced Compression Option, 28
Advanced Encryption Standard (AES), 52
Advanced Networking Option (ANO), 52,
186
Advanced Queuing, 41
Advanced Security Option, 52, 186
AES (Advanced Encryption Standard), 52
AFCs (Active Failover Clusters), 411
AFTER SUSPEND, , 89
ALL_, , 154
ALL_ROWS, 147
ALTER, 179
ALTER DATABASE ARCHIVELOG, 180
ALTER DATABASE BACKUP CONTROLFILE, 180
ALTER DATABASE MOUNT, 180
ALTER DATABASE OPEN, 180
ALTER DATABASE RECOVER, 180
ALTER DATABASE, , 98
ALTER SESSION, SQL, 152
ANALYZE, , 145
ANO (Advanced Networking Option), 52,
186
AnyData, 118
AnyDataSet, 118
AnyType, 118
ApEx (Application Express, ApEx), 397
Application Development Framework
(ADF), 402

Application Express (ApEx), 397


Application Management Packs, 161
Application Server, 21
, 408
, 399
, 408
Application Server Business Intelligence,
37
AQ (Advanced Queuing)
Streams, 265
, 266
, 41, 376
/,
267
ARCH (), 81
ARCHIVELOG
, 334
, 169
, 74
, 73
ASM (Automatic Storage Management),
81,160
ASO (Advanced Security Option), 52
Audit Vault Server, 52
AUTHID CURRENT_USER, , 185
Automatic Database Diagnostic Monitor
(ADDM), 158, 195
Automatic Diagnostic Repository (ADR),
160
Automatic Memory Management (AMM),
76
Automatic Shared Memory Management
(ASMM), 76
Automatic Storage Management (ASM),
81,160,361
, 89
, 321
Automatic Workload Repository (AWR),
158,195

435


Availability, , 166
AWR (Automatic Workload Repository),
158,195

*-, , 123
Backup Solutions Program (BSP), 172
BAM (Business Activity Monitoring), 38,
414
BEA Tuxedo, , 372
BFILE, , 117
BIN ARY_DOUBLE, 115
BIN AR Y_FLOAT, 115
BLOB ), 385
BLOB, , 117
BPEL (Business Process Engineering Language), 413
BPEL Process Manager Option, 38
BUILDJDB.SQL, , 91
Business Activity Monitoring (BAM), 38,
414
Business intelligence beans, ,
298
Business Process Engineering Language
(BPEL), 413

C/C++,
Oracle Lite, 57
SQL, 32
Cache Fusion, 263, 356
CHAR, , 113
Checkpoint (), , 81
CHOOSE, , 147
(Checkpoint), , 81
CLOB, , 114, 117
CLOSER TO, 395
CMAN (Connection Manager), 35
COBOL, , 32
Cold Failover Cluster, 411
COMMIT, , 230
Common Warehouse Metadata Interchange (CWMI), 302
COMPATIBLE,
, 63
Connection Manager (CMAN), 35, 259
Content Database Suite, 392
Content Management Kit, 402
CONTROL_FILES, 63, 98
CREATE, 179

CREATE DATABASE, 180


CREATE SPFILE, 181
CREATE TABLE...AS SELECT,
, 168
CRUD-, 88
Customer Support Identification, 175
CWMI (Common Warehouse Metadata Interchange), 302

D
Data Definition Language (DDL), 26
Data Encryption Standard (DES), 52
Data Guard, 49
Data Manipulation Language (DML), 107,
217,247
Data Mining Option, 300
Data Movement, , 166
Data Pump, 349
Data Recovery Advisor, 160
Data Warehouse Toolkit, 278
Database Change Management Pack, 162
Database Change Notification, 379
Database Configuration Assistant, 85, 90
Database Configuration Management
Pack, 162
Database Diagnostics Pack, 162
Database Management Packs, 161
Database Provisioning Pack, 162
Database Replay, 151
Database Resource Manager (DRM), 228,
260
Database Tuning Pack, 162
Database Vault Option, 52, 190
Database Writer' (DBWR), 80
DB_BLOCKJBUFFERS, 196
DB_BLOCK_SIZE, 63
DB_DOMAIN, 63
DB_FILE_MULTIBLOCK_READ_
COUNT, 210
DB_NAME, 63
DB_RECOVERY_FILE_DEST, 63
DB_RECOVERY_FILE_DEST_SIZE, 63
DBA_, , 153
DBMS_RLS, 183
DBMS_STATS, 145
DBWR (Database Writer), 80
DCE (Distributed Computing Environment), 52
DCM Distributed Configuration Management), 412

436
DDL (Data Definition Language), 26
DDL_LOCK_TIMEOUT, 64
DEFAULT, , 77
DELETE,179
DES (Data Encryption Standard), 52
DHTML ( ), 293
DICOM (Digital Imaging and Communications in Medicine), 391
Discoverer, 406
Administration Edition, 296
End User Layer, 296
Plus, 295
, 297
Dispatcher, , 81
Distributed Computing Environment
(DCE), 52
Distributed Configuration Management
(DCM), 412
Distributed Lock Manager (DLM), 237
DLM Distributed Lock Manager), 237
DML (Data Manipulation Language), 107,
217,247
DRM (Database Resource Manager), 260
DRMDatabase Resource Manager), 228
DROP, 179
DROP DATABASE, 181
DSS,
,272, 281, 283

EJB Enterprise JavaBeans), 388


(Enterprise Manager)
,163
, 195
,165
, 162
,161, 164
, 220
,, 377
, 161
, 170
, , 375
, 158
, , 286
EM2Go, 167
(
), 205
End User Layer (EUL), 296
Enterprise JavaBeans (EJB), 388
Enterprise Manager Console, 163


Enterprise Manager Grid Control, 361
Enterprise Service Bus (ESB), 415
ESB (Enterprise Service Bus), 415
Essbase, 297
ETL (, ,
), 288
EUL (End User Layer), 296
EXECUTE, , 179
EXPLAIN PLAN, , 153
Express Server, 297

F
Fail Safe, 50, 325
FAST_START_IO_TARGET, 315
FIRST_ROWS, 146
FOR UPDATE, , 232
Forms Services, 403
f t p , , 381
Fusion Middleware, 21, 36, 93, 398
, 39

G
Global Cache Service (LMS), 81
GRANT, , 179
Grid Control, 162, 196
Grid-, 361
Enterprise Manager, 47
Grid Control, 47, 162,196
OLTP-, 257
Real Application Clusters, 252
, 252
, 264
,29
, 50
,22,256
, 29, 265
, 380

HASHKEYS, 131
Health Monitor, 160
Heterogeneous Services, 40
Hyperion Financial Performance Management, 300

437

IBM
CICS,372
Information Management System
(IMS), 24
MQSeries, 376
Query Management Facility, 23
Structured Query Language (SQL), 25
ILM (Information Lifecycle Management),
47
ILM Assistant, 173
Imaging and Process Management (IP/M),
392
Information Lifecycle Management (ILM),
47
Information Rights Management (IRM),
392
INSERT, 179, 218
Instant Portal, 404
INSTEAD OF, , 139
Integration Manager, 407
Integration Modeler, 407
IRM (Information Rights Management),
392

J
J2EE (OC4J) , 401
Java, 32, 387
Java Edition, 399
Java, , 140
JD Edwards, , 392
JDBC (Java Database Connectivity), 32
JDeveloper, 298, 415
Job Queue, 81
JVM ( Java-), 31

KEEP, , 78
Kerberos, 52

L
Label Security Option, 52, 182, 183
LDAP (Lightweight Directory Access Protocol), 93,405
LDAP. OR , , 97
LGWR (Log Writer), 80, 238
Lifecycle Events Calendar, 173
Lifecycle Management, , 173

Linux, 46
LISTENER.ORA, , 96
Log Writer (LGWR ), 80, 238
LOG_ARCHIVE_DEST, 63, 74
LOGARCHI VE_DEST_STATE, 63
LOG_ARCHIVE_DUPLEX_DEST, 75
LOG ARCHIVE_FORMAT, 74
LOG_ARCHI VE_MIN_SUCCEED_DEST,
75
LOG_ARCHIVE_START, 73
LogMiner LogMiner Manager, 335
LRU (Least Recently Used), , 77

M
Management Connectors, 161
MapViewer, 402
M AX_SHARED_SER VERS, 104
Memory Advisor, 159, 197
MEMORY_TARGET, 64, 76
MetaLink, 175
Microsoft Cluster Services, 50
Microsoft Transaction Server
Oracle
, 40
Oracle Manager, 372
MOLAP (
), 297
MOM ( ,

), 376
MOUNT, , 98
MTS ( )
, 106
, 103, 259
, 105
MTTR Advisor, 159
Multimedia, , 390

N
NAS (Network Attached Storage), 363
National Language Support (NLS), 33,
113
NDMP (Network Data Management Protocol), 172
Net Configuration Assistant, 85
Net8
Assistant, 94
, 92
NLS (National Language Support), 33,
113

438
NLS_LANGUAGE, 64
NLS_TERRITORY, 64
NOARCHIVELOG,
,73
,
333
NOLOGGING, , 69
NUMA (
), 358

OBI (Oracle Business Intelligence Enterprise Edition Suite), 45


OC4J (J2EE) , 401
OCI (Oracle Call Interface), 33
ODBC (Open DataBase Connectivity), 32
OFA (Optimal Flexible Architecture), 86
Office, , 294
OHS (Oracle HTTP Server), 400
OID (Oracle Internet Directory), 35, 93,
185,405
OLAP Option, 44
OLAP, , 297
OLTP (
)
, 252

,249

, 257
Oracle, 251, 257, 264
,
248
,
88
, 248
OMF (Oracle Managed Files), 60
OPEN_CURSORS, 63
OPS (Oracle Parallel Server), 50, 262, 356
OPTIMIZER_MODE, 146
ORA_RO WSCN, 117
Oracle
OLTP-, 246
, 156
, 58, 350
, 176
, 176
, 307
XML, 286
, 21, 28


, 229

/, 92

, 29
,
86

, 246
,211

, 26
Java, 387
,
268
, 193
, 367
, 382
, 176
, 112
/, 77
, 34
, 84, 87
, 270
Oracle Application Server
, 405
, 400
, 400
Oracle Application Server Containers, 401
Oracle Application Server Portal, 37, 403
Oracle Application Server Web Cache, 37
Oracle Audit Vault Server, 191
Oracle Berkeley DB, 55
Oracle Business Intelligence Enterprise
Edition Suite (OBI EE), 45
Oracle Data Guard, 341
Oracle Database lOg
Advanced Queuing, 41
Automated Storage Management
(ASM), 51
Data Guard
, 50
, 343
grid-, 22
Oracle Managed Files (OMF), 61
Real Application Clusters (RAC), 50
Secure Backup, 48, 188
Streams, 42
,
, 46

439


,
, 32
-, 388
, 41

, 202
, , 202
,27
, 36

, 22
, 29

, 41

, 245
Oracle Database 10g Release 2
Advanced Security Option, 187
OC4 J , 411
RAC, Cache Fusion, 263
Secure Backup, 172
Streams, 380
, 239
, 408
, 187
,
128
, 128
,
377
, 404
, 60
,
286

, 132
Beans-,
408
, 187
Oracle Database l l g
Advanced Compression Option, 363
Application Server, 399
ASM, , 361
Automatic Database Diagnostic Monitor (ADDM), 196, 199
Automatic Storage Management
(ASM), 322
Automatic Workload Repository, 195
Data Guard
, 343
, 342

Data Mining Option,


, 300
Database Change Notification, 379
Database Replay, 151
Database Resource Manager (DRM),
228

Fusion Middleware, 398


grid-, 366, 380
MEMORY_TARGET, 76, 79
Multimedia, ,
389
OLAP Option,
,
298
OLTP, , 265
Oracle Internet Directory (OID), 93
Partition Advisor, 128, 153
PGA,
, 224
PL/SQL,
, 78
PL/SQL,
, 129
Real Application Testing Option, 51,
166

SGA,
, 224
SGA_TARGET, 76
SOA Suite, 413
SQL Advisor, 153, 197, 226
SQL Performance Impact Advisor, 159
Streams"'
grid-,
380
, 380
Total Recall Option, 337, 340
Transparent Gateways
, 370

, 379
Undo Advisor, 159
UNDO_MANAGEMENT, 64

, 95

, 158
,
197

,76,106,197, 218

440

SGA PGA, 159
, 313,344
SQL-, 150
,
322
, 121
Enterprise Manager, 165
,
176,189

, 151

, 322
,
, 265
, , 363
, 175
, 49

, 160
, 165
, 159

, 222
, 78, 343
,
209
, 123, 127
-
, 386, 395
, 63
, 87
-, 395
, 386

, 391
, 388
, 52

, 199
, 286
SQL,
, 226
,
, 389, 395
,
, 245
, 342


Secure Backup, 188
, 215
(Flashback)
Data Archive, 192
, 192
, 110
, 337,
339
, 151
, 417


, 287
, 127
, 128
, 127, 287
, 139
, 379
, 91

, 339

,337

,395

, 379

, 361
, 84
, 165

, 188
Oracle Designer, 54
Oracle Discoverer Administration Edition, 55
Oracle Enterprise Edition, 28
Spatial Option, 34
Oracle Enterprise Manager Grid Control,
195
Oracle Express Edition, 29
Oracle Forms Developer, 54
Oracle HTTP Server (OHS), 400
Oracle Identity Management, 186
Oracle Identity Management (OIM), 186
Oracle Information Appliance Initiative,
362
Oracle Intelligent Agent, 96
Oracle Internet Directory (OID), 35, 93,
185,405
Oracle Lite, 57


Oracle Managed Files (OMF), 60
Oracle Management Agents, 163
Oracle Management Repository, 163
Oracle Management Service (OMS), 163
Oracle Multimedia, 33, 285, 387, 389
Oracle Names, 93
Oracle Net, 92
Connection Manager (OMAN), 259
, 96
, 95
, 94
, 92
, 92
,259
, 93
, 101
Oracle Net Listener, 101
Oracle Net Manager, 95
Oracle Net Services, 92
Oracle Optimized Warehouse Initiative,
362
Oracle Parallel Fail Safe, 329
Oracle Parallel Server (OPS), 262, 356
Oracle Personal Edition, 28
Oracle Reports Developer, 54
Oracle Secure Backup, 48
Oracle Sensor Edge Server, 413
Oracle Spatial Option
Multimedia, 389
, 394
, 394
Oracle SQL Developer, 53
Oracle Standard Edition, 28
Oracle Standard Edition One, 28
Oracle Streams, 42
Oracle Technology Network (OTN), 426
Oracle Text, ,
390
Oracle Type Translator (OTT), 385
Oracle Universal Installer, 84
Oracle Wallets, 187
Oracle Wireless, 37
Oracle Worldwide Customer Support Services, 174
ORACLE_HOME,
,87
Oracle7, 142
Oracle8
NOLOGGING, , 69
Partitioning Option, 127

441
PITR
, 338
Transparent Application Failover
(TAF, 329
, 106
ANALYZE, 145
, 143
,
, 118
PL/SQL, 140
Oracle8i, 29
Database Resource Manager (DRM),
260
Java, 31, 84
JServer, 387
Objects and Extensibility, 383
OLTP, , 251
, 343
-, 126
,
315
,
122
,
, 316

, 41
/, 378
Java, 140
Oracle9i
Advanced Queueing
XML, 41
, 378
CREATE TABLE...AS SELECT,
, 168
Data Guard, 50
DRM (Database Resource Manager),
262
LogMiner, 335
Multimedia, 389
NCHAR NVARCHAR2,
, 114
OLTP, , 252
OMF (Oracle Managed Files), 60
Oracle JVM, 387
Oracle Net, 92
Oracle Net Manager, 95
RAC Guard, 50, 329
Real Application Clusters (RAC), 50,
262
RMAN, 170

442
SGA, , 75

, 108


, 89
,
, 315
, 76

,218
, 97
-,
, 124
,
264
.NET, 372
, 386
-, 388
,
, 335
, 242
, 259
, 66
, 109

, 118
XMLType, 117
, 117
OracleAS Wireless, 404
(Oracle Type Translator), 385

P
Parallel Fail Safe, 50, 329
Partition Advisor, 128
Performance, , 166
PGA (Program Global Area), 105, 218
, 224
SQL, 223
, 222
PITR (
), 338
PKI (Public Key Infrastructure), 187
PL/SQL
, 129

, 78
, 140
, 31
PLANJTABLE, 151


PMON (Process Monitor), 80
Procedural Gateways, 370
Process Monitor (PMON), 80
PROCESSES, 63
PUBLIC, , 178

Q
QMN (Queue Monitor), 81
Query Management Facility, 23
Queue Monitor (QMN), 81

R
RAC, 264
RAC Guard, 50, 329
RAD (Rapid Application Development),
54
RAID (
)
, 209
, 204, 318
,
, 65
,318
, 203
RAID-S, , 206
READ COMMITTED, ,
235
Real Application Clusters (RAC)
, 264, 326
,
326
,356
Transparent Application
Failover, 329
,50,262,326
, 328
Cache Fusion, 263
, 328

, 341
Real Application Testing Option, 51, 166
Real-Time Decisions (RTD), 285
Recover (RECO), , 81
RECYCLE, , 78
redundant data, 345
Relational Software, Incorporated, 23
REMOTE_LISTENER, 63
Reports, 297
Server, 403
Services, 406


RESTRICTED SESSION, 181
RETENTION AREA, 171
REVOKE, , 179
RMAN (Recovery Manager)
, 170

, 336
,47,335
ROLAP (Relational Online Analytical Processing), 297
ROWID, , 116
RULE, , 147
Rules Manager, 132

s
SAN (Storage Area Network), 205
Schema, , 166
SCN (System Change Number), 108, 236,
338
Secure Backup Express (XE), 172
Secure Enterprise Search, 34
Secure Keys, 392
Segment Advisor, 159,197
SELECT
, 179
MODEL, 284
SERIALIZABLE, , 235
Server, , 166
Service Registry
, 38
, 416
SESSIONS, 63
SET ROLE, , 184
SGA (System Global Area)
, 77
, 218

, 75
,
, 218
, 218
, 79
, 105
SG A_TARGET, 76
SHARED_SERVERS, 63
SHUTDOWN, 180
Sigma Dynamics, 285
SIP Servlet Container, 39
SMON (System Monitor), 80

443
SMP- (
), 353
,
354
SMP- (
)
, 211
SOA Suite Middleware, 38, 413, 415
Software and Support, , 166
SPFILE, 62
, 333
,
97
SQL (Structured Query Language)
SQL-, 150

, 369
,
, 110
, 153
, 25
, 225

,142

(DML), 107
SQL Advisor
, 197
, 226
, 153
, 159
SQL Performance Impact Advisor, 159
SQL Repair Advisor, 160
SQL Test Case Builder, 175
SQL* Analyzer, 150
SQL*Loader, ,
292
SQL*Net, 92
SQL*Plus, PL/SQL, 31
SQL J , 387
SQLNET.ORA, , 97
Standalone Management Packs, 161
STARTUP, 98,180
Streams, 380
AQ (Advanced Queuing), 41, 265
, 267

, 347
, 347
, 345

444

, 265
, 265

, 346
, 265

, 42
, 265
, 267
, 266
, 266
, 345
, 346
,265, 345
, 345
, 42
, 346
, 345
, 266
, 347
,
346
,
346
, 346
Streams Tuning Advisor, 159
Support Workbench, 175
SYS SYSTEM, , 177
System Monitor (SMON), 80

T
TAF (Transparent Application Failover),
265
, 329
Oracle, 331
JDBC ODBC, 331
, 331
,
, 331
TAR (Technical Assistance Request), 174
TDE (Transparent Data Encryption), 188
Text Management, 389
TimesTen, 39
TKPROF, , 152
TNS_ADMIN, ,
96
TNSNAMES.ORA, , 93, 96
TopLink,402
Total Recall Option, 337, 340


TP-Lite, 254
Transparent Application Failover (TAF),
265, 329
Transparent Data Encryption (TDE), 188
Transparent Gateways, 40, 290, 369, 370
Triple DES, 52

UCM (Universal Content Management),


392
Ultra Search, 34, 392
Undo Advisor, 159, 197
UNDO_MANAGEMENT, 64
Unicode, 33
Universal Content Management (UCM),
392
Universal Recor&s Management (URM),
392
UNIX
ORACLE_HOME,
,87
SMP-, 354
Oracle, 98
OFA, 87
Oracle, 84
Oracle
Net, 96
UPDATE, 179
URM (Universal Records Management),
392
USER_, , 154

V
V$CIRCUIT, 106
V$DISPATCHER, 106
V$METRICNAME, 196
V$SESSION, 195
V$SESSION_EVENT, 195
V$SESSION_WAIT, 195
V$SHARED_SERVER, 106
V$SHARED_SERVER_MONITOR, 106
V$SYSTEM_EVENT, 195
$-, 195
Virtual Tape Library (VTL), 172

w
Web Cache, 409
Web Services Manager, 415
WebCenter, 39, 55, 402

445


WebDB, 55
Windows
ORACLE_HOME,
, 87
SMP-, 354
Oracle, 98
Oracle, 84
Oracle
Net, 96

X
- ,
371
XML
CWMI (Common Warehouse Metadata
Interchange), 302
Internet Document Access Protocol
(iDAP), 378
AQ, 378
Oracle Wireless, 37
, , 34
XML Development Kit, 402
XMLType, , 117

A
( ), 156
, 383
, 22, 46
, 293
, ,
283
, , 283
, 407, 416

, 176
, 175
, , 169
, 167
,
, 177
, 168
, 167
, 244
, 355


, 44
,294
, 288
, 288

, 288
, 350
NUMA-, 358
SMP-, 353
, 364, 365
, 355
, , 352
, 352
, 326
, 364
, 362

,
74
, 72
, 74
, 202
, 134,384
-
, 389


, 175
, 189
,176
, 188
, 188
, 188
, 189
, 94

, 328
, 121, 182

ODBC, 32
, 96
, 58, 135, 276
, 176
-, 32
, 34
, 288
, 30
, 229

, 242
, 100
, 193
Oracle, 26
, 200

446

,24
, 197
, 224
, 87, 90
, 369
, 286
, 30, 35, 57
, 272
,254,410

Oracle Application Server, 405



, 175
, 176
, 176, 188
, 185
, 52, 186
, 182
, 182
, 183
, 179
, 184
,
181

, 189
,
51
,
187
, 179, 405
, 185
-
BI Publisher, 38, 294
BI Server, 294
BI Server Administrator, 294
Reports services, 406
, 45
, 406
, 304
, 21, 300
-, 414
, 43, 125, 280
,, 66
,231
, 237
, 237
, 232
(LOB), 28, 32
, 60
(BLOB), 385

, 79, 106, 352


, 322
, 109
, 316

/,
, 210
, 201
, 200
, 200

, 200
, 200
, 202
-
, 426
,426
Oracle, 426
-
, 388
,361
, 395
, 24
, ,
134
, 51,
174,183
, 121
, 25, 134, 136
, 303
, 47

, 203
, 334
, 338
, 332
, 169
, 334
, 169
, 171, 333
, 334
, 169, 313,
332

, 322
, 99
, 307

, 340

447


, 313
, 314
,313
,286
, 55
, 133
, 264
Real Application Clusters, 326
TAF, 331
RAID, 318
,308
, 309
, 263
, 262

, 344
(), 34
,
, 255
, 298
, 272
, 252
, 376
, 185
, 124
, 333
, 76, 218
, 66
, 160
, 228
, 233

, 383
, 273
, 136
, 45, 283, 288, 298
, 271
,
288

, 293
, 289
,287
,297
, OLTP
, 249
, 288

,
40
, 345

, 271
, 271
XML, 286
-
, 252
, 371
, 299
, 189
, 121, 183
, 212
,
360

, 363
, 362
, 205
, 103
, 344
,86,426
, 308
, 48
REC, 329
, 308
, 311
24/7, 308

, 72, 74, 202, 343


, 189
, 189
, 314

, 344
, 109
,
333
, 71
, 69
, 201
, 72
, 68
,69
, 71
, 69

448
, 64

, 79
, 221

3

, 67, 314
, 67
, 292
/ ,
283
, 25
, 160, 175
, 44
, 98
, 290
, 409
(Service Request), 174
, 204
RAID, 319
, 322
, 65

(OID), 384
, ,
276
,279
, , 391
, 93
, 93
-, 124

ROWID, 122
, 124
NULL, 123
, 123
, 395
, 123
, 122
, 127
SQL, 122
, 123
*-, 123
, 43, 125, 280
-, 126
, 124
-, 126


, 38
,
48,170, 336
, 30
, , 407
, 49, 127
,
160

, 280
, 27, 396
, 138
, 278
, 385
, 50

-, 124
, 130
,
356

, 103
,100

(), 276, 301,414
, 25, 134
, 123
., 23
-, 388
,, 118
, 234
, 235
, 241
, 236

, 234
, 230

Data Recovery Advisor, 160


Memory Advisor, 159, 197
MTTR Advisor, 159
Partition Advisor, 128, 153
Segment Advisor, 159, 197
SQL Advisor, 153, 197, 226
SQL Performance Impact Advisor, 159
SQL Repair Advisor, 160
SQL Tuning Advisor, 159
Streams Tuning Advisor, 159
Undo Advisor, 159, 197

449

/, 41
, 392

, 185
, 182
, 182
, 370
, 314
,
315
/, 315
, 67

Oracle Net, 96
, , 95
, 232
, 35
, 395
, 219
, ,
322
, 54
, 223
, 409

, 219
, 77
, 37
, 219
, 78

, , 283
, *-, 124
, 264,
342
, 93

- (),
357
, 44,
122,282
, ,
391
(IPC),
100

, 237

, 370
,52
, 242
, 228
, 203
, 41
, 302
, 82
, 288
, 183
, 384
, 64

, 258
/, 200

, 232
, 279
, 222
,400
,292
, 254,
371
, 231
, 98
, 140

, 314
, 172
, 385


, 351
,194
, 233
,
138

, 89
, 237,
257

, 191
, 171, 337
,, 224
, 371
-
, Oracle8i, 32

450
Oracle, 269

, 383
, 384
, 383
,
384,385,395
, 383
, 384
, ,
89

UNIQUE -, 124
, 136
, 136

, 139
, 137
, 181
, 140
/, 200
, 352
, 246
, 72
(ODS), 275
, 238
, 231, 238
, 239
, 25, 141, 153

, 279
, 141
, 142
, 146
, 147
, 144
, 145
, 145
, 146
,
150
, 279
, 148
,
150
, 141
, 215
ORDER BY, 141
, 413
, 98
, 169

, 317
, 255
, , 169
, 64, 68, 107, 244, 316
ROLLBACK, 230
, 236
, 109
, 108
, 138
, 316

, 104
, 225
, 289

, 105
, , 351, 363
,42
,
216

, 212
,212
, 217
, 214
, 211
, 217
,217
, 212
/, 212
, 218
, 212
, 214
, 213
, 215

, 212
, 215

, 44
, 62

, 177
, 333
,393
, 25
, 137
, 134
, 261

451


,
380
, 50
, 323
, 412
, 50
, 322
,379
/, 205
, , 146
, 25
, 385
,181
,
334
, 170
, 141

, 340

, 345
, 41, 290
, 297
, 404
, 403
, 404
, 25, 129
beans-, 388
, 232
, 82
, 228
, 49, 87, 361
, 179
, 132
, 291
, 395
, 25, 121
,
195
,
182
, 82
, 37
SQL, 223
, 130
, 178
, , 184
,
138
, 105

, 302
, 303
, 305
, 93
, 370
, 194
RAID, 203
, 195

, 194
, 197
, 218
, 199
, , 194
, 197
, 199
, ,
293
, 186
, *-, 123

, 310
,
94
, 393, 394
, 223
, 187
, 153
, 370
, 82
, 292
, 348
, 93
,116
, 379
/, Advanced Queuing, 267
, 130
Java, 79
Streams, 79
, 141

, 301
, 242
(RFID), 413
SQL-
, 258
, 261

452
, 232
, 104, 259
, 106
, 103
, 104
, 104

, 78
, 220
, 103
, 67
, 210
, 99
, ,
374
, 283
, ,
200
, 218

, 185
, 367
, 39
,26
,39
,
371
, 373
, 374
, 266

, 204
, 203
, 201
, 203,
206,209
, 65
, 318
, 344
, 345
, 348
, 349
, 264, 340
Data Guard, 49
,
343
, 47, 171, 188,
215,332

, 334
, 170


, 332
, 169
, 172
, 171, 332
, 170
Oracle, 333
, 202
, 287
, 23
,265, 345, 374
, 345, 346, 374
, 346
, 347
(Flashback), 244
Data Archive, 340
Database, 339
Drop, 339
Query, 339
Restore Points, 339
SCN, 339
Table, 339
Total Recall Option, 337
Transaction, 339
Versions Query, 339
, 110
,110
, 109
, 192
, 109
, 192
, 110
, 157, 360
,178
DBA, 179

, 362
, , 317
, 312
, 317
, 312

RAC, 328
,169
, 379
, 151
(VLDB), 211
, 282
, 258
,134

453


, 25
, 68, 167
, 236

,48,286
, 287
, 128
,213,217
, 287
, 127
, 100
, 379
, 99
, 103
PGA, 222
,233

, 103
, 92
, 95
, 172
, 166
, 198
, 113
, 345
, 25, 129

, 261
, 226
, 374
, 70
, 202
, 236
, 286
, 338
, 244
, 82
AUD$, , 189
, 195
,189
,
, 106

Oracle Names, 93
, 94
, 94
, , 280
, 132
,
248

, 228
Connection Manager, 35
,254, 259
, 35
, , 265, 376
Advanced Queuing Oracle Streams,
42
, 266
, 266
, 189
, 127
, 139
, 105
, 74
, 279

,119
, 119
, 159

, 276
, 311

, 121
, 133
, 112
, , 403
,121
, 289
, , 86

, 129
, 130
, 121
,129
, 127
, 129
, 144
, 129
, 131
, ,
254
, 134
, 25, 129
, 272, 278, 279
, , 91

, 121

454
-, 124
,121
/,
136
, 133

, 168
, 217
, 82
, 168
, 44, 278
, 44, 279
, 60
, 60
, 60
, 89
, 41, 290, 380
/, 201
, 99

AnyData, 118
AnyDataSet, 118
Any , 118
BFILE, 117
CLOB, 114
DATE, 115
DECIMAL, 115
DOUBLE PRECISION, 115
FLOAT, 115
INT, 115
INTEGER, 115
LOB, 117
LONG, 114
LONG RAW, 116
NCHAR, 113
NCLOB, 114
NUMBER, 115
NVARCHAR2, 113
ORA_RO WSCN, 117
RAW, 116
REAL, 115
ROWID, 116
SMALLINT, 115
VARCHAR2, 113
XMLType, 117
, 115
, 285
, 385
, 112
, 118
, 120


, 118
, 116
, 382
, 113
, 114
, 385
, 252
(DHTML), 293
, 395
, 244


, 255
, 40, 107, 230
,247
, 110
ACID, 247
,232, 235
FOR UPDATE ,
232
(3NF), 133
, 119
,
395
, 253

INSTEAD OF, 139


, 140
, 140
Java, 140
, 140
, 139
, 139
, 139

,297
,
, 76, 159
, 61
, 65
, 314
, 64
, 65
, 235
, 283
Oracle, 84
Oracle Universal Installer, 84
OFA, 86
, 348

455

, 261
, 261
(INIT.
ORA)
PGA, 224
,74
, 215

, 315, 317
, 218
, 334
, 65
, 60
,65
, 68
, 67
, 68
, 190
, 233
, 61, 74
, 107
, 119
, 80
, 167
TAF, 331
X
-, 131
, 131
-, 49
, 333
, 413
, 275
, 150,
258

,
254
, 25
, 252
, , 113
, 184
PL/SQL, 252

, 69
( )
, 226

, 225

Oracle, 227
, 225, 228

,
334
, 318

, 187
Advanced Security Option, 187
Transparent Data Encryption, 188
, 188

, 128
, 58
SGA, 75, 77

, 68
, 98
,
CONTROL_FILES, 98
, 75
, 98
, 104

, 218
, 75
, 80
, 68, 167

, 32