dbTalk Databases Forums  

In 10g, Identifying Tables for Reorg and Compression

comp.databases.oracle.server comp.databases.oracle.server


Discuss In 10g, Identifying Tables for Reorg and Compression in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
if_investor@yahoo.com
 
Posts: n/a

Default In 10g, Identifying Tables for Reorg and Compression - 09-17-2010 , 01:32 PM






Hi,

I checked google, but did not find much on identifying tables
in 10g that can benefit (In terms of space reduction)
from reorganization, or from compression. (I realize that
there are many considerations for reorg and compression,
but I am looking for a starting point).

Any ideas would be appreciated.

Thanks,
QZ

Reply With Quote
  #2  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: In 10g, Identifying Tables for Reorg and Compression - 09-17-2010 , 05:44 PM






On Fri, 17 Sep 2010 11:32:00 -0700, if_investor (AT) yahoo (DOT) com wrote:

Quote:
Hi,

I checked google, but did not find much on identifying tables in 10g
that can benefit (In terms of space reduction) from reorganization, or
from compression. (I realize that there are many considerations for
reorg and compression, but I am looking for a starting point).

Any ideas would be appreciated.

Thanks,
QZ
What would you like to reorganize and compress? Compressing OLTP tables
in Oracle 10g is not a good idea, you should upgrade to 11g and purchase
the advanced compression option. As for the reorg, you should probably
forget all about that. Reorg is done on a business request, as a part of
the application restructuring. There is one reorg you can do to speed
things up, it's truncating large table. If you have large tables, several
gigabytes or more in size, truncating them will do wonders for your
queries, they will simply fly.



--
http://mgogala.byethost5.com

Reply With Quote
  #3  
Old   
Gerard H. Pille
 
Posts: n/a

Default Re: In 10g, Identifying Tables for Reorg and Compression - 09-18-2010 , 05:10 AM



Mladen Gogala schreef:
Quote:
What would you like to reorganize and compress? Compressing OLTP tables
in Oracle 10g is not a good idea, you should upgrade to 11g and purchase
the advanced compression option. As for the reorg, you should probably
forget all about that. Reorg is done on a business request, as a part of
the application restructuring. There is one reorg you can do to speed
things up, it's truncating large table. If you have large tables, several
gigabytes or more in size, truncating them will do wonders for your
queries, they will simply fly.



Thank you for your advice, mr. Gogala. We've truncated all large tables
and the results are astounding, the queries are fast as lightning. But
we seem to have another problem now, in that they are not returning any
rows, not even for a simple "select * from ...". After the truncate, is
there something we have to do to enable selects again?

Thank you,

GHP

Reply With Quote
  #4  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: In 10g, Identifying Tables for Reorg and Compression - 09-18-2010 , 01:39 PM



On Sat, 18 Sep 2010 12:10:50 +0200, Gerard H. Pille wrote:

Quote:
Thank you for your advice, mr. Gogala. We've truncated all large tables
and the results are astounding, the queries are fast as lightning. But
we seem to have another problem now, in that they are not returning any
rows, not even for a simple "select * from ...". After the truncate, is
there something we have to do to enable selects again?
You should seek the mighty Oz and ask him for a brain.



--
http://mgogala.byethost5.com

Reply With Quote
  #5  
Old   
Gerard H. Pille
 
Posts: n/a

Default Re: In 10g, Identifying Tables for Reorg and Compression - 09-18-2010 , 02:56 PM



Mladen Gogala schreef:
Quote:
On Sat, 18 Sep 2010 12:10:50 +0200, Gerard H. Pille wrote:

Thank you for your advice, mr. Gogala. We've truncated all large tables
and the results are astounding, the queries are fast as lightning. But
we seem to have another problem now, in that they are not returning any
rows, not even for a simple "select * from ...". After the truncate, is
there something we have to do to enable selects again?

You should seek the mighty Oz and ask him for a brain.



I'd be the last to complain
About what I've got for a brain,
But I could do with a heart,
and some courage for a start.

Reply With Quote
  #6  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: In 10g, Identifying Tables for Reorg and Compression - 09-19-2010 , 02:05 AM



On Sat, 18 Sep 2010 21:56:51 +0200, Gerard H. Pille wrote:

Quote:
I'd be the last to complain
About what I've got for a brain,
But I could do with a heart,
and some courage for a start.
Take off every zig for great justice



--
http://mgogala.byethost5.com

Reply With Quote
  #7  
Old   
Steve Howard
 
Posts: n/a

Default Re: In 10g, Identifying Tables for Reorg and Compression - 09-20-2010 , 12:14 PM



On Sep 17, 2:32*pm, "if_inves... (AT) yahoo (DOT) com"
<basis_consult... (AT) hotmail (DOT) com> wrote:
Quote:
Hi,

I checked google, but did not find much on identifying tables
in 10g that can benefit (In terms of space reduction)
from reorganization, or from compression. (I realize that
there are many considerations for reorg and compression,
but I am looking for a starting point).

Any ideas would be appreciated.

Thanks,
QZ
Google tom kyte show_space for a procedure that nicely formats the
output of the dbms_space packaged procedures.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.