?
Solved

How to move domain (CLOB) index from one tablespace to another

Posted on 2012-04-02
4
Medium Priority
?
528 Views
Last Modified: 2012-04-16
Hi ,
I need to move some of the domain (CLOB) index from one tablespace to another. how can I move.
0
Comment
Question by:dba1234
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 1500 total points
ID: 37797160
Is this an Oracle Text index?

If so you can name the tablespaces for the various pieces by creating a storage preference then using it to build the index.  See the example below.

If you mean some other index, please let us know the type.



begin
	ctx_ddl.create_preference('MY_STORAGE', 'BASIC_STORAGE');
	ctx_ddl.set_attribute('MY_STORAGE', 'I_TABLE_CLAUSE', 'tablespace ctx_objects');
	ctx_ddl.set_attribute('MY_STORAGE', 'K_TABLE_CLAUSE', 'tablespace ctx_objects');
	ctx_ddl.set_attribute('MY_STORAGE', 'R_TABLE_CLAUSE', 'tablespace ctx_objects lob (data) store as (disable storage in row cache)');
	ctx_ddl.set_attribute('MY_STORAGE', 'N_TABLE_CLAUSE', 'tablespace ctx_objects');
	ctx_ddl.set_attribute('MY_STORAGE', 'I_INDEX_CLAUSE', 'tablespace ctx_objects compress 2');
	ctx_ddl.set_attribute('MY_STORAGE', 'P_TABLE_CLAUSE', 'tablespace ctx_objects');
	ctx_ddl.set_attribute('MY_STORAGE', 'S_TABLE_CLAUSE', 'tablespace ctx_objects');
END;
/

Open in new window

0
 

Author Comment

by:dba1234
ID: 37797201
INDEXTYPE IS CTXSYS.CONTEXT  Can you please explain little bit more.
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 1500 total points
ID: 37797214
>>INDEXTYPE IS CTXSYS.CONTEXT

That is an Oracle Text index.  It allows fast text searching using the CONTAINS SQL function.

The docs are the place to start:
Oracle® Text Reference
http://docs.oracle.com/cd/E11882_01/text.112/e24436/toc.htm

and
Oracle® Text Application Developer's Guide
http://docs.oracle.com/cd/E11882_01/text.112/e24435/toc.htm
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37852549
What part of your question did I not answer?

I'm curious why you gave me a 'B' penalty.
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Suggested Courses

777 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