检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Examples -- Create the adt1 policy. gaussdb=#CREATE AUDIT POLICY adt1 PRIVILEGES CREATE; CREATE AUDIT POLICY -- Delete the audit policy adt1. gaussdb=#DROP AUDIT POLICY adt1; DROP AUDIT POLICY -- When you delete the audit policy adt0 that does not exist, the system displays a message
You are advised not to write, modify, or delete the redis_bucket_expansion parameter. The parameter name has been used to indicate that the cluster is being scaled. Parent topic: Other System Catalogs
Global temporary tables can be created using ON COMMIT PRESERVE ROWS or ON COMMIT DELETE ROWS.
r_reason_sk < 6 ); gaussdb=# DELETE FROM tpcds.reason_t1 WHERE r_reason_sk = 7; gaussdb=# COMMIT; -- Delete the tpcds.reason_t1 table. gaussdb=# DROP TABLE tpcds.reason_t1; -- Delete the table. gaussdb=# DROP TABLE tpcds.reason; -- Delete a schema. gaussdb=# DROP SCHEMA tpcds
the view. gaussdb=# DROP VIEW tpcds.customer_details_view_v2; -- Delete the tpcds.customer_demographics_t2 table. gaussdb=# DROP TABLE tpcds.customer_demographics_t2; -- Delete the tpcds.customer table. gaussdb=# DROP TABLE tpcds.customer; -- Delete a schema. gaussdb=# DROP SCHEMA
If you fail to delete an object whose name is truncated mistakenly, specify its original name to delete it, or manually delete it from the corresponding system catalog on each node.
If you fail to delete an object whose name is truncated mistakenly, specify its original name to delete it, or manually delete it from the corresponding system catalog on each node.
the test_clean_connection database. gaussdb=#DROP DATABASE test_clean_connection; -- Delete user jack. gaussdb=#DROP USER jack; Parent topic: C
Syntax Add or delete an operation type in the audit policy. ALTER AUDIT POLICY [ IF EXISTS ] policy_name { ADD | REMOVE } { [ privilege_audit_clause ] [ access_audit_clause ] }; Change the filter criteria in the audit policy.
r_reason_sk < 6 ); gaussdb=# DELETE FROM tpcds.reason_t1 WHERE r_reason_sk = 7; gaussdb=# COMMIT; -- Delete the tpcds.reason_t1 table. gaussdb=# DROP TABLE tpcds.reason_t1; -- Drop the table. gaussdb=# DROP TABLE tpcds.reason; -- Delete a schema. gaussdb=# DROP SCHEMA tpcds CASCADE
You can delete and re-create system catalogs, add columns to them, and insert and update values in them, but doing so may make system information inconsistent and cause system faults. Generally, users should not modify system catalogs or system views, or rename their schemas.
CREATE TABLESPACE Suggestions Do not delete tablespaces during transactions using DROP TABLESPACE.
Examples -- Create the adt1 policy. m_db=# CREATE AUDIT POLICY adt1 PRIVILEGES CREATE; CREATE AUDIT POLICY -- Delete the audit policy adt1. m_db=# DROP AUDIT POLICY adt1; DROP AUDIT POLICY -- When you delete the audit policy adt0 that does not exist, the system displays a message
Examples -- Create the adt1 policy. m_db=# CREATE AUDIT POLICY adt1 PRIVILEGES CREATE; CREATE AUDIT POLICY -- Delete the audit policy adt1. m_db=# DROP AUDIT POLICY adt1; DROP AUDIT POLICY -- When you delete the audit policy adt0 that does not exist, the system displays a message
dir; -- Delete the user. gaussdb=# DROP USER jim; Helpful Links CREATE DIRECTORY and DROP DIRECTORY Parent topic: SQL Syntax
You can delete and re-create system catalogs, add columns to them, and insert and update values in them, but doing so may make system information inconsistent and cause system faults. Generally, users should not modify system catalogs or system views, or rename their schemas.
the directory object. gaussdb=#DROP DIRECTORY dir; -- Delete the user. gaussdb=#DROP USER jim; Helpful Links CREATE DIRECTORY and DROP DIRECTORY Parent topic: A
dir; -- Delete the user. gaussdb=#DROP USER jim; Helpful Links CREATE DIRECTORY and DROP DIRECTORY Parent topic: A
DELETE NODE ( nodename [, ... ] ) Deletes nodes from the node group specified by groupname. The deleted nodes still exist in the PGXC_NODE system catalog. This statement only modifies the system catalog and does not delete nodes or redistribute data. Do not call this statement.
FOR SHARE/UPDATE is used to lock rows in a transaction, other transactions cannot modify or delete these rows. When FOR SHARE is used to lock a row, the current transaction and other transactions cannot modify or delete the locked row.