How do you add a data file to a tablespace?

Answers were Sorted based on User's Feedback



How do you add a data file to a tablespace?..

Answer / hemant shrimali (dba)

alter tablespace T1
add datafile 'c:\xx\T1.dbf' size 4M autoextend off;

Is This Answer Correct ?    8 Yes 1 No

How do you add a data file to a tablespace?..

Answer / vinoth kumar

alter tablespace <tablespacename> add datafile 'u01
\oradata\db\test01.dbf' size 10m autoextend on next 5m
maxsize 50m

in prodution database autoextend off is to be avoid.

Is This Answer Correct ?    2 Yes 0 No

How do you add a data file to a tablespace?..

Answer / suman

alter database tablespace ts1 add datafile
'/u01/oradata/directory name/ts1.dbf' size 5m autoextend on;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB Administration Interview Questions

how will you see when the database was started using sql prompt?

2 Answers   IBM,


What are the steps you will take, if you are tasked with securing an SQL Server?

1 Answers   STC,


List out some of the requirements to setup a sql server failover cluster.? : sql server DBA

0 Answers  


Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?

0 Answers  


In oracle 10g export, import if we declare rows=y/n what would be the output?

0 Answers   Value Labs,






If CPU is very slow What can u do to speed up?

1 Answers  


What are the steps you will take to improve performance of a poor performing query?

0 Answers  


What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

0 Answers  


What does coalescing a tablespace do?

1 Answers  


I have my backup RMAN script called "backup_rman.sh". I am on the target database. My catalog username/password is rman/rman. My catalog db is called rman. How would you run this shell script from the o/s such that it would run as a background process?

1 Answers  


what is ora 24313?what is the procedure to exclude that error?

0 Answers  


WHERE CAN WE SEE THE COMPLETE BACKBROUNG PROCESS IN RAC ENVIRONMENT THROUGH UNIX COMMAND.

2 Answers   Cognizant,


Categories