Creating a Temporary Database

Create a temporary database using the Sybase Control Center Administration Console.

Prerequisites

Consider these database attributes:

Task

Sybase Control Center provides a wizard to create a temporary database.

  1. In the left pane of the Administration Console, expand ASE Servers > Schema Objects > Databases.
  2. Click Temporary Databases.
  3. Click the drop-down arrow and select New.
    You see the Add Temporary Database Wizard.
  4. On the Introduction screen, select the server in which to create a database.
  5. (Optional) For a cluster environment, click Create this as a local temporary database, then select the online instance on which to create the database.
    For the Cluster Edition, you can create local user temporary databases on private devices, but you must create local system temporary databases on shared devices. Local file system devices (block devices) can be used for managing the storage needs of temporary data in the cluster. These devices are added as private devices and can only be used by local user temporary databases.
  6. On the Database screen, enter the name of the database you want to create.
  7. (Optional) For a cluster environment, on the Temporary Database Group screen, select the group in which to add the local temporary database.
    You can only add a local temporary database to a temporary database group. Global temporary databases cannot be added to a temporary database group.
  8. (Optional) On the Devices screen, enter the size of the new database. If you do not enter a size, the default size allocated is 3MB. You can specify separately the amount of space to allocate to the log and data segments.
  9. (Optional) On the Options screen, select:
    • With override to store the log and data on the same logical device - Sybase does not recommend this.
  10. (Optional) On the Data Compression screen, select:
    • Data compression for the entire database – choose either page-level or row-level compression. If you choose neither option, then data is not compressed.
    • LOB compression – choose from levels 0 – 9, 100, or 101.
    • In-row LOB length – choose the length of the LOB column to be saved in-row. To disallow in-row LOB storage in the database, set the length to 0.
  11. (Optional) On the Temporary Database Group screen, select the database group that the temporary database belongs to.
  12. (Optional) Click Summary to view your selected options.
Related tasks
Creating a User Database
Creating a Proxy Database
Creating an Archive Database
Creating an In-Memory Database
Creating an In-Memory Temporary Database
Creating a Temporary Database Group
Mounting an Adaptive Server Database
Related reference
Database Properties