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?

有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top