In 10g, Identifying Tables for Reorg and Compression

  • Follow


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
0
Reply if_investor 9/17/2010 6:32:00 PM

On Fri, 17 Sep 2010 11:32:00 -0700, if_investor@yahoo.com wrote:

> 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
0
Reply no1447 (121) 9/17/2010 10:44:41 PM


Mladen Gogala schreef:
>
> 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
0
Reply Gerard 9/18/2010 10:10:50 AM

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.



-- 
http://mgogala.byethost5.com
0
Reply Mladen 9/18/2010 6:39:59 PM

Mladen Gogala schreef:
> 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.
0
Reply Gerard 9/18/2010 7:56:44 PM

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

> 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
0
Reply Mladen 9/19/2010 7:05:46 AM

On Sep 17, 2:32=A0pm, "if_inves...@yahoo.com"
<basis_consult...@hotmail.com> wrote:
> 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.
0
Reply Steve 9/20/2010 5:14:18 PM

6 Replies
986 Views

(page loaded in 0.105 seconds)

Similiar Articles:








7/21/2012 3:51:39 AM


Reply: