Whenever a DBA creates a user in which datafile that will be get created ?

None

Showing Answers 1 - 11 of 11 Answers

Culver_lake

  • Mar 23rd, 2006
 

It depends on the product you are using. For instance, DB2 doesn't require that a user be defined (to DB2).

In a relational system it is only required that a relational catalog/data dictionary exists.  What it looks like and how it's designed is up to the designers.

And please, in a relational system, data values are stored in TABLES, not datafiles, just tables.

  Was this answer useful?  Yes

cmanne

  • Mar 25th, 2007
 

It depends how the user created, While creating the user if a specific tablespaces is mentioned as the default tablespace, then the user will be created in that tablespace's datafile. If no default tablespace is mentioned while creating the user, then the users default tablespace will be "system" and all the object pertaining to that user will be created in the SYSTEM tablespace which will result in defragmentation with the lapse of time due to various DDL, DML, DCL and DTL statements. It always a good practice to assign a default tablespace for a user other than the  SYSTEM tablespace.

  Was this answer useful?  Yes

Sundar

  • Oct 25th, 2007
 

In MS SQL Server it gets stored in master db.

  Was this answer useful?  Yes

When the user is created without mentioning default tablespace, then it will be created in SYSTEM tablespace.  If Temporary tablespace is also not mentioned then it will automatically take the default temporary tablespace mentioned by the DBA.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions