Databases
You can access database information by using the web console.
Information about databases
Value | Description |
---|---|
Name | Specifies the name of the database. |
Default schema | Specifies the deafult schema. |
Owner | Specifies the owner of the database. |
User tables | Specifies the number of tables that are created in the database. |
Character set | Specifies the character set for the database. |
Created on | Specifies when the database was created. |
Creating databases
- Go to Databases.
- Click Create database after selecting following options:
- Netezza
- Lakehouse
- Add all inputs based on the option selected. Type a name for the database. If the name contains special characters, enclose it in double quotation marks. The dot character (".") is not supported.
- Optional: Specify the retention time interval (in days) for the database. You can select between 1 day and up to 99 days. For more information on retention time interval and time travel, see NPSaaS time travel.
- Click Create.
Assigning owners to databases
- Go to Databases.
- Select the database for which you want to assing an owner.
- From the overflow menu, click Assign owner.
- Select an owner for the database.
- Click Assign.
Renaming databases
- Go to Databases.
- Select the database that you want to rename.
- From the overflow menu, click Rename.
- Type a new name for the database. If the name contains special characters, enclose it in double quotation marks. The dot character (".") is not supported.
- Click Rename.
Updating retention time interval (time travel) for databases
- Go to Databases.
- Select the database for which you want to update the retention time interval.
- From the overflow menu, click Update interval.
- Type a retention time interval. You can select between 1 day and up to 99 days, or zero to alter a temporal database to nontemporal. For more information on retention time interval and time travel, see NPSaaS time travel.
- Click Save.
Viewing privileges for databases
- Go to Databases.
- Select the database which privileges you want to view.
- From the overflow menu, click Show privileges. A list of privileges is now displayed.
Dropping databases
- Go to Databases.
- Select the database that you want to drop.
- From the overflow menu, click Drop.
- Confirm your choice by clicking Drop.