سؤال

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