Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Performance & Tuning >> hello! vigyan plz help.urgent.

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: hello! vigyan plz help.urgent.
 mou  Posted: Feb 27, 2007 04:26:38 PM

 Total Post: 6
 Joined: Feb, 2007






 hello vigyan, i am new to dbapool.
i have two questions:
1. what happened to the index associated with a table, when the table is moved to a different tablespace using alter table... move command?
2.is coalesceing is possible only on b-tree index or it can also be applied on bit mapped index? if yes then how?

mousumi.

 Vigyan
Posted: Feb 27, 2007 11:22:33 PM  

 Total Post: 386
 Joined: May, 2001






 
Hi Mousumi,

1. When you use "ALTER TABLE MOVE TABLESPACE", it only move the table into new tablespace but not the associated index. You will have to manually rebuild index in the new tablespace.

2. Yes, you can COALESCE a bitmap index. This is done in the same way as you do for btree index.

e.g.

ALTER INDEX index_name COALESCE;

Remember, you cannot move index to another tablespace using Coalesce. I personally preferred rebuilding index.

Hope it helps.

Vigyan


 Jayanta
Posted: Feb 28, 2007 04:06:35 AM  

 Total Post: 479
 Joined: Feb, 2006






 
hello mousumi,
coalesce rebuilds only the index blocks, where as rebuild shrinks the height of the index(if applicabe) and also removes the intra block fragmentation plus allows u to move the index to a different tablespace
thanks

 Raj
Posted: May 11, 2007 02:18:09 AM  

 Total Post: 9
 Joined: Apr, 2007






 
Hi

When you move table to another TS index will become unusable and you need to e\rebuild them

 Jayanta
Posted: May 12, 2007 02:59:25 PM  

 Total Post: 479
 Joined: Feb, 2006






 
after moving tables the row ids of that table changes.thats the root cause
that u need to rebuild indexes.
cheers!

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar814
  Mohammed Taj694
  Jayanta Sur479
  Vigyan Kaushik386
  positive fanatic361
  Gitesh Trivedi322
  Gopu Gopi242
  neeraj sharma228
  Ramesh Jois226
  snehalatha p169






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software