Home > Ask the Oracle Experts > Database Design and Architecture Questions & Answers > 20GB data dictionary causing performance problems
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

20GB data dictionary causing performance problems

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 20 July 2007

I'm a DBA at an Oracle software development company. I'm hoping you can help us figure out a solution to our dilemma.

We have multiple Oracle 9i instances (9i is still used to ensure software backward-compatibility for our customers) running on Sun equipment. One for development, one for quality assurance, one for final production and another for internal software (help desk, time and attendance, etc.).

Inside each instance is typically one schema for each supported base version of our product in two different languages as well as one schema for each of our clients' custom development.

As of this writing we have 81 schemas in our development instance! While the schemas are usually relatively small data-wise, this arrangement makes for a SYSTEM tablespace approaching 20 GB! Of course, this is extremely inefficient for the data dictionary to be so huge. Performance issues do indeed exist.

We use scripts to perform many functions that rely on all development schemas being in the development instance, QA in the QA instance, and so on.

We're soon to be contemplating the replacement of our main server which handles all of these instances. I've put forth the idea of going to a RAC system to help alleviate the bottlenecks and downtime concerns, but the reality of a 20GB data dictionary is still daunting.

What best practices exist for such an environment? Recommendations, please?! Thanks!


>
EXPERT RESPONSE

If a 20GB SYSTEM tablespace is causing performance problems, then it is unlikely that RAC will help solve these problems. The first place I would look is to ensure that optimizer statistics have not been collected on any SYS objects. To be sure, run the following in SQL*Plus:

EXEC DBMS_STATS.DELETE_SCHEMA_STATS('SYS');

In many Oracle 9i environments, optimizer stats on SYS-owned objects actually causes performance problems.

The next thing I would consider is to put your production databases on a production server. Leave the development databases on this older server. It is optimal to separate development activities from production so that long running queries do not hog resources needed by the production databases.

If you are still having problems, then use Oracle's wait events to see where your bottlenecks lie. Just because your Data Dictionary is 20GB in size does not always mean this is the cause of your problems. The performance issues could be due to something like I/O contention. If you are sure this is caused by a large SYSTEM tablespace, now that you have moved your production databases to a new server you can create other dev databases and trim down the number of schemas in those databases to something more manageable.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Database Design and Architecture
Oracle error 942 when exporting a schema
Using exp and imp for Oracle Database when switching platforms
Can I populate tables in MS ACCESS and upload to the Oracle server?
User vs. schema in Oracle
Is there any tool to migrate data from DB2 to Oracle?
Does making an Oracle datafile READ ONLY after a backup change the file?
I have space in log_arch_dest, so why am I getting the ORA-00257 error?
Why am I receiving the ORA-12535 error when using a remote database?
Partitioning a table in Oracle to improve performance
How to set up a job for an SQL query in Oracle 10g Grid Control

Oracle database performance problems and tuning
Oracle 11g data compression
Varchar or number for better performance?
Do statistics on SYS-owned objects hurt performance in 10g?
Inside the Oracle 11g SQL Performance Advisor, part 1
Inside the Oracle 11g SQL Performance Advisor, part 2
Difference between driving table and driver table in Oracle
Best design for E-Business Suite on hard drive
Online tablespace reorganization in Oracle 9i
Using the cost-based optimizer to improve Database 10g performance
How to read a STATSPACK report

Oracle database design
Weighing remote database administration pros and cons takes care
Oracle Database 11g makes waves at Burlington Coat Factory
How to create a database link in Oracle
Data modeling tools no substitute for hard work
How do I do that in Oracle?
The Oracle Database user's guide to Oracle OpenWorld 2007
Oracle OpenWorld 2007 Special Report
How many redo log files?
How to move tables from system tablespace to user tablespace
ORA-12560 error with Oracle 10g Instant Client

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
extent  (SearchOracle.com)
field  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
quad tree  (SearchOracle.com)
record  (SearchOracle.com)
row  (SearchOracle.com)
splay tree  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts