Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Kien truc va quan tri Oracle9i

Kien truc va quan tri Oracle9i

Ratings: (0)|Views: 81|Likes:
Published by api-26899011

More info:

Published by: api-26899011 on Dec 02, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

C\u00d4NG TY C\u1ed4 PH\u1ea6N T\u01af V\u1ea4N T\u00c0I NG\u00c2N
H\u00c0 N\u1ed8I \u2013 07/ 2002
Ki\u1ebfn tr\u00fac v\u00e0 qu\u1ea3n tr\u1ecb c\u01a1 s\u1edf d\u1eef li\u1ec7u Oracle
Trang 1
M\u1ee4C L\u1ee4C

M\u1ee4C L\u1ee4C...................................................................................................... 1 CH\u01af\u01a0NG 1. C\u00c1C\u0110I\u1ec2M M\u1edaI TRONG ORACLE 9I........................................... 9 CH\u01af\u01a0NG 2. C\u00c1C TH\u00c0NH PH\u1ea6N KI\u1ebeN TR\u00daC................................................ 14

2.1. KI\u1ebeN TR\u00daC ORACLE SERVER....................................................................................... 14

2.1.1. Oracle Instance............................................................................................................ 14 2.1.2. Oracle database........................................................................................................... 19 2.1.3. Qu\u1ea3n tr\u1ecb c\u01a1 s\u1edf d\u1eef li\u1ec7u Oracle......................................................................................... 23 2.1.4. Thi\u1ebft l\u1eadp c\u00e1c tham s\u1ed1 kh\u1edfi t\u1ea1o\u1ea3nh h\u01b0\u1edfng t\u1edbi k\u00edch c\u1ee1 b\u1ed9 nh\u1edb SGA.................................... 23

2.2. K\u1ebeT N\u1ed0I T\u1edaI ORACLE SERVER.................................................................................... 24

2.2.1. M\u00f4 h\u00ecnh k\u1ebft n\u1ed1i............................................................................................................ 24 2.2.2. M\u1ed9t s\u1ed1 kh\u00e1i ni\u1ec7m c\u01a1 b\u1ea3n li\u00ean quan\u0111 \u1ebfn k\u1ebft n\u1ed1i................................................................ 25 2.2.3. K\u1ebft n\u1ed1i t\u1edbi database...................................................................................................... 25

CH\u01af\u01a0NG 3. C\u00c1C C\u00d4NG C\u1ee4 QU\u1ea2N TR\u1eca ORACLE.......................................... 27
3.1. C\u00c1C C\u00d4NG C\u1ee4 QU\u1ea2N TR\u1eca C\u01a0 S\u1ede D\u1eee LI\u1ec6U ORACLE..................................................... 27
3.2. SERVER MANAGER LINE MODE................................................................................... 27

3.2.1. Truy nh\u1eadp Server Manager Line Mode............................................................................ 27 3.2.2. Ph\u00e2n nh\u00f3m c\u00e1c l\u1ec7nh trong Server manager.................................................................... 28 3.2.3. Di\u1ec5n gi\u1ea3i c\u00e1c l\u1ec7nh trong Server manager........................................................................ 28

3.3. ORACLE ENTERPRISE MANAGER................................................................................. 29

3.3.1. Ki\u1ebfn tr\u00fac OME.............................................................................................................. 29 3.3.2. C\u00e1c d\u1ecbch v\u1ee5 chung........................................................................................................ 30 3.3.3. Oracle Configuration Assistant....................................................................................... 30 3.3.4. Oracle Enterprise Manager Console................................................................................ 30

3.4. C\u00c1C C\u00d4NG C\u1ee4 QU\u1ea2N TR\u1eca KH\u00c1C................................................................................... 31
CH\u01af\u01a0NG 4. T\u1ea0O DATABASE....................................................................... 32
4.1. C\u00c1C B\u01af\u1edaC T\u1ea0O DATABASE.......................................................................................... 32
4.2. CHU\u1ea8N B\u1eca M\u00d4I TR\u01af\u1edcNG............................................................................................. 32

