4. Managing Tables and Views : Table Management : Alternate Location for a Table
 
Share this page                  
Alternate Location for a Table
To create a table in an alternate location, use the WITH LOCATION clause of the CREATE TABLE statement.
In Director, use the Options in the New Table tab. In VDBA, click Options in the Create Table dialog.
If you specify only one location, the entire table is stored in that location. If you choose more than one location, the table spans multiple locations. For example, if you designate two locations, the table is extended over two alternate locations. As rows are added to the table, they are added to each area in alternate blocks.
The blocks are:
Windows: 16-page blocks (approximately 32 KB)
UNIX: 16-page blocks (approximately 32 KB)
VMS: 8 pages (32 disk blocks)
The table is considered out of space if the next receiving area in turn does not have a sufficient block.
Note:  After creating a table, you can change its location, as described in Techniques for Moving a Table to a New Location (see page Techniques for Moving a Table to a New Location).