Oracle 10g First Impressions

19
Oracle 10g: First Impressions Copyright, 2004 © Paul D. Phillips  T o Educate and Inform the Members of the Central Florida Oracle Users Group

Transcript of Oracle 10g First Impressions

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 1/19

Oracle 10g:First Impressions

Copyright, 2004 © Paul D. Phillips

 To Educate and Inform

the Members of the

Central Florida Oracle

Users Group

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 2/19

Introduction

• Introduction

• RAC Implementation

• New Features

• Questions??

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 3/19

The Current Environment

• Two 9.2.0.5 databases and instances: 1) aproduction instance using 8 GB of memory and a650 GB database System and 2) a stage instance

using .5 GB of memory and 100 GB database

• Three 10.2.0.1 instances and two databases: 1) adevelopment instance using 1.5 GB of memory and200 GB database and 2) two RAC clustered

instances using .5 GB of memory and a shared 150GB database

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 4/19

RAC on 10g Implementation

• Needed to get our WEB users off the productionBatch System ( license and performance issues )

• Tasked to do it this way due to funding challenges

and on Win 2K • Bought 500 GB Disk Array off EBay (~ $2K)

• Built 2 white box PCs w/ 1 2.6 Ghz CPU (2 CPUmotherboard,) 1 GB Memory, ~ $2K each

• GB NIC cards, Raid SCSI controllers,GB Mini switch for ~ $2K 

• Total: about $9K 

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 5/19

RAC on 10g (cont)

• Challenges: SCSI cards had to be Clusteraware

• Went through 4 sets of cards

•  Array had 14 drives, 1 array controllerand 2 SCSI cards; needed 17 SCSI ids

•  You can only have 16 per device

• Had to unplug 2 drives – array now has210GB of SAME storage

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 6/19

RAC on 10g (cont)

• Installed Cluster Ready Services on C:\ drive of both systems automatically with

one install• Smooth install, no problems, nice

•  Array came up Clustered and shared

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 7/19

RAC on 10g (cont)

• Installed Oracle 10g on Cluster disk inprivate partition for software

• Only takes ~ 1 GB

• Took < 40 minutes

• Installer seems to be finally getting tothe point it needs to be

• Overall install experience: Very Positive

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 8/19

RAC on 10g (cont): Current issues

• Can’t get Failover to work at all (is now working)

• Can’t get Load Balancing to work consistently(is now working)

• Have been working with Oracle for nearly 2weeks, about 30 hours total

• Documentation is either wrong or missing

• Problem: Not a lot on 10g in the online Notesand Docs, period

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 9/19

10g New Features

• On 9i, there were 9 system processes

• On 10g, there are 14 (in Win 2K)

• Need more Memory for basic Oracleprocesses

• Need to investigate all the automaticprocesses, defaults are probably tooaggressive

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 10/19

10g New Features (cont)

• New: SYSAUX tablespace

• Holds all the non DD stuff, such as

 Automated Workload Repository, XMLschemas, example schemas etc.

•  About the same size as the SYSTEM

tablespace

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 11/19

10g New Features (cont)

• New Space related features

• Tablespace Groups: Combines multiple

Temporary Tablespaces into one pool forthe whole database (Group can be theDefault Tablespace)

• Rename Tablespace: when transportingtablespaces, eliminates name conflicts

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 12/19

10g New Features (cont)

• Shrink Tables: Online, in-place table defrag:

• “ALTER TABLE tablename SHRINK SPACECASCADE;” - docs claim cascade is for relatedobjects and optional, but it would not work without it on a stand alone table; but when itdoes work, it works well

• NOTE: Must “ALTER TABLE tablename ENABLEROW MOVEMENT;” first 

•  Automatic UNDO works!

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 13/19

10g New Features (cont)

• More Automation: The Automated WorkloadRepository

• Note: AWR runs hourly by default on Win2K;

report is similar to statspack but with more info(even some OS!); claims to be self cleaning

•  Very excited about this feature, with newevents, new v$ views and just more info

• We may finally be to the point of being able toknow the database and tune to what we know

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 14/19

10g New Features (cont)

• Server Based Advisors use the AutomatedWorkload Repository

•  Automated Database Diagnostic Monitor: runsas advertised

• Can not yet speak to the value of therecommendations

• New packages are DBMS_ADVISOR andDBMS_SQL_TUNE

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 15/19

10g New Features (cont)

• Other Automation:

 –  Automated Shared Memory Management (SGA)

 – Self-tuning Checkpointing (fast_start_mttr_target)

• Better Trace Functionality( DBMS_MONITOR )

• Can not yet speak to these new features

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 16/19

10g New Features (cont)

• RMAN:

 – The Block Change Tracking File – a bit map

of all changed blocks – Maintained as part of the redo process;

speeds incremental backups

 – Compressed Backup sets ( anecdotal reportsof 80 % compression )

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 17/19

10g New Features (cont)

• Data Pump:

 – An internalized version of EXP and IMP

 – Run as a job

 – Can detach from the database and check back later on the process; can restart,specify parallelism and support for network mode ops, which use a database link 

 – Will extract metadata, data or both

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 18/19

10g New Features (cont)

• Oracle Enterprise Manager:

 – Much improved from a speed and stability

standpoint – Middle tier, Oracle Management Server, is

now J2EE

 – Wanted to try Database Control, but havenot had time to install the repository

 – We saw the demo last month

8/4/2019 Oracle 10g First Impressions

http://slidepdf.com/reader/full/oracle-10g-first-impressions 19/19

Conclusion

• Overall rating: A-

• May change when we go to our production

system (many unusual features used, such as VLM, Partitioned Compressed IOTs and largedependence on parallel processing: BUGS!?)

• Unless otherwise indicated, plan to upgrade inSeptember; motivation is to get off 9.2.0.5

• Questions????