Question

I'd like to ask a question. What happen If I create an index without specifying the tablespace in the process of creation. For example :

CREATE INDEX indx_cd on distributors(dist_cd)

In what tablespace does the index created? And will the index still works as it should even if I put it that way?

Was it helpful?

Solution

The index will be created in the default tablespace of the schema.

As system user you can determine what tablespace that is:

select username,default_tablespace from dba_users
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top