4.2.1. Chu\u1ea9n b\u1ecb h\u1ec7\u0111i\u1ec1u h\u00e0nh.................................................................................................. 32 4.2.2. L\u00ean k\u1ebf ho\u1ea1ch b\u1ed1 tr\u00ed c\u00e1c file th\u00f4ng tin.............................................................................. 32 4.2.3. Optimal Flexible Architecture \u2013 OFA............................................................................... 33 4.2.4. C\u1ea5u tr\u00fac th\u01b0 m\u1ee5c ph\u1ea7n m\u1ec1m Oracle............................................................................... 34 4.2.5. Bi\u1ebfn m\u00f4i tr\u01b0\u1eddng........................................................................................................... 34

4.3. CHU\u1ea8N B\u1eca C\u00c1C THAM S\u1ed0 TRONG PARAMETER FILE.................................................... 35
4.4. CHU\u1ea8N B\u1eca INSTANCE PH\u1ee4C V\u1ee4 QU\u1ea2N TR\u1eca.................................................................. 36

4.4.1. T\u1ea1o m\u1ed9t instance......................................................................................................... 36 4.4.2. Kh\u1edfi\u0111\u1ed9ng instance....................................................................................................... 37 4.4.3. D\u1eebng instance.............................................................................................................. 37 4.4.4. Hu\u1ef7 instance................................................................................................................ 38

4.5. T\u1ea0O DATABASE............................................................................................................ 38

4.5.1. Kh\u1edfi\u0111\u1ed9ng Instance...................................................................................................... 38 4.5.2. L\u1ec7nh t\u1ea1o database........................................................................................................ 38 4.5.3. Oracle Database Assistant............................................................................................. 39 4.5.4. File script v\u00ed d\u1ee5 t\u1ea1o m\u1ed9t database.................................................................................. 40 4.5.5. L\u1ed7i x\u1ea3y ra khi t\u1ea1o database........................................................................................... 41 4.5.6. K\u1ebft qu\u1ea3 sau khi t\u1ea1o database........................................................................................ 41

4.6. T\u1ea0O DATA DICTIONARY CHO DATABASE.................................................................... 42
Ki\u1ebfn tr\u00fac v\u00e0 qu\u1ea3n tr\u1ecb c\u01a1 s\u1edf d\u1eef li\u1ec7u Oracle
Trang 2
CH\u01af\u01a0NG 5. QU\u1ea2N TR\u1eca ORACLE DATABASE................................................ 43
5.1. PH\u00c2N LO\u1ea0I USERS....................................................................................................... 43

5.1.1. Database Administrators............................................................................................... 43 5.1.2. Security Officers........................................................................................................... 43 5.1.3. Application Developers.................................................................................................. 44 5.1.4. Database Users............................................................................................................ 44 5.1.5. Network Administrators................................................................................................. 44

5.2. PH\u01af\u01a0NG TH\u1ee8C X\u00c1C NH\u1eacN\u0110 \u1eb6C QUY\u1ec0N TRUY NH\u1eacP.................................................. 44

5.2.1. Ph\u01b0\u01a1ng th\u1ee9c x\u00e1c nh\u1eadn quy\u1ec1n........................................................................................ 44 5.2.2. X\u00e1c nh\u1eadn quy\u1ec1n b\u1edfi h\u1ec7\u0111i\u1ec1u h\u00e0nh.................................................................................. 45 5.2.3. X\u00e1c nh\u1eadn quy\u1ec1n b\u1eb1ng file m\u1eadt kh\u1ea9u............................................................................... 46 5.2.4. Thay\u0111\u1ed5i m\u1eadt kh\u1ea9u internal........................................................................................... 46

5.3. T\u1ea0O PARAMETER FILE................................................................................................. 47

5.3.1. S\u1eed d\u1ee5ng c\u00e1c tham s\u1ed1.................................................................................................... 47 5.3.2. M\u1ed9t s\u1ed1 quy t\u1eafc\u0111\u1ed1i v\u1edbi c\u00e1c tham s\u1ed1................................................................................ 48 5.3.3. ................................................................................................................................... 48 5.3.4. C\u00e1c tham s\u1ed1 c\u01a1 b\u1ea3n...................................................................................................... 48

5.4. START V\u00c0 SHUT DOWN DATABASE.............................................................................. 49

