Changing a Dbspace to Read-Only

Change a dbspace to read-only mode.

Prerequisites
Database Version Dbspace Privileges
SAP Sybase IQ 15.3 and 15.4 Requires one of:
  • DBA authority.
  • SPACE ADMIN authority.
SAP Sybase IQ 16.0 Requires MANAGE ANY DBSPACE system privilege.
Task

You can add a new DB file to a read-only dbspace. You cannot delete a DB file from a read-only dbspace.

You can change paths of DB files in a read-only offline dbspace.
Note: Changing the file path here does not move the file to the new location. If a file is moved, changing the path here only informs the SAP Sybase IQ server of the new file location.

IQ_SYSTEM_MAIN and IQ_SHARED_TEMP dbspaces cannot be read-only.

  1. In the Perspective Resources view, select the resource and select Resource > Administration Console.
  2. In the left pane, select IQ Servers > Space Management > Dbspaces.
  3. Select a dbspace from the right pane and either:
    • Click the arrow to the right of the name and select Properties, or
    • From the Administration Console menu bar, select Resource > Properties.
    The Dbspace Properties view appears.
  4. On the General page, click ReadOnly mode.
  5. Set Status to Online or Offline.
  6. Click OK.
Related tasks
Creating a Dbspace
Deleting (Dropping) a Dbspace
Preallocating Space for a Dbspace
Generating Dbspace DDL Commands
Viewing or Modifying Dbspace Properties
Granting Dbspace CREATE Permission
Revoking Dbspace CREATE Permission
Authenticating a Login Account for a Managed Resource
Related reference
Dbspace Privilege Summary