Creating an Extremely Large Index in Oracle
- by Rudiger
Can someone look at the linked reference and explain to me the precise statements to run?
Oracle DBA's Guide: Creating a Large Index
Here's what I came up with...
CREATE TEMPORARY TABLESPACE ts_tmp
TEMPFILE 'E:\temp01.dbf' SIZE 10000M
REUSE AUTOEXTEND ON EXTENT MANAGEMENT LOCAL;
ALTER USER me TEMPORARY TABLESPACE ts_tmp;
CREATE UNIQUE INDEX big_table_idx ON big_table ( record_id );
DROP TABLESPACE ts_tmp;
Edit 1
After this index was created, I ran an explain plan for a simple query and get this error:
ORA-00959: tablespace 'TS_TMP' does not exist
It seems like it's not temporary at all... :(