5.4.1. C\u00e1c b\u01b0\u1edbc Start v\u00e0 Shut down database.......................................................................... 49 5.4.2. Start database............................................................................................................. 51 5.4.3. Thay\u0111\u1ed5i t\u00ednh s\u1eb5n d\u00f9ng c\u1ee7a database hi\u1ec7n th\u1eddi............................................................... 51 5.4.4. Shut down database..................................................................................................... 52 5.4.5. Thay\u0111\u1ed5i tr\u1ea1ng th\u00e1i c\u1ee7a database................................................................................... 53 5.4.6. T\u1ea1m treo v\u00e0 ph\u1ee5c h\u1ed3i Database..................................................................................... 54 5.4.7.\u0110\u1eb7t ch\u1ebf \u0111\u1ed9 ho\u1ea1t\u0111\u1ed9ng t\u0129nh cho database........................................................................ 55

5.5.\u0110\u1eb6T TR\u1ea0NG TH\u00c1I T\u0128NH CHO DATABASE..................................................................... 55

5.5.1.\u0110\u01b0a Database v\u00e0o tr\u1ea1ng th\u00e1i t\u0129nh.................................................................................. 55 5.5.2. Ph\u1ee5c h\u1ed3i h\u1ec7 th\u1ed1ng tr\u1edf l\u1ea1i ho\u1ea1t\u0111 \u1ed9ng nh\u01b0 b\u00ecnh th\u01b0\u1eddng...................................................... 56 5.5.3. Xem tr\u1ea1ng th\u00e1i c\u1ee7a database......................................................................................... 56

5.6. L\u1ea4Y C\u00c1C TH\u00d4NG TIN V\u1ec0 H\u1ec6 TH\u1ed0NG............................................................................ 56

5.6.1. M\u1ed9t s\u1ed1 views c\u1ea7n quan t\u00e2m........................................................................................... 57 5.6.2. Hi\u1ec3n th\u1ecb gi\u00e1 tr\u1ecb c\u1ee7a c\u00e1c th\u00f4ng s\u1ed1 h\u1ec7 th\u1ed1ng....................................................................... 57 5.6.3. Tham s\u1ed1 h\u1ec7 th\u1ed1ng\u0111\u1ed9ng (c\u00f3 th\u1ec3 thay\u0111\u1ed5i)....................................................................... 58 5.6.4. Qu\u1ea3n l\u00fd session............................................................................................................ 58 5.6.5. Trace file v\u00e0 ALERT file................................................................................................. 59

CH\u01af\u01a0NG 6. DATA DICTIONARY, VIEWS V\u00c0 PACKAGES............................. 60
6.1. DATA DICTIONARY V\u00c0 VIEWS..................................................................................... 60

6.1.1. Data Dictionary............................................................................................................ 60 6.1.2. Data Dictionary views................................................................................................... 61 6.1.3. Sripts qu\u1ea3n tr\u1ecb.............................................................................................................. 63

6.2. STORED PROCEDURES V\u00c0 C\u00c1C PACKAGES CHU\u1ea8N..................................................... 64

6.2.1. Gi\u1edbi thi\u1ec7u chung........................................................................................................... 64 6.2.2. Stored procedures........................................................................................................ 64 6.2.3. Packages chu\u1ea9n........................................................................................................... 65 6.2.4. Gi\u1edbi thi\u1ec7u m\u1ed9t s\u1ed1 packages chu\u1ea9n do Oracle cung c\u1ea5p..................................................... 65 6.2.5. PackageDBMS_ METADATA............................................................................................ 67 6.2.6. Package dbms_redefinition............................................................................................ 68

6.3. TH\u00d4NG TIN V\u1ec0 C\u00c1C STORED PROCEDURES................................................................ 68
CH\u01af\u01a0NG 7. QU\u1ea2N TR\u1eca CONTROL FILES..................................................... 71
7.1. CONTROL FILES........................................................................................................... 71

7.1.1. Gi\u1edbi thi\u1ec7u control file.................................................................................................... 71 7.1.2. C\u00e1ch th\u1ee9c\u0111 \u1eb7t t\u00ean control file........................................................................................ 71 7.1.3. K\u1ebft h\u1ee3p nhi\u1ec1u control files............................................................................................. 71 7.1.4. N\u1ed9i dung c\u1ee7a control file............................................................................................... 72 7.1.5. C\u00e1c tham s\u1ed1\u1ea3nh h\u01b0\u1edfng t\u1edbi k\u00edch th\u01b0\u1edbc c\u1ee7a control file..................................................... 73

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->