Tab Spaces
Tab Spaces
BASIC :
………………………………………………………………………
MULTIPLEXING CONTROL_FILES USING SPFILE.
STEP1:
STARTUP DATABASE SQL> startup
[oracle@dba19 oradata]$ ls
db1
Note: It is recommended to perform a backup of the database (after a shutdown normal or immediate) prior to
changing thearchive status of a database.
Enable Archive Log Mode
The following are the steps required to enable archive log mode on an Oracle 10g or 11g database.
select a.file_id,b.file_name,b.autoextensible,b.bytes/1024/1024,sum(a.bytes)/1024/1024
from dba_extents a , dba_data_files b
where a.file_id=b.file_id
group by a.file_id,b.file_name,b.autoextensible,b.bytes/1024/1024
Tablespace created.
Locally managed tablespaces
Create table space local datafile
'/dbfiles/oracle/oracle/product/10.2.0/db_2/oradata/db1/local01.dbf' size 50m extent
management local uniform size 256k
SQL> /
Tablespace created.