Path: news.cambrium.nl!textnews.cambrium.nl!feeder3.cambrium.nl!feed.tweaknews.nl!postnews.google.com!i20g2000prf.googlegroups.com!not-for-mail
From: bdbafh <bdbafh@gmail.com>
Newsgroups: comp.databases.oracle.server
Subject: Re: Are there performancebenefits to reorganizing database-using 
 export/import?
Date: Tue, 11 Nov 2008 07:04:50 -0800 (PST)
Organization: http://groups.google.com
Lines: 66
Message-ID: <5eaa2450-695b-4bc5-b88c-fceeaba480b6@i20g2000prf.googlegroups.com>
References: <c0b2d22f-afec-42af-81d2-090d8a7c820e@f40g2000pri.googlegroups.com>
NNTP-Posting-Host: 137.237.113.132
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1226415891 13833 127.0.0.1 (11 Nov 2008 15:04:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Nov 2008 15:04:51 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: i20g2000prf.googlegroups.com; posting-host=137.237.113.132; 
 posting-account=0toJfgkAAAB7KgOxj8byjWUKgIYjMLCa
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) 
 Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe)
Xref:  news.cambrium.nl

On Nov 10, 3:52=A0pm, zigzag...@yahoo.com wrote:
> I am using Oracle 9.2.0.5 on HP UNIX 11i. Since it is a production
> system, I cannot change version of Oracle any time soon, so please do
> not suggest that.
>
> I have a production database using Oracle 9.2.0.5, which has been
> running for last 3 years since it was upgraded from 8.1.7. At that
> time we had done full export of 8.1.7 database and then created 9.2.
> instance and then imported all the application schemas.
>
> Load on our database has been increasing and there are constant
> pressures from management to improve performance. We have looked at
> indexes many times, have lots of memory for SGA and have tuned various
> init.ora parameters. We utlize three pools buffer, keep and recycle.
> Being a third party packages, we cannot rewrite queries. Avg CPU
> Utilization (6 CPU"s) is 30%, memeory utilization is 60% (we have 24
> GB memeory on the server), so I do not see we are taxing any
> resources, i..e, adding more CPU's and memory should not help.
>
> Application is a mix of OLTP and reporting, it is definitely more read
> than write.
>
> Are there any benefits to reorganize database using export/import,
> i.e., we will do a full export of existing database and then delete
> all objects from application schemas and do schema imports. We will
> run the dbms_Stats again to recomputed statistics. Of course, we will
> test all of that in a test environment before making change sin
> production.
>
> I have heard different views on reorganization. Some people say it is
> useless, some people say it can improve performance since data will be
> compacted in fewer blocks.
> Appreciate your feedback.

Why would you want to take the data out of the database?
If in fact a re-org would help (say to move data from dictionary-
managed tablespaces with a range of extent sizes to a locally-managed
tablespace with uniform extent sizes) you need not move the data out
of the database to do this.

One could create such a tablespace, and during a maintenance window,
move the table to the new tablespace and subsequently rebuild the
indexes. In standard edition, this is an offline operation. In
enterprise edition (of some versions) this can be performed online. In
newer editions of the Oracle database server software, the package
dbms_redefinition is available.

While you are at it, you might consider key compression of
concatenated indexes.
This can reduce the space used by indexes, but you might need to re-
order the columns in the index in order to gain the space reduction
that you're after.

Then again, if your IO is truly 70% read and 30% write, you might just
be best off with reducing the number of indexes to reduce the amount
of writes from inserts, updates and deletes. Perhaps the default
response to a performance problem is to "add yet another index" and
now you have dozens of indexes on your main fact tables. That would
certainly increase the percent of writes on DML.

If you were to do a full database export/import, why not into a newer
version of the Oracle database server software?
Certainly there have been improvements in the cost based optimizer
since 9.2.0.5 - why not give 10.2.0.4 a try (in testing)?

-bdbafh
