How do you add a data file to a tablespace?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Explain the difference between a FUNCTION, PROCEDURE and PACKAGE.
Explain the difference between a hot backup and a cold backup and the benefits associated with each?
What are statistics, under what circumstances they go out of date, how do you update them?
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?
What are the different sql server versions you have worked on? : sql server DBA
What view(s) do you use to associate a user's SQLPLUS session with his o/s process?
deleted of control file how will u recover control file?
one datafile is lost in standy side how can you recover that??
I want to reuse a piece of code inside a stored procedure. This piece of code need to be invoked multiple times inside the procedure based on some different conditions. How to achieve this?
Which environment variables are absolutely critical in order to run the OUI?
what is ora 600?
How can we know the exact updation date of a particular database?