Creating Tablespaces
The following instructions assist you in creating table spaces:
- Connect to Oracle as the SYS user.
-
Create table spaces for the Lawson tables and indexes.
For example, to create two different 1 MB table spaces named
dataspace
andindexspace
, type the following in sqlplus:CREATE TABLESPACE dataspace DATAFILE ‘\oradata\datts.dbf' size 1 M;
CREATE TABLESPACE indexspace DATAFILE ‘\oradata\idxts.dbf' size 1 M;
-
Assign the newly created table spaces to the Lawson table
owner. For example, if
lawson
is the Lawson table owner, type the following in sqlplus:ALTER USER lawson DEFAULT TABLESPACE dataspace
TEMPORARY TABLESPACE temp
QUOTA UNLIMITED ON dataspace
QUOTA UNLINITED ON indexspace;