Creating a User-Defined File

DBMaker allows users to create data files or BLOB files and add them to a tablespace even when the original tablespace is filled. A logical file name can be specified (without a full path name being specified) when creating a file. The logical file name can later be mapped to a physical file name used by the operating system to access the file. This setting corresponds to the User-defined filename keyword in the dmconfig.ini file.

When creating multiple files on a raw device please keep in mind:

To create a user-defined file:

1.  To create a user-defined file, click the New button at the bottom of the User Files field. The following dialog box appears:

2.   Enter the logical file name in the Logical file name field (this is the path referenced by SQL commands and by DBMaker to reference the data).

3.   Enter a Physical File Name by entering a new path into the Physical file name field, or click The Browse Button (). This is the operating system path. The maximum length for the physical file name path is 256 characters.

4.   If you are running in a UNIX environment set the file offset in the Raw Device Offset field.

5.   Enter a value into the File size box. This indicates the number of data pages allocated for the user-defined file. There are three unit options for page size: Page, M (megabytes), and G (gigabytes). Please note that the actual size will be 1 page less than the specified value when using M or G. The range of values for the number of data pages is between 2 and 524,287 bytes.

6.   Click OK. A new user-defined file appears in the User Files field. The Logical File Name, Physical File name, and number of pages can be changed after the user-defined file has been created. Double-clicking the text allows the user to edit it. This is useful if data files are moved within the operating system directory. DBMaker does not recognize a change in the physical file name unless it is specified here.

7.   To delete a user-defined file click Remove. DBMaker no longer recognizes the logical file name.