· Change segment space management to AUTO from MANUAL for USERS tablespace: Step 1. Create a new tablespace users1 SQL create tablespace users1 2 datafile '/u01/app/oracle/oradata/disk3/db1/www.doorway.ru' 3 size M autoextend on 4 extent management local 5 segment space management auto; Tablespace www.doorway.ruted Reading Time: 50 secs. · SEGMENT SPACE MANAGEMENT AUTO; REM set the UNDO tablespace after database creation ALTER SYSTEM SET UNDO_TABLESPACE = UNDO_DATA; REM execute www.doorway.ru and www.doorway.ru SET ECHO OFF @D:\oracle10g\rdbms\admin\www.doorway.ru @D:\oracle10g\rdbms\admin\www.doorway.ru SET ECHO ON EXIT; ***** And here's my www.doorway.ru file . The following statement creates tablespace lmtbsb with automatic segment space management: CREATE TABLESPACE lmtbsb DATAFILE '/u02/oracle/data/lmtbsbdbf' SIZE 50M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO; The SEGMENT SPACE MANAGEMENT MANUAL clause disables automatic segment space .
Change segment space management to AUTO from MANUAL for USERS tablespace: Step 1. Create a new tablespace users1 SQL create tablespace users1 2 datafile '/u01/app/oracle/oradata/disk3/db1/www.doorway.ru' 3 size M autoextend on 4 extent management local 5 segment space management auto; Tablespace created. SEGMENT SPACE MANAGEMENT AUTO; REM set the UNDO tablespace after database creation ALTER SYSTEM SET UNDO_TABLESPACE = UNDO_DATA; REM execute www.doorway.ru and www.doorway.ru SET ECHO OFF @D:\oracle10g\rdbms\admin\www.doorway.ru @D:\oracle10g\rdbms\admin\www.doorway.ru SET ECHO ON EXIT; ***** And here's my www.doorway.ru file ***** #===== # CYBERLAB DATABASE PARAMETERS #===== UNDO_MANAGEMENT=AUTO UNDO_TABLESPACE=UNDO_DATA. From Enterprise Manager, select Tablespaces. 2. Select the Tablespace you want to change for Manual to Auto. 3. From the Actions drop down, select Reorganize and click GO. 4. From the next screen, click on Set Attributes. 5. Under Segment Space Management change the Manual to Auto and Click OK.
Segment space management in LM tablespaces can be either MANUAL (default) or AUTO. In first case you must specify and tune PCTUSED. Alter Tablespace, Drop Tablespace, Unlimited Tablespace. Create Tablespace, Manage Tablespace EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;. Later, you can use the ALTER TABLESPACE or ALTER DATABASE statements to alter the The SEGMENT SPACE MANAGEMENT MANUAL clause disables automatic segment.
0コメント