This topic describes how to use the Table Management feature in HoloWeb to delete tables and view historical deletion records.
Limitations
-
A superuser can view and manage all tables. A regular user can only view and manage tables they have permission to access.
-
A superuser can view all deletion records. A regular user can only view their own deletion records. For more information about Hologres permissions, see Hologres permission model.
-
You can only view deletion records from the last month.
Feature access
Log on to the Hologres management console.
In the top navigation bar, select a region.
Click Go to HoloWeb to open the HoloWeb developer page.
-
In the top navigation bar of the HoloWeb page, click Diagnostics and Optimization.
Table management
Go to the Diagnostics and Optimization page as described in Feature access, and then perform the following steps.
-
On the Diagnostics and Optimization page, click in the navigation pane on the left.
-
On the Table Management page, configure the following filter parameters.
Parameter
Required
Description
Instance Name
Yes
The instance that contains the tables to manage. Defaults to the current instance.
Database
Yes
The database that contains the tables to manage. Defaults to the current database.
Schema
Yes
The name of the schema that contains the tables to manage.
Type
Yes
The type of object to manage. You can select one of the following:
-
Table.
-
Partitioned parent table.
-
Foreign table.
-
View.
-
Materialized view.
Table Name
No
The name of the table to find. Fuzzy search is supported.
Number of rows to return
Yes
The number of rows to return in the list. Maximum: 2,000.
-
-
Click Search to view the list of tables that match your filter criteria.
In the Actions column for a table, click Delete to delete the table. You can also select multiple tables and click Batch Remove.
Deletion history
Go to the Diagnostics and Optimization page as described in Feature access, and then perform the following steps.
-
On the Diagnostics and Optimization page, click in the navigation pane on the left.
-
On the Table Management page, click the Historical Deletion Records tab.
-
On the Historical Deletion Records tab, configure the following filter parameters.
Parameter
Required
Description
Instance Name
Yes
The instance that contains the deletion records to view. Defaults to the current instance.
Database
Yes
The database that contains the deletion records to view. Defaults to the current database.
Table Name
No
The name of the table to find records for. Fuzzy search is supported.
Time Range
Yes
The time range of the deletion records.
NoteYou can only view deletion records from the last month.
-
Click Search to view the deletion records.
You can filter the records by Instance Name, Database, Table Name (fuzzy search supported), and Time Range. For the time range, you can select quick options such as the last 10 minutes, last hour, or last 7 days. The results table includes columns such as No., Database, Query, Query Id, User Name, and Start Time.