Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Table defragmentation

Posted on 2004-09-18
1
Medium Priority
?
990 Views
Last Modified: 2013-12-11
Hi,
Oracle 9.2.0.5

Other than recreating the table and index, is there any other method to reduce number of extents and chanined rows.

TIA,
Rakesh
0
Comment
Question by:grora
1 Comment
 
LVL 7

Accepted Solution

by:
BobMc earned 500 total points
ID: 12091195
Only way to reduce chained rows is to either make your database blocks bigger, or reduce the size of the table (data stored per row).

To reduce the number of extents, you need to change the storage parameters - make NEXT bigger will stop it extending, but wont reduce the number of extents.

Personally, I would move the table to a locally managed tablespace with uniform extents (of suitable size), and forget all about it.

HTH
Bob
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Via a live example, show how to take different types of Oracle backups using RMAN.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question