If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > how to reorg table with large data type

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-16-11, 00:33
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
how to reorg table with large data type

Hi want to reorg a table but it has a long data type?
how is this possible?
Reply With Quote
  #2 (permalink)  
Old 12-16-11, 02:35
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Why do you want to "reorg" the table (whatever that should mean).

And LONG as been deprecated since Oracle 8, why do you still use it?
Reply With Quote
  #3 (permalink)  
Old 12-16-11, 05:31
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
Thnx for the reply
Reply With Quote
  #4 (permalink)  
Old 12-16-11, 05:39
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
My db is oracle 10
Reply With Quote
  #5 (permalink)  
Old 12-16-11, 05:40
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
ALTER TABLE table_name MOVE;
Reply With Quote
  #6 (permalink)  
Old 12-16-11, 05:40
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
it works fine with all table except one that has one defined as long data type
what's possible way to reorg that table?
Reply With Quote
  #7 (permalink)  
Old 12-16-11, 05:46
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Quote:
what's possible way to reorg that table?
Switch to a CLOB column, get rid of the deprecated LONG column.

Why do you think you need to "reorg" the table?
Reply With Quote
  #8 (permalink)  
Old 12-16-11, 05:53
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
this is a live system db was up and running more than 3 years
Reply With Quote
  #9 (permalink)  
Old 12-16-11, 06:07
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
so purge table and now contain only one year data but still size is same
Reply With Quote
  #10 (permalink)  
Old 12-16-11, 06:07
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Quote:
Originally Posted by oracledlg View Post
this is a live system db was up and running more than 3 years
So what?
Why do you think you need to "reorg" the table?
Reply With Quote
  #11 (permalink)  
Old 12-16-11, 06:11
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
i reorg other table
as ex table size was 36gb after reorg 18gb
mentioned table size 13gb
Reply With Quote
  #12 (permalink)  
Old 12-16-11, 06:12
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
hope all process will speed up after reorg
Reply With Quote
  #13 (permalink)  
Old 12-16-11, 06:28
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
is there possible way to reorg this?
Reply With Quote
  #14 (permalink)  
Old 12-16-11, 06:30
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Quote:
Originally Posted by oracledlg View Post
is there possible way to reorg this?
Switch to a CLOB column, get rid of the deprecated LONG column.
Reply With Quote
  #15 (permalink)  
Old 12-16-11, 06:46
oracledlg oracledlg is offline
Registered User
 
Join Date: Dec 2011
Posts: 11
how i can do that?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On