Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2012-04-02
4
Medium Priority
?
538 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

610 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