문제

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