doc-exports/docs/dws/dev/CLASS.TXT.json
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

8507 lines
298 KiB
JSON
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Developer Guide",
"uri":"dws_04_1000.html",
"doc_type":"devg",
"p_code":"",
"code":"1"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Welcome",
"uri":"dws_04_0001.html",
"doc_type":"devg",
"p_code":"1",
"code":"2"
},
{
"desc":"This document is intended for database designers, application developers, and database administrators, and provides information required for designing, building, querying",
"product_code":"dws",
"title":"Target Readers",
"uri":"dws_04_0002.html",
"doc_type":"devg",
"p_code":"2",
"code":"3"
},
{
"desc":"If you are a new GaussDB(DWS) user, you are advised to read the following contents first:Sections describing the features, functions, and application scenarios of GaussDB",
"product_code":"dws",
"title":"Reading Guide",
"uri":"dws_04_0004.html",
"doc_type":"devg",
"p_code":"2",
"code":"4"
},
{
"desc":"SQL examples in this manual are developed based on the TPC-DS model. Before you execute the examples, install the TPC-DS benchmark by following the instructions on the of",
"product_code":"dws",
"title":"Conventions",
"uri":"dws_04_0005.html",
"doc_type":"devg",
"p_code":"2",
"code":"5"
},
{
"desc":"Complete the following tasks before you perform operations described in this document:Create a GaussDB(DWS) cluster.Install an SQL client.Connect the SQL client to the de",
"product_code":"dws",
"title":"Prerequisites",
"uri":"dws_04_0006.html",
"doc_type":"devg",
"p_code":"2",
"code":"6"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"System Overview",
"uri":"dws_04_0007.html",
"doc_type":"devg",
"p_code":"1",
"code":"7"
},
{
"desc":"GaussDB(DWS) manages cluster transactions, the basis of HA and failovers. This ensures speedy fault recovery, guarantees the Atomicity, Consistency, Isolation, Durability",
"product_code":"dws",
"title":"Highly Reliable Transaction Processing",
"uri":"dws_04_0011.html",
"doc_type":"devg",
"p_code":"7",
"code":"8"
},
{
"desc":"The following GaussDB(DWS) features help achieve high query performance.GaussDB(DWS) is an MPP system with the shared-nothing architecture. It consists of multiple indepe",
"product_code":"dws",
"title":"High Query Performance",
"uri":"dws_04_0012.html",
"doc_type":"devg",
"p_code":"7",
"code":"9"
},
{
"desc":"A database manages data objects and is isolated from other databases. While creating a database, you can specify a tablespace. If you do not specify it, database objects ",
"product_code":"dws",
"title":"Related Concepts",
"uri":"dws_04_0015.html",
"doc_type":"devg",
"p_code":"7",
"code":"10"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Data Migration",
"uri":"dws_04_0985.html",
"doc_type":"devg",
"p_code":"1",
"code":"11"
},
{
"desc":"GaussDB(DWS) provides flexible methods for importing data. You can import data from different sources to GaussDB(DWS). The features of each method are listed in Table 1. ",
"product_code":"dws",
"title":"Data Migration to GaussDB(DWS)",
"uri":"dws_04_0180.html",
"doc_type":"devg",
"p_code":"11",
"code":"12"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Data Import",
"uri":"dws_04_0179.html",
"doc_type":"devg",
"p_code":"11",
"code":"13"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Importing Data from OBS in Parallel",
"uri":"dws_04_0181.html",
"doc_type":"devg",
"p_code":"13",
"code":"14"
},
{
"desc":"The object storage service (OBS) is an object-based cloud storage service, featuring data storage of high security, proven reliability, and cost-effectiveness. OBS provid",
"product_code":"dws",
"title":"About Parallel Data Import from OBS",
"uri":"dws_04_0182.html",
"doc_type":"devg",
"p_code":"14",
"code":"15"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Importing CSV/TXT Data from the OBS",
"uri":"dws_04_0154.html",
"doc_type":"devg",
"p_code":"14",
"code":"16"
},
{
"desc":"In this example, OBS data is imported to GaussDB(DWS) databases. When users who have registered with the cloud platform access OBS using clients, call APIs, or SDKs, acce",
"product_code":"dws",
"title":"Creating Access Keys (AK and SK)",
"uri":"dws_04_0183.html",
"doc_type":"devg",
"p_code":"16",
"code":"17"
},
{
"desc":"Before importing data from OBS to a cluster, prepare source data files and upload these files to OBS. If the data files have been stored on OBS, you only need to complete",
"product_code":"dws",
"title":"Uploading Data to OBS",
"uri":"dws_04_0184.html",
"doc_type":"devg",
"p_code":"16",
"code":"18"
},
{
"desc":"format: format of the source data file in the foreign table. OBS foreign tables support CSV and TEXT formats. The default value is TEXT.header: Whether the data file cont",
"product_code":"dws",
"title":"Creating an OBS Foreign Table",
"uri":"dws_04_0185.html",
"doc_type":"devg",
"p_code":"16",
"code":"19"
},
{
"desc":"Before importing data, you are advised to optimize your design and deployment based on the following excellent practices, helping maximize system resource utilization and",
"product_code":"dws",
"title":"Importing Data",
"uri":"dws_04_0186.html",
"doc_type":"devg",
"p_code":"16",
"code":"20"
},
{
"desc":"Handle errors that occurred during data import.Errors that occur when data is imported are divided into data format errors and non-data format errors.Data format errorWhe",
"product_code":"dws",
"title":"Handling Import Errors",
"uri":"dws_04_0187.html",
"doc_type":"devg",
"p_code":"16",
"code":"21"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Importing ORC/CarbonData Data from OBS",
"uri":"dws_04_0155.html",
"doc_type":"devg",
"p_code":"14",
"code":"22"
},
{
"desc":"Before you use the SQL on OBS feature to query OBS data:You have stored the ORC data on OBS.For example, the ORC table has been created when you use the Hive or Spark com",
"product_code":"dws",
"title":"Preparing Data on OBS",
"uri":"dws_04_0243.html",
"doc_type":"devg",
"p_code":"22",
"code":"23"
},
{
"desc":"This section describes how to create a foreign server that is used to define the information about OBS servers and is invoked by foreign tables. For details about the syn",
"product_code":"dws",
"title":"Creating a Foreign Server",
"uri":"dws_04_0244.html",
"doc_type":"devg",
"p_code":"22",
"code":"24"
},
{
"desc":"After performing steps in Creating a Foreign Server, create an OBS foreign table in the GaussDB(DWS) database to access the data stored in OBS. An OBS foreign table is re",
"product_code":"dws",
"title":"Creating a Foreign Table",
"uri":"dws_04_0245.html",
"doc_type":"devg",
"p_code":"22",
"code":"25"
},
{
"desc":"If the data amount is small, you can directly run SELECT to query the foreign table and view the data on OBS.If the query result is the same as the data in Original Data,",
"product_code":"dws",
"title":"Querying Data on OBS Through Foreign Tables",
"uri":"dws_04_0246.html",
"doc_type":"devg",
"p_code":"22",
"code":"26"
},
{
"desc":"After completing operations in this tutorial, if you no longer need to use the resources created during the operations, you can delete them to avoid resource waste or quo",
"product_code":"dws",
"title":"Deleting Resources",
"uri":"dws_04_0247.html",
"doc_type":"devg",
"p_code":"22",
"code":"27"
},
{
"desc":"In the big data field, the mainstream file format is ORC, which is supported by GaussDB(DWS). You can use Hive to export data to an ORC file and use a read-only foreign t",
"product_code":"dws",
"title":"Supported Data Types",
"uri":"dws_04_0156.html",
"doc_type":"devg",
"p_code":"22",
"code":"28"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Using GDS to Import Data from a Remote Server",
"uri":"dws_04_0189.html",
"doc_type":"devg",
"p_code":"13",
"code":"29"
},
{
"desc":"INSERT and COPY statements are serially executed to import a small volume of data. To import a large volume of data to GaussDB(DWS), you can use GDS to import data in par",
"product_code":"dws",
"title":"Importing Data In Parallel Using GDS",
"uri":"dws_04_0190.html",
"doc_type":"devg",
"p_code":"29",
"code":"30"
},
{
"desc":"Generally, the data to be imported has been uploaded to the data server. In this case, you only need to check the communication between the data server and GaussDB(DWS), ",
"product_code":"dws",
"title":"Preparing Source Data",
"uri":"dws_04_0192.html",
"doc_type":"devg",
"p_code":"29",
"code":"31"
},
{
"desc":"GaussDB(DWS) uses GDS to allocate the source data for parallel data import. Deploy GDS on the data server.If a large volume of data is stored on multiple data servers, in",
"product_code":"dws",
"title":"Installing, Configuring, and Starting GDS",
"uri":"dws_04_0193.html",
"doc_type":"devg",
"p_code":"29",
"code":"32"
},
{
"desc":"The source data information and GDS access information are configured in a foreign table. Then, GaussDB(DWS) can import data from a data server to a database table based ",
"product_code":"dws",
"title":"Creating a GDS Foreign Table",
"uri":"dws_04_0194.html",
"doc_type":"devg",
"p_code":"29",
"code":"33"
},
{
"desc":"This section describes how to create tables in GaussDB(DWS) and import data to the tables.Before importing all the data from a table containing over 10 million records, y",
"product_code":"dws",
"title":"Importing Data",
"uri":"dws_04_0195.html",
"doc_type":"devg",
"p_code":"29",
"code":"34"
},
{
"desc":"Handle errors that occurred during data import.Errors that occur when data is imported are divided into data format errors and non-data format errors.Data format errorWhe",
"product_code":"dws",
"title":"Handling Import Errors",
"uri":"dws_04_0196.html",
"doc_type":"devg",
"p_code":"29",
"code":"35"
},
{
"desc":"Stop GDS after data is imported successfully.If GDS is started using the gds command, perform the following operations to stop GDS:Query the GDS process ID:ps -ef|grep gd",
"product_code":"dws",
"title":"Stopping GDS",
"uri":"dws_04_0197.html",
"doc_type":"devg",
"p_code":"29",
"code":"36"
},
{
"desc":"The data servers and the cluster reside on the same intranet. The IP addresses are 192.168.0.90 and 192.168.0.91. Source data files are in CSV format.Create the target ta",
"product_code":"dws",
"title":"Example of Importing Data Using GDS",
"uri":"dws_04_0198.html",
"doc_type":"devg",
"p_code":"29",
"code":"37"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Importing Data from MRS to a Cluster",
"uri":"dws_04_0210.html",
"doc_type":"devg",
"p_code":"13",
"code":"38"
},
{
"desc":"MRS is a big data cluster running based on the open-source Hadoop ecosystem. It provides the industry's latest cutting-edge storage and analytical capabilities of massive",
"product_code":"dws",
"title":"Overview",
"uri":"dws_04_0066.html",
"doc_type":"devg",
"p_code":"38",
"code":"39"
},
{
"desc":"Before importing data from MRS to a GaussDB(DWS) cluster, you must have:Created an MRS cluster.Created the Hive/Spark ORC table in the MRS cluster and stored the table da",
"product_code":"dws",
"title":"Preparing Data in an MRS Cluster",
"uri":"dws_04_0212.html",
"doc_type":"devg",
"p_code":"38",
"code":"40"
},
{
"desc":"In the syntax CREATE FOREIGN TABLE (SQL on Hadoop or OBS) for creating a foreign table, you need to specify a foreign server associated with the MRS data source connectio",
"product_code":"dws",
"title":"Manually Creating a Foreign Server",
"uri":"dws_04_0213.html",
"doc_type":"devg",
"p_code":"38",
"code":"41"
},
{
"desc":"This section describes how to create a Hadoop foreign table in the GaussDB(DWS) database to access the Hadoop structured data stored on MRS HDFS. A Hadoop foreign table i",
"product_code":"dws",
"title":"Creating a Foreign Table",
"uri":"dws_04_0214.html",
"doc_type":"devg",
"p_code":"38",
"code":"42"
},
{
"desc":"If the data amount is small, you can directly run SELECT to query the foreign table and view the data in the MRS data source.If the query result is the same as the data i",
"product_code":"dws",
"title":"Importing Data",
"uri":"dws_04_0215.html",
"doc_type":"devg",
"p_code":"38",
"code":"43"
},
{
"desc":"After completing operations in this tutorial, if you no longer need to use the resources created during the operations, you can delete them to avoid resource waste or quo",
"product_code":"dws",
"title":"Deleting Resources",
"uri":"dws_04_0216.html",
"doc_type":"devg",
"p_code":"38",
"code":"44"
},
{
"desc":"The following error information indicates that GaussDB(DWS) is to read an ORC data file but the actual file is in text format. Therefore, create a table of the Hive ORC t",
"product_code":"dws",
"title":"Error Handling",
"uri":"dws_04_0217.html",
"doc_type":"devg",
"p_code":"38",
"code":"45"
},
{
"desc":"You can create foreign tables to perform associated queries and import data between clusters.Import data from one GaussDB(DWS) cluster to another.Perform associated queri",
"product_code":"dws",
"title":"Importing Data from One GaussDB(DWS) Cluster to Another",
"uri":"dws_04_0949.html",
"doc_type":"devg",
"p_code":"13",
"code":"46"
},
{
"desc":"The gsql tool of GaussDB(DWS) provides the \\copy meta-command to import data.For details about the \\copy command, see Table 1.tableSpecifies the name (possibly schema-qua",
"product_code":"dws",
"title":"Using the gsql Meta-Command \\COPY to Import Data",
"uri":"dws_04_0208.html",
"doc_type":"devg",
"p_code":"13",
"code":"47"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Running the COPY FROM STDIN Statement to Import Data",
"uri":"dws_04_0203.html",
"doc_type":"devg",
"p_code":"13",
"code":"48"
},
{
"desc":"This method is applicable to low-concurrency scenarios where a small volume of data is to be imported.Use either of the following methods to write data to GaussDB(DWS) us",
"product_code":"dws",
"title":"Data Import Using COPY FROM STDIN",
"uri":"dws_04_0204.html",
"doc_type":"devg",
"p_code":"48",
"code":"49"
},
{
"desc":"CopyManager is an API interface class provided by the JDBC driver in GaussDB(DWS). It is used to import data to GaussDB(DWS) in batches.The CopyManager class is in the or",
"product_code":"dws",
"title":"Introduction to the CopyManager Class",
"uri":"dws_04_0205.html",
"doc_type":"devg",
"p_code":"48",
"code":"50"
},
{
"desc":"When the JAVA language is used for secondary development based on GaussDB(DWS), you can use the CopyManager interface to export data from the database to a local file or ",
"product_code":"dws",
"title":"Example: Importing and Exporting Data Through Local Files",
"uri":"dws_04_0206.html",
"doc_type":"devg",
"p_code":"48",
"code":"51"
},
{
"desc":"The following example shows how to use CopyManager to migrate data from MySQL to GaussDB(DWS).",
"product_code":"dws",
"title":"Example: Migrating Data from MySQL to GaussDB(DWS)",
"uri":"dws_04_0207.html",
"doc_type":"devg",
"p_code":"48",
"code":"52"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Full Database Migration",
"uri":"dws_04_0986.html",
"doc_type":"devg",
"p_code":"11",
"code":"53"
},
{
"desc":"You can use CDM to migrate data from other data sources (for example, MySQL) to the databases in clusters on GaussDB(DWS).For details about scenarios where CDM is used to",
"product_code":"dws",
"title":"Using CDM to Migrate Data to GaussDB(DWS)",
"uri":"dws_04_0219.html",
"doc_type":"devg",
"p_code":"53",
"code":"54"
},
{
"desc":"The DSC is a CLI tool running on the Linux or Windows OS. It is dedicated to providing customers with simple, fast, and reliable application SQL script migration services",
"product_code":"dws",
"title":"Using DSC to Migrate SQL Scripts",
"uri":"dws_01_0127.html",
"doc_type":"devg",
"p_code":"53",
"code":"55"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Metadata Migration",
"uri":"dws_04_0987.html",
"doc_type":"devg",
"p_code":"11",
"code":"56"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Using gs_dump and gs_dumpall to Export Metadata",
"uri":"dws_04_0269.html",
"doc_type":"devg",
"p_code":"56",
"code":"57"
},
{
"desc":"GaussDB(DWS) provides gs_dump and gs_dumpall to export required database objects and related information. To migrate database information, you can use a tool to import th",
"product_code":"dws",
"title":"Overview",
"uri":"dws_04_0270.html",
"doc_type":"devg",
"p_code":"57",
"code":"58"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Exporting a Single Database",
"uri":"dws_04_0271.html",
"doc_type":"devg",
"p_code":"57",
"code":"59"
},
{
"desc":"You can use gs_dump to export data and all object definitions of a database from GaussDB(DWS). You can specify the information to be exported as follows:Export full infor",
"product_code":"dws",
"title":"Exporting a Database",
"uri":"dws_04_0272.html",
"doc_type":"devg",
"p_code":"59",
"code":"60"
},
{
"desc":"You can use gs_dump to export data and all object definitions of a schema from GaussDB(DWS). You can export one or more specified schemas as needed. You can specify the i",
"product_code":"dws",
"title":"Exporting a Schema",
"uri":"dws_04_0273.html",
"doc_type":"devg",
"p_code":"59",
"code":"61"
},
{
"desc":"You can use gs_dump to export data and all object definitions of a table-level object from GaussDB(DWS). Views, sequences, and foreign tables are special tables. You can ",
"product_code":"dws",
"title":"Exporting a Table",
"uri":"dws_04_0274.html",
"doc_type":"devg",
"p_code":"59",
"code":"62"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Exporting All Databases",
"uri":"dws_04_0275.html",
"doc_type":"devg",
"p_code":"57",
"code":"63"
},
{
"desc":"You can use gs_dumpall to export full information of all databases in a cluster from GaussDB(DWS), including information about each database and global objects in the clu",
"product_code":"dws",
"title":"Exporting All Databases",
"uri":"dws_04_0276.html",
"doc_type":"devg",
"p_code":"63",
"code":"64"
},
{
"desc":"You can use gs_dumpall to export global objects from GaussDB(DWS), including database users, user groups, tablespaces, and attributes (for example, global access permissi",
"product_code":"dws",
"title":"Exporting Global Objects",
"uri":"dws_04_0277.html",
"doc_type":"devg",
"p_code":"63",
"code":"65"
},
{
"desc":"gs_dump and gs_dumpall use -U to specify the user that performs the export. If the specified user does not have the required permission, data cannot be exported. In this ",
"product_code":"dws",
"title":"Data Export By a User Without Required Permissions",
"uri":"dws_04_0278.html",
"doc_type":"devg",
"p_code":"57",
"code":"66"
},
{
"desc":"gs_restore is an import tool provided by GaussDB(DWS). You can use gs_restore to import the files exported by gs_dump to a database. gs_restore can import the files in .t",
"product_code":"dws",
"title":"Using gs_restore to Import Data",
"uri":"dws_04_0209.html",
"doc_type":"devg",
"p_code":"56",
"code":"67"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Data Export",
"uri":"dws_04_0249.html",
"doc_type":"devg",
"p_code":"11",
"code":"68"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Exporting Data to OBS",
"uri":"dws_04_0250.html",
"doc_type":"devg",
"p_code":"68",
"code":"69"
},
{
"desc":"GaussDB(DWS) databases allow you to export data in parallel using OBS foreign tables, in which the export mode and the exported data format are specified. Data is exporte",
"product_code":"dws",
"title":"Parallel OBS Data Export",
"uri":"dws_04_0251.html",
"doc_type":"devg",
"p_code":"69",
"code":"70"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Exporting CSV/TXT Data to OBS",
"uri":"dws_04_0157.html",
"doc_type":"devg",
"p_code":"69",
"code":"71"
},
{
"desc":"Plan the storage location of exported data in OBS.You need to specify the OBS path (to directory) for storing data that you want to export. The exported data can be saved",
"product_code":"dws",
"title":"Planning Data Export",
"uri":"dws_04_0252.html",
"doc_type":"devg",
"p_code":"71",
"code":"72"
},
{
"desc":"To obtain access keys, log in to the management console, click the username in the upper right corner, and select My Credential from the menu. Then choose Access Keys in ",
"product_code":"dws",
"title":"Creating an OBS Foreign Table",
"uri":"dws_04_0253.html",
"doc_type":"devg",
"p_code":"71",
"code":"73"
},
{
"desc":"Example 1: Export data from table product_info_output to a data file through the product_info_output_ext foreign table.INSERT INTO product_info_output_ext SELECT * FROM p",
"product_code":"dws",
"title":"Exporting Data",
"uri":"dws_04_0254.html",
"doc_type":"devg",
"p_code":"71",
"code":"74"
},
{
"desc":"Create two foreign tables and use them to export tables from a database to two buckets in OBS.OBS and the database are in the same region. The example GaussDB(DWS) table ",
"product_code":"dws",
"title":"Examples",
"uri":"dws_04_0255.html",
"doc_type":"devg",
"p_code":"71",
"code":"75"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Exporting ORC Data to OBS",
"uri":"dws_04_0256.html",
"doc_type":"devg",
"p_code":"69",
"code":"76"
},
{
"desc":"For details about exporting data to OBS, see Planning Data Export.For details about the data types that can be exported to OBS, see Table 2.For details about HDFS data ex",
"product_code":"dws",
"title":"Planning Data Export",
"uri":"dws_04_0258.html",
"doc_type":"devg",
"p_code":"76",
"code":"77"
},
{
"desc":"For details about creating a foreign server on OBS, see Creating a Foreign Server.For details about creating a foreign server in HDFS, see Manually Creating a Foreign Ser",
"product_code":"dws",
"title":"Creating a Foreign Server",
"uri":"dws_04_0259.html",
"doc_type":"devg",
"p_code":"76",
"code":"78"
},
{
"desc":"After operations in Creating a Foreign Server are complete, create an OBS/HDFS write-only foreign table in the GaussDB(DWS) database to access data stored in OBS/HDFS. Th",
"product_code":"dws",
"title":"Creating a Foreign Table",
"uri":"dws_04_0260.html",
"doc_type":"devg",
"p_code":"76",
"code":"79"
},
{
"desc":"Example 1: Export data from table product_info_output to a data file using the product_info_output_ext foreign table.INSERT INTO product_info_output_ext SELECT * FROM pro",
"product_code":"dws",
"title":"Exporting Data",
"uri":"dws_04_0158.html",
"doc_type":"devg",
"p_code":"76",
"code":"80"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Exporting ORC Data to MRS",
"uri":"dws_04_0159.html",
"doc_type":"devg",
"p_code":"68",
"code":"81"
},
{
"desc":"GaussDB(DWS) allows you to export ORC data to MRS using an HDFS foreign table. You can specify the export mode and export data format in the foreign table. Data is export",
"product_code":"dws",
"title":"Overview",
"uri":"dws_04_0160.html",
"doc_type":"devg",
"p_code":"81",
"code":"82"
},
{
"desc":"For details about the data types that can be exported to MRS, see Table 2.For details about HDFS data export or MRS configuration, see the MapReduce Service User Guide.",
"product_code":"dws",
"title":"Planning Data Export",
"uri":"dws_04_0161.html",
"doc_type":"devg",
"p_code":"81",
"code":"83"
},
{
"desc":"For details about creating a foreign server on HDFS, see Manually Creating a Foreign Server.",
"product_code":"dws",
"title":"Creating a Foreign Server",
"uri":"dws_04_0162.html",
"doc_type":"devg",
"p_code":"81",
"code":"84"
},
{
"desc":"After operations in Creating a Foreign Server are complete, create an HDFS write-only foreign table in the GaussDB(DWS) database to access data stored in HDFS. The foreig",
"product_code":"dws",
"title":"Creating a Foreign Table",
"uri":"dws_04_0163.html",
"doc_type":"devg",
"p_code":"81",
"code":"85"
},
{
"desc":"Example 1: Export data from table product_info_output to a data file using the product_info_output_ext foreign table.INSERT INTO product_info_output_ext SELECT * FROM pro",
"product_code":"dws",
"title":"Exporting Data",
"uri":"dws_04_0164.html",
"doc_type":"devg",
"p_code":"81",
"code":"86"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Using GDS to Export Data to a Remote Server",
"uri":"dws_04_0261.html",
"doc_type":"devg",
"p_code":"68",
"code":"87"
},
{
"desc":"In high-concurrency scenarios, you can use GDS to export data from a database to a common file system.In the current GDS version, data can be exported from a database to ",
"product_code":"dws",
"title":"Exporting Data In Parallel Using GDS",
"uri":"dws_04_0262.html",
"doc_type":"devg",
"p_code":"87",
"code":"88"
},
{
"desc":"Before you use GDS to export data from a cluster, prepare data to be exported and plan the export path.Remote modeIf the following information is displayed, the user and ",
"product_code":"dws",
"title":"Planning Data Export",
"uri":"dws_04_0263.html",
"doc_type":"devg",
"p_code":"87",
"code":"89"
},
{
"desc":"GDS is a data service tool provided by GaussDB(DWS). Using the foreign table mechanism, this tool helps export data at a high speed.For details, see Installing, Configuri",
"product_code":"dws",
"title":"Installing, Configuring, and Starting GDS",
"uri":"dws_04_0264.html",
"doc_type":"devg",
"p_code":"87",
"code":"90"
},
{
"desc":"Remote modeSet the location parameter to the URL of the directory that stores the data files.You do not need to specify any file.For example:The IP address of the GDS dat",
"product_code":"dws",
"title":"Creating a GDS Foreign Table",
"uri":"dws_04_0265.html",
"doc_type":"devg",
"p_code":"87",
"code":"91"
},
{
"desc":"Ensure that the IP addresses and ports of servers where CNs and DNs are deployed can connect to those of the GDS server.Create batch processing scripts to export data in ",
"product_code":"dws",
"title":"Exporting Data",
"uri":"dws_04_0266.html",
"doc_type":"devg",
"p_code":"87",
"code":"92"
},
{
"desc":"GDS is a data service tool provided by GaussDB(DWS). Using the foreign table mechanism, this tool helps export data at a high speed.For details, see Stopping GDS.",
"product_code":"dws",
"title":"Stopping GDS",
"uri":"dws_04_0267.html",
"doc_type":"devg",
"p_code":"87",
"code":"93"
},
{
"desc":"The data server and the cluster reside on the same intranet, the IP address of the data server is 192.168.0.90, and data source files are in CSV format. In this scenario,",
"product_code":"dws",
"title":"Examples of Exporting Data Using GDS",
"uri":"dws_04_0268.html",
"doc_type":"devg",
"p_code":"87",
"code":"94"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Other Operations",
"uri":"dws_04_0988.html",
"doc_type":"devg",
"p_code":"11",
"code":"95"
},
{
"desc":"GDS supports concurrent import and export. The gds -t parameter is used to set the size of the thread pool and control the maximum number of concurrent working threads. B",
"product_code":"dws",
"title":"GDS Pipe FAQs",
"uri":"dws_04_0279.html",
"doc_type":"devg",
"p_code":"95",
"code":"96"
},
{
"desc":"Data skew causes the query performance to deteriorate. Before importing all the data from a table consisting of over 10 million records, you are advised to import some of",
"product_code":"dws",
"title":"Checking for Data Skew",
"uri":"dws_04_0228.html",
"doc_type":"devg",
"p_code":"95",
"code":"97"
},
{
"desc":"GaussDB(DWS) is compatible with Oracle, Teradata and MySQL syntax, of which the syntax behavior is different.",
"product_code":"dws",
"title":"Syntax Compatibility Differences Among Oracle, Teradata, and MySQL",
"uri":"dws_04_0042.html",
"doc_type":"devg",
"p_code":"1",
"code":"98"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Database Security Management",
"uri":"dws_04_0043.html",
"doc_type":"devg",
"p_code":"1",
"code":"99"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Managing Users and Their Permissions",
"uri":"dws_04_0053.html",
"doc_type":"devg",
"p_code":"99",
"code":"100"
},
{
"desc":"A user who creates an object is the owner of this object. By default, Separation of Permissions is disabled after cluster installation. A database system administrator ha",
"product_code":"dws",
"title":"Default Permission Mechanism",
"uri":"dws_04_0054.html",
"doc_type":"devg",
"p_code":"100",
"code":"101"
},
{
"desc":"A system administrator is an account with the SYSADMIN permission. After a cluster is installed, a system administrator has the permissions of all object owners by defaul",
"product_code":"dws",
"title":"System Administrator",
"uri":"dws_04_0055.html",
"doc_type":"devg",
"p_code":"100",
"code":"102"
},
{
"desc":"Descriptions in Default Permission Mechanism and System Administrator are about the initial situation after a cluster is created. By default, a system administrator with ",
"product_code":"dws",
"title":"Separation of Permissions",
"uri":"dws_04_0056.html",
"doc_type":"devg",
"p_code":"100",
"code":"103"
},
{
"desc":"You can use CREATE USER and ALTER USER to create and manage database users, respectively. The database cluster has one or more named databases. Users and roles are shared",
"product_code":"dws",
"title":"Users",
"uri":"dws_04_0057.html",
"doc_type":"devg",
"p_code":"100",
"code":"104"
},
{
"desc":"A role is a set of permissions. After a role is granted to a user through GRANT, the user will have all the permissions of the role. It is recommended that roles be used ",
"product_code":"dws",
"title":"Roles",
"uri":"dws_04_0058.html",
"doc_type":"devg",
"p_code":"100",
"code":"105"
},
{
"desc":"Schemas function as models. Schema management allows multiple users to use the same database without mutual impacts, to organize database objects as manageable logical gr",
"product_code":"dws",
"title":"Schema",
"uri":"dws_04_0059.html",
"doc_type":"devg",
"p_code":"100",
"code":"106"
},
{
"desc":"To grant the permission for an object directly to a user, use GRANT.When permissions for a table or view in a schema are granted to a user or role, the USAGE permission o",
"product_code":"dws",
"title":"User Permission Setting",
"uri":"dws_04_0060.html",
"doc_type":"devg",
"p_code":"100",
"code":"107"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Setting Security Policies",
"uri":"dws_04_0063.html",
"doc_type":"devg",
"p_code":"100",
"code":"108"
},
{
"desc":"For data security purposes, GaussDB(DWS) provides a series of security measures, such as automatically locking and unlocking accounts, manually locking and unlocking abno",
"product_code":"dws",
"title":"Setting Account Security Policies",
"uri":"dws_04_0064.html",
"doc_type":"devg",
"p_code":"108",
"code":"109"
},
{
"desc":"When creating a user, you need to specify the validity period of the user, including the start time and end time.To enable a user not within the validity period to use it",
"product_code":"dws",
"title":"Setting the Validity Period of an Account",
"uri":"dws_04_0065.html",
"doc_type":"devg",
"p_code":"108",
"code":"110"
},
{
"desc":"User passwords are stored in the system catalog pg_authid. To prevent password leakage, GaussDB(DWS) encrypts and stores the user passwords.Password complexityThe passwor",
"product_code":"dws",
"title":"Setting a User Password",
"uri":"dws_04_0067.html",
"doc_type":"devg",
"p_code":"108",
"code":"111"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Sensitive Data Management",
"uri":"dws_04_0994.html",
"doc_type":"devg",
"p_code":"99",
"code":"112"
},
{
"desc":"The row-level access control feature enables database access control to be accurate to each row of data tables. In this way, the same SQL query may return different resul",
"product_code":"dws",
"title":"Row-Level Access Control",
"uri":"dws_04_0061.html",
"doc_type":"devg",
"p_code":"112",
"code":"113"
},
{
"desc":"GaussDB(DWS) provides the column-level dynamic data masking (DDM) function. For sensitive data, such as the ID card number, mobile number, and bank card number, the DDM f",
"product_code":"dws",
"title":"Data Redaction",
"uri":"dws_04_0062.html",
"doc_type":"devg",
"p_code":"112",
"code":"114"
},
{
"desc":"GaussDB(DWS) supports encryption and decryption of strings using the following functions:gs_encrypt(encryptstr, keystr, cryptotype, cryptomode, hashmethod)Description: En",
"product_code":"dws",
"title":"Using Functions for Encryption and Decryption",
"uri":"dws_04_0995.html",
"doc_type":"devg",
"p_code":"112",
"code":"115"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Development and Design Proposal",
"uri":"dws_04_0074.html",
"doc_type":"devg",
"p_code":"1",
"code":"116"
},
{
"desc":"This chapter describes the design specifications for database modeling and application development. Modeling compliant with these specifications fits the distributed proc",
"product_code":"dws",
"title":"Development and Design Proposal",
"uri":"dws_04_0075.html",
"doc_type":"devg",
"p_code":"116",
"code":"117"
},
{
"desc":"The name of a database object must contain 1 to 63 characters, start with a letter or underscore (_), and can contain letters, digits, underscores (_), dollar signs ($), ",
"product_code":"dws",
"title":"Database Object Naming Conventions",
"uri":"dws_04_0076.html",
"doc_type":"devg",
"p_code":"116",
"code":"118"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Database Object Design",
"uri":"dws_04_0077.html",
"doc_type":"devg",
"p_code":"116",
"code":"119"
},
{
"desc":"In GaussDB(DWS), services can be isolated by databases and schemas. Databases share little resources and cannot directly access each other. Connections to and permissions",
"product_code":"dws",
"title":"Database and Schema Design",
"uri":"dws_04_0078.html",
"doc_type":"devg",
"p_code":"119",
"code":"120"
},
{
"desc":"GaussDB(DWS) uses a distributed architecture. Data is distributed on DNs. Comply with the following principles to properly design a table:[Notice] Evenly distribute data ",
"product_code":"dws",
"title":"Table Design",
"uri":"dws_04_0079.html",
"doc_type":"devg",
"p_code":"119",
"code":"121"
},
{
"desc":"Comply with the following rules to improve query efficiency when you design columns:[Proposal] Use the most efficient data types allowed.If all of the following number ty",
"product_code":"dws",
"title":"Column Design",
"uri":"dws_04_0080.html",
"doc_type":"devg",
"p_code":"119",
"code":"122"
},
{
"desc":"[Proposal] If all the column values can be obtained from services, you are not advised to use the DEFAULT constraint, because doing so will generate unexpected results du",
"product_code":"dws",
"title":"Constraint Design",
"uri":"dws_04_0081.html",
"doc_type":"devg",
"p_code":"119",
"code":"123"
},
{
"desc":"[Proposal] Do not nest views unless they have strong dependency on each other.[Proposal] Try to avoid sort operations in a view definition.[Proposal] Minimize joined colu",
"product_code":"dws",
"title":"View and Joined Table Design",
"uri":"dws_04_0082.html",
"doc_type":"devg",
"p_code":"119",
"code":"124"
},
{
"desc":"Currently, third-party tools are connected to GaussDB(DWS) trough JDBC. This section describes the precautions for configuring the tools.[Notice] When a third-party tool ",
"product_code":"dws",
"title":"JDBC Configuration",
"uri":"dws_04_0083.html",
"doc_type":"devg",
"p_code":"116",
"code":"125"
},
{
"desc":"[Proposal] In GaussDB(DWS), you are advised to execute DDL operations, such as creating table or making comments, separately from batch processing jobs to avoid performan",
"product_code":"dws",
"title":"SQL Compilation",
"uri":"dws_04_0084.html",
"doc_type":"devg",
"p_code":"116",
"code":"126"
},
{
"desc":"[Notice] Java UDFs can perform some Java logic calculation. Do not encapsulate services in Java UDFs.[Notice] Do not connect to a database in any way (for example, by usi",
"product_code":"dws",
"title":"PL/Java Usage",
"uri":"dws_04_0971.html",
"doc_type":"devg",
"p_code":"116",
"code":"127"
},
{
"desc":"Development shall strictly comply with design documents.Program modules shall be highly cohesive and loosely coupled.Proper, comprehensive troubleshooting measures shall ",
"product_code":"dws",
"title":"PL/pgSQL Usage",
"uri":"dws_04_0972.html",
"doc_type":"devg",
"p_code":"116",
"code":"128"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Guide: JDBC- or ODBC-Based Development",
"uri":"dws_04_0085.html",
"doc_type":"devg",
"p_code":"1",
"code":"129"
},
{
"desc":"If the connection pool mechanism is used during application development, comply with the following specifications:If GUC parameters are set in the connection, before you ",
"product_code":"dws",
"title":"Development Specifications",
"uri":"dws_04_0086.html",
"doc_type":"devg",
"p_code":"129",
"code":"130"
},
{
"desc":"For details, see section \"Downloading the JDBC or ODBC Driver\" in the Data Warehouse Service User Guide.",
"product_code":"dws",
"title":"Downloading Drivers",
"uri":"dws_04_0087.html",
"doc_type":"devg",
"p_code":"129",
"code":"131"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"JDBC-Based Development",
"uri":"dws_04_0088.html",
"doc_type":"devg",
"p_code":"129",
"code":"132"
},
{
"desc":"Obtain the package dws_8.1.x_jdbc_driver.zip from the management console. For details, see Downloading Drivers.Compressed in it is the JDBC driver JAR package:gsjdbc4.jar",
"product_code":"dws",
"title":"JDBC Package and Driver Class",
"uri":"dws_04_0090.html",
"doc_type":"devg",
"p_code":"132",
"code":"133"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Development Process",
"uri":"dws_04_0091.html",
"doc_type":"devg",
"p_code":"132",
"code":"134"
},
{
"desc":"Load the database driver before creating a database connection.You can load the driver in the following ways:Implicitly loading the driver before creating a connection in",
"product_code":"dws",
"title":"Loading a Driver",
"uri":"dws_04_0092.html",
"doc_type":"devg",
"p_code":"132",
"code":"135"
},
{
"desc":"After a database is connected, you can execute SQL statements in the database.If you use an open-source Java Database Connectivity (JDBC) driver, ensure that the database",
"product_code":"dws",
"title":"Connecting to a Database",
"uri":"dws_04_0093.html",
"doc_type":"devg",
"p_code":"132",
"code":"136"
},
{
"desc":"The application performs data (parameter statements do not need to be transferred) in the database by running SQL statements, and you need to perform the following steps:",
"product_code":"dws",
"title":"Executing SQL Statements",
"uri":"dws_04_0095.html",
"doc_type":"devg",
"p_code":"132",
"code":"137"
},
{
"desc":"Different types of result sets are applicable to different application scenarios. Applications select proper types of result sets based on requirements. Before executing ",
"product_code":"dws",
"title":"Processing Data in a Result Set",
"uri":"dws_04_0096.html",
"doc_type":"devg",
"p_code":"132",
"code":"138"
},
{
"desc":"After you complete required data operations in the database, close the database connection.Call the close method to close the connection, such as, conn. close().",
"product_code":"dws",
"title":"Closing the Connection",
"uri":"dws_04_0097.html",
"doc_type":"devg",
"p_code":"132",
"code":"139"
},
{
"desc":"Before completing the following example, you need to create a stored procedure.This example illustrates how to develop applications based on the GaussDB(DWS) JDBC interfa",
"product_code":"dws",
"title":"Example: Common Operations",
"uri":"dws_04_0098.html",
"doc_type":"devg",
"p_code":"132",
"code":"140"
},
{
"desc":"If the primary DN is faulty and cannot be restored within 40s, its standby is automatically promoted to primary to ensure the normal running of the cluster. Jobs running ",
"product_code":"dws",
"title":"Example: Retrying SQL Queries for Applications",
"uri":"dws_04_0099.html",
"doc_type":"devg",
"p_code":"132",
"code":"141"
},
{
"desc":"When the JAVA language is used for secondary development based on GaussDB(DWS), you can use the CopyManager interface to export data from the database to a local file or ",
"product_code":"dws",
"title":"Example: Importing and Exporting Data Through Local Files",
"uri":"dws_04_0100.html",
"doc_type":"devg",
"p_code":"132",
"code":"142"
},
{
"desc":"The following example shows how to use CopyManager to migrate data from MySQL to GaussDB(DWS).",
"product_code":"dws",
"title":"Example: Migrating Data from MySQL to GaussDB(DWS)",
"uri":"dws_04_0101.html",
"doc_type":"devg",
"p_code":"132",
"code":"143"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"JDBC Interface Reference",
"uri":"dws_04_0102.html",
"doc_type":"devg",
"p_code":"132",
"code":"144"
},
{
"desc":"This section describes java.sql.Connection, the interface for connecting to a database.The AutoCommit mode is used by default within the interface. If you disable it runn",
"product_code":"dws",
"title":"java.sql.Connection",
"uri":"dws_04_0103.html",
"doc_type":"devg",
"p_code":"144",
"code":"145"
},
{
"desc":"This section describes java.sql.CallableStatement, the stored procedure execution interface.The batch operation of statements containing OUT parameter is not allowed.The ",
"product_code":"dws",
"title":"java.sql.CallableStatement",
"uri":"dws_04_0104.html",
"doc_type":"devg",
"p_code":"144",
"code":"146"
},
{
"desc":"This section describes java.sql.DatabaseMetaData, the interface for defining database objects.",
"product_code":"dws",
"title":"java.sql.DatabaseMetaData",
"uri":"dws_04_0105.html",
"doc_type":"devg",
"p_code":"144",
"code":"147"
},
{
"desc":"This section describes java.sql.Driver, the database driver interface.",
"product_code":"dws",
"title":"java.sql.Driver",
"uri":"dws_04_0106.html",
"doc_type":"devg",
"p_code":"144",
"code":"148"
},
{
"desc":"This section describes java.sql.PreparedStatement, the interface for preparing statements.Execute addBatch() and execute() only after running clearBatch().Batch is not cl",
"product_code":"dws",
"title":"java.sql.PreparedStatement",
"uri":"dws_04_0107.html",
"doc_type":"devg",
"p_code":"144",
"code":"149"
},
{
"desc":"This section describes java.sql.ResultSet, the interface for execution result sets.One Statement cannot have multiple open ResultSets.The cursor that is used for traversi",
"product_code":"dws",
"title":"java.sql.ResultSet",
"uri":"dws_04_0108.html",
"doc_type":"devg",
"p_code":"144",
"code":"150"
},
{
"desc":"This section describes java.sql.ResultSetMetaData, which provides details about ResultSet object information.",
"product_code":"dws",
"title":"java.sql.ResultSetMetaData",
"uri":"dws_04_0109.html",
"doc_type":"devg",
"p_code":"144",
"code":"151"
},
{
"desc":"This section describes java.sql.Statement, the interface for executing SQL statements.Using setFetchSize can reduce the memory occupied by result sets on the client. Resu",
"product_code":"dws",
"title":"java.sql.Statement",
"uri":"dws_04_0110.html",
"doc_type":"devg",
"p_code":"144",
"code":"152"
},
{
"desc":"This section describes javax.sql.ConnectionPoolDataSource, the interface for data source connection pools.",
"product_code":"dws",
"title":"javax.sql.ConnectionPoolDataSource",
"uri":"dws_04_0111.html",
"doc_type":"devg",
"p_code":"144",
"code":"153"
},
{
"desc":"This section describes javax.sql.DataSource, the interface for data sources.",
"product_code":"dws",
"title":"javax.sql.DataSource",
"uri":"dws_04_0112.html",
"doc_type":"devg",
"p_code":"144",
"code":"154"
},
{
"desc":"This section describes javax.sql.PooledConnection, the connection interface created by a connection pool.",
"product_code":"dws",
"title":"javax.sql.PooledConnection",
"uri":"dws_04_0113.html",
"doc_type":"devg",
"p_code":"144",
"code":"155"
},
{
"desc":"This section describes javax.naming.Context, the context interface for connection configuration.",
"product_code":"dws",
"title":"javax.naming.Context",
"uri":"dws_04_0114.html",
"doc_type":"devg",
"p_code":"144",
"code":"156"
},
{
"desc":"This section describes javax.naming.spi.InitialContextFactory, the initial context factory interface.",
"product_code":"dws",
"title":"javax.naming.spi.InitialContextFactory",
"uri":"dws_04_0115.html",
"doc_type":"devg",
"p_code":"144",
"code":"157"
},
{
"desc":"CopyManager is an API interface class provided by the JDBC driver in GaussDB(DWS). It is used to import data to GaussDB(DWS) in batches.The CopyManager class is in the or",
"product_code":"dws",
"title":"CopyManager",
"uri":"dws_04_0116.html",
"doc_type":"devg",
"p_code":"144",
"code":"158"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"ODBC-Based Development",
"uri":"dws_04_0117.html",
"doc_type":"devg",
"p_code":"129",
"code":"159"
},
{
"desc":"Obtain the dws_8.1.x_odbc_driver_for_xxx_xxx.zip package from the release package. In the Linux OS, header files (including sql.h and sqlext.h) and library (libodbc.so) a",
"product_code":"dws",
"title":"ODBC Package and Its Dependent Libraries and Header Files",
"uri":"dws_04_0118.html",
"doc_type":"devg",
"p_code":"159",
"code":"160"
},
{
"desc":"The ODBC DRIVER (psqlodbcw.so) provided by GaussDB(DWS) can be used after it has been configured in the data source. To configure data sources, users must configure the o",
"product_code":"dws",
"title":"Configuring a Data Source in the Linux OS",
"uri":"dws_04_0119.html",
"doc_type":"devg",
"p_code":"159",
"code":"161"
},
{
"desc":"Configure the ODBC data source using the ODBC data source manager preinstalled in the Windows OS.Decompress GaussDB-8.1.1-Windows-Odbc.tar.gz and install psqlodbc.msi (fo",
"product_code":"dws",
"title":"Configuring a Data Source in the Windows OS",
"uri":"dws_04_0120.html",
"doc_type":"devg",
"p_code":"159",
"code":"162"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"ODBC Development Example",
"uri":"dws_04_0123.html",
"doc_type":"devg",
"p_code":"159",
"code":"163"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"ODBC Interfaces",
"uri":"dws_04_0124.html",
"doc_type":"devg",
"p_code":"159",
"code":"164"
},
{
"desc":"In ODBC 3.x, SQLAllocEnv (an ODBC 2.x function) was deprecated and replaced with SQLAllocHandle. For details, see SQLAllocHandle.",
"product_code":"dws",
"title":"SQLAllocEnv",
"uri":"dws_04_0125.html",
"doc_type":"devg",
"p_code":"164",
"code":"165"
},
{
"desc":"In ODBC 3.x, SQLAllocConnect (an ODBC 2.x function) was deprecated and replaced with SQLAllocHandle. For details, see SQLAllocHandle.",
"product_code":"dws",
"title":"SQLAllocConnect",
"uri":"dws_04_0126.html",
"doc_type":"devg",
"p_code":"164",
"code":"166"
},
{
"desc":"SQLAllocHandle allocates environment, connection, or statement handles. This function is a generic function for allocating handles that replaces the deprecated ODBC 2.x f",
"product_code":"dws",
"title":"SQLAllocHandle",
"uri":"dws_04_0127.html",
"doc_type":"devg",
"p_code":"164",
"code":"167"
},
{
"desc":"In ODBC 3.x, SQLAllocStmt was deprecated and replaced with SQLAllocHandle. For details, see SQLAllocHandle.",
"product_code":"dws",
"title":"SQLAllocStmt",
"uri":"dws_04_0128.html",
"doc_type":"devg",
"p_code":"164",
"code":"168"
},
{
"desc":"SQLBindCol is used to associate (bind) columns in a result set to an application data buffer.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates",
"product_code":"dws",
"title":"SQLBindCol",
"uri":"dws_04_0129.html",
"doc_type":"devg",
"p_code":"164",
"code":"169"
},
{
"desc":"SQLBindParameter is used to associate (bind) parameter markers in an SQL statement to a buffer.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicat",
"product_code":"dws",
"title":"SQLBindParameter",
"uri":"dws_04_0130.html",
"doc_type":"devg",
"p_code":"164",
"code":"170"
},
{
"desc":"SQLColAttribute returns the descriptor information about a column in the result set.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some war",
"product_code":"dws",
"title":"SQLColAttribute",
"uri":"dws_04_0131.html",
"doc_type":"devg",
"p_code":"164",
"code":"171"
},
{
"desc":"SQLConnect establishes a connection between a driver and a data source. After the connection, the connection handle can be used to access all information about the data s",
"product_code":"dws",
"title":"SQLConnect",
"uri":"dws_04_0132.html",
"doc_type":"devg",
"p_code":"164",
"code":"172"
},
{
"desc":"SQLDisconnect closes the connection associated with the database connection handle.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warn",
"product_code":"dws",
"title":"SQLDisconnect",
"uri":"dws_04_0133.html",
"doc_type":"devg",
"p_code":"164",
"code":"173"
},
{
"desc":"SQLExecDirect executes a prepared SQL statement specified in this parameter. This is the fastest execution method for executing only one SQL statement at a time.SQL_SUCCE",
"product_code":"dws",
"title":"SQLExecDirect",
"uri":"dws_04_0134.html",
"doc_type":"devg",
"p_code":"164",
"code":"174"
},
{
"desc":"The SQLExecute function executes a prepared SQL statement using SQLPrepare. The statement is executed using the current value of any application variables that were bound",
"product_code":"dws",
"title":"SQLExecute",
"uri":"dws_04_0135.html",
"doc_type":"devg",
"p_code":"164",
"code":"175"
},
{
"desc":"SQLFetch advances the cursor to the next row of the result set and retrieves any bound columns.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicat",
"product_code":"dws",
"title":"SQLFetch",
"uri":"dws_04_0136.html",
"doc_type":"devg",
"p_code":"164",
"code":"176"
},
{
"desc":"In ODBC 3.x, SQLFreeStmt (an ODBC 2.x function) was deprecated and replaced with SQLFreeHandle. For details, see SQLFreeHandle.",
"product_code":"dws",
"title":"SQLFreeStmt",
"uri":"dws_04_0137.html",
"doc_type":"devg",
"p_code":"164",
"code":"177"
},
{
"desc":"In ODBC 3.x, SQLFreeConnect (an ODBC 2.x function) was deprecated and replaced with SQLFreeHandle. For details, see SQLFreeHandle.",
"product_code":"dws",
"title":"SQLFreeConnect",
"uri":"dws_04_0138.html",
"doc_type":"devg",
"p_code":"164",
"code":"178"
},
{
"desc":"SQLFreeHandle releases resources associated with a specific environment, connection, or statement handle. It replaces the ODBC 2.x functions: SQLFreeEnv, SQLFreeConnect, ",
"product_code":"dws",
"title":"SQLFreeHandle",
"uri":"dws_04_0139.html",
"doc_type":"devg",
"p_code":"164",
"code":"179"
},
{
"desc":"In ODBC 3.x, SQLFreeEnv (an ODBC 2.x function) was deprecated and replaced with SQLFreeHandle. For details, see SQLFreeHandle.",
"product_code":"dws",
"title":"SQLFreeEnv",
"uri":"dws_04_0140.html",
"doc_type":"devg",
"p_code":"164",
"code":"180"
},
{
"desc":"SQLPrepare prepares an SQL statement to be executed.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warning information is displayed.SQ",
"product_code":"dws",
"title":"SQLPrepare",
"uri":"dws_04_0141.html",
"doc_type":"devg",
"p_code":"164",
"code":"181"
},
{
"desc":"SQLGetData retrieves data for a single column in the current row of the result set. It can be called for many times to retrieve data of variable lengths.SQL_SUCCESS indic",
"product_code":"dws",
"title":"SQLGetData",
"uri":"dws_04_0142.html",
"doc_type":"devg",
"p_code":"164",
"code":"182"
},
{
"desc":"SQLGetDiagRec returns the current values of multiple fields of a diagnostic record that contains error, warning, and status information.SQL_SUCCESS indicates that the cal",
"product_code":"dws",
"title":"SQLGetDiagRec",
"uri":"dws_04_0143.html",
"doc_type":"devg",
"p_code":"164",
"code":"183"
},
{
"desc":"SQLSetConnectAttr sets connection attributes.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warning information is displayed.SQL_ERROR",
"product_code":"dws",
"title":"SQLSetConnectAttr",
"uri":"dws_04_0144.html",
"doc_type":"devg",
"p_code":"164",
"code":"184"
},
{
"desc":"SQLSetEnvAttr sets environment attributes.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warning information is displayed.SQL_ERROR in",
"product_code":"dws",
"title":"SQLSetEnvAttr",
"uri":"dws_04_0145.html",
"doc_type":"devg",
"p_code":"164",
"code":"185"
},
{
"desc":"SQLSetStmtAttr sets attributes related to a statement.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warning information is displayed.",
"product_code":"dws",
"title":"SQLSetStmtAttr",
"uri":"dws_04_0146.html",
"doc_type":"devg",
"p_code":"164",
"code":"186"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"PostGIS Extension",
"uri":"dws_04_0301.html",
"doc_type":"devg",
"p_code":"1",
"code":"187"
},
{
"desc":"The third-party software that the PostGIS Extension depends on needs to be installed separately. If you need to use PostGIS, submit a service ticket or contact technical ",
"product_code":"dws",
"title":"PostGIS",
"uri":"dws_04_0302.html",
"doc_type":"devg",
"p_code":"187",
"code":"188"
},
{
"desc":"The third-party software that the PostGIS Extension depends on needs to be installed separately. If you need to use PostGIS, submit a service ticket or contact technical ",
"product_code":"dws",
"title":"Using PostGIS",
"uri":"dws_04_0304.html",
"doc_type":"devg",
"p_code":"187",
"code":"189"
},
{
"desc":"In GaussDB(DWS), PostGIS Extension support the following data types:box2dbox3dgeometry_dumpgeometrygeographyrasterIf PostGIS is used by a user other than the creator of t",
"product_code":"dws",
"title":"PostGIS Support and Constraints",
"uri":"dws_04_0305.html",
"doc_type":"devg",
"p_code":"187",
"code":"190"
},
{
"desc":"This document contains open source software notice for the product. And this document is confidential information of copyright holder. Recipient shall protect it in due c",
"product_code":"dws",
"title":"OPEN SOURCE SOFTWARE NOTICE (For PostGIS)",
"uri":"dws_04_0306.html",
"doc_type":"devg",
"p_code":"187",
"code":"191"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Resource Monitoring",
"uri":"dws_04_0393.html",
"doc_type":"devg",
"p_code":"1",
"code":"192"
},
{
"desc":"In the multi-tenant management framework, you can query the real-time or historical usage of all user resources (including memory, CPU cores, storage space, temporary spa",
"product_code":"dws",
"title":"User Resource Query",
"uri":"dws_04_0394.html",
"doc_type":"devg",
"p_code":"192",
"code":"193"
},
{
"desc":"GaussDB(DWS) provides a view for monitoring the memory usage of the entire cluster.Query the pgxc_total_memory_detail view as a user with sysadmin permissions.SELECT * FR",
"product_code":"dws",
"title":"Monitoring Memory Resources",
"uri":"dws_04_0395.html",
"doc_type":"devg",
"p_code":"192",
"code":"194"
},
{
"desc":"GaussDB(DWS) provides system catalogs for monitoring the resource usage of CNs and DNs (including memory, CPU usage, disk I/O, process physical I/O, and process logical I",
"product_code":"dws",
"title":"Instance Resource Monitoring",
"uri":"dws_04_0396.html",
"doc_type":"devg",
"p_code":"192",
"code":"195"
},
{
"desc":"You can query real-time Top SQL in real-time resource monitoring views at different levels. The real-time resource monitoring view records the resource usage (including m",
"product_code":"dws",
"title":"Real-time TopSQL",
"uri":"dws_04_0397.html",
"doc_type":"devg",
"p_code":"192",
"code":"196"
},
{
"desc":"You can query historical Top SQL in historical resource monitoring views. The historical resource monitoring view records the resource usage (of memory, disk, CPU time, a",
"product_code":"dws",
"title":"Historical TopSQL",
"uri":"dws_04_0398.html",
"doc_type":"devg",
"p_code":"192",
"code":"197"
},
{
"desc":"In this section, TPC-DS sample data is used as an example to describe how to query Real-time TopSQL and Historical TopSQL.To query for historical or archived resource mon",
"product_code":"dws",
"title":"TopSQL Query Example",
"uri":"dws_04_0399.html",
"doc_type":"devg",
"p_code":"192",
"code":"198"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Query Performance Optimization",
"uri":"dws_04_0400.html",
"doc_type":"devg",
"p_code":"1",
"code":"199"
},
{
"desc":"The aim of SQL optimization is to maximize the utilization of resources, including CPU, memory, disk I/O, and network I/O. To maximize resource utilization is to run SQL ",
"product_code":"dws",
"title":"Overview of Query Performance Optimization",
"uri":"dws_04_0402.html",
"doc_type":"devg",
"p_code":"199",
"code":"200"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Query Analysis",
"uri":"dws_04_0403.html",
"doc_type":"devg",
"p_code":"199",
"code":"201"
},
{
"desc":"The process from receiving SQL statements to the statement execution by the SQL engine is shown in Figure 1 and Table 1. The texts in red are steps where database adminis",
"product_code":"dws",
"title":"Query Execution Process",
"uri":"dws_04_0409.html",
"doc_type":"devg",
"p_code":"201",
"code":"202"
},
{
"desc":"The SQL execution plan is a node tree, which displays detailed procedure when GaussDB(DWS) runs an SQL statement. A database operator indicates one step.You can run the E",
"product_code":"dws",
"title":"Overview of the SQL Execution Plan",
"uri":"dws_04_0410.html",
"doc_type":"devg",
"p_code":"201",
"code":"203"
},
{
"desc":"As described in Overview of the SQL Execution Plan, EXPLAIN displays the execution plan, but will not actually run SQL statements. EXPLAIN ANALYZE and EXPLAIN PERFORMANCE",
"product_code":"dws",
"title":"Deep Dive on the SQL Execution Plan",
"uri":"dws_04_0411.html",
"doc_type":"devg",
"p_code":"201",
"code":"204"
},
{
"desc":"This section describes how to query SQL statements whose execution takes a long time, leading to poor system performance.After the query, query statements are returned as",
"product_code":"dws",
"title":"Querying SQL Statements That Affect Performance Most",
"uri":"dws_04_0412.html",
"doc_type":"devg",
"p_code":"201",
"code":"205"
},
{
"desc":"During database running, query statements are blocked in some service scenarios and run for an excessively long time. In this case, you can forcibly terminate the faulty ",
"product_code":"dws",
"title":"Checking Blocked Statements",
"uri":"dws_04_0413.html",
"doc_type":"devg",
"p_code":"201",
"code":"206"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Query Improvement",
"uri":"dws_04_0430.html",
"doc_type":"devg",
"p_code":"199",
"code":"207"
},
{
"desc":"You can analyze slow SQL statements to optimize them.",
"product_code":"dws",
"title":"Optimization Process",
"uri":"dws_04_0435.html",
"doc_type":"devg",
"p_code":"207",
"code":"208"
},
{
"desc":"In a database, statistics indicate the source data of a plan generated by a planner. If no collection statistics are available or out of date, the execution plan may seri",
"product_code":"dws",
"title":"Updating Statistics",
"uri":"dws_04_0436.html",
"doc_type":"devg",
"p_code":"207",
"code":"209"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Reviewing and Modifying a Table Definition",
"uri":"dws_04_0437.html",
"doc_type":"devg",
"p_code":"207",
"code":"210"
},
{
"desc":"In a distributed framework, data is distributed on DNs. Data on one or more DNs is stored on a physical storage device. To properly define a table, you must:Evenly distri",
"product_code":"dws",
"title":"Reviewing and Modifying a Table Definition",
"uri":"dws_04_0438.html",
"doc_type":"devg",
"p_code":"210",
"code":"211"
},
{
"desc":"During database design, some key factors about table design will greatly affect the subsequent query performance of the database. Table design affects data storage as wel",
"product_code":"dws",
"title":"Selecting a Storage Model",
"uri":"dws_04_0439.html",
"doc_type":"devg",
"p_code":"210",
"code":"212"
},
{
"desc":"In replication mode, full data in a table is copied to each DN in the cluster. This mode is used for tables containing a small volume of data. Full data in a table stored",
"product_code":"dws",
"title":"Selecting a Distribution Mode",
"uri":"dws_04_0440.html",
"doc_type":"devg",
"p_code":"210",
"code":"213"
},
{
"desc":"The distribution column in a hash table must meet the following requirements, which are ranked by priority in descending order:The value of the distribution column should",
"product_code":"dws",
"title":"Selecting a Distribution Column",
"uri":"dws_04_0441.html",
"doc_type":"devg",
"p_code":"210",
"code":"214"
},
{
"desc":"Partial Cluster Key is the column-based technology. It can minimize or maximize sparse indexes to quickly filter base tables. Partial cluster key can specify multiple col",
"product_code":"dws",
"title":"Using Partial Clustering",
"uri":"dws_04_0442.html",
"doc_type":"devg",
"p_code":"210",
"code":"215"
},
{
"desc":"Partitioning refers to splitting what is logically one large table into smaller physical pieces based on specific schemes. The table based on the logic is called a partit",
"product_code":"dws",
"title":"Using Partitioned Tables",
"uri":"dws_04_0443.html",
"doc_type":"devg",
"p_code":"210",
"code":"216"
},
{
"desc":"Use the following principles to obtain efficient data types:Using the data type that can be efficiently executedGenerally, calculation of integers (including common compa",
"product_code":"dws",
"title":"Selecting a Data Type",
"uri":"dws_04_0444.html",
"doc_type":"devg",
"p_code":"210",
"code":"217"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Typical SQL Optimization Methods",
"uri":"dws_04_0445.html",
"doc_type":"devg",
"p_code":"207",
"code":"218"
},
{
"desc":"Performance issues may occur when you query data or run the INSERT, DELETE, UPDATE, or CREATE TABLE AS statement. You can query the warning column in the GS_WLM_SESSION_S",
"product_code":"dws",
"title":"SQL Self-Diagnosis",
"uri":"dws_04_0446.html",
"doc_type":"devg",
"p_code":"218",
"code":"219"
},
{
"desc":"Currently, the GaussDB(DWS) optimizer can use three methods to develop statement execution policies in the distributed framework: generating a statement pushdown plan, a ",
"product_code":"dws",
"title":"Optimizing Statement Pushdown",
"uri":"dws_04_0447.html",
"doc_type":"devg",
"p_code":"218",
"code":"220"
},
{
"desc":"When an application runs a SQL statement to operate the database, a large number of subqueries are used because they are more clear than table join. Especially in complic",
"product_code":"dws",
"title":"Optimizing Subqueries",
"uri":"dws_04_0448.html",
"doc_type":"devg",
"p_code":"218",
"code":"221"
},
{
"desc":"GaussDB(DWS) generates optimal execution plans based on the cost estimation. Optimizers need to estimate the number of data rows and the cost based on statistics collecte",
"product_code":"dws",
"title":"Optimizing Statistics",
"uri":"dws_04_0449.html",
"doc_type":"devg",
"p_code":"218",
"code":"222"
},
{
"desc":"A query statement needs to go through multiple operator procedures to generate the final result. Sometimes, the overall query performance deteriorates due to long executi",
"product_code":"dws",
"title":"Optimizing Operators",
"uri":"dws_04_0450.html",
"doc_type":"devg",
"p_code":"218",
"code":"223"
},
{
"desc":"Data skew breaks the balance among nodes in the distributed MPP architecture. If the amount of data stored or processed by a node is much greater than that by other nodes",
"product_code":"dws",
"title":"Optimizing Data Skew",
"uri":"dws_04_0451.html",
"doc_type":"devg",
"p_code":"218",
"code":"224"
},
{
"desc":"Based on the database SQL execution mechanism and a large number of practices, summarize finds that: using rules of a certain SQL statement, on the basis of the so that t",
"product_code":"dws",
"title":"Experience in Rewriting SQL Statements",
"uri":"dws_04_0452.html",
"doc_type":"devg",
"p_code":"207",
"code":"225"
},
{
"desc":"This section describes the key CN parameters that affect GaussDB(DWS) SQL tuning performance. For details about how to configure these parameters, see Configuring GUC Par",
"product_code":"dws",
"title":"Adjusting Key Parameters During SQL Tuning",
"uri":"dws_04_0453.html",
"doc_type":"devg",
"p_code":"207",
"code":"226"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Hint-based Tuning",
"uri":"dws_04_0454.html",
"doc_type":"devg",
"p_code":"207",
"code":"227"
},
{
"desc":"In plan hints, you can specify a join order, join, stream, and scan operations, the number of rows in a result, and redistribution skew information to tune an execution p",
"product_code":"dws",
"title":"Plan Hint Optimization",
"uri":"dws_04_0455.html",
"doc_type":"devg",
"p_code":"227",
"code":"228"
},
{
"desc":"Theses hints specify the join order and outer/inner tables.Specify only the join order.Specify the join order and outer/inner tables. The outer/inner tables are specified",
"product_code":"dws",
"title":"Join Order Hints",
"uri":"dws_04_0456.html",
"doc_type":"devg",
"p_code":"227",
"code":"229"
},
{
"desc":"Specifies the join method. It can be nested loop join, hash join, or merge join.no indicates that the specified hint will not be used for a join.table_list specifies the ",
"product_code":"dws",
"title":"Join Operation Hints",
"uri":"dws_04_0457.html",
"doc_type":"devg",
"p_code":"227",
"code":"230"
},
{
"desc":"These hints specify the number of rows in an intermediate result set. Both absolute values and relative values are supported.#,+,-, and * are operators used for hinting t",
"product_code":"dws",
"title":"Rows Hints",
"uri":"dws_04_0458.html",
"doc_type":"devg",
"p_code":"227",
"code":"231"
},
{
"desc":"These hints specify a stream operation, which can be broadcast or redistribute.no indicates that the specified hint will not be used for a join.table_list specifies the t",
"product_code":"dws",
"title":"Stream Operation Hints",
"uri":"dws_04_0459.html",
"doc_type":"devg",
"p_code":"227",
"code":"232"
},
{
"desc":"These hints specify a scan operation, which can be tablescan, indexscan, or indexonlyscan.no indicates that the specified hint will not be used for a join.table specifies",
"product_code":"dws",
"title":"Scan Operation Hints",
"uri":"dws_04_0460.html",
"doc_type":"devg",
"p_code":"227",
"code":"233"
},
{
"desc":"These hints specify the name of a sublink block.table indicates the name you have specified for a sublink block.This hint is used by an outer query only when a sublink is",
"product_code":"dws",
"title":"Sublink Name Hints",
"uri":"dws_04_0461.html",
"doc_type":"devg",
"p_code":"227",
"code":"234"
},
{
"desc":"Theses hints specify redistribution keys containing skew data and skew values, and are used to optimize redistribution involving Join or HashAgg.Specify single-table skew",
"product_code":"dws",
"title":"Skew Hints",
"uri":"dws_04_0462.html",
"doc_type":"devg",
"p_code":"227",
"code":"235"
},
{
"desc":"A hint, or a GUC hint, specifies a configuration parameter value when a plan is generated. Currently, only the following parameters are supported:agg_redistribute_enhance",
"product_code":"dws",
"title":"Configuration Parameter Hints",
"uri":"dws_04_0463.html",
"doc_type":"devg",
"p_code":"227",
"code":"236"
},
{
"desc":"Plan hints change an execution plan. You can run EXPLAIN to view the changes.Hints containing errors are invalid and do not affect statement execution. The errors will be",
"product_code":"dws",
"title":"Hint Errors, Conflicts, and Other Warnings",
"uri":"dws_04_0464.html",
"doc_type":"devg",
"p_code":"227",
"code":"237"
},
{
"desc":"This section takes the statements in TPC-DS (Q24) as an example to describe how to optimize an execution plan by using hints in 1000X+24DN environments. For example:The o",
"product_code":"dws",
"title":"Plan Hint Cases",
"uri":"dws_04_0465.html",
"doc_type":"devg",
"p_code":"227",
"code":"238"
},
{
"desc":"To ensure proper database running, after INSERT and DELETE operations, you need to routinely do VACUUM FULL and ANALYZE as appropriate for customer scenarios and update s",
"product_code":"dws",
"title":"Routinely Maintaining Tables",
"uri":"dws_04_0466.html",
"doc_type":"devg",
"p_code":"207",
"code":"239"
},
{
"desc":"When data deletion is repeatedly performed in the database, index keys will be deleted from the index page, resulting in index distention. Recreating an index routinely i",
"product_code":"dws",
"title":"Routinely Recreating an Index",
"uri":"dws_04_0467.html",
"doc_type":"devg",
"p_code":"207",
"code":"240"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Configuring the SMP",
"uri":"dws_04_0468.html",
"doc_type":"devg",
"p_code":"207",
"code":"241"
},
{
"desc":"The SMP feature improves the performance through operator parallelism and occupies more system resources, including CPU, memory, network, and I/O. Actually, SMP is a meth",
"product_code":"dws",
"title":"Application Scenarios and Restrictions",
"uri":"dws_04_0469.html",
"doc_type":"devg",
"p_code":"241",
"code":"242"
},
{
"desc":"The SMP architecture uses abundant resources to obtain time. After the plan parallelism is executed, the resource consumption is added, including the CPU, memory, I/O, an",
"product_code":"dws",
"title":"Resource Impact on SMP Performance",
"uri":"dws_04_0470.html",
"doc_type":"devg",
"p_code":"241",
"code":"243"
},
{
"desc":"Besides resource factors, there are other factors that impact the SMP parallelism performance, such as unevenly data distributed in a partitioned table and system paralle",
"product_code":"dws",
"title":"Other Factors Affecting SMP Performance",
"uri":"dws_04_0471.html",
"doc_type":"devg",
"p_code":"241",
"code":"244"
},
{
"desc":"Starting from this version, SMP auto adaptation is enabled. For newly deployed clusters, the default value of query_dop is 0, and SMP parameters have been adjusted. To en",
"product_code":"dws",
"title":"Suggestions for SMP Parameter Settings",
"uri":"dws_04_0472.html",
"doc_type":"devg",
"p_code":"241",
"code":"245"
},
{
"desc":"To manually optimize SMP, you need to be familiar with Suggestions for SMP Parameter Settings. This section describes how to optimize SMP.The CPU, memory, I/O, and networ",
"product_code":"dws",
"title":"SMP Manual Optimization Suggestions",
"uri":"dws_04_0473.html",
"doc_type":"devg",
"p_code":"241",
"code":"246"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Optimization Cases",
"uri":"dws_04_0474.html",
"doc_type":"devg",
"p_code":"199",
"code":"247"
},
{
"desc":"Tables are defined as follows:The following query is executed:If a is the distribution column of t1 and t2:Then Streaming exists in the execution plan and the data volume",
"product_code":"dws",
"title":"Case: Selecting an Appropriate Distribution Column",
"uri":"dws_04_0475.html",
"doc_type":"devg",
"p_code":"247",
"code":"248"
},
{
"desc":"Query the information about all personnel in the sales department.The original execution plan is as follows before creating the places.place_id and states.state_id indexe",
"product_code":"dws",
"title":"Case: Creating an Appropriate Index",
"uri":"dws_04_0476.html",
"doc_type":"devg",
"p_code":"247",
"code":"249"
},
{
"desc":"Figure 1 shows the execution plan.As shown in Figure 1, the sequential scan phase is time consuming.The JOIN performance is poor because a large number of null values exi",
"product_code":"dws",
"title":"Case: Adding NOT NULL for JOIN Columns",
"uri":"dws_04_0477.html",
"doc_type":"devg",
"p_code":"247",
"code":"250"
},
{
"desc":"In an execution plan, more than 95% of the execution time is spent on window agg performed on the CN. In this case, sum is performed for the two columns separately, and t",
"product_code":"dws",
"title":"Case: Pushing Down Sort Operations to DNs",
"uri":"dws_04_0478.html",
"doc_type":"devg",
"p_code":"247",
"code":"251"
},
{
"desc":"If bit0 of cost_param is set to 1, an improved mechanism is used for estimating the selection rate of non-equi-joins. This method is more accurate for estimating the sele",
"product_code":"dws",
"title":"Case: Configuring cost_param for Better Query Performance",
"uri":"dws_04_0479.html",
"doc_type":"devg",
"p_code":"247",
"code":"252"
},
{
"desc":"During a site test, the information is displayed after EXPLAIN ANALYZE is executed:According to the execution information, HashJoin becomes the performance bottleneck of ",
"product_code":"dws",
"title":"Case: Adjusting the Distribution Key",
"uri":"dws_04_0480.html",
"doc_type":"devg",
"p_code":"247",
"code":"253"
},
{
"desc":"Information on the EXPLAIN PERFORMANCE at a site is as follows: As shown in the red boxes, two performance bottlenecks are scan operations in a table.After further analys",
"product_code":"dws",
"title":"Case: Adjusting the Partial Clustering Key",
"uri":"dws_04_0481.html",
"doc_type":"devg",
"p_code":"247",
"code":"254"
},
{
"desc":"In the GaussDB(DWS) database, row-store tables use the row execution engine, and column-store tables use the column execution engine. If both row-store table and column-s",
"product_code":"dws",
"title":"Case: Adjusting the Table Storage Mode in a Medium Table",
"uri":"dws_04_0482.html",
"doc_type":"devg",
"p_code":"247",
"code":"255"
},
{
"desc":"During the test at a site, if the following execution plan is performed, the customer expects that the performance can be improved and the result can be returned within 3",
"product_code":"dws",
"title":"Case: Adjusting the Local Clustering Column",
"uri":"dws_04_0483.html",
"doc_type":"devg",
"p_code":"247",
"code":"256"
},
{
"desc":"In the following simple SQL statements, the performance bottlenecks exist in the scan operation of dwcjk.Obviously, there are date features in the cjrq field of table dat",
"product_code":"dws",
"title":"Case: Reconstructing Partition Tables",
"uri":"dws_04_0484.html",
"doc_type":"devg",
"p_code":"247",
"code":"257"
},
{
"desc":"The t1 table is defined as follows:Assume that the distribution column of the result set provided by the agg lower-layer operator is setA, and the group by column of the ",
"product_code":"dws",
"title":"Case: Adjusting the GUC Parameter best_agg_plan",
"uri":"dws_04_0485.html",
"doc_type":"devg",
"p_code":"247",
"code":"258"
},
{
"desc":"This SQL performance is poor. SubPlan exists in the execution plan as follows:The core of this optimization is to eliminate subqueries. Based on the service scenario anal",
"product_code":"dws",
"title":"Case: Rewriting SQL and Deleting Subqueries (Case 1)",
"uri":"dws_04_0486.html",
"doc_type":"devg",
"p_code":"247",
"code":"259"
},
{
"desc":"On a site, the customer gave the feedback saying that the execution time of the following SQL statements lasted over one day and did not end:The corresponding execution p",
"product_code":"dws",
"title":"Case: Rewriting SQL and Deleting Subqueries (Case 2)",
"uri":"dws_04_0487.html",
"doc_type":"devg",
"p_code":"247",
"code":"260"
},
{
"desc":"In a test at a site, ddw_f10_op_cust_asset_mon is a partitioned table and the partition key is year_mth whose value is a combined string of month and year values.The foll",
"product_code":"dws",
"title":"Case: Rewriting SQL Statements and Eliminating Prune Interference",
"uri":"dws_04_0488.html",
"doc_type":"devg",
"p_code":"247",
"code":"261"
},
{
"desc":"in-clause/any-clause is a common SQL statement constraint. Sometimes, the clause following in or any is a constant. For example:orSome special usages are as follows:Where",
"product_code":"dws",
"title":"Case: Rewriting SQL Statements and Deleting in-clause",
"uri":"dws_04_0489.html",
"doc_type":"devg",
"p_code":"247",
"code":"262"
},
{
"desc":"You can add PARTIAL CLUSTER KEY(column_name[,...]) to the definition of a column-store table to set one or more columns of this table as partial cluster keys. In this way",
"product_code":"dws",
"title":"Case: Setting Partial Cluster Keys",
"uri":"dws_04_0490.html",
"doc_type":"devg",
"p_code":"247",
"code":"263"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"SQL Execution Troubleshooting",
"uri":"dws_04_0491.html",
"doc_type":"devg",
"p_code":"199",
"code":"264"
},
{
"desc":"A query task that used to take a few milliseconds to complete is now requiring several seconds, and that used to take several seconds is now requiring even half an hour. ",
"product_code":"dws",
"title":"Low Query Efficiency",
"uri":"dws_04_0492.html",
"doc_type":"devg",
"p_code":"264",
"code":"265"
},
{
"desc":"DROP TABLE fails to be executed in the following scenarios:A user runs the \\dt+ command using gsql and finds that the table_name table does not exist. When the user runs ",
"product_code":"dws",
"title":"DROP TABLE Fails to Be Executed",
"uri":"dws_04_0494.html",
"doc_type":"devg",
"p_code":"264",
"code":"266"
},
{
"desc":"Two users log in to the same database human_resource and run the select count(*) from areas statement separately to query the areas table, but obtain different results.Ch",
"product_code":"dws",
"title":"Different Data Is Displayed for the Same Table Queried By Multiple Users",
"uri":"dws_04_0495.html",
"doc_type":"devg",
"p_code":"264",
"code":"267"
},
{
"desc":"The following error is reported during the integer conversion:Some data types cannot be converted to the target data type.Gradually narrow down the range of SQL statement",
"product_code":"dws",
"title":"An Error Occurs During the Integer Conversion",
"uri":"dws_04_0496.html",
"doc_type":"devg",
"p_code":"264",
"code":"268"
},
{
"desc":"With automatic retry (referred to as CN retry), GaussDB(DWS) retries an SQL statement when the execution of this statement fails. If an SQL statement sent from the gsql c",
"product_code":"dws",
"title":"Automatic Retry upon SQL Statement Execution Errors",
"uri":"dws_04_0497.html",
"doc_type":"devg",
"p_code":"264",
"code":"269"
},
{
"desc":"To improve the cluster performance, you can use multiple methods to optimize the database, including hardware configuration, software driver upgrade, and internal paramet",
"product_code":"dws",
"title":"Common Performance Parameter Optimization Design",
"uri":"dws_04_0970.html",
"doc_type":"devg",
"p_code":"199",
"code":"270"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"User-Defined Functions",
"uri":"dws_04_0507.html",
"doc_type":"devg",
"p_code":"1",
"code":"271"
},
{
"desc":"With the GaussDB(DWS) PL/Java functions, you can choose your favorite Java IDE to write Java methods and install the JAR files containing these methods into the GaussDB(D",
"product_code":"dws",
"title":"PL/Java Functions",
"uri":"dws_04_0509.html",
"doc_type":"devg",
"p_code":"271",
"code":"272"
},
{
"desc":"PL/pgSQL is similar to PL/SQL of Oracle. It is a loadable procedural language.The functions created using PL/pgSQL can be used in any place where you can use built-in fun",
"product_code":"dws",
"title":"PL/pgSQL Functions",
"uri":"dws_04_0511.html",
"doc_type":"devg",
"p_code":"271",
"code":"273"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Stored Procedures",
"uri":"dws_04_0512.html",
"doc_type":"devg",
"p_code":"1",
"code":"274"
},
{
"desc":"In GaussDB(DWS), business rules and logics are saved as stored procedures.A stored procedure is a combination of SQL, PL/SQL, and Java statements, enabling business rule ",
"product_code":"dws",
"title":"Stored Procedure",
"uri":"dws_04_0513.html",
"doc_type":"devg",
"p_code":"274",
"code":"275"
},
{
"desc":"A data type refers to a value set and an operation set defined on the value set. A GaussDB(DWS) database consists of tables, each of which is defined by its own columns. ",
"product_code":"dws",
"title":"Data Types",
"uri":"dws_04_0514.html",
"doc_type":"devg",
"p_code":"274",
"code":"276"
},
{
"desc":"Certain data types in the database support implicit data type conversions, such as assignments and parameters invoked by functions. For other data types, you can use the ",
"product_code":"dws",
"title":"Data Type Conversion",
"uri":"dws_04_0515.html",
"doc_type":"devg",
"p_code":"274",
"code":"277"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Arrays and Records",
"uri":"dws_04_0516.html",
"doc_type":"devg",
"p_code":"274",
"code":"278"
},
{
"desc":"Before the use of arrays, an array type needs to be defined:Define an array type immediately after the AS keyword in a stored procedure. Run the following statement:TYPE ",
"product_code":"dws",
"title":"Arrays",
"uri":"dws_04_0517.html",
"doc_type":"devg",
"p_code":"278",
"code":"279"
},
{
"desc":"Perform the following operations to create a record variable:Define a record type and use this type to declare a variable.For the syntax of the record type, see Figure 1.",
"product_code":"dws",
"title":"record",
"uri":"dws_04_0518.html",
"doc_type":"devg",
"p_code":"278",
"code":"280"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Syntax",
"uri":"dws_04_0519.html",
"doc_type":"devg",
"p_code":"274",
"code":"281"
},
{
"desc":"A PL/SQL block can contain a sub-block which can be placed in any section. The following describes the architecture of a PL/SQL block:DECLARE: declares variables, types, ",
"product_code":"dws",
"title":"Basic Structure",
"uri":"dws_04_0520.html",
"doc_type":"devg",
"p_code":"281",
"code":"282"
},
{
"desc":"An anonymous block applies to a script infrequently executed or a one-off activity. An anonymous block is executed in a session and is not stored.Figure 1 shows the synta",
"product_code":"dws",
"title":"Anonymous Block",
"uri":"dws_04_0521.html",
"doc_type":"devg",
"p_code":"281",
"code":"283"
},
{
"desc":"A subprogram stores stored procedures, functions, operators, and advanced packages. A subprogram created in a database can be called by other programs.",
"product_code":"dws",
"title":"Subprogram",
"uri":"dws_04_0522.html",
"doc_type":"devg",
"p_code":"281",
"code":"284"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Basic Statements",
"uri":"dws_04_0523.html",
"doc_type":"devg",
"p_code":"274",
"code":"285"
},
{
"desc":"This section describes the declaration of variables in the PL/SQL and the scope of this variable in codes.For details about the variable declaration syntax, see Figure 1.",
"product_code":"dws",
"title":"Variable Definition Statement",
"uri":"dws_04_0524.html",
"doc_type":"devg",
"p_code":"285",
"code":"286"
},
{
"desc":"Figure 1 shows the syntax diagram for assigning a value to a variable.The above syntax diagram is explained as follows:variable_name indicates the name of a variable.valu",
"product_code":"dws",
"title":"Assignment Statement",
"uri":"dws_04_0525.html",
"doc_type":"devg",
"p_code":"285",
"code":"287"
},
{
"desc":"Figure 1 shows the syntax diagram for calling a clause.The above syntax diagram is explained as follows:procedure_name specifies the name of a stored procedure.parameter ",
"product_code":"dws",
"title":"Call Statement",
"uri":"dws_04_0526.html",
"doc_type":"devg",
"p_code":"285",
"code":"288"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Dynamic Statements",
"uri":"dws_04_0527.html",
"doc_type":"devg",
"p_code":"274",
"code":"289"
},
{
"desc":"You can perform dynamic queries using EXECUTE IMMEDIATE or OPEN FOR in GaussDB(DWS). EXECUTE IMMEDIATE dynamically executes SELECT statements and OPEN FOR combines use of",
"product_code":"dws",
"title":"Executing Dynamic Query Statements",
"uri":"dws_04_0528.html",
"doc_type":"devg",
"p_code":"289",
"code":"290"
},
{
"desc":"Figure 1 shows the syntax diagram.Figure 2 shows the syntax diagram for using_clause.The above syntax diagram is explained as follows:USING IN bind_argument is used to sp",
"product_code":"dws",
"title":"Executing Dynamic Non-query Statements",
"uri":"dws_04_0529.html",
"doc_type":"devg",
"p_code":"289",
"code":"291"
},
{
"desc":"This section describes how to dynamically call store procedures. You must use anonymous statement blocks to package stored procedures or statement blocks and append IN an",
"product_code":"dws",
"title":"Dynamically Calling Stored Procedures",
"uri":"dws_04_0530.html",
"doc_type":"devg",
"p_code":"289",
"code":"292"
},
{
"desc":"This section describes how to execute anonymous blocks in dynamic statements. Append IN and OUT behind the EXECUTE IMMEDIATE...USING statement to input and output paramet",
"product_code":"dws",
"title":"Dynamically Calling Anonymous Blocks",
"uri":"dws_04_0531.html",
"doc_type":"devg",
"p_code":"289",
"code":"293"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Control Statements",
"uri":"dws_04_0532.html",
"doc_type":"devg",
"p_code":"274",
"code":"294"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"RETURN Statements",
"uri":"dws_04_0533.html",
"doc_type":"devg",
"p_code":"294",
"code":"295"
},
{
"desc":"Figure 1 shows the syntax diagram for a return statement.The syntax details are as follows:This statement returns control from a stored procedure or function to a caller.",
"product_code":"dws",
"title":"RETURN",
"uri":"dws_04_0534.html",
"doc_type":"devg",
"p_code":"295",
"code":"296"
},
{
"desc":"When creating a function, specify SETOF datatype for the return values.return_next_clause::=return_query_clause::=The syntax details are as follows:If a function needs to",
"product_code":"dws",
"title":"RETURN NEXT and RETURN QUERY",
"uri":"dws_04_0535.html",
"doc_type":"devg",
"p_code":"295",
"code":"297"
},
{
"desc":"Conditional statements are used to decide whether given conditions are met. Operations are executed based on the decisions made.GaussDB(DWS) supports five usages of IF:IF",
"product_code":"dws",
"title":"Conditional Statements",
"uri":"dws_04_0536.html",
"doc_type":"devg",
"p_code":"294",
"code":"298"
},
{
"desc":"The syntax diagram is as follows.Example:The loop must be exploited together with EXIT; otherwise, a dead loop occurs.The syntax diagram is as follows.If the conditional ",
"product_code":"dws",
"title":"Loop Statements",
"uri":"dws_04_0537.html",
"doc_type":"devg",
"p_code":"294",
"code":"299"
},
{
"desc":"Figure 1 shows the syntax diagram.Figure 2 shows the syntax diagram for when_clause.Parameter description:case_expression: specifies the variable or expression.when_expre",
"product_code":"dws",
"title":"Branch Statements",
"uri":"dws_04_0538.html",
"doc_type":"devg",
"p_code":"294",
"code":"300"
},
{
"desc":"In PL/SQL programs, NULL statements are used to indicate \"nothing should be done\", equal to placeholders. They grant meanings to some statements and improve program reada",
"product_code":"dws",
"title":"NULL Statements",
"uri":"dws_04_0539.html",
"doc_type":"devg",
"p_code":"294",
"code":"301"
},
{
"desc":"By default, any error occurring in a PL/SQL function aborts execution of the function, and indeed of the surrounding transaction as well. You can trap errors and restore ",
"product_code":"dws",
"title":"Error Trapping Statements",
"uri":"dws_04_0540.html",
"doc_type":"devg",
"p_code":"294",
"code":"302"
},
{
"desc":"The GOTO statement unconditionally transfers the control from the current statement to a labeled statement. The GOTO statement changes the execution logic. Therefore, use",
"product_code":"dws",
"title":"GOTO Statements",
"uri":"dws_04_0541.html",
"doc_type":"devg",
"p_code":"294",
"code":"303"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Other Statements",
"uri":"dws_04_0542.html",
"doc_type":"devg",
"p_code":"274",
"code":"304"
},
{
"desc":"GaussDB(DWS) provides multiple lock modes to control concurrent accesses to table data. These modes are used when Multi-Version Concurrency Control (MVCC) cannot give exp",
"product_code":"dws",
"title":"Lock Operations",
"uri":"dws_04_0543.html",
"doc_type":"devg",
"p_code":"304",
"code":"305"
},
{
"desc":"GaussDB(DWS) provides cursors as a data buffer for users to store execution results of SQL statements. Each cursor region has a name. Users can use SQL statements to obta",
"product_code":"dws",
"title":"Cursor Operations",
"uri":"dws_04_0544.html",
"doc_type":"devg",
"p_code":"304",
"code":"306"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Cursors",
"uri":"dws_04_0545.html",
"doc_type":"devg",
"p_code":"274",
"code":"307"
},
{
"desc":"To process SQL statements, the stored procedure process assigns a memory segment to store context association. Cursors are handles or pointers to context areas. With curs",
"product_code":"dws",
"title":"Overview",
"uri":"dws_04_0546.html",
"doc_type":"devg",
"p_code":"307",
"code":"308"
},
{
"desc":"An explicit cursor is used to process query statements, particularly when the query results contain multiple records.An explicit cursor performs the following six PL/SQL ",
"product_code":"dws",
"title":"Explicit Cursor",
"uri":"dws_04_0547.html",
"doc_type":"devg",
"p_code":"307",
"code":"309"
},
{
"desc":"The system automatically sets implicit cursors for non-query statements, such as ALTER and DROP, and creates work areas for these statements. These implicit cursors are n",
"product_code":"dws",
"title":"Implicit Cursor",
"uri":"dws_04_0548.html",
"doc_type":"devg",
"p_code":"307",
"code":"310"
},
{
"desc":"The use of cursors in WHILE and LOOP statements is called a cursor loop. Generally, OPEN, FETCH, and CLOSE statements are needed in cursor loop. The following describes a",
"product_code":"dws",
"title":"Cursor Loop",
"uri":"dws_04_0549.html",
"doc_type":"devg",
"p_code":"307",
"code":"311"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Advanced Packages",
"uri":"dws_04_0550.html",
"doc_type":"devg",
"p_code":"274",
"code":"312"
},
{
"desc":"Table 1 provides all interfaces supported by the DBMS_LOB package.DBMS_LOB.GETLENGTHSpecifies the length of a LOB type object obtained and returned by the stored procedur",
"product_code":"dws",
"title":"DBMS_LOB",
"uri":"dws_04_0551.html",
"doc_type":"devg",
"p_code":"312",
"code":"313"
},
{
"desc":"Table 1 provides all interfaces supported by the DBMS_RANDOM package.DBMS_RANDOM.SEEDThe stored procedure SEED is used to set a seed for a random number. The DBMS_RANDOM.",
"product_code":"dws",
"title":"DBMS_RANDOM",
"uri":"dws_04_0552.html",
"doc_type":"devg",
"p_code":"312",
"code":"314"
},
{
"desc":"Table 1 provides all interfaces supported by the DBMS_OUTPUT package.DBMS_OUTPUT.PUT_LINEThe PUT_LINE procedure writes a row of text carrying a line end symbol in the buf",
"product_code":"dws",
"title":"DBMS_OUTPUT",
"uri":"dws_04_0553.html",
"doc_type":"devg",
"p_code":"312",
"code":"315"
},
{
"desc":"Table 1 provides all interfaces supported by the UTL_RAW package.The external representation of the RAW type data is hexadecimal and its internal storage form is binary. ",
"product_code":"dws",
"title":"UTL_RAW",
"uri":"dws_04_0554.html",
"doc_type":"devg",
"p_code":"312",
"code":"316"
},
{
"desc":"Table 1 lists all interfaces supported by the DBMS_JOB package.DBMS_JOB.SUBMITThe stored procedure SUBMIT submits a job provided by the system.A prototype of the DBMS_JOB",
"product_code":"dws",
"title":"DBMS_JOB",
"uri":"dws_04_0555.html",
"doc_type":"devg",
"p_code":"312",
"code":"317"
},
{
"desc":"Table 1 lists interfaces supported by the DBMS_SQL package.You are advised to use dbms_sql.define_column and dbms_sql.column_value to define columns.If the size of the re",
"product_code":"dws",
"title":"DBMS_SQL",
"uri":"dws_04_0556.html",
"doc_type":"devg",
"p_code":"312",
"code":"318"
},
{
"desc":"RAISE has the following five syntax formats:Parameter description:The level option is used to specify the error level, that is, DEBUG, LOG, INFO, NOTICE, WARNING, or EXCE",
"product_code":"dws",
"title":"Debugging",
"uri":"dws_04_0558.html",
"doc_type":"devg",
"p_code":"274",
"code":"319"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"System Catalogs and System Views",
"uri":"dws_04_0559.html",
"doc_type":"devg",
"p_code":"1",
"code":"320"
},
{
"desc":"System catalogs are used by GaussDB(DWS) to store structure metadata. They are a core component the GaussDB(DWS) database system and provide control information for the d",
"product_code":"dws",
"title":"Overview of System Catalogs and System Views",
"uri":"dws_04_0560.html",
"doc_type":"devg",
"p_code":"320",
"code":"321"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"System Catalogs",
"uri":"dws_04_0561.html",
"doc_type":"devg",
"p_code":"320",
"code":"322"
},
{
"desc":"GS_OBSSCANINFO defines the OBS runtime information scanned in cluster acceleration scenarios. Each record corresponds to a piece of runtime information of a foreign table",
"product_code":"dws",
"title":"GS_OBSSCANINFO",
"uri":"dws_04_0562.html",
"doc_type":"devg",
"p_code":"322",
"code":"323"
},
{
"desc":"The GS_WLM_INSTANCE_HISTORY system catalog stores information about resource usage related to CN or DN instances. Each record in the system table indicates the resource u",
"product_code":"dws",
"title":"GS_WLM_INSTANCE_HISTORY",
"uri":"dws_04_0564.html",
"doc_type":"devg",
"p_code":"322",
"code":"324"
},
{
"desc":"GS_WLM_OPERATOR_INFO records operators of completed jobs. The data is dumped from the kernel to a system catalog.This system catalog's schema is dbms_om.This system catal",
"product_code":"dws",
"title":"GS_WLM_OPERATOR_INFO",
"uri":"dws_04_0565.html",
"doc_type":"devg",
"p_code":"322",
"code":"325"
},
{
"desc":"GS_WLM_SESSION_INFO records load management information about a completed job executed on all CNs. The data is dumped from the kernel to a system catalog.This system cata",
"product_code":"dws",
"title":"GS_WLM_SESSION_INFO",
"uri":"dws_04_0566.html",
"doc_type":"devg",
"p_code":"322",
"code":"326"
},
{
"desc":"The GS_WLM_USER_RESOURCE_HISTORY system table stores information about resources used by users and is valid only on CNs. Each record in the system table indicates the res",
"product_code":"dws",
"title":"GS_WLM_USER_RESOURCE_HISTORY",
"uri":"dws_04_0567.html",
"doc_type":"devg",
"p_code":"322",
"code":"327"
},
{
"desc":"pg_aggregate records information about aggregation functions. Each entry in pg_aggregate is an extension of an entry in pg_proc. The pg_proc entry carries the aggregate's",
"product_code":"dws",
"title":"PG_AGGREGATE",
"uri":"dws_04_0568.html",
"doc_type":"devg",
"p_code":"322",
"code":"328"
},
{
"desc":"PG_AM records information about index access methods. There is one row for each index access method supported by the system.",
"product_code":"dws",
"title":"PG_AM",
"uri":"dws_04_0569.html",
"doc_type":"devg",
"p_code":"322",
"code":"329"
},
{
"desc":"PG_AMOP records information about operators associated with access method operator families. There is one row for each operator that is a member of an operator family. A ",
"product_code":"dws",
"title":"PG_AMOP",
"uri":"dws_04_0570.html",
"doc_type":"devg",
"p_code":"322",
"code":"330"
},
{
"desc":"PG_AMPROC records information about the support procedures associated with the access method operator families. There is one row for each support procedure belonging to a",
"product_code":"dws",
"title":"PG_AMPROC",
"uri":"dws_04_0571.html",
"doc_type":"devg",
"p_code":"322",
"code":"331"
},
{
"desc":"PG_ATTRDEF stores default values of columns.",
"product_code":"dws",
"title":"PG_ATTRDEF",
"uri":"dws_04_0572.html",
"doc_type":"devg",
"p_code":"322",
"code":"332"
},
{
"desc":"PG_ATTRIBUTE records information about table columns.",
"product_code":"dws",
"title":"PG_ATTRIBUTE",
"uri":"dws_04_0573.html",
"doc_type":"devg",
"p_code":"322",
"code":"333"
},
{
"desc":"PG_AUTHID records information about the database authentication identifiers (roles). The concept of users is contained in that of roles. A user is actually a role whose r",
"product_code":"dws",
"title":"PG_AUTHID",
"uri":"dws_04_0574.html",
"doc_type":"devg",
"p_code":"322",
"code":"334"
},
{
"desc":"PG_AUTH_HISTORY records the authentication history of the role. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"PG_AUTH_HISTORY",
"uri":"dws_04_0575.html",
"doc_type":"devg",
"p_code":"322",
"code":"335"
},
{
"desc":"PG_AUTH_MEMBERS records the membership relations between roles.",
"product_code":"dws",
"title":"PG_AUTH_MEMBERS",
"uri":"dws_04_0576.html",
"doc_type":"devg",
"p_code":"322",
"code":"336"
},
{
"desc":"PG_CAST records conversion relationships between data types.",
"product_code":"dws",
"title":"PG_CAST",
"uri":"dws_04_0577.html",
"doc_type":"devg",
"p_code":"322",
"code":"337"
},
{
"desc":"PG_CLASS records database objects and their relations.View the OID and relfilenode of a table.Count row-store tables.Count column-store tables.",
"product_code":"dws",
"title":"PG_CLASS",
"uri":"dws_04_0578.html",
"doc_type":"devg",
"p_code":"322",
"code":"338"
},
{
"desc":"PG_COLLATION records the available collations, which are essentially mappings from an SQL name to operating system locale categories.",
"product_code":"dws",
"title":"PG_COLLATION",
"uri":"dws_04_0579.html",
"doc_type":"devg",
"p_code":"322",
"code":"339"
},
{
"desc":"PG_CONSTRAINT records check, primary key, unique, and foreign key constraints on the tables.consrc is not updated when referenced objects change; for example, it will not",
"product_code":"dws",
"title":"PG_CONSTRAINT",
"uri":"dws_04_0580.html",
"doc_type":"devg",
"p_code":"322",
"code":"340"
},
{
"desc":"PG_CONVERSION records encoding conversion information.",
"product_code":"dws",
"title":"PG_CONVERSION",
"uri":"dws_04_0581.html",
"doc_type":"devg",
"p_code":"322",
"code":"341"
},
{
"desc":"PG_DATABASE records information about the available databases.",
"product_code":"dws",
"title":"PG_DATABASE",
"uri":"dws_04_0582.html",
"doc_type":"devg",
"p_code":"322",
"code":"342"
},
{
"desc":"PG_DB_ROLE_SETTING records the default values of configuration items bonded to each role and database when the database is running.",
"product_code":"dws",
"title":"PG_DB_ROLE_SETTING",
"uri":"dws_04_0583.html",
"doc_type":"devg",
"p_code":"322",
"code":"343"
},
{
"desc":"PG_DEFAULT_ACL records the initial privileges assigned to the newly created objects.Run the following command to view the initial permissions of the new user role1:You ca",
"product_code":"dws",
"title":"PG_DEFAULT_ACL",
"uri":"dws_04_0584.html",
"doc_type":"devg",
"p_code":"322",
"code":"344"
},
{
"desc":"PG_DEPEND records the dependency relationships between database objects. This information allows DROP commands to find which other objects must be dropped by DROP CASCADE",
"product_code":"dws",
"title":"PG_DEPEND",
"uri":"dws_04_0585.html",
"doc_type":"devg",
"p_code":"322",
"code":"345"
},
{
"desc":"PG_DESCRIPTION records optional descriptions (comments) for each database object. Descriptions of many built-in system objects are provided in the initial contents of PG_",
"product_code":"dws",
"title":"PG_DESCRIPTION",
"uri":"dws_04_0586.html",
"doc_type":"devg",
"p_code":"322",
"code":"346"
},
{
"desc":"PG_ENUM records entries showing the values and labels for each enum type. The internal representation of a given enum value is actually the OID of its associated row in p",
"product_code":"dws",
"title":"PG_ENUM",
"uri":"dws_04_0588.html",
"doc_type":"devg",
"p_code":"322",
"code":"347"
},
{
"desc":"PG_EXTENSION records information about the installed extensions. By default, GaussDB(DWS) has 12 extensions, that is, PLPGSQL, DIST_FDW, FILE_FDW, HDFS_FDW, HSTORE, PLDBG",
"product_code":"dws",
"title":"PG_EXTENSION",
"uri":"dws_04_0589.html",
"doc_type":"devg",
"p_code":"322",
"code":"348"
},
{
"desc":"PG_EXTENSION_DATA_SOURCE records information about external data source. An external data source contains information about an external database, such as its password enc",
"product_code":"dws",
"title":"PG_EXTENSION_DATA_SOURCE",
"uri":"dws_04_0590.html",
"doc_type":"devg",
"p_code":"322",
"code":"349"
},
{
"desc":"PG_FOREIGN_DATA_WRAPPER records foreign-data wrapper definitions. A foreign-data wrapper is the mechanism by which external data, residing on foreign servers, is accessed",
"product_code":"dws",
"title":"PG_FOREIGN_DATA_WRAPPER",
"uri":"dws_04_0591.html",
"doc_type":"devg",
"p_code":"322",
"code":"350"
},
{
"desc":"PG_FOREIGN_SERVER records the foreign server definitions. A foreign server describes a source of external data, such as a remote server. Foreign servers are accessed via ",
"product_code":"dws",
"title":"PG_FOREIGN_SERVER",
"uri":"dws_04_0592.html",
"doc_type":"devg",
"p_code":"322",
"code":"351"
},
{
"desc":"PG_FOREIGN_TABLE records auxiliary information about foreign tables.",
"product_code":"dws",
"title":"PG_FOREIGN_TABLE",
"uri":"dws_04_0593.html",
"doc_type":"devg",
"p_code":"322",
"code":"352"
},
{
"desc":"PG_INDEX records part of the information about indexes. The rest is mostly in PG_CLASS.",
"product_code":"dws",
"title":"PG_INDEX",
"uri":"dws_04_0594.html",
"doc_type":"devg",
"p_code":"322",
"code":"353"
},
{
"desc":"PG_INHERITS records information about table inheritance hierarchies. There is one entry for each direct child table in the database. Indirect inheritance can be determine",
"product_code":"dws",
"title":"PG_INHERITS",
"uri":"dws_04_0595.html",
"doc_type":"devg",
"p_code":"322",
"code":"354"
},
{
"desc":"PG_JOBS records detailed information about jobs created by users. Dedicated threads poll the pg_jobs table and trigger jobs based on scheduled job execution time. This ta",
"product_code":"dws",
"title":"PG_JOBS",
"uri":"dws_04_0596.html",
"doc_type":"devg",
"p_code":"322",
"code":"355"
},
{
"desc":"PG_LANGUAGE records programming languages. You can use them and interfaces to write functions or stored procedures.",
"product_code":"dws",
"title":"PG_LANGUAGE",
"uri":"dws_04_0597.html",
"doc_type":"devg",
"p_code":"322",
"code":"356"
},
{
"desc":"PG_LARGEOBJECT records the data making up large objects A large object is identified by an OID assigned when it is created. Each large object is broken into segments or \"",
"product_code":"dws",
"title":"PG_LARGEOBJECT",
"uri":"dws_04_0598.html",
"doc_type":"devg",
"p_code":"322",
"code":"357"
},
{
"desc":"PG_LARGEOBJECT_METADATA records metadata associated with large objects. The actual large object data is stored in PG_LARGEOBJECT.",
"product_code":"dws",
"title":"PG_LARGEOBJECT_METADATA",
"uri":"dws_04_0599.html",
"doc_type":"devg",
"p_code":"322",
"code":"358"
},
{
"desc":"PG_NAMESPACE records the namespaces, that is, schema-related information.",
"product_code":"dws",
"title":"PG_NAMESPACE",
"uri":"dws_04_0600.html",
"doc_type":"devg",
"p_code":"322",
"code":"359"
},
{
"desc":"PG_OBJECT records the user creation, creation time, last modification time, and last analyzing time of objects of specified types (types existing in object_type).Only nor",
"product_code":"dws",
"title":"PG_OBJECT",
"uri":"dws_04_0601.html",
"doc_type":"devg",
"p_code":"322",
"code":"360"
},
{
"desc":"PG_OBSSCANINFO defines the OBS runtime information scanned in cluster acceleration scenarios. Each record corresponds to a piece of runtime information of a foreign table",
"product_code":"dws",
"title":"PG_OBSSCANINFO",
"uri":"dws_04_0602.html",
"doc_type":"devg",
"p_code":"322",
"code":"361"
},
{
"desc":"PG_OPCLASS defines index access method operator classes.Each operator class defines semantics for index columns of a particular data type and a particular index access me",
"product_code":"dws",
"title":"PG_OPCLASS",
"uri":"dws_04_0603.html",
"doc_type":"devg",
"p_code":"322",
"code":"362"
},
{
"desc":"PG_OPERATOR records information about operators.",
"product_code":"dws",
"title":"PG_OPERATOR",
"uri":"dws_04_0604.html",
"doc_type":"devg",
"p_code":"322",
"code":"363"
},
{
"desc":"PG_OPFAMILY defines operator families.Each operator family is a collection of operators and associated support routines that implement the semantics specified for a parti",
"product_code":"dws",
"title":"PG_OPFAMILY",
"uri":"dws_04_0605.html",
"doc_type":"devg",
"p_code":"322",
"code":"364"
},
{
"desc":"PG_PARTITION records all partitioned tables, table partitions, toast tables on table partitions, and index partitions in the database. Partitioned index information is no",
"product_code":"dws",
"title":"PG_PARTITION",
"uri":"dws_04_0606.html",
"doc_type":"devg",
"p_code":"322",
"code":"365"
},
{
"desc":"PG_PLTEMPLATE records template information for procedural languages.",
"product_code":"dws",
"title":"PG_PLTEMPLATE",
"uri":"dws_04_0607.html",
"doc_type":"devg",
"p_code":"322",
"code":"366"
},
{
"desc":"PG_PROC records information about functions or procedures.Query the OID of a specified function. For example, obtain the OID 1295 of the justify_days function.Query wheth",
"product_code":"dws",
"title":"PG_PROC",
"uri":"dws_04_0608.html",
"doc_type":"devg",
"p_code":"322",
"code":"367"
},
{
"desc":"PG_RANGE records information about range types.This is in addition to the types' entries in PG_TYPE.rngsubopc (plus rngcollation, if the element type is collatable) deter",
"product_code":"dws",
"title":"PG_RANGE",
"uri":"dws_04_0609.html",
"doc_type":"devg",
"p_code":"322",
"code":"368"
},
{
"desc":"PG_REDACTION_COLUMN records the information about the redacted columns.",
"product_code":"dws",
"title":"PG_REDACTION_COLUMN",
"uri":"dws_04_0610.html",
"doc_type":"devg",
"p_code":"322",
"code":"369"
},
{
"desc":"PG_REDACTION_POLICY records information about the object to be redacted.",
"product_code":"dws",
"title":"PG_REDACTION_POLICY",
"uri":"dws_04_0611.html",
"doc_type":"devg",
"p_code":"322",
"code":"370"
},
{
"desc":"PG_RLSPOLICY displays the information about row-level access control policies.",
"product_code":"dws",
"title":"PG_RLSPOLICY",
"uri":"dws_04_0612.html",
"doc_type":"devg",
"p_code":"322",
"code":"371"
},
{
"desc":"PG_RESOURCE_POOL records the information about database resource pool.",
"product_code":"dws",
"title":"PG_RESOURCE_POOL",
"uri":"dws_04_0613.html",
"doc_type":"devg",
"p_code":"322",
"code":"372"
},
{
"desc":"PG_REWRITE records rewrite rules defined for tables and views.",
"product_code":"dws",
"title":"PG_REWRITE",
"uri":"dws_04_0614.html",
"doc_type":"devg",
"p_code":"322",
"code":"373"
},
{
"desc":"PG_SECLABEL records security labels on database objects.See also PG_SHSECLABEL, which performs a similar function for security labels of database objects that are shared ",
"product_code":"dws",
"title":"PG_SECLABEL",
"uri":"dws_04_0615.html",
"doc_type":"devg",
"p_code":"322",
"code":"374"
},
{
"desc":"PG_SHDEPEND records the dependency relationships between database objects and shared objects, such as roles. This information allows GaussDB(DWS) to ensure that those obj",
"product_code":"dws",
"title":"PG_SHDEPEND",
"uri":"dws_04_0616.html",
"doc_type":"devg",
"p_code":"322",
"code":"375"
},
{
"desc":"PG_SHDESCRIPTION records optional comments for shared database objects. Descriptions can be manipulated with the COMMENT command and viewed with psql's \\d commands.See al",
"product_code":"dws",
"title":"PG_SHDESCRIPTION",
"uri":"dws_04_0617.html",
"doc_type":"devg",
"p_code":"322",
"code":"376"
},
{
"desc":"PG_SHSECLABEL records security labels on shared database objects. Security labels can be manipulated with the SECURITY LABEL command.For an easier way to view security la",
"product_code":"dws",
"title":"PG_SHSECLABEL",
"uri":"dws_04_0618.html",
"doc_type":"devg",
"p_code":"322",
"code":"377"
},
{
"desc":"PG_STATISTIC records statistics about tables and index columns in a database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"PG_STATISTIC",
"uri":"dws_04_0619.html",
"doc_type":"devg",
"p_code":"322",
"code":"378"
},
{
"desc":"PG_STATISTIC_EXT records the extended statistics of tables in a database, such as statistics of multiple columns. Statistics of expressions will be supported later. You c",
"product_code":"dws",
"title":"PG_STATISTIC_EXT",
"uri":"dws_04_0620.html",
"doc_type":"devg",
"p_code":"322",
"code":"379"
},
{
"desc":"PG_SYNONYM records the mapping between synonym object names and other database object names.",
"product_code":"dws",
"title":"PG_SYNONYM",
"uri":"dws_04_0621.html",
"doc_type":"devg",
"p_code":"322",
"code":"380"
},
{
"desc":"PG_TABLESPACE records tablespace information.",
"product_code":"dws",
"title":"PG_TABLESPACE",
"uri":"dws_04_0622.html",
"doc_type":"devg",
"p_code":"322",
"code":"381"
},
{
"desc":"PG_TRIGGER records the trigger information.",
"product_code":"dws",
"title":"PG_TRIGGER",
"uri":"dws_04_0623.html",
"doc_type":"devg",
"p_code":"322",
"code":"382"
},
{
"desc":"PG_TS_CONFIG records entries representing text search configurations. A configuration specifies a particular text search parser and a list of dictionaries to use for each",
"product_code":"dws",
"title":"PG_TS_CONFIG",
"uri":"dws_04_0624.html",
"doc_type":"devg",
"p_code":"322",
"code":"383"
},
{
"desc":"PG_TS_CONFIG_MAP records entries showing which text search dictionaries should be consulted, and in what order, for each output token type of each text search configurati",
"product_code":"dws",
"title":"PG_TS_CONFIG_MAP",
"uri":"dws_04_0625.html",
"doc_type":"devg",
"p_code":"322",
"code":"384"
},
{
"desc":"PG_TS_DICT records entries that define text search dictionaries. A dictionary depends on a text search template, which specifies all the implementation functions needed. ",
"product_code":"dws",
"title":"PG_TS_DICT",
"uri":"dws_04_0626.html",
"doc_type":"devg",
"p_code":"322",
"code":"385"
},
{
"desc":"PG_TS_PARSER records entries defining text search parsers. A parser splits input text into lexemes and assigns a token type to each lexeme. Since a parser must be impleme",
"product_code":"dws",
"title":"PG_TS_PARSER",
"uri":"dws_04_0627.html",
"doc_type":"devg",
"p_code":"322",
"code":"386"
},
{
"desc":"PG_TS_TEMPLATE records entries defining text search templates. A template provides a framework for text search dictionaries. Since a template must be implemented by C fun",
"product_code":"dws",
"title":"PG_TS_TEMPLATE",
"uri":"dws_04_0628.html",
"doc_type":"devg",
"p_code":"322",
"code":"387"
},
{
"desc":"PG_TYPE records the information about data types.",
"product_code":"dws",
"title":"PG_TYPE",
"uri":"dws_04_0629.html",
"doc_type":"devg",
"p_code":"322",
"code":"388"
},
{
"desc":"PG_USER_MAPPING records the mappings from local users to remote.It is accessible only to users with system administrator rights. You can use view PG_USER_MAPPINGS to quer",
"product_code":"dws",
"title":"PG_USER_MAPPING",
"uri":"dws_04_0630.html",
"doc_type":"devg",
"p_code":"322",
"code":"389"
},
{
"desc":"PG_USER_STATUS records the states of users that access to the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"PG_USER_STATUS",
"uri":"dws_04_0631.html",
"doc_type":"devg",
"p_code":"322",
"code":"390"
},
{
"desc":"PG_WORKLOAD_ACTION records information about query_band.",
"product_code":"dws",
"title":"PG_WORKLOAD_ACTION",
"uri":"dws_04_0632.html",
"doc_type":"devg",
"p_code":"322",
"code":"391"
},
{
"desc":"PGXC_CLASS records the replicated or distributed information for each table.",
"product_code":"dws",
"title":"PGXC_CLASS",
"uri":"dws_04_0633.html",
"doc_type":"devg",
"p_code":"322",
"code":"392"
},
{
"desc":"PGXC_GROUP records information about node groups.",
"product_code":"dws",
"title":"PGXC_GROUP",
"uri":"dws_04_0634.html",
"doc_type":"devg",
"p_code":"322",
"code":"393"
},
{
"desc":"PGXC_NODE records information about cluster nodes.Query the CN and DN information of the cluster:",
"product_code":"dws",
"title":"PGXC_NODE",
"uri":"dws_04_0635.html",
"doc_type":"devg",
"p_code":"322",
"code":"394"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"System Views",
"uri":"dws_04_0639.html",
"doc_type":"devg",
"p_code":"320",
"code":"395"
},
{
"desc":"ALL_ALL_TABLES displays the tables or views accessible to the current user.",
"product_code":"dws",
"title":"ALL_ALL_TABLES",
"uri":"dws_04_0640.html",
"doc_type":"devg",
"p_code":"395",
"code":"396"
},
{
"desc":"ALL_CONSTRAINTS displays information about constraints accessible to the current user.",
"product_code":"dws",
"title":"ALL_CONSTRAINTS",
"uri":"dws_04_0641.html",
"doc_type":"devg",
"p_code":"395",
"code":"397"
},
{
"desc":"ALL_CONS_COLUMNS displays information about constraint columns accessible to the current user.",
"product_code":"dws",
"title":"ALL_CONS_COLUMNS",
"uri":"dws_04_0642.html",
"doc_type":"devg",
"p_code":"395",
"code":"398"
},
{
"desc":"ALL_COL_COMMENTS displays the comment information about table columns accessible to the current user.",
"product_code":"dws",
"title":"ALL_COL_COMMENTS",
"uri":"dws_04_0643.html",
"doc_type":"devg",
"p_code":"395",
"code":"399"
},
{
"desc":"ALL_DEPENDENCIES displays dependencies between functions and advanced packages accessible to the current user.Currently in GaussDB(DWS), this table is empty without any r",
"product_code":"dws",
"title":"ALL_DEPENDENCIES",
"uri":"dws_04_0644.html",
"doc_type":"devg",
"p_code":"395",
"code":"400"
},
{
"desc":"ALL_IND_COLUMNS displays all index columns accessible to the current user.",
"product_code":"dws",
"title":"ALL_IND_COLUMNS",
"uri":"dws_04_0645.html",
"doc_type":"devg",
"p_code":"395",
"code":"401"
},
{
"desc":"ALL_IND_EXPRESSIONS displays information about the expression indexes accessible to the current user.",
"product_code":"dws",
"title":"ALL_IND_EXPRESSIONS",
"uri":"dws_04_0646.html",
"doc_type":"devg",
"p_code":"395",
"code":"402"
},
{
"desc":"ALL_INDEXES displays information about indexes accessible to the current user.",
"product_code":"dws",
"title":"ALL_INDEXES",
"uri":"dws_04_0647.html",
"doc_type":"devg",
"p_code":"395",
"code":"403"
},
{
"desc":"ALL_OBJECTS displays all database objects accessible to the current user.For details about the value ranges of last_ddl_time and last_ddl_time, see PG_OBJECT.",
"product_code":"dws",
"title":"ALL_OBJECTS",
"uri":"dws_04_0648.html",
"doc_type":"devg",
"p_code":"395",
"code":"404"
},
{
"desc":"ALL_PROCEDURES displays information about all stored procedures or functions accessible to the current user.",
"product_code":"dws",
"title":"ALL_PROCEDURES",
"uri":"dws_04_0649.html",
"doc_type":"devg",
"p_code":"395",
"code":"405"
},
{
"desc":"ALL_SEQUENCES displays all sequences accessible to the current user.",
"product_code":"dws",
"title":"ALL_SEQUENCES",
"uri":"dws_04_0650.html",
"doc_type":"devg",
"p_code":"395",
"code":"406"
},
{
"desc":"ALL_SOURCE displays information about stored procedures or functions accessible to the current user, and provides the columns defined by the stored procedures and functio",
"product_code":"dws",
"title":"ALL_SOURCE",
"uri":"dws_04_0651.html",
"doc_type":"devg",
"p_code":"395",
"code":"407"
},
{
"desc":"ALL_SYNONYMS displays all synonyms accessible to the current user.",
"product_code":"dws",
"title":"ALL_SYNONYMS",
"uri":"dws_04_0652.html",
"doc_type":"devg",
"p_code":"395",
"code":"408"
},
{
"desc":"ALL_TAB_COLUMNS displays description information about columns of the tables accessible to the current user.",
"product_code":"dws",
"title":"ALL_TAB_COLUMNS",
"uri":"dws_04_0653.html",
"doc_type":"devg",
"p_code":"395",
"code":"409"
},
{
"desc":"ALL_TAB_COMMENTS displays comments about all tables and views accessible to the current user.",
"product_code":"dws",
"title":"ALL_TAB_COMMENTS",
"uri":"dws_04_0654.html",
"doc_type":"devg",
"p_code":"395",
"code":"410"
},
{
"desc":"ALL_TABLES displays all the tables accessible to the current user.",
"product_code":"dws",
"title":"ALL_TABLES",
"uri":"dws_04_0655.html",
"doc_type":"devg",
"p_code":"395",
"code":"411"
},
{
"desc":"ALL_USERS displays all users of the database visible to the current user, however, it does not describe the users.",
"product_code":"dws",
"title":"ALL_USERS",
"uri":"dws_04_0656.html",
"doc_type":"devg",
"p_code":"395",
"code":"412"
},
{
"desc":"ALL_VIEWS displays the description about all views accessible to the current user.",
"product_code":"dws",
"title":"ALL_VIEWS",
"uri":"dws_04_0657.html",
"doc_type":"devg",
"p_code":"395",
"code":"413"
},
{
"desc":"DBA_DATA_FILES displays the description of database files. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_DATA_FILES",
"uri":"dws_04_0658.html",
"doc_type":"devg",
"p_code":"395",
"code":"414"
},
{
"desc":"DBA_USERS displays all user names in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_USERS",
"uri":"dws_04_0659.html",
"doc_type":"devg",
"p_code":"395",
"code":"415"
},
{
"desc":"DBA_COL_COMMENTS displays information about table colum comments in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_COL_COMMENTS",
"uri":"dws_04_0660.html",
"doc_type":"devg",
"p_code":"395",
"code":"416"
},
{
"desc":"DBA_CONSTRAINTS displays information about table constraints in database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_CONSTRAINTS",
"uri":"dws_04_0661.html",
"doc_type":"devg",
"p_code":"395",
"code":"417"
},
{
"desc":"DBA_CONS_COLUMNS displays information about constraint columns in database tables. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_CONS_COLUMNS",
"uri":"dws_04_0662.html",
"doc_type":"devg",
"p_code":"395",
"code":"418"
},
{
"desc":"DBA_IND_COLUMNS displays column information about all indexes in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_IND_COLUMNS",
"uri":"dws_04_0663.html",
"doc_type":"devg",
"p_code":"395",
"code":"419"
},
{
"desc":"DBA_IND_EXPRESSIONS displays the information about expression indexes in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_IND_EXPRESSIONS",
"uri":"dws_04_0664.html",
"doc_type":"devg",
"p_code":"395",
"code":"420"
},
{
"desc":"DBA_IND_PARTITIONS displays information about all index partitions in the database. Each index partition of a partitioned table in the database, if present, has a row of ",
"product_code":"dws",
"title":"DBA_IND_PARTITIONS",
"uri":"dws_04_0665.html",
"doc_type":"devg",
"p_code":"395",
"code":"421"
},
{
"desc":"DBA_INDEXES displays all indexes in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_INDEXES",
"uri":"dws_04_0666.html",
"doc_type":"devg",
"p_code":"395",
"code":"422"
},
{
"desc":"DBA_OBJECTS displays all database objects in the database. It is accessible only to users with system administrator rights.For details about the value ranges of last_ddl_",
"product_code":"dws",
"title":"DBA_OBJECTS",
"uri":"dws_04_0667.html",
"doc_type":"devg",
"p_code":"395",
"code":"423"
},
{
"desc":"DBA_PART_INDEXES displays information about all partitioned table indexes in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_PART_INDEXES",
"uri":"dws_04_0668.html",
"doc_type":"devg",
"p_code":"395",
"code":"424"
},
{
"desc":"DBA_PART_TABLES displays information about all partitioned tables in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_PART_TABLES",
"uri":"dws_04_0669.html",
"doc_type":"devg",
"p_code":"395",
"code":"425"
},
{
"desc":"DBA_PROCEDURES displays information about all stored procedures and functions in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_PROCEDURES",
"uri":"dws_04_0670.html",
"doc_type":"devg",
"p_code":"395",
"code":"426"
},
{
"desc":"DBA_SEQUENCES displays information about all sequences in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_SEQUENCES",
"uri":"dws_04_0671.html",
"doc_type":"devg",
"p_code":"395",
"code":"427"
},
{
"desc":"DBA_SOURCE displays all stored procedures or functions in the database, and it provides the columns defined by the stored procedures or functions. It is accessible only t",
"product_code":"dws",
"title":"DBA_SOURCE",
"uri":"dws_04_0672.html",
"doc_type":"devg",
"p_code":"395",
"code":"428"
},
{
"desc":"DBA_SYNONYMS displays all synonyms in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_SYNONYMS",
"uri":"dws_04_0673.html",
"doc_type":"devg",
"p_code":"395",
"code":"429"
},
{
"desc":"DBA_TAB_COLUMNS displays the columns of tables. Each column of a table in the database has a row in DBA_TAB_COLUMNS. It is accessible only to users with system administra",
"product_code":"dws",
"title":"DBA_TAB_COLUMNS",
"uri":"dws_04_0674.html",
"doc_type":"devg",
"p_code":"395",
"code":"430"
},
{
"desc":"DBA_TAB_COMMENTS displays comments about all tables and views in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_TAB_COMMENTS",
"uri":"dws_04_0675.html",
"doc_type":"devg",
"p_code":"395",
"code":"431"
},
{
"desc":"DBA_TAB_PARTITIONS displays information about all partitions in the database.",
"product_code":"dws",
"title":"DBA_TAB_PARTITIONS",
"uri":"dws_04_0676.html",
"doc_type":"devg",
"p_code":"395",
"code":"432"
},
{
"desc":"DBA_TABLES displays all tables in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_TABLES",
"uri":"dws_04_0677.html",
"doc_type":"devg",
"p_code":"395",
"code":"433"
},
{
"desc":"DBA_TABLESPACES displays information about available tablespaces. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_TABLESPACES",
"uri":"dws_04_0678.html",
"doc_type":"devg",
"p_code":"395",
"code":"434"
},
{
"desc":"DBA_TRIGGERS displays information about triggers in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_TRIGGERS",
"uri":"dws_04_0679.html",
"doc_type":"devg",
"p_code":"395",
"code":"435"
},
{
"desc":"DBA_VIEWS displays views in the database. It is accessible only to users with system administrator rights.",
"product_code":"dws",
"title":"DBA_VIEWS",
"uri":"dws_04_0680.html",
"doc_type":"devg",
"p_code":"395",
"code":"436"
},
{
"desc":"DUAL is automatically created by the database based on the data dictionary. It has only one text column in only one row for storing expression calculation results. It is ",
"product_code":"dws",
"title":"DUAL",
"uri":"dws_04_0681.html",
"doc_type":"devg",
"p_code":"395",
"code":"437"
},
{
"desc":"GLOBAL_REDO_STAT displays the total statistics of XLOG redo operations on all nodes in a cluster. Except the avgiotim column (indicating the average redo write time of al",
"product_code":"dws",
"title":"GLOBAL_REDO_STAT",
"uri":"dws_04_0682.html",
"doc_type":"devg",
"p_code":"395",
"code":"438"
},
{
"desc":"GLOBAL_REL_IOSTAT displays the total disk I/O statistics of all nodes in a cluster. The name of each column in this view is the same as that in the GS_REL_IOSTAT view, bu",
"product_code":"dws",
"title":"GLOBAL_REL_IOSTAT",
"uri":"dws_04_0683.html",
"doc_type":"devg",
"p_code":"395",
"code":"439"
},
{
"desc":"GLOBAL_STAT_DATABASE displays the status and statistics of databases on all nodes in a cluster.When you query the GLOBAL_STAT_DATABASE view on a CN, the respective values",
"product_code":"dws",
"title":"GLOBAL_STAT_DATABASE",
"uri":"dws_04_0684.html",
"doc_type":"devg",
"p_code":"395",
"code":"440"
},
{
"desc":"GLOBAL_WORKLOAD_SQL_COUNT displays statistics on the number of SQL statements executed in all workload Cgroups in a cluster, including the number of SELECT, UPDATE, INSER",
"product_code":"dws",
"title":"GLOBAL_WORKLOAD_SQL_COUNT",
"uri":"dws_04_0685.html",
"doc_type":"devg",
"p_code":"395",
"code":"441"
},
{
"desc":"GLOBAL_WORKLOAD_SQL_ELAPSE_TIME displays statistics on the response time of SQL statements in all workload Cgroups in a cluster, including the maximum, minimum, average, ",
"product_code":"dws",
"title":"GLOBAL_WORKLOAD_SQL_ELAPSE_TIME",
"uri":"dws_04_0686.html",
"doc_type":"devg",
"p_code":"395",
"code":"442"
},
{
"desc":"GLOBAL_WORKLOAD_TRANSACTION provides the total transaction information about workload Cgroups on all CNs in the cluster. This view is accessible only to users with system",
"product_code":"dws",
"title":"GLOBAL_WORKLOAD_TRANSACTION",
"uri":"dws_04_0687.html",
"doc_type":"devg",
"p_code":"395",
"code":"443"
},
{
"desc":"GS_ALL_CONTROL_GROUP_INFO displays all Cgroup information in a database.",
"product_code":"dws",
"title":"GS_ALL_CONTROL_GROUP_INFO",
"uri":"dws_04_0688.html",
"doc_type":"devg",
"p_code":"395",
"code":"444"
},
{
"desc":"GS_CLUSTER_RESOURCE_INFO displays a DN resource summary.",
"product_code":"dws",
"title":"GS_CLUSTER_RESOURCE_INFO",
"uri":"dws_04_0689.html",
"doc_type":"devg",
"p_code":"395",
"code":"445"
},
{
"desc":"The database parses each received SQL text string and generates an internal parsing tree. The database traverses the parsing tree and ignores constant values in the parsi",
"product_code":"dws",
"title":"GS_INSTR_UNIQUE_SQL",
"uri":"dws_04_0690.html",
"doc_type":"devg",
"p_code":"395",
"code":"446"
},
{
"desc":"GS_REL_IOSTAT displays disk I/O statistics on the current node. In the current version, only one page is read or written in each read or write operation. Therefore, the n",
"product_code":"dws",
"title":"GS_REL_IOSTAT",
"uri":"dws_04_0691.html",
"doc_type":"devg",
"p_code":"395",
"code":"447"
},
{
"desc":"The GS_NODE_STAT_RESET_TIME view provides the reset time of statistics on the current node and returns the timestamp with the time zone. For details, see the get_node_sta",
"product_code":"dws",
"title":"GS_NODE_STAT_RESET_TIME",
"uri":"dws_04_0692.html",
"doc_type":"devg",
"p_code":"395",
"code":"448"
},
{
"desc":"GS_SESSION_CPU_STATISTICS displays load management information about CPU usage of ongoing complex jobs executed by the current user.",
"product_code":"dws",
"title":"GS_SESSION_CPU_STATISTICS",
"uri":"dws_04_0693.html",
"doc_type":"devg",
"p_code":"395",
"code":"449"
},
{
"desc":"GS_SESSION_MEMORY_STATISTICS displays load management information about memory usage of ongoing complex jobs executed by the current user.",
"product_code":"dws",
"title":"GS_SESSION_MEMORY_STATISTICS",
"uri":"dws_04_0694.html",
"doc_type":"devg",
"p_code":"395",
"code":"450"
},
{
"desc":"GS_SQL_COUNT displays statistics about the five types of statements (SELECT, INSERT, UPDATE, DELETE, and MERGE INTO) executed on the current node of the database, includi",
"product_code":"dws",
"title":"GS_SQL_COUNT",
"uri":"dws_04_0695.html",
"doc_type":"devg",
"p_code":"395",
"code":"451"
},
{
"desc":"GS_WAIT_EVENTS displays statistics about waiting status and events on the current node.The values of statistical columns in this view are accumulated only when the enable",
"product_code":"dws",
"title":"GS_WAIT_EVENTS",
"uri":"dws_04_0696.html",
"doc_type":"devg",
"p_code":"395",
"code":"452"
},
{
"desc":"This view displays the execution information about operators in the query statements that have been executed on the current CN. The information comes from the system cata",
"product_code":"dws",
"title":"GS_WLM_OPERAROR_INFO",
"uri":"dws_04_0701.html",
"doc_type":"devg",
"p_code":"395",
"code":"453"
},
{
"desc":"This view displays the records of operators in jobs that have been executed by the current user on the current CN.This view is used by Database Manager to query data from",
"product_code":"dws",
"title":"GS_WLM_OPERATOR_HISTORY",
"uri":"dws_04_0702.html",
"doc_type":"devg",
"p_code":"395",
"code":"454"
},
{
"desc":"GS_WLM_OPERATOR_STATISTICS displays the operators of the jobs that are being executed by the current user.",
"product_code":"dws",
"title":"GS_WLM_OPERATOR_STATISTICS",
"uri":"dws_04_0703.html",
"doc_type":"devg",
"p_code":"395",
"code":"455"
},
{
"desc":"This view displays the execution information about the query statements that have been executed on the current CN. The information comes from the system catalog dbms_om. ",
"product_code":"dws",
"title":"GS_WLM_SESSION_INFO",
"uri":"dws_04_0704.html",
"doc_type":"devg",
"p_code":"395",
"code":"456"
},
{
"desc":"GS_WLM_SESSION_HISTORY displays load management information about a completed job executed by the current user on the current CN. This view is used by Database Manager to",
"product_code":"dws",
"title":"GS_WLM_SESSION_HISTORY",
"uri":"dws_04_0705.html",
"doc_type":"devg",
"p_code":"395",
"code":"457"
},
{
"desc":"GS_WLM_SESSION_STATISTICS displays load management information about jobs being executed by the current user on the current CN.",
"product_code":"dws",
"title":"GS_WLM_SESSION_STATISTICS",
"uri":"dws_04_0706.html",
"doc_type":"devg",
"p_code":"395",
"code":"458"
},
{
"desc":"GS_WLM_SQL_ALLOW displays the configured resource management SQL whitelist, including the default SQL whitelist and the SQL whitelist configured using the GUC parameter w",
"product_code":"dws",
"title":"GS_WLM_SQL_ALLOW",
"uri":"dws_04_0708.html",
"doc_type":"devg",
"p_code":"395",
"code":"459"
},
{
"desc":"GS_WORKLOAD_SQL_COUNT displays statistics on the number of SQL statements executed in workload Cgroups on the current node, including the number of SELECT, UPDATE, INSERT",
"product_code":"dws",
"title":"GS_WORKLOAD_SQL_COUNT",
"uri":"dws_04_0709.html",
"doc_type":"devg",
"p_code":"395",
"code":"460"
},
{
"desc":"GS_WORKLOAD_SQL_ELAPSE_TIME displays statistics on the response time of SQL statements in workload Cgroups on the current node, including the maximum, minimum, average, a",
"product_code":"dws",
"title":"GS_WORKLOAD_SQL_ELAPSE_TIME",
"uri":"dws_04_0710.html",
"doc_type":"devg",
"p_code":"395",
"code":"461"
},
{
"desc":"GS_WORKLOAD_TRANSACTION provides transaction information about workload cgroups on a single CN. The database records the number of times that each workload Cgroup commits",
"product_code":"dws",
"title":"GS_WORKLOAD_TRANSACTION",
"uri":"dws_04_0711.html",
"doc_type":"devg",
"p_code":"395",
"code":"462"
},
{
"desc":"GS_STAT_DB_CU displsys CU hits in a database and in each node in a cluster. You can clear it using gs_stat_reset().",
"product_code":"dws",
"title":"GS_STAT_DB_CU",
"uri":"dws_04_0712.html",
"doc_type":"devg",
"p_code":"395",
"code":"463"
},
{
"desc":"GS_STAT_SESSION_CU displays the CU hit rate of running sessions on each node in a cluster. This data about a session is cleared when you exit this session or restart the ",
"product_code":"dws",
"title":"GS_STAT_SESSION_CU",
"uri":"dws_04_0713.html",
"doc_type":"devg",
"p_code":"395",
"code":"464"
},
{
"desc":"GS_TOTAL_NODEGROUP_MEMORY_DETAIL displays statistics about memory usage of the logical cluster that the current database belongs to in the unit of MB.",
"product_code":"dws",
"title":"GS_TOTAL_NODEGROUP_MEMORY_DETAIL",
"uri":"dws_04_0714.html",
"doc_type":"devg",
"p_code":"395",
"code":"465"
},
{
"desc":"GS_USER_TRANSACTION provides transaction information about users on a single CN. The database records the number of times that each user commits and rolls back transactio",
"product_code":"dws",
"title":"GS_USER_TRANSACTION",
"uri":"dws_04_0715.html",
"doc_type":"devg",
"p_code":"395",
"code":"466"
},
{
"desc":"GS_VIEW_DEPENDENCY allows you to query the direct dependencies of all views visible to the current user.",
"product_code":"dws",
"title":"GS_VIEW_DEPENDENCY",
"uri":"dws_04_0716.html",
"doc_type":"devg",
"p_code":"395",
"code":"467"
},
{
"desc":"GS_VIEW_DEPENDENCY_PATH allows you to query the direct dependencies of all views visible to the current user. If the base table on which the view depends exists and the d",
"product_code":"dws",
"title":"GS_VIEW_DEPENDENCY_PATH",
"uri":"dws_04_0948.html",
"doc_type":"devg",
"p_code":"395",
"code":"468"
},
{
"desc":"GS_VIEW_INVALID queries all unavailable views visible to the current user. If the base table, function, or synonym that the view depends on is abnormal, the validtype col",
"product_code":"dws",
"title":"GS_VIEW_INVALID",
"uri":"dws_04_0717.html",
"doc_type":"devg",
"p_code":"395",
"code":"469"
},
{
"desc":"MPP_TABLES displays information about tables in PGXC_CLASS.",
"product_code":"dws",
"title":"MPP_TABLES",
"uri":"dws_04_0998.html",
"doc_type":"devg",
"p_code":"395",
"code":"470"
},
{
"desc":"PG_AVAILABLE_EXTENSION_VERSIONS displays the extension versions of certain database features.",
"product_code":"dws",
"title":"PG_AVAILABLE_EXTENSION_VERSIONS",
"uri":"dws_04_0718.html",
"doc_type":"devg",
"p_code":"395",
"code":"471"
},
{
"desc":"PG_AVAILABLE_EXTENSIONS displays the extended information about certain database features.",
"product_code":"dws",
"title":"PG_AVAILABLE_EXTENSIONS",
"uri":"dws_04_0719.html",
"doc_type":"devg",
"p_code":"395",
"code":"472"
},
{
"desc":"On any normal node in a cluster, PG_BULKLOAD_STATISTICS displays the execution status of the import and export services. Each import or export service corresponds to a re",
"product_code":"dws",
"title":"PG_BULKLOAD_STATISTICS",
"uri":"dws_04_0720.html",
"doc_type":"devg",
"p_code":"395",
"code":"473"
},
{
"desc":"PG_COMM_CLIENT_INFO stores the client connection information of a single node. (You can query this view on a DN to view the information about the connection between the C",
"product_code":"dws",
"title":"PG_COMM_CLIENT_INFO",
"uri":"dws_04_0721.html",
"doc_type":"devg",
"p_code":"395",
"code":"474"
},
{
"desc":"PG_COMM_DELAY displays the communication library delay status for a single DN.",
"product_code":"dws",
"title":"PG_COMM_DELAY",
"uri":"dws_04_0722.html",
"doc_type":"devg",
"p_code":"395",
"code":"475"
},
{
"desc":"PG_COMM_STATUS displays the communication library status for a single DN.",
"product_code":"dws",
"title":"PG_COMM_STATUS",
"uri":"dws_04_0723.html",
"doc_type":"devg",
"p_code":"395",
"code":"476"
},
{
"desc":"PG_COMM_RECV_STREAM displays the receiving stream status of all the communication libraries for a single DN.",
"product_code":"dws",
"title":"PG_COMM_RECV_STREAM",
"uri":"dws_04_0724.html",
"doc_type":"devg",
"p_code":"395",
"code":"477"
},
{
"desc":"PG_COMM_SEND_STREAM displays the sending stream status of all the communication libraries for a single DN.",
"product_code":"dws",
"title":"PG_COMM_SEND_STREAM",
"uri":"dws_04_0725.html",
"doc_type":"devg",
"p_code":"395",
"code":"478"
},
{
"desc":"PG_CONTROL_GROUP_CONFIG displays the Cgroup configuration information in the system.",
"product_code":"dws",
"title":"PG_CONTROL_GROUP_CONFIG",
"uri":"dws_04_0726.html",
"doc_type":"devg",
"p_code":"395",
"code":"479"
},
{
"desc":"PG_CURSORS displays the cursors that are currently available.",
"product_code":"dws",
"title":"PG_CURSORS",
"uri":"dws_04_0727.html",
"doc_type":"devg",
"p_code":"395",
"code":"480"
},
{
"desc":"PG_EXT_STATS displays extension statistics stored in the PG_STATISTIC_EXT table. The extension statistics means multiple columns of statistics.",
"product_code":"dws",
"title":"PG_EXT_STATS",
"uri":"dws_04_0728.html",
"doc_type":"devg",
"p_code":"395",
"code":"481"
},
{
"desc":"PG_GET_INVALID_BACKENDS displays the information about backend threads on the CN that are connected to the current standby DN.",
"product_code":"dws",
"title":"PG_GET_INVALID_BACKENDS",
"uri":"dws_04_0729.html",
"doc_type":"devg",
"p_code":"395",
"code":"482"
},
{
"desc":"PG_GET_SENDERS_CATCHUP_TIME displays the catchup information of the currently active primary/standby instance sending thread on a single DN.",
"product_code":"dws",
"title":"PG_GET_SENDERS_CATCHUP_TIME",
"uri":"dws_04_0730.html",
"doc_type":"devg",
"p_code":"395",
"code":"483"
},
{
"desc":"PG_GROUP displays the database role authentication and the relationship between roles.",
"product_code":"dws",
"title":"PG_GROUP",
"uri":"dws_04_0731.html",
"doc_type":"devg",
"p_code":"395",
"code":"484"
},
{
"desc":"PG_INDEXES displays access to useful information about each index in the database.",
"product_code":"dws",
"title":"PG_INDEXES",
"uri":"dws_04_0732.html",
"doc_type":"devg",
"p_code":"395",
"code":"485"
},
{
"desc":"The PG_JOB view replaces the PG_JOB system catalog in earlier versions and provides forward compatibility with earlier versions. The original PG_JOB system catalog is cha",
"product_code":"dws",
"title":"PG_JOB",
"uri":"dws_04_0733.html",
"doc_type":"devg",
"p_code":"395",
"code":"486"
},
{
"desc":"The PG_JOB_PROC view replaces the PG_JOB_PROC system catalog in earlier versions and provides forward compatibility with earlier versions. The original PG_JOB_PROC and PG",
"product_code":"dws",
"title":"PG_JOB_PROC",
"uri":"dws_04_0734.html",
"doc_type":"devg",
"p_code":"395",
"code":"487"
},
{
"desc":"PG_JOB_SINGLE displays job information about the current node.",
"product_code":"dws",
"title":"PG_JOB_SINGLE",
"uri":"dws_04_0735.html",
"doc_type":"devg",
"p_code":"395",
"code":"488"
},
{
"desc":"PG_LIFECYCLE_DATA_DISTRIBUTE displays the distribution of cold and hot data in a multi-temperature table of OBS.",
"product_code":"dws",
"title":"PG_LIFECYCLE_DATA_DISTRIBUTE",
"uri":"dws_04_0736.html",
"doc_type":"devg",
"p_code":"395",
"code":"489"
},
{
"desc":"PG_LOCKS displays information about the locks held by open transactions.",
"product_code":"dws",
"title":"PG_LOCKS",
"uri":"dws_04_0737.html",
"doc_type":"devg",
"p_code":"395",
"code":"490"
},
{
"desc":"PG_NODE_ENVO displays the environmental variable information about the current node.",
"product_code":"dws",
"title":"PG_NODE_ENV",
"uri":"dws_04_0738.html",
"doc_type":"devg",
"p_code":"395",
"code":"491"
},
{
"desc":"PG_OS_THREADS displays the status information about all the threads under the current node.",
"product_code":"dws",
"title":"PG_OS_THREADS",
"uri":"dws_04_0739.html",
"doc_type":"devg",
"p_code":"395",
"code":"492"
},
{
"desc":"PG_POOLER_STATUS displays the cache connection status in the pooler. PG_POOLER_STATUS can only query on the CN, and displays the connection cache information about the po",
"product_code":"dws",
"title":"PG_POOLER_STATUS",
"uri":"dws_04_0740.html",
"doc_type":"devg",
"p_code":"395",
"code":"493"
},
{
"desc":"PG_PREPARED_STATEMENTS displays all prepared statements that are available in the current session.",
"product_code":"dws",
"title":"PG_PREPARED_STATEMENTS",
"uri":"dws_04_0741.html",
"doc_type":"devg",
"p_code":"395",
"code":"494"
},
{
"desc":"PG_PREPARED_XACTS displays information about transactions that are currently prepared for two-phase commit.",
"product_code":"dws",
"title":"PG_PREPARED_XACTS",
"uri":"dws_04_0742.html",
"doc_type":"devg",
"p_code":"395",
"code":"495"
},
{
"desc":"PG_QUERYBAND_ACTION displays information about the object associated with query_band and the query_band query order.",
"product_code":"dws",
"title":"PG_QUERYBAND_ACTION",
"uri":"dws_04_0743.html",
"doc_type":"devg",
"p_code":"395",
"code":"496"
},
{
"desc":"PG_REPLICATION_SLOTS displays the replication node information.",
"product_code":"dws",
"title":"PG_REPLICATION_SLOTS",
"uri":"dws_04_0744.html",
"doc_type":"devg",
"p_code":"395",
"code":"497"
},
{
"desc":"PG_ROLES displays information about database roles.",
"product_code":"dws",
"title":"PG_ROLES",
"uri":"dws_04_0745.html",
"doc_type":"devg",
"p_code":"395",
"code":"498"
},
{
"desc":"PG_RULES displays information about rewrite rules.",
"product_code":"dws",
"title":"PG_RULES",
"uri":"dws_04_0746.html",
"doc_type":"devg",
"p_code":"395",
"code":"499"
},
{
"desc":"PG_RUNNING_XACTS displays the running transaction information on the current node.",
"product_code":"dws",
"title":"PG_RUNNING_XACTS",
"uri":"dws_04_0747.html",
"doc_type":"devg",
"p_code":"395",
"code":"500"
},
{
"desc":"PG_SECLABELS displays information about security labels.",
"product_code":"dws",
"title":"PG_SECLABELS",
"uri":"dws_04_0748.html",
"doc_type":"devg",
"p_code":"395",
"code":"501"
},
{
"desc":"PG_SESSION_WLMSTAT displays the corresponding load management information about the task currently executed by the user.",
"product_code":"dws",
"title":"PG_SESSION_WLMSTAT",
"uri":"dws_04_0749.html",
"doc_type":"devg",
"p_code":"395",
"code":"502"
},
{
"desc":"PG_SESSION_IOSTAT displays the I/O load management information about the task currently executed by the user.IOPS is counted by ones for column storage and by thousands f",
"product_code":"dws",
"title":"PG_SESSION_IOSTAT",
"uri":"dws_04_0750.html",
"doc_type":"devg",
"p_code":"395",
"code":"503"
},
{
"desc":"PG_SETTINGS displays information about parameters of the running database.",
"product_code":"dws",
"title":"PG_SETTINGS",
"uri":"dws_04_0751.html",
"doc_type":"devg",
"p_code":"395",
"code":"504"
},
{
"desc":"PG_SHADOW displays properties of all roles that are marked as rolcanlogin in PG_AUTHID.The name stems from the fact that this table should not be readable by the public s",
"product_code":"dws",
"title":"PG_SHADOW",
"uri":"dws_04_0752.html",
"doc_type":"devg",
"p_code":"395",
"code":"505"
},
{
"desc":"PG_SHARED_MEMORY_DETAIL displays usage information about all the shared memory contexts.",
"product_code":"dws",
"title":"PG_SHARED_MEMORY_DETAIL",
"uri":"dws_04_0753.html",
"doc_type":"devg",
"p_code":"395",
"code":"506"
},
{
"desc":"PG_STATS displays the single-column statistics stored in the pg_statistic table.",
"product_code":"dws",
"title":"PG_STATS",
"uri":"dws_04_0754.html",
"doc_type":"devg",
"p_code":"395",
"code":"507"
},
{
"desc":"PG_STAT_ACTIVITY displays information about the current user's queries.",
"product_code":"dws",
"title":"PG_STAT_ACTIVITY",
"uri":"dws_04_0755.html",
"doc_type":"devg",
"p_code":"395",
"code":"508"
},
{
"desc":"PG_STAT_ALL_INDEXES displays access informaton about all indexes in the database, with information about each index displayed in a row.Indexes can be used via either simp",
"product_code":"dws",
"title":"PG_STAT_ALL_INDEXES",
"uri":"dws_04_0757.html",
"doc_type":"devg",
"p_code":"395",
"code":"509"
},
{
"desc":"PG_STAT_ALL_TABLES displays access information about all rows in all tables (including TOAST tables) in the database.",
"product_code":"dws",
"title":"PG_STAT_ALL_TABLES",
"uri":"dws_04_0758.html",
"doc_type":"devg",
"p_code":"395",
"code":"510"
},
{
"desc":"PG_STAT_BAD_BLOCK displays statistics about page or CU verification failures after a node is started.",
"product_code":"dws",
"title":"PG_STAT_BAD_BLOCK",
"uri":"dws_04_0759.html",
"doc_type":"devg",
"p_code":"395",
"code":"511"
},
{
"desc":"PG_STAT_BGWRITER displays statistics about the background writer process's activity.",
"product_code":"dws",
"title":"PG_STAT_BGWRITER",
"uri":"dws_04_0760.html",
"doc_type":"devg",
"p_code":"395",
"code":"512"
},
{
"desc":"PG_STAT_DATABASE displays the status and statistics of each database on the current node.",
"product_code":"dws",
"title":"PG_STAT_DATABASE",
"uri":"dws_04_0761.html",
"doc_type":"devg",
"p_code":"395",
"code":"513"
},
{
"desc":"PG_STAT_DATABASE_CONFLICTS displays statistics about database conflicts.",
"product_code":"dws",
"title":"PG_STAT_DATABASE_CONFLICTS",
"uri":"dws_04_0762.html",
"doc_type":"devg",
"p_code":"395",
"code":"514"
},
{
"desc":"PG_STAT_GET_MEM_MBYTES_RESERVED displays the current activity information of a thread stored in memory. You need to specify the thread ID (pid in PG_STAT_ACTIVITY) for qu",
"product_code":"dws",
"title":"PG_STAT_GET_MEM_MBYTES_RESERVED",
"uri":"dws_04_0763.html",
"doc_type":"devg",
"p_code":"395",
"code":"515"
},
{
"desc":"PG_STAT_USER_FUNCTIONS displays user-defined function status information in the namespace. (The language of the function is non-internal language.)",
"product_code":"dws",
"title":"PG_STAT_USER_FUNCTIONS",
"uri":"dws_04_0764.html",
"doc_type":"devg",
"p_code":"395",
"code":"516"
},
{
"desc":"PG_STAT_USER_INDEXES displays information about the index status of user-defined ordinary tables and TOAST tables.",
"product_code":"dws",
"title":"PG_STAT_USER_INDEXES",
"uri":"dws_04_0765.html",
"doc_type":"devg",
"p_code":"395",
"code":"517"
},
{
"desc":"PG_STAT_USER_TABLES displays status information about user-defined ordinary tables and TOAST tables in all namespaces.",
"product_code":"dws",
"title":"PG_STAT_USER_TABLES",
"uri":"dws_04_0766.html",
"doc_type":"devg",
"p_code":"395",
"code":"518"
},
{
"desc":"PG_STAT_REPLICATION displays information about log synchronization status, such as the locations of the sender sending logs and the receiver receiving logs.",
"product_code":"dws",
"title":"PG_STAT_REPLICATION",
"uri":"dws_04_0767.html",
"doc_type":"devg",
"p_code":"395",
"code":"519"
},
{
"desc":"PG_STAT_SYS_INDEXES displays the index status information about all the system catalogs in the pg_catalog and information_schema schemas.",
"product_code":"dws",
"title":"PG_STAT_SYS_INDEXES",
"uri":"dws_04_0768.html",
"doc_type":"devg",
"p_code":"395",
"code":"520"
},
{
"desc":"PG_STAT_SYS_TABLES displays the statistics about the system catalogs of all the namespaces in pg_catalog and information_schema schemas.",
"product_code":"dws",
"title":"PG_STAT_SYS_TABLES",
"uri":"dws_04_0769.html",
"doc_type":"devg",
"p_code":"395",
"code":"521"
},
{
"desc":"PG_STAT_XACT_ALL_TABLES displays the transaction status information about all ordinary tables and TOAST tables in the namespaces.",
"product_code":"dws",
"title":"PG_STAT_XACT_ALL_TABLES",
"uri":"dws_04_0770.html",
"doc_type":"devg",
"p_code":"395",
"code":"522"
},
{
"desc":"PG_STAT_XACT_SYS_TABLES displays the transaction status information of the system catalog in the namespace.",
"product_code":"dws",
"title":"PG_STAT_XACT_SYS_TABLES",
"uri":"dws_04_0771.html",
"doc_type":"devg",
"p_code":"395",
"code":"523"
},
{
"desc":"PG_STAT_XACT_USER_FUNCTIONS displays statistics about function executions, with statistics about each execution displayed in a row.",
"product_code":"dws",
"title":"PG_STAT_XACT_USER_FUNCTIONS",
"uri":"dws_04_0772.html",
"doc_type":"devg",
"p_code":"395",
"code":"524"
},
{
"desc":"PG_STAT_XACT_USER_TABLES displays the transaction status information of the user table in the namespace.",
"product_code":"dws",
"title":"PG_STAT_XACT_USER_TABLES",
"uri":"dws_04_0773.html",
"doc_type":"devg",
"p_code":"395",
"code":"525"
},
{
"desc":"PG_STATIO_ALL_INDEXES contains each row of each index in the current database, showing I/O statistics about accesses to that specific index.",
"product_code":"dws",
"title":"PG_STATIO_ALL_INDEXES",
"uri":"dws_04_0774.html",
"doc_type":"devg",
"p_code":"395",
"code":"526"
},
{
"desc":"PG_STATIO_ALL_SEQUENCES contains each row of each sequence in the current database, showing I/O statistics about accesses to that specific sequence.",
"product_code":"dws",
"title":"PG_STATIO_ALL_SEQUENCES",
"uri":"dws_04_0775.html",
"doc_type":"devg",
"p_code":"395",
"code":"527"
},
{
"desc":"PG_STATIO_ALL_TABLES contains one row for each table in the current database (including TOAST tables), showing I/O statistics about accesses to that specific table.",
"product_code":"dws",
"title":"PG_STATIO_ALL_TABLES",
"uri":"dws_04_0776.html",
"doc_type":"devg",
"p_code":"395",
"code":"528"
},
{
"desc":"PG_STATIO_SYS_INDEXES displays the I/O status information about all system catalog indexes in the namespace.",
"product_code":"dws",
"title":"PG_STATIO_SYS_INDEXES",
"uri":"dws_04_0777.html",
"doc_type":"devg",
"p_code":"395",
"code":"529"
},
{
"desc":"PG_STATIO_SYS_SEQUENCES displays the I/O status information about all the system sequences in the namespace.",
"product_code":"dws",
"title":"PG_STATIO_SYS_SEQUENCES",
"uri":"dws_04_0778.html",
"doc_type":"devg",
"p_code":"395",
"code":"530"
},
{
"desc":"PG_STATIO_SYS_TABLES displays the I/O status information about all the system catalogs in the namespace.",
"product_code":"dws",
"title":"PG_STATIO_SYS_TABLES",
"uri":"dws_04_0779.html",
"doc_type":"devg",
"p_code":"395",
"code":"531"
},
{
"desc":"PG_STATIO_USER_INDEXES displays the I/O status information about all the user relationship table indexes in the namespace.",
"product_code":"dws",
"title":"PG_STATIO_USER_INDEXES",
"uri":"dws_04_0780.html",
"doc_type":"devg",
"p_code":"395",
"code":"532"
},
{
"desc":"PG_STATIO_USER_SEQUENCES displays the I/O status information about all the user relation table sequences in the namespace.",
"product_code":"dws",
"title":"PG_STATIO_USER_SEQUENCES",
"uri":"dws_04_0781.html",
"doc_type":"devg",
"p_code":"395",
"code":"533"
},
{
"desc":"PG_STATIO_USER_TABLES displays the I/O status information about all the user relation tables in the namespace.",
"product_code":"dws",
"title":"PG_STATIO_USER_TABLES",
"uri":"dws_04_0782.html",
"doc_type":"devg",
"p_code":"395",
"code":"534"
},
{
"desc":"PG_THREAD_WAIT_STATUS allows you to test the block waiting status about the backend thread and auxiliary thread of the current instance.The waiting statuses in the wait_s",
"product_code":"dws",
"title":"PG_THREAD_WAIT_STATUS",
"uri":"dws_04_0783.html",
"doc_type":"devg",
"p_code":"395",
"code":"535"
},
{
"desc":"PG_TABLES displays access to each table in the database.",
"product_code":"dws",
"title":"PG_TABLES",
"uri":"dws_04_0784.html",
"doc_type":"devg",
"p_code":"395",
"code":"536"
},
{
"desc":"PG_TDE_INFO displays the encryption information about the current cluster.Check whether the current cluster is encrypted, and check the encryption algorithm (if any) used",
"product_code":"dws",
"title":"PG_TDE_INFO",
"uri":"dws_04_0785.html",
"doc_type":"devg",
"p_code":"395",
"code":"537"
},
{
"desc":"PG_TIMEZONE_ABBREVS displays all time zone abbreviations that can be recognized by the input routines.",
"product_code":"dws",
"title":"PG_TIMEZONE_ABBREVS",
"uri":"dws_04_0786.html",
"doc_type":"devg",
"p_code":"395",
"code":"538"
},
{
"desc":"PG_TIMEZONE_NAMES displays all time zone names that can be recognized by SET TIMEZONE, along with their associated abbreviations, UTC offsets, and daylight saving time st",
"product_code":"dws",
"title":"PG_TIMEZONE_NAMES",
"uri":"dws_04_0787.html",
"doc_type":"devg",
"p_code":"395",
"code":"539"
},
{
"desc":"PG_TOTAL_MEMORY_DETAIL displays the memory usage of a certain node in the database.",
"product_code":"dws",
"title":"PG_TOTAL_MEMORY_DETAIL",
"uri":"dws_04_0788.html",
"doc_type":"devg",
"p_code":"395",
"code":"540"
},
{
"desc":"PG_TOTAL_SCHEMA_INFO displays the storage usage of all schemas in each database. This view is valid only if use_workload_manager is set to on.",
"product_code":"dws",
"title":"PG_TOTAL_SCHEMA_INFO",
"uri":"dws_04_0789.html",
"doc_type":"devg",
"p_code":"395",
"code":"541"
},
{
"desc":"PG_TOTAL_USER_RESOURCE_INFO displays the resource usage of all users. Only administrators can query this view. This view is valid only if use_workload_manager is set to o",
"product_code":"dws",
"title":"PG_TOTAL_USER_RESOURCE_INFO",
"uri":"dws_04_0790.html",
"doc_type":"devg",
"p_code":"395",
"code":"542"
},
{
"desc":"PG_USER displays information about users who can access the database.",
"product_code":"dws",
"title":"PG_USER",
"uri":"dws_04_0791.html",
"doc_type":"devg",
"p_code":"395",
"code":"543"
},
{
"desc":"PG_USER_MAPPINGS displays information about user mappings.This is essentially a publicly readable view of PG_USER_MAPPING that leaves out the options column if the user h",
"product_code":"dws",
"title":"PG_USER_MAPPINGS",
"uri":"dws_04_0792.html",
"doc_type":"devg",
"p_code":"395",
"code":"544"
},
{
"desc":"PG_VIEWS displays basic information about each view in the database.",
"product_code":"dws",
"title":"PG_VIEWS",
"uri":"dws_04_0793.html",
"doc_type":"devg",
"p_code":"395",
"code":"545"
},
{
"desc":"PG_WLM_STATISTICS displays information about workload management after the task is complete or the exception has been handled.",
"product_code":"dws",
"title":"PG_WLM_STATISTICS",
"uri":"dws_04_0794.html",
"doc_type":"devg",
"p_code":"395",
"code":"546"
},
{
"desc":"PGXC_BULKLOAD_PROGRESS displays the progress of the service import. Only GDS common files can be imported. This view is accessible only to users with system administrator",
"product_code":"dws",
"title":"PGXC_BULKLOAD_PROGRESS",
"uri":"dws_04_0795.html",
"doc_type":"devg",
"p_code":"395",
"code":"547"
},
{
"desc":"PGXC_BULKLOAD_STATISTICS displays real-time statistics about service execution, such as GDS, COPY, and \\COPY, on a CN. This view summarizes the real-time execution status",
"product_code":"dws",
"title":"PGXC_BULKLOAD_STATISTICS",
"uri":"dws_04_0796.html",
"doc_type":"devg",
"p_code":"395",
"code":"548"
},
{
"desc":"PGXC_COMM_CLIENT_INFO stores the client connection information of all nodes. (You can query this view on a DN to view the information about the connection between the CN ",
"product_code":"dws",
"title":"PGXC_COMM_CLIENT_INFO",
"uri":"dws_04_0797.html",
"doc_type":"devg",
"p_code":"395",
"code":"549"
},
{
"desc":"PGXC_COMM_STATUS displays the communication library delay status for all the DNs.",
"product_code":"dws",
"title":"PGXC_COMM_DELAY",
"uri":"dws_04_0798.html",
"doc_type":"devg",
"p_code":"395",
"code":"550"
},
{
"desc":"PG_COMM_RECV_STREAM displays the receiving stream status of the communication libraries for all the DNs.",
"product_code":"dws",
"title":"PGXC_COMM_RECV_STREAM",
"uri":"dws_04_0799.html",
"doc_type":"devg",
"p_code":"395",
"code":"551"
},
{
"desc":"PGXC_COMM_SEND_STREAM displays the sending stream status of the communication libraries for all the DNs.",
"product_code":"dws",
"title":"PGXC_COMM_SEND_STREAM",
"uri":"dws_04_0800.html",
"doc_type":"devg",
"p_code":"395",
"code":"552"
},
{
"desc":"PGXC_COMM_STATUS displays the communication library status for all the DNs.",
"product_code":"dws",
"title":"PGXC_COMM_STATUS",
"uri":"dws_04_0801.html",
"doc_type":"devg",
"p_code":"395",
"code":"553"
},
{
"desc":"PGXC_DEADLOCK displays lock wait information generated due to distributed deadlocks.Currently, PGXC_DEADLOCK collects only lock wait information about locks whose locktyp",
"product_code":"dws",
"title":"PGXC_DEADLOCK",
"uri":"dws_04_0802.html",
"doc_type":"devg",
"p_code":"395",
"code":"554"
},
{
"desc":"PGXC_GET_STAT_ALL_TABLES displays information about insertion, update, and deletion operations on tables and the dirty page rate of tables.Before running VACUUM FULL to a",
"product_code":"dws",
"title":"PGXC_GET_STAT_ALL_TABLES",
"uri":"dws_04_0803.html",
"doc_type":"devg",
"p_code":"395",
"code":"555"
},
{
"desc":"PGXC_GET_STAT_ALL_PARTITIONS displays information about insertion, update, and deletion operations on partitions of partitioned tables and the dirty page rate of tables.T",
"product_code":"dws",
"title":"PGXC_GET_STAT_ALL_PARTITIONS",
"uri":"dws_04_0804.html",
"doc_type":"devg",
"p_code":"395",
"code":"556"
},
{
"desc":"PGXC_GET_TABLE_SKEWNESS displays the data skew on tables in the current database.",
"product_code":"dws",
"title":"PGXC_GET_TABLE_SKEWNESS",
"uri":"dws_04_0805.html",
"doc_type":"devg",
"p_code":"395",
"code":"557"
},
{
"desc":"PGXC_GTM_SNAPSHOT_STATUS displays transaction information on the current GTM.",
"product_code":"dws",
"title":"PGXC_GTM_SNAPSHOT_STATUS",
"uri":"dws_04_0806.html",
"doc_type":"devg",
"p_code":"395",
"code":"558"
},
{
"desc":"PGXC_INSTANCE_TIME displays the running time of processes on each node in the cluster and the time consumed in each execution phase. Except the node_name column, the othe",
"product_code":"dws",
"title":"PGXC_INSTANCE_TIME",
"uri":"dws_04_0807.html",
"doc_type":"devg",
"p_code":"395",
"code":"559"
},
{
"desc":"PGXC_INSTR_UNIQUE_SQL displays the complete Unique SQL statistics of all CN nodes in the cluster.Only the system administrator can access this view. For details about the",
"product_code":"dws",
"title":"PGXC_INSTR_UNIQUE_SQL",
"uri":"dws_04_0808.html",
"doc_type":"devg",
"p_code":"395",
"code":"560"
},
{
"desc":"PGXC_LOCK_CONFLICTS displays information about conflicting locks in the cluster.When a lock is waiting for another lock or another lock is waiting for this one, a lock co",
"product_code":"dws",
"title":"PGXC_LOCK_CONFLICTS",
"uri":"dws_04_0809.html",
"doc_type":"devg",
"p_code":"395",
"code":"561"
},
{
"desc":"PGXC_NODE_ENV displays the environmental variables information about all nodes in a cluster.",
"product_code":"dws",
"title":"PGXC_NODE_ENV",
"uri":"dws_04_0810.html",
"doc_type":"devg",
"p_code":"395",
"code":"562"
},
{
"desc":"PGXC_NODE_STAT_RESET_TIME displays the time when statistics of each node in the cluster are reset. All columns except node_name are the same as those in the GS_NODE_STAT_",
"product_code":"dws",
"title":"PGXC_NODE_STAT_RESET_TIME",
"uri":"dws_04_0811.html",
"doc_type":"devg",
"p_code":"395",
"code":"563"
},
{
"desc":"PGXC_OS_RUN_INFO displays the OS running status of each node in the cluster. All columns except node_name are the same as those in the PV_OS_RUN_INFO view. This view is a",
"product_code":"dws",
"title":"PGXC_OS_RUN_INFO",
"uri":"dws_04_0812.html",
"doc_type":"devg",
"p_code":"395",
"code":"564"
},
{
"desc":"PGXC_OS_THREADS displays thread status information under all normal nodes in the current cluster.",
"product_code":"dws",
"title":"PGXC_OS_THREADS",
"uri":"dws_04_0813.html",
"doc_type":"devg",
"p_code":"395",
"code":"565"
},
{
"desc":"PGXC_PREPARED_XACTS displays the two-phase transactions in the prepared phase.",
"product_code":"dws",
"title":"PGXC_PREPARED_XACTS",
"uri":"dws_04_0814.html",
"doc_type":"devg",
"p_code":"395",
"code":"566"
},
{
"desc":"PGXC_REDO_STAT displays statistics on redoing Xlogs of each node in the cluster. All columns except node_name are the same as those in the PV_REDO_STAT view. This view is",
"product_code":"dws",
"title":"PGXC_REDO_STAT",
"uri":"dws_04_0815.html",
"doc_type":"devg",
"p_code":"395",
"code":"567"
},
{
"desc":"PGXC_REL_IOSTAT displays statistics on disk read and write of each node in the cluster. All columns except node_name are the same as those in the GS_REL_IOSTAT view. This",
"product_code":"dws",
"title":"PGXC_REL_IOSTAT",
"uri":"dws_04_0816.html",
"doc_type":"devg",
"p_code":"395",
"code":"568"
},
{
"desc":"PGXC_REPLICATION_SLOTS displays the replication information of DNs in the cluster. All columns except node_name are the same as those in the PG_REPLICATION_SLOTS view. Th",
"product_code":"dws",
"title":"PGXC_REPLICATION_SLOTS",
"uri":"dws_04_0817.html",
"doc_type":"devg",
"p_code":"395",
"code":"569"
},
{
"desc":"PGXC_RUNNING_XACTS displays information about running transactions on each node in the cluster. The content is the same as that displayed in PG_RUNNING_XACTS.",
"product_code":"dws",
"title":"PGXC_RUNNING_XACTS",
"uri":"dws_04_0818.html",
"doc_type":"devg",
"p_code":"395",
"code":"570"
},
{
"desc":"PGXC_SETTINGS displays the database running status of each node in the cluster. All columns except node_name are the same as those in the PG_SETTINGS view. This view is a",
"product_code":"dws",
"title":"PGXC_SETTINGS",
"uri":"dws_04_0819.html",
"doc_type":"devg",
"p_code":"395",
"code":"571"
},
{
"desc":"PGXC_STAT_ACTIVITY displays information about the query performed by the current user on all the CNs in the current cluster.Run the following command to view blocked quer",
"product_code":"dws",
"title":"PGXC_STAT_ACTIVITY",
"uri":"dws_04_0820.html",
"doc_type":"devg",
"p_code":"395",
"code":"572"
},
{
"desc":"PGXC_STAT_BAD_BLOCK displays statistics about page or CU verification failures after all nodes in a cluster are started.",
"product_code":"dws",
"title":"PGXC_STAT_BAD_BLOCK",
"uri":"dws_04_0821.html",
"doc_type":"devg",
"p_code":"395",
"code":"573"
},
{
"desc":"PGXC_STAT_BGWRITER displays statistics on the background writer of each node in the cluster. All columns except node_name are the same as those in the PG_STAT_BGWRITER vi",
"product_code":"dws",
"title":"PGXC_STAT_BGWRITER",
"uri":"dws_04_0822.html",
"doc_type":"devg",
"p_code":"395",
"code":"574"
},
{
"desc":"PGXC_STAT_DATABASE displays the database status and statistics of each node in the cluster. All columns except node_name are the same as those in the PG_STAT_DATABASE vie",
"product_code":"dws",
"title":"PGXC_STAT_DATABASE",
"uri":"dws_04_0823.html",
"doc_type":"devg",
"p_code":"395",
"code":"575"
},
{
"desc":"PGXC_STAT_REPLICATION displays the log synchronization status of each node in the cluster. All columns except node_name are the same as those in the PG_STAT_REPLICATION v",
"product_code":"dws",
"title":"PGXC_STAT_REPLICATION",
"uri":"dws_04_0824.html",
"doc_type":"devg",
"p_code":"395",
"code":"576"
},
{
"desc":"PGXC_SQL_COUNT displays the node-level and user-level statistics for the SQL statements of SELECT, INSERT, UPDATE, DELETE, and MERGE INTO and DDL, DML, and DCL statements",
"product_code":"dws",
"title":"PGXC_SQL_COUNT",
"uri":"dws_04_0825.html",
"doc_type":"devg",
"p_code":"395",
"code":"577"
},
{
"desc":"PGXC_THREAD_WAIT_STATUS displays all the call layer hierarchy relationship between threads of the SQL statements on all the nodes in a cluster, and the waiting status of ",
"product_code":"dws",
"title":"PGXC_THREAD_WAIT_STATUS",
"uri":"dws_04_0826.html",
"doc_type":"devg",
"p_code":"395",
"code":"578"
},
{
"desc":"PGXC_TOTAL_MEMORY_DETAIL displays the memory usage in the cluster.",
"product_code":"dws",
"title":"PGXC_TOTAL_MEMORY_DETAIL",
"uri":"dws_04_0827.html",
"doc_type":"devg",
"p_code":"395",
"code":"579"
},
{
"desc":"PGXC_TOTAL_SCHEMA_INFO displays the schema space information of all instances in the cluster, providing visibility into the schema space usage of each instance. This view",
"product_code":"dws",
"title":"PGXC_TOTAL_SCHEMA_INFO",
"uri":"dws_04_0828.html",
"doc_type":"devg",
"p_code":"395",
"code":"580"
},
{
"desc":"PGXC_TOTAL_SCHEMA_INFO_ANALYZE displays the overall schema space information of the cluster, including the total cluster space, average space of instances, skew ratio, ma",
"product_code":"dws",
"title":"PGXC_TOTAL_SCHEMA_INFO_ANALYZE",
"uri":"dws_04_0829.html",
"doc_type":"devg",
"p_code":"395",
"code":"581"
},
{
"desc":"PGXC_USER_TRANSACTION provides transaction information about users on all CNs. It is accessible only to users with system administrator rights. This view is valid only wh",
"product_code":"dws",
"title":"PGXC_USER_TRANSACTION",
"uri":"dws_04_0830.html",
"doc_type":"devg",
"p_code":"395",
"code":"582"
},
{
"desc":"PGXC_VARIABLE_INFO displays information about transaction IDs and OIDs of all nodes in a cluster.",
"product_code":"dws",
"title":"PGXC_VARIABLE_INFO",
"uri":"dws_04_0831.html",
"doc_type":"devg",
"p_code":"395",
"code":"583"
},
{
"desc":"PGXC_WAIT_EVENTS displays statistics on the waiting status and events of each node in the cluster. The content is the same as that displayed in GS_WAIT_EVENTS. This view ",
"product_code":"dws",
"title":"PGXC_WAIT_EVENTS",
"uri":"dws_04_0832.html",
"doc_type":"devg",
"p_code":"395",
"code":"584"
},
{
"desc":"PGXC_WLM_OPERATOR_HISTORYdisplays the operator information of completed jobs executed on all CNs. This view is used by Database Manager to query data from a database. Dat",
"product_code":"dws",
"title":"PGXC_WLM_OPERATOR_HISTORY",
"uri":"dws_04_0836.html",
"doc_type":"devg",
"p_code":"395",
"code":"585"
},
{
"desc":"PGXC_WLM_OPERATOR_INFO displays the operator information of completed jobs executed on CNs. The data in this view is obtained from GS_WLM_OPERATOR_INFO.This view is acces",
"product_code":"dws",
"title":"PGXC_WLM_OPERATOR_INFO",
"uri":"dws_04_0837.html",
"doc_type":"devg",
"p_code":"395",
"code":"586"
},
{
"desc":"PGXC_WLM_OPERATOR_STATISTICS displays the operator information of jobs being executed on CNs.This view is accessible only to users with system administrators rights. For ",
"product_code":"dws",
"title":"PGXC_WLM_OPERATOR_STATISTICS",
"uri":"dws_04_0838.html",
"doc_type":"devg",
"p_code":"395",
"code":"587"
},
{
"desc":"PGXC_WLM_SESSION_INFO displays load management information for completed jobs executed on all CNs. The data in this view is obtained from GS_WLM_SESSION_INFO.This view is",
"product_code":"dws",
"title":"PGXC_WLM_SESSION_INFO",
"uri":"dws_04_0839.html",
"doc_type":"devg",
"p_code":"395",
"code":"588"
},
{
"desc":"PGXC_WLM_SESSION_HISTORY displays load management information for completed jobs executed on all CNs. This view is used by Data Manager to query data from a database. Dat",
"product_code":"dws",
"title":"PGXC_WLM_SESSION_HISTORY",
"uri":"dws_04_0840.html",
"doc_type":"devg",
"p_code":"395",
"code":"589"
},
{
"desc":"PGXC_WLM_SESSION_STATISTICS displays load management information about jobs that are being executed on CNs.This view is accessible only to users with system administrator",
"product_code":"dws",
"title":"PGXC_WLM_SESSION_STATISTICS",
"uri":"dws_04_0841.html",
"doc_type":"devg",
"p_code":"395",
"code":"590"
},
{
"desc":"PGXC_WLM_WORKLOAD_RECORDS displays the status of job executed by the current user on CNs. It is accessible only to users with system administrator rights. This view is av",
"product_code":"dws",
"title":"PGXC_WLM_WORKLOAD_RECORDS",
"uri":"dws_04_0842.html",
"doc_type":"devg",
"p_code":"395",
"code":"591"
},
{
"desc":"PGXC_WORKLOAD_SQL_COUNT displays statistics on the number of SQL statements executed in workload Cgroups on all CNs in a cluster, including the number of SELECT, UPDATE, ",
"product_code":"dws",
"title":"PGXC_WORKLOAD_SQL_COUNT",
"uri":"dws_04_0843.html",
"doc_type":"devg",
"p_code":"395",
"code":"592"
},
{
"desc":"PGXC_WORKLOAD_SQL_ELAPSE_TIME displays statistics on the response time of SQL statements in workload Cgroups on all CNs in a cluster, including the maximum, minimum, aver",
"product_code":"dws",
"title":"PGXC_WORKLOAD_SQL_ELAPSE_TIME",
"uri":"dws_04_0844.html",
"doc_type":"devg",
"p_code":"395",
"code":"593"
},
{
"desc":"PGXC_WORKLOAD_TRANSACTION provides transaction information about workload Cgroups on all CNs. It is accessible only to users with system administrator rights. This view i",
"product_code":"dws",
"title":"PGXC_WORKLOAD_TRANSACTION",
"uri":"dws_04_0845.html",
"doc_type":"devg",
"p_code":"395",
"code":"594"
},
{
"desc":"PLAN_TABLE displays the plan information collected by EXPLAIN PLAN. Plan information is in a session-level life cycle. After the session exits, the data will be deleted. ",
"product_code":"dws",
"title":"PLAN_TABLE",
"uri":"dws_04_0846.html",
"doc_type":"devg",
"p_code":"395",
"code":"595"
},
{
"desc":"PLAN_TABLE_DATA displays the plan information collected by EXPLAIN PLAN. Different from the PLAN_TABLE view, the system catalog PLAN_TABLE_DATA stores the plan informatio",
"product_code":"dws",
"title":"PLAN_TABLE_DATA",
"uri":"dws_04_0847.html",
"doc_type":"devg",
"p_code":"395",
"code":"596"
},
{
"desc":"By collecting statistics about the data file I/Os, PV_FILE_STAT displays the I/O performance of the data to detect the performance problems, such as abnormal I/O operatio",
"product_code":"dws",
"title":"PV_FILE_STAT",
"uri":"dws_04_0848.html",
"doc_type":"devg",
"p_code":"395",
"code":"597"
},
{
"desc":"PV_INSTANCE_TIME collects statistics on the running time of processes and the time consumed in each execution phase, in microseconds.PV_INSTANCE_TIME records time consump",
"product_code":"dws",
"title":"PV_INSTANCE_TIME",
"uri":"dws_04_0849.html",
"doc_type":"devg",
"p_code":"395",
"code":"598"
},
{
"desc":"PV_OS_RUN_INFO displays the running status of the current operating system.",
"product_code":"dws",
"title":"PV_OS_RUN_INFO",
"uri":"dws_04_0850.html",
"doc_type":"devg",
"p_code":"395",
"code":"599"
},
{
"desc":"PV_SESSION_MEMORY displays statistics about memory usage at the session level in the unit of MB, including all the memory allocated to Postgres and Stream threads on DNs ",
"product_code":"dws",
"title":"PV_SESSION_MEMORY",
"uri":"dws_04_0851.html",
"doc_type":"devg",
"p_code":"395",
"code":"600"
},
{
"desc":"PV_SESSION_MEMORY_DETAIL displays statistics about thread memory usage by memory context.The memory context TempSmallContextGroup collects information about all memory co",
"product_code":"dws",
"title":"PV_SESSION_MEMORY_DETAIL",
"uri":"dws_04_0852.html",
"doc_type":"devg",
"p_code":"395",
"code":"601"
},
{
"desc":"PV_SESSION_STAT displays session state statistics based on session threads or the AutoVacuum thread.",
"product_code":"dws",
"title":"PV_SESSION_STAT",
"uri":"dws_04_0853.html",
"doc_type":"devg",
"p_code":"395",
"code":"602"
},
{
"desc":"PV_SESSION_TIME displays statistics about the running time of session threads and time consumed in each execution phase, in microseconds.",
"product_code":"dws",
"title":"PV_SESSION_TIME",
"uri":"dws_04_0854.html",
"doc_type":"devg",
"p_code":"395",
"code":"603"
},
{
"desc":"PV_TOTAL_MEMORY_DETAIL displays statistics about memory usage of the current database node in the unit of MB.",
"product_code":"dws",
"title":"PV_TOTAL_MEMORY_DETAIL",
"uri":"dws_04_0855.html",
"doc_type":"devg",
"p_code":"395",
"code":"604"
},
{
"desc":"PV_REDO_STAT displays statistics on redoing Xlogs on the current node.",
"product_code":"dws",
"title":"PV_REDO_STAT",
"uri":"dws_04_0856.html",
"doc_type":"devg",
"p_code":"395",
"code":"605"
},
{
"desc":"REDACTION_COLUMNS displays information about all redaction columns in the current database.",
"product_code":"dws",
"title":"REDACTION_COLUMNS",
"uri":"dws_04_0857.html",
"doc_type":"devg",
"p_code":"395",
"code":"606"
},
{
"desc":"REDACTION_POLICIES displays information about all redaction objects in the current database.",
"product_code":"dws",
"title":"REDACTION_POLICIES",
"uri":"dws_04_0858.html",
"doc_type":"devg",
"p_code":"395",
"code":"607"
},
{
"desc":"USER_COL_COMMENTS displays the column comments of the table accessible to the current user.",
"product_code":"dws",
"title":"USER_COL_COMMENTS",
"uri":"dws_04_0859.html",
"doc_type":"devg",
"p_code":"395",
"code":"608"
},
{
"desc":"USER_CONSTRAINTS displays the table constraint information accessible to the current user.",
"product_code":"dws",
"title":"USER_CONSTRAINTS",
"uri":"dws_04_0860.html",
"doc_type":"devg",
"p_code":"395",
"code":"609"
},
{
"desc":"USER_CONSTRAINTS displays the information about constraint columns of the tables accessible to the current user.",
"product_code":"dws",
"title":"USER_CONS_COLUMNS",
"uri":"dws_04_0861.html",
"doc_type":"devg",
"p_code":"395",
"code":"610"
},
{
"desc":"USER_INDEXES displays index information in the current schema.",
"product_code":"dws",
"title":"USER_INDEXES",
"uri":"dws_04_0862.html",
"doc_type":"devg",
"p_code":"395",
"code":"611"
},
{
"desc":"USER_IND_COLUMNS displays column information about all indexes accessible to the current user.",
"product_code":"dws",
"title":"USER_IND_COLUMNS",
"uri":"dws_04_0863.html",
"doc_type":"devg",
"p_code":"395",
"code":"612"
},
{
"desc":"USER_IND_EXPRESSIONSdisplays information about the function-based expression index accessible to the current user.",
"product_code":"dws",
"title":"USER_IND_EXPRESSIONS",
"uri":"dws_04_0864.html",
"doc_type":"devg",
"p_code":"395",
"code":"613"
},
{
"desc":"USER_IND_PARTITIONS displays information about index partitions accessible to the current user.",
"product_code":"dws",
"title":"USER_IND_PARTITIONS",
"uri":"dws_04_0865.html",
"doc_type":"devg",
"p_code":"395",
"code":"614"
},
{
"desc":"USER_JOBS displays all jobs owned by the user.",
"product_code":"dws",
"title":"USER_JOBS",
"uri":"dws_04_0866.html",
"doc_type":"devg",
"p_code":"395",
"code":"615"
},
{
"desc":"USER_OBJECTS displays all database objects accessible to the current user.For details about the value ranges of last_ddl_time and last_ddl_time, see PG_OBJECT.",
"product_code":"dws",
"title":"USER_OBJECTS",
"uri":"dws_04_0867.html",
"doc_type":"devg",
"p_code":"395",
"code":"616"
},
{
"desc":"USER_PART_INDEXES displays information about partitioned table indexes accessible to the current user.",
"product_code":"dws",
"title":"USER_PART_INDEXES",
"uri":"dws_04_0868.html",
"doc_type":"devg",
"p_code":"395",
"code":"617"
},
{
"desc":"USER_PART_TABLES displays information about partitioned tables accessible to the current user.",
"product_code":"dws",
"title":"USER_PART_TABLES",
"uri":"dws_04_0869.html",
"doc_type":"devg",
"p_code":"395",
"code":"618"
},
{
"desc":"USER_PROCEDURES displays information about all stored procedures and functions in the current schema.",
"product_code":"dws",
"title":"USER_PROCEDURES",
"uri":"dws_04_0870.html",
"doc_type":"devg",
"p_code":"395",
"code":"619"
},
{
"desc":"USER_SEQUENCES displays sequence information in the current schema.",
"product_code":"dws",
"title":"USER_SEQUENCES",
"uri":"dws_04_0871.html",
"doc_type":"devg",
"p_code":"395",
"code":"620"
},
{
"desc":"USER_SOURCE displays information about stored procedures or functions in this mode, and provides the columns defined by the stored procedures or the functions.",
"product_code":"dws",
"title":"USER_SOURCE",
"uri":"dws_04_0872.html",
"doc_type":"devg",
"p_code":"395",
"code":"621"
},
{
"desc":"USER_SYNONYMS displays synonyms accessible to the current user.",
"product_code":"dws",
"title":"USER_SYNONYMS",
"uri":"dws_04_0873.html",
"doc_type":"devg",
"p_code":"395",
"code":"622"
},
{
"desc":"USER_TAB_COLUMNS displays information about table columns accessible to the current user.",
"product_code":"dws",
"title":"USER_TAB_COLUMNS",
"uri":"dws_04_0874.html",
"doc_type":"devg",
"p_code":"395",
"code":"623"
},
{
"desc":"USER_TAB_COMMENTS displays comments about all tables and views accessible to the current user.",
"product_code":"dws",
"title":"USER_TAB_COMMENTS",
"uri":"dws_04_0875.html",
"doc_type":"devg",
"p_code":"395",
"code":"624"
},
{
"desc":"USER_TAB_PARTITIONS displays all table partitions accessible to the current user. Each partition of a partitioned table accessible to the current user has a piece of reco",
"product_code":"dws",
"title":"USER_TAB_PARTITIONS",
"uri":"dws_04_0876.html",
"doc_type":"devg",
"p_code":"395",
"code":"625"
},
{
"desc":"USER_TABLES displays table information in the current schema.",
"product_code":"dws",
"title":"USER_TABLES",
"uri":"dws_04_0877.html",
"doc_type":"devg",
"p_code":"395",
"code":"626"
},
{
"desc":"USER_TRIGGERS displays the information about triggers accessible to the current user.",
"product_code":"dws",
"title":"USER_TRIGGERS",
"uri":"dws_04_0878.html",
"doc_type":"devg",
"p_code":"395",
"code":"627"
},
{
"desc":"USER_VIEWS displays information about all views in the current schema.",
"product_code":"dws",
"title":"USER_VIEWS",
"uri":"dws_04_0879.html",
"doc_type":"devg",
"p_code":"395",
"code":"628"
},
{
"desc":"V$SESSION displays all session information about the current session.",
"product_code":"dws",
"title":"V$SESSION",
"uri":"dws_04_0880.html",
"doc_type":"devg",
"p_code":"395",
"code":"629"
},
{
"desc":"V$SESSION_LONGOPS displays the progress of ongoing operations.",
"product_code":"dws",
"title":"V$SESSION_LONGOPS",
"uri":"dws_04_0881.html",
"doc_type":"devg",
"p_code":"395",
"code":"630"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"GUC Parameters",
"uri":"dws_04_0883.html",
"doc_type":"devg",
"p_code":"1",
"code":"631"
},
{
"desc":"GaussDB(DWS) GUC parameters can control database system behaviors. You can check and adjust the GUC parameters based on your business scenario and data volume.After a clu",
"product_code":"dws",
"title":"Viewing GUC Parameters",
"uri":"dws_04_0884.html",
"doc_type":"devg",
"p_code":"631",
"code":"632"
},
{
"desc":"To ensure the optimal performance of GaussDB(DWS), you can adjust the GUC parameters in the database.The GUC parameters of GaussDB(DWS) are classified into the following ",
"product_code":"dws",
"title":"Configuring GUC Parameters",
"uri":"dws_04_0885.html",
"doc_type":"devg",
"p_code":"631",
"code":"633"
},
{
"desc":"The database provides many operation parameters. Configuration of these parameters affects the behavior of the database system. Before modifying these parameters, learn t",
"product_code":"dws",
"title":"GUC Parameter Usage",
"uri":"dws_04_0886.html",
"doc_type":"devg",
"p_code":"631",
"code":"634"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Connection and Authentication",
"uri":"dws_04_0888.html",
"doc_type":"devg",
"p_code":"631",
"code":"635"
},
{
"desc":"This section describes parameters related to the connection mode between the client and server.Parameter description: Specifies the maximum number of allowed parallel con",
"product_code":"dws",
"title":"Connection Settings",
"uri":"dws_04_0889.html",
"doc_type":"devg",
"p_code":"635",
"code":"636"
},
{
"desc":"This section describes parameters about how to securely authenticate the client and server.Parameter description: Specifies the longest duration to wait before the client",
"product_code":"dws",
"title":"Security and Authentication (postgresql.conf)",
"uri":"dws_04_0890.html",
"doc_type":"devg",
"p_code":"635",
"code":"637"
},
{
"desc":"This section describes parameter settings and value ranges for communication libraries.Parameter description: Specifies whether the communication library uses the TCP or ",
"product_code":"dws",
"title":"Communication Library Parameters",
"uri":"dws_04_0891.html",
"doc_type":"devg",
"p_code":"635",
"code":"638"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Resource Consumption",
"uri":"dws_04_0892.html",
"doc_type":"devg",
"p_code":"631",
"code":"639"
},
{
"desc":"This section describes memory parameters.Parameters described in this section take effect only after the database service restarts.Parameter description: Specifies whethe",
"product_code":"dws",
"title":"Memory",
"uri":"dws_04_0893.html",
"doc_type":"devg",
"p_code":"639",
"code":"640"
},
{
"desc":"This section describes parameters related to statement disk space control, which are used to limit the disk space usage of statements.Parameter description: Specifies the",
"product_code":"dws",
"title":"Statement Disk Space Control",
"uri":"dws_04_0894.html",
"doc_type":"devg",
"p_code":"639",
"code":"641"
},
{
"desc":"This section describes kernel resource parameters. Whether these parameters take effect depends on OS settings.Parameter description: Specifies the maximum number of simu",
"product_code":"dws",
"title":"Kernel Resources",
"uri":"dws_04_0895.html",
"doc_type":"devg",
"p_code":"639",
"code":"642"
},
{
"desc":"This feature allows administrators to reduce the I/O impact of the VACUUM and ANALYZE statements on concurrent database activities. It is often more important to prevent ",
"product_code":"dws",
"title":"Cost-based Vacuum Delay",
"uri":"dws_04_0896.html",
"doc_type":"devg",
"p_code":"639",
"code":"643"
},
{
"desc":"Parameter description: Specifies whether O&M personnel are allowed to generate some ADIO logs to locate ADIO issues. This parameter is used only by developers. Common use",
"product_code":"dws",
"title":"Asynchronous I/O Operations",
"uri":"dws_04_0898.html",
"doc_type":"devg",
"p_code":"639",
"code":"644"
},
{
"desc":"GaussDB(DWS) provides a parallel data import function that enables a large amount of data to be imported in a fast and efficient manner. This section describes parameters",
"product_code":"dws",
"title":"Parallel Data Import",
"uri":"dws_04_0899.html",
"doc_type":"devg",
"p_code":"631",
"code":"645"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Write Ahead Logs",
"uri":"dws_04_0900.html",
"doc_type":"devg",
"p_code":"631",
"code":"646"
},
{
"desc":"Parameter description: Specifies the level of the information that is written to WALs.Type: POSTMASTERValue range: enumerated valuesminimalAdvantages: Certain bulk operat",
"product_code":"dws",
"title":"Settings",
"uri":"dws_04_0901.html",
"doc_type":"devg",
"p_code":"646",
"code":"647"
},
{
"desc":"Parameter description: Specifies the minimum number of WAL segment files in the period specified by checkpoint_timeout. The size of each log file is 16 MB.Type: SIGHUPVal",
"product_code":"dws",
"title":"Checkpoints",
"uri":"dws_04_0902.html",
"doc_type":"devg",
"p_code":"646",
"code":"648"
},
{
"desc":"Parameter description: When archive_mode is enabled, completed WAL segments are sent to archive storage by setting archive_command.Type: SIGHUPValue range: Booleanon: The",
"product_code":"dws",
"title":"Archiving",
"uri":"dws_04_0903.html",
"doc_type":"devg",
"p_code":"646",
"code":"649"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"HA Replication",
"uri":"dws_04_0904.html",
"doc_type":"devg",
"p_code":"631",
"code":"650"
},
{
"desc":"Parameter description: Specifies the number of Xlog file segments. Specifies the minimum number of transaction log files stored in the pg_xlog directory. The standby serv",
"product_code":"dws",
"title":"Sending Server",
"uri":"dws_04_0905.html",
"doc_type":"devg",
"p_code":"650",
"code":"651"
},
{
"desc":"Parameter description: Specifies the number of transactions by which VACUUM will defer the cleanup of invalid row-store table records, so that VACUUM and VACUUM FULL do n",
"product_code":"dws",
"title":"Primary Server",
"uri":"dws_04_0906.html",
"doc_type":"devg",
"p_code":"650",
"code":"652"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Query Planning",
"uri":"dws_04_0908.html",
"doc_type":"devg",
"p_code":"631",
"code":"653"
},
{
"desc":"These configuration parameters provide a crude method of influencing the query plans chosen by the query optimizer. If the default plan chosen by the optimizer for a part",
"product_code":"dws",
"title":"Optimizer Method Configuration",
"uri":"dws_04_0909.html",
"doc_type":"devg",
"p_code":"653",
"code":"654"
},
{
"desc":"This section describes the optimizer cost constants. The cost variables described in this section are measured on an arbitrary scale. Only their relative values matter, t",
"product_code":"dws",
"title":"Optimizer Cost Constants",
"uri":"dws_04_0910.html",
"doc_type":"devg",
"p_code":"653",
"code":"655"
},
{
"desc":"This section describes parameters related to genetic query optimizer. The genetic query optimizer (GEQO) is an algorithm that plans queries by using heuristic searching. ",
"product_code":"dws",
"title":"Genetic Query Optimizer",
"uri":"dws_04_0911.html",
"doc_type":"devg",
"p_code":"653",
"code":"656"
},
{
"desc":"Parameter description: Specifies the default statistics target for table columns without a column-specific target set via ALTER TABLE SET STATISTICS. If this parameter is",
"product_code":"dws",
"title":"Other Optimizer Options",
"uri":"dws_04_0912.html",
"doc_type":"devg",
"p_code":"653",
"code":"657"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Error Reporting and Logging",
"uri":"dws_04_0913.html",
"doc_type":"devg",
"p_code":"631",
"code":"658"
},
{
"desc":"Parameter description: Specifies the writing mode of the log files when logging_collector is set to on.Type: SIGHUPValue range: Booleanon indicates that GaussDB(DWS) over",
"product_code":"dws",
"title":"Logging Destination",
"uri":"dws_04_0914.html",
"doc_type":"devg",
"p_code":"658",
"code":"659"
},
{
"desc":"Parameter description: Specifies which level of messages are sent to the client. Each level covers all the levels following it. The lower the level is, the fewer messages",
"product_code":"dws",
"title":"Logging Time",
"uri":"dws_04_0915.html",
"doc_type":"devg",
"p_code":"658",
"code":"660"
},
{
"desc":"Parameter description: Specifies whether to print parsing tree results.Type: SIGHUPValue range: Booleanon indicates the printing result function is enabled.off indicates ",
"product_code":"dws",
"title":"Logging Content",
"uri":"dws_04_0916.html",
"doc_type":"devg",
"p_code":"658",
"code":"661"
},
{
"desc":"During cluster running, error scenarios can be detected in a timely manner to inform users as soon as possible.Parameter description: Enables the alarm detection thread t",
"product_code":"dws",
"title":"Alarm Detection",
"uri":"dws_04_0918.html",
"doc_type":"devg",
"p_code":"631",
"code":"662"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Statistics During the Database Running",
"uri":"dws_04_0919.html",
"doc_type":"devg",
"p_code":"631",
"code":"663"
},
{
"desc":"The query and index statistics collector is used to collect statistics during database running. The statistics include the times of inserting and updating a table and an ",
"product_code":"dws",
"title":"Query and Index Statistics Collector",
"uri":"dws_04_0920.html",
"doc_type":"devg",
"p_code":"663",
"code":"664"
},
{
"desc":"During the running of the database, the lock access, disk I/O operation, and invalid message process are involved. All these operations are the bottleneck of the database",
"product_code":"dws",
"title":"Performance Statistics",
"uri":"dws_04_0921.html",
"doc_type":"devg",
"p_code":"663",
"code":"665"
},
{
"desc":"If database resource usage is not controlled, concurrent tasks easily preempt resources. As a result, the OS will be overloaded and cannot respond to user tasks; or even ",
"product_code":"dws",
"title":"Workload Management",
"uri":"dws_04_0922.html",
"doc_type":"devg",
"p_code":"631",
"code":"666"
},
{
"desc":"The automatic cleanup process (autovacuum) in the system automatically runs the VACUUM and ANALYZE commands to recycle the record space marked by the deleted status and u",
"product_code":"dws",
"title":"Automatic Cleanup",
"uri":"dws_04_0923.html",
"doc_type":"devg",
"p_code":"631",
"code":"667"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Default Settings of Client Connection",
"uri":"dws_04_0924.html",
"doc_type":"devg",
"p_code":"631",
"code":"668"
},
{
"desc":"This section describes related default parameters involved in the execution of SQL statements.Parameter description: Specifies the order in which schemas are searched whe",
"product_code":"dws",
"title":"Statement Behavior",
"uri":"dws_04_0925.html",
"doc_type":"devg",
"p_code":"668",
"code":"669"
},
{
"desc":"This section describes parameters related to the time format setting.Parameter description: Specifies the display format for date and time values, as well as the rules fo",
"product_code":"dws",
"title":"Zone and Formatting",
"uri":"dws_04_0926.html",
"doc_type":"devg",
"p_code":"668",
"code":"670"
},
{
"desc":"This section describes the default database loading parameters of the database system.Parameter description: Specifies the path for saving the shared database files that ",
"product_code":"dws",
"title":"Other Default Parameters",
"uri":"dws_04_0927.html",
"doc_type":"devg",
"p_code":"668",
"code":"671"
},
{
"desc":"In GaussDB(DWS), a deadlock may occur when concurrently executed transactions compete for resources. This section describes parameters used for managing transaction lock ",
"product_code":"dws",
"title":"Lock Management",
"uri":"dws_04_0928.html",
"doc_type":"devg",
"p_code":"631",
"code":"672"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Version and Platform Compatibility",
"uri":"dws_04_0929.html",
"doc_type":"devg",
"p_code":"631",
"code":"673"
},
{
"desc":"This section describes the parameter control of the downward compatibility and external compatibility features of GaussDB(DWS). Backward compatibility of the database sys",
"product_code":"dws",
"title":"Compatibility with Earlier Versions",
"uri":"dws_04_0930.html",
"doc_type":"devg",
"p_code":"673",
"code":"674"
},
{
"desc":"Many platforms use the database system. External compatibility of the database system provides a lot of convenience for platforms.Parameter description: Determines whethe",
"product_code":"dws",
"title":"Platform and Client Compatibility",
"uri":"dws_04_0931.html",
"doc_type":"devg",
"p_code":"673",
"code":"675"
},
{
"desc":"This section describes parameters used for controlling the methods that the server processes an error occurring in the database system.Parameter description: Specifies wh",
"product_code":"dws",
"title":"Fault Tolerance",
"uri":"dws_04_0932.html",
"doc_type":"devg",
"p_code":"631",
"code":"676"
},
{
"desc":"When a connection pool is used to access the database, database connections are established and then stored in the memory as objects during system running. When you need ",
"product_code":"dws",
"title":"Connection Pool Parameters",
"uri":"dws_04_0933.html",
"doc_type":"devg",
"p_code":"631",
"code":"677"
},
{
"desc":"This section describes the settings and value ranges of cluster transaction parameters.Parameter description: Specifies the isolation level of the current transaction.Typ",
"product_code":"dws",
"title":"Cluster Transaction Parameters",
"uri":"dws_04_0934.html",
"doc_type":"devg",
"p_code":"631",
"code":"678"
},
{
"desc":"Parameter description: Specifies whether to enable the lightweight column-store update.Type: USERSETValue range: Booleanon indicates that the lightweight column-store upd",
"product_code":"dws",
"title":"Developer Operations",
"uri":"dws_04_0936.html",
"doc_type":"devg",
"p_code":"631",
"code":"679"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Auditing",
"uri":"dws_04_0937.html",
"doc_type":"devg",
"p_code":"631",
"code":"680"
},
{
"desc":"Parameter description: Specifies whether to enable or disable the audit process. After the audit process is enabled, the auditing information written by the background pr",
"product_code":"dws",
"title":"Audit Switch",
"uri":"dws_04_0938.html",
"doc_type":"devg",
"p_code":"680",
"code":"681"
},
{
"desc":"Parameter description: Specifies whether to audit successful operations in GaussDB(DWS). Set this parameter as required.Type: SIGHUPValue range: a stringnone: indicates t",
"product_code":"dws",
"title":"Operation Audit",
"uri":"dws_04_0940.html",
"doc_type":"devg",
"p_code":"680",
"code":"682"
},
{
"desc":"The automatic rollback transaction can be monitored and its statement problems can be located by setting the transaction timeout warning. In addition, the statements with",
"product_code":"dws",
"title":"Transaction Monitoring",
"uri":"dws_04_0941.html",
"doc_type":"devg",
"p_code":"631",
"code":"683"
},
{
"desc":"Parameter description: If an SQL statement involves tables belonging to different groups, you can enable this parameter to push the execution plan of the statement to imp",
"product_code":"dws",
"title":"Miscellaneous Parameters",
"uri":"dws_04_0945.html",
"doc_type":"devg",
"p_code":"631",
"code":"684"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Glossary",
"uri":"dws_04_0946.html",
"doc_type":"devg",
"p_code":"1",
"code":"685"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"SQL Syntax Reference",
"uri":"dws_04_2000.html",
"doc_type":"devg",
"p_code":"",
"code":"686"
},
{
"desc":"SQL is a standard computer language used to control the access to databases and manage data in databases.SQL provides different statements to enable you to:Query data.Ins",
"product_code":"dws",
"title":"GaussDB(DWS) SQL",
"uri":"dws_06_0001.html",
"doc_type":"devg",
"p_code":"686",
"code":"687"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Differences Between GaussDB(DWS) and PostgreSQL",
"uri":"dws_06_0002.html",
"doc_type":"devg",
"p_code":"686",
"code":"688"
},
{
"desc":"GaussDB(DWS) gsql differs from PostgreSQL psql in that the former has made the following changes to enhance security:User passwords cannot be set by running the \\password",
"product_code":"dws",
"title":"GaussDB(DWS) gsql, PostgreSQL psql, and libpq",
"uri":"dws_06_0003.html",
"doc_type":"devg",
"p_code":"688",
"code":"689"
},
{
"desc":"For details about supported data types by GaussDB(DWS), see Data Types.The following PostgreSQL data type is not supported:Lines, a geometric typepg_node_tree",
"product_code":"dws",
"title":"Data Type Differences",
"uri":"dws_06_0004.html",
"doc_type":"devg",
"p_code":"688",
"code":"690"
},
{
"desc":"For details about the functions supported by GaussDB(DWS), see Functions and Operators.The following PostgreSQL functions are not supported:Enum support functionsAccess p",
"product_code":"dws",
"title":"Function Differences",
"uri":"dws_06_0005.html",
"doc_type":"devg",
"p_code":"688",
"code":"691"
},
{
"desc":"Table inheritanceTable creation features:Use REFERENCES reftable [ (refcolumn) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ] [ ON DELETE action ] [ ON UPDATE action ] t",
"product_code":"dws",
"title":"PostgreSQL Features Unsupported by GaussDB(DWS)",
"uri":"dws_06_0006.html",
"doc_type":"devg",
"p_code":"688",
"code":"692"
},
{
"desc":"The SQL contains reserved and non-reserved words. Standards require that reserved keywords not be used as other identifiers. Non-reserved keywords have special meanings o",
"product_code":"dws",
"title":"Keyword",
"uri":"dws_06_0007.html",
"doc_type":"devg",
"p_code":"686",
"code":"693"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Data Types",
"uri":"dws_06_0008.html",
"doc_type":"devg",
"p_code":"686",
"code":"694"
},
{
"desc":"Numeric types consist of two-, four-, and eight-byte integers, four- and eight-byte floating-point numbers, and selectable-precision decimals.For details about numeric op",
"product_code":"dws",
"title":"Numeric Types",
"uri":"dws_06_0009.html",
"doc_type":"devg",
"p_code":"694",
"code":"695"
},
{
"desc":"The money type stores a currency amount with fixed fractional precision. The range shown in Table 1 assumes there are two fractional digits. Input is accepted in a variet",
"product_code":"dws",
"title":"Monetary Types",
"uri":"dws_06_0010.html",
"doc_type":"devg",
"p_code":"694",
"code":"696"
},
{
"desc":"Valid literal values for the \"true\" state are:TRUE, 't', 'true', 'y', 'yes', '1'Valid literal values for the \"false\" state include:FALSE, 'f', 'false', 'n', 'no', '0'TRUE",
"product_code":"dws",
"title":"Boolean Type",
"uri":"dws_06_0011.html",
"doc_type":"devg",
"p_code":"694",
"code":"697"
},
{
"desc":"Table 1 lists the character types that can be used in GaussDB(DWS). For string operators and related built-in functions, see Character Processing Functions and Operators.",
"product_code":"dws",
"title":"Character Types",
"uri":"dws_06_0012.html",
"doc_type":"devg",
"p_code":"694",
"code":"698"
},
{
"desc":"Table 1 lists the binary data types that can be used in GaussDB(DWS).In addition to the size limitation on each column, the total size of each tuple is 8203 bytes less th",
"product_code":"dws",
"title":"Binary Data Types",
"uri":"dws_06_0013.html",
"doc_type":"devg",
"p_code":"694",
"code":"699"
},
{
"desc":"Table 1 lists date and time types supported by GaussDB(DWS). For the operators and built-in functions of the types, see Date and Time Processing Functions and Operators.I",
"product_code":"dws",
"title":"Date/Time Types",
"uri":"dws_06_0014.html",
"doc_type":"devg",
"p_code":"694",
"code":"700"
},
{
"desc":"Table 1 lists the geometric types that can be used in GaussDB(DWS). The most fundamental type, the point, forms the basis for all of the other types.A rich set of functio",
"product_code":"dws",
"title":"Geometric Types",
"uri":"dws_06_0015.html",
"doc_type":"devg",
"p_code":"694",
"code":"701"
},
{
"desc":"GaussDB(DWS) offers data types to store IPv4, IPv6, and MAC addresses.It is better to use network address types instead of plaintext types to store IPv4, IPv6, and MAC ad",
"product_code":"dws",
"title":"Network Address Types",
"uri":"dws_06_0016.html",
"doc_type":"devg",
"p_code":"694",
"code":"702"
},
{
"desc":"Bit strings are strings of 1's and 0's. They can be used to store bit masks.GaussDB(DWS) supports two SQL bit types: bit(n) and bit varying(n), where n is a positive inte",
"product_code":"dws",
"title":"Bit String Types",
"uri":"dws_06_0017.html",
"doc_type":"devg",
"p_code":"694",
"code":"703"
},
{
"desc":"GaussDB(DWS) offers two data types that are designed to support full text search. The tsvector type represents a document in a form optimized for text search. The tsquery",
"product_code":"dws",
"title":"Text Search Types",
"uri":"dws_06_0018.html",
"doc_type":"devg",
"p_code":"694",
"code":"704"
},
{
"desc":"The data type UUID stores Universally Unique Identifiers (UUID) as defined by RFC 4122, ISO/IEF 9834-8:2005, and related standards. This identifier is a 128-bit quantity ",
"product_code":"dws",
"title":"UUID Type",
"uri":"dws_06_0019.html",
"doc_type":"devg",
"p_code":"694",
"code":"705"
},
{
"desc":"JSON data types are for storing JavaScript Object Notation (JSON) data. Such data can also be stored as TEXT, but the JSON data type has the advantage of checking that ea",
"product_code":"dws",
"title":"JSON Types",
"uri":"dws_06_0020.html",
"doc_type":"devg",
"p_code":"694",
"code":"706"
},
{
"desc":"HyperLoglog (HLL) is an approximation algorithm for efficiently counting the number of distinct values in a data set. It features faster computing and lower space usage. ",
"product_code":"dws",
"title":"HLL Data Types",
"uri":"dws_06_0021.html",
"doc_type":"devg",
"p_code":"694",
"code":"707"
},
{
"desc":"Object identifiers (OIDs) are used internally by GaussDB(DWS) as primary keys for various system catalogs. OIDs are not added to user-created tables by the system. The OI",
"product_code":"dws",
"title":"Object Identifier Types",
"uri":"dws_06_0022.html",
"doc_type":"devg",
"p_code":"694",
"code":"708"
},
{
"desc":"GaussDB(DWS) has a number of special-purpose entries that are collectively called pseudo-types. A pseudo-type cannot be used as a column data type, but it can be used to ",
"product_code":"dws",
"title":"Pseudo-Types",
"uri":"dws_06_0023.html",
"doc_type":"devg",
"p_code":"694",
"code":"709"
},
{
"desc":"Table 1 lists the data types supported by column-store tables.",
"product_code":"dws",
"title":"Data Types Supported by Column-Store Tables",
"uri":"dws_06_0024.html",
"doc_type":"devg",
"p_code":"694",
"code":"710"
},
{
"desc":"XML data type stores Extensible Markup Language (XML) formatted data. Such data can also be stored as text, but the advantage of the XML data type is that it checks wheth",
"product_code":"dws",
"title":"XML",
"uri":"dws_06_0025.html",
"doc_type":"devg",
"p_code":"694",
"code":"711"
},
{
"desc":"Table 1 lists the constants and macros that can be used in GaussDB(DWS).",
"product_code":"dws",
"title":"Constant and Macro",
"uri":"dws_06_0026.html",
"doc_type":"devg",
"p_code":"686",
"code":"712"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Functions and Operators",
"uri":"dws_06_0027.html",
"doc_type":"devg",
"p_code":"686",
"code":"713"
},
{
"desc":"The usual logical operators include AND, OR, and NOT. SQL uses a three-valued logical system with true, false, and null, which represents \"unknown\". Their priorities are ",
"product_code":"dws",
"title":"Logical Operators",
"uri":"dws_06_0028.html",
"doc_type":"devg",
"p_code":"713",
"code":"714"
},
{
"desc":"Comparison operators are available for all data types and return Boolean values.All comparison operators are binary operators. Only data types that are the same or can be",
"product_code":"dws",
"title":"Comparison Operators",
"uri":"dws_06_0029.html",
"doc_type":"devg",
"p_code":"713",
"code":"715"
},
{
"desc":"String functions and operators provided by GaussDB(DWS) are for concatenating strings with each other, concatenating strings with non-strings, and matching the patterns o",
"product_code":"dws",
"title":"Character Processing Functions and Operators",
"uri":"dws_06_0030.html",
"doc_type":"devg",
"p_code":"713",
"code":"716"
},
{
"desc":"SQL defines some string functions that use keywords, rather than commas, to separate arguments.octet_length(string)Description: Number of bytes in binary stringReturn typ",
"product_code":"dws",
"title":"Binary String Functions and Operators",
"uri":"dws_06_0031.html",
"doc_type":"devg",
"p_code":"713",
"code":"717"
},
{
"desc":"Aside from the usual comparison operators, the following operators can be used. Bit string operands of &, |, and # must be of equal length. When bit shifting, the origina",
"product_code":"dws",
"title":"Bit String Functions and Operators",
"uri":"dws_06_0032.html",
"doc_type":"devg",
"p_code":"713",
"code":"718"
},
{
"desc":"There are three separate approaches to pattern matching provided by the database: the traditional SQL LIKE operator, the more recent SIMILAR TO operator, and POSIX-style ",
"product_code":"dws",
"title":"Pattern Matching Operators",
"uri":"dws_06_0033.html",
"doc_type":"devg",
"p_code":"713",
"code":"719"
},
{
"desc":"+Description: AdditionFor example:SELECT 2+3 AS RESULT;\n result \n--------\n 5\n(1 row)Description: AdditionFor example:-Description: SubtractionFor example:SELECT 2-3 ",
"product_code":"dws",
"title":"Mathematical Functions and Operators",
"uri":"dws_06_0034.html",
"doc_type":"devg",
"p_code":"713",
"code":"720"
},
{
"desc":"When the user uses date/time operators, explicit type prefixes are modified for corresponding operands to ensure that the operands parsed by the database are consistent w",
"product_code":"dws",
"title":"Date and Time Processing Functions and Operators",
"uri":"dws_06_0035.html",
"doc_type":"devg",
"p_code":"713",
"code":"721"
},
{
"desc":"cast(x as y)Description: Converts x into the type specified by y.For example:SELECT cast('22-oct-1997' as timestamp);\n timestamp \n---------------------\n 1997-10",
"product_code":"dws",
"title":"Type Conversion Functions",
"uri":"dws_06_0036.html",
"doc_type":"devg",
"p_code":"713",
"code":"722"
},
{
"desc":"+Description: TranslationFor example:SELECT box '((0,0),(1,1))' + point '(2.0,0)' AS RESULT;\n result \n-------------\n (3,1),(2,0)\n(1 row)Description: TranslationFor e",
"product_code":"dws",
"title":"Geometric Functions and Operators",
"uri":"dws_06_0037.html",
"doc_type":"devg",
"p_code":"713",
"code":"723"
},
{
"desc":"The operators <<, <<=, >>, and >>= test for subnet inclusion. They consider only the network parts of the two addresses (ignoring any host part) and determine whether one",
"product_code":"dws",
"title":"Network Address Functions and Operators",
"uri":"dws_06_0038.html",
"doc_type":"devg",
"p_code":"713",
"code":"724"
},
{
"desc":"@@Description: Specifies whether the tsvector-typed words match the tsquery-typed words.For example:SELECT to_tsvector('fat cats ate rats') @@ to_tsquery('cat & rat') AS ",
"product_code":"dws",
"title":"Text Search Functions and Operators",
"uri":"dws_06_0039.html",
"doc_type":"devg",
"p_code":"713",
"code":"725"
},
{
"desc":"UUID functions are used to generate UUID data (see UUID Type).uuid_generate_v1()Description: Generates a UUID sequence number.Return type: UUIDExample:SELECT uuid_generat",
"product_code":"dws",
"title":"UUID Functions",
"uri":"dws_06_0040.html",
"doc_type":"devg",
"p_code":"713",
"code":"726"
},
{
"desc":"JSON functions are used to generate JSON data (see JSON Types).array_to_json(anyarray [, pretty_bool])Description: Returns the array as JSON. A multi-dimensional array be",
"product_code":"dws",
"title":"JSON Functions",
"uri":"dws_06_0041.html",
"doc_type":"devg",
"p_code":"713",
"code":"727"
},
{
"desc":"hll_hash_boolean(bool)Description: Hashes data of the bool type.Return type: hll_hashvalFor example:SELECT hll_hash_boolean(FALSE);\n hll_hash_boolean \n----------------",
"product_code":"dws",
"title":"HLL Functions and Operators",
"uri":"dws_06_0042.html",
"doc_type":"devg",
"p_code":"713",
"code":"728"
},
{
"desc":"The sequence functions provide a simple method to ensure security of multiple users for users to obtain sequence values from sequence objects.The hybrid data warehouse (s",
"product_code":"dws",
"title":"SEQUENCE Functions",
"uri":"dws_06_0043.html",
"doc_type":"devg",
"p_code":"713",
"code":"729"
},
{
"desc":"=Description: Specifies whether two arrays are equal.For example:SELECT ARRAY[1.1,2.1,3.1]::int[] = ARRAY[1,2,3] AS RESULT ;\n result \n--------\n t\n(1 row)Description: Spec",
"product_code":"dws",
"title":"Array Functions and Operators",
"uri":"dws_06_0044.html",
"doc_type":"devg",
"p_code":"713",
"code":"730"
},
{
"desc":"=Description: EqualsFor example:SELECT int4range(1,5) = '[1,4]'::int4range AS RESULT;\n result\n--------\n t\n(1 row)Description: EqualsFor example:<>Description: Does not eq",
"product_code":"dws",
"title":"Range Functions and Operators",
"uri":"dws_06_0045.html",
"doc_type":"devg",
"p_code":"713",
"code":"731"
},
{
"desc":"sum(expression)Description: Sum of expression across all input valuesReturn type:Generally, same as the argument data type. In the following cases, type conversion occurs",
"product_code":"dws",
"title":"Aggregate Functions",
"uri":"dws_06_0046.html",
"doc_type":"devg",
"p_code":"713",
"code":"732"
},
{
"desc":"Regular aggregate functions return a single value calculated from values in a row, or group all rows into a single output row. Window functions perform a calculation acro",
"product_code":"dws",
"title":"Window Functions",
"uri":"dws_06_0047.html",
"doc_type":"devg",
"p_code":"713",
"code":"733"
},
{
"desc":"gs_password_deadline()Description: Indicates the number of remaining days before the password of the current user expires. After the password expires, the system prompts ",
"product_code":"dws",
"title":"Security Functions",
"uri":"dws_06_0048.html",
"doc_type":"devg",
"p_code":"713",
"code":"734"
},
{
"desc":"generate_series(start, stop)Description: Generates a series of values, from start to stop with a step size of one.Parameter type: int, bigint, or numericReturn type: seto",
"product_code":"dws",
"title":"Set Returning Functions",
"uri":"dws_06_0049.html",
"doc_type":"devg",
"p_code":"713",
"code":"735"
},
{
"desc":"coalesce(expr1, expr2, ..., exprn)Description: Returns the first argument that is not NULL in the argument list.COALESCE(expr1, expr2) is equivalent to CASE WHEN expr1 IS",
"product_code":"dws",
"title":"Conditional Expression Functions",
"uri":"dws_06_0050.html",
"doc_type":"devg",
"p_code":"713",
"code":"736"
},
{
"desc":"current_catalogDescription: Name of the current database (called \"catalog\" in the SQL standard)Return type: nameFor example:SELECT current_catalog;\n current_database\n----",
"product_code":"dws",
"title":"System Information Functions",
"uri":"dws_06_0051.html",
"doc_type":"devg",
"p_code":"713",
"code":"737"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"System Administration Functions",
"uri":"dws_06_0052.html",
"doc_type":"devg",
"p_code":"713",
"code":"738"
},
{
"desc":"Configuration setting functions are used for querying and modifying configuration parameters during running.current_setting(setting_name)Description: Specifies the curren",
"product_code":"dws",
"title":"Configuration Settings Functions",
"uri":"dws_06_0053.html",
"doc_type":"devg",
"p_code":"738",
"code":"739"
},
{
"desc":"Universal file access functions provide local access interfaces for files on a database server. Only files in the database cluster directory and the log_directory directo",
"product_code":"dws",
"title":"Universal File Access Functions",
"uri":"dws_06_0054.html",
"doc_type":"devg",
"p_code":"738",
"code":"740"
},
{
"desc":"Server signaling functions send control signals to other server processes. Only system administrators can use these functions.pg_cancel_backend(pid int)Description: Cance",
"product_code":"dws",
"title":"Server Signaling Functions",
"uri":"dws_06_0055.html",
"doc_type":"devg",
"p_code":"738",
"code":"741"
},
{
"desc":"Backup control functions help online backup.pg_create_restore_point(name text)Description: Creates a named point for performing the restore operation (restricted to syste",
"product_code":"dws",
"title":"Backup and Restoration Control Functions",
"uri":"dws_06_0056.html",
"doc_type":"devg",
"p_code":"738",
"code":"742"
},
{
"desc":"Snapshot synchronization functions save the current snapshot and return its identifier.pg_export_snapshot()Description: Saves the current snapshot and returns its identif",
"product_code":"dws",
"title":"Snapshot Synchronization Functions",
"uri":"dws_06_0057.html",
"doc_type":"devg",
"p_code":"738",
"code":"743"
},
{
"desc":"Database object size functions calculate the actual disk space used by database objects.pg_column_size(any)Description: Specifies the number of bytes used to store a part",
"product_code":"dws",
"title":"Database Object Functions",
"uri":"dws_06_0058.html",
"doc_type":"devg",
"p_code":"738",
"code":"744"
},
{
"desc":"Advisory lock functions manage advisory locks. These functions are only for internal use currently.pg_advisory_lock(key bigint)Description: Obtains an exclusive session-l",
"product_code":"dws",
"title":"Advisory Lock Functions",
"uri":"dws_06_0059.html",
"doc_type":"devg",
"p_code":"738",
"code":"745"
},
{
"desc":"pg_get_residualfiles()Description: Obtains all residual file records of the current node. This function is an instance-level function and is irrelevant to the current dat",
"product_code":"dws",
"title":"Residual File Management Functions",
"uri":"dws_06_0060.html",
"doc_type":"devg",
"p_code":"738",
"code":"746"
},
{
"desc":"A replication function synchronizes logs and data between instances. It is a statistics or operation method provided by the system to implement HA.Replication functions e",
"product_code":"dws",
"title":"Replication Functions",
"uri":"dws_06_0061.html",
"doc_type":"devg",
"p_code":"738",
"code":"747"
},
{
"desc":"pgxc_pool_check()Description: Checks whether the connection data buffered in the pool is consistent with pgxc_node.Return type: booleanDescription: Checks whether the con",
"product_code":"dws",
"title":"Other Functions",
"uri":"dws_06_0062.html",
"doc_type":"devg",
"p_code":"738",
"code":"748"
},
{
"desc":"This section describes the functions of the resource management module.gs_wlm_readjust_user_space(oid)Description: This function calibrates the permanent storage space of",
"product_code":"dws",
"title":"Resource Management Functions",
"uri":"dws_06_0063.html",
"doc_type":"devg",
"p_code":"738",
"code":"749"
},
{
"desc":"Data redaction functions are used to mask and protect sensitive data. Generally, you are advised to bind these functions to the columns to be redacted based on the data r",
"product_code":"dws",
"title":"Data Redaction Functions",
"uri":"dws_06_0064.html",
"doc_type":"devg",
"p_code":"713",
"code":"750"
},
{
"desc":"Statistics information functions are divided into the following two categories: functions that access databases, using the OID of each table or index in a database to mar",
"product_code":"dws",
"title":"Statistics Information Functions",
"uri":"dws_06_0065.html",
"doc_type":"devg",
"p_code":"713",
"code":"751"
},
{
"desc":"pg_get_triggerdef(oid)Description: Obtains the definition information of a trigger.Parameter: OID of the trigger to be queriedReturn type: textExample:select pg_get_trigg",
"product_code":"dws",
"title":"Trigger Functions",
"uri":"dws_06_0066.html",
"doc_type":"devg",
"p_code":"713",
"code":"752"
},
{
"desc":"XMLPARSE ( { DOCUMENT | CONTENT } value)Description: Generates an XML value from character data.Return type: XMLExample:XMLSERIALIZE ( { DOCUMENT | CONTENT } value AS typ",
"product_code":"dws",
"title":"XML Functions",
"uri":"dws_06_0067.html",
"doc_type":"devg",
"p_code":"713",
"code":"753"
},
{
"desc":"The pv_memory_profiling(type int) and environment variable MALLOC_CONF are used by GaussDB(DWS) to control the enabling and disabling of the memory allocation call stack ",
"product_code":"dws",
"title":"Call Stack Recording Functions",
"uri":"dws_06_0068.html",
"doc_type":"devg",
"p_code":"713",
"code":"754"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Expressions",
"uri":"dws_06_0069.html",
"doc_type":"devg",
"p_code":"686",
"code":"755"
},
{
"desc":"Logical Operators lists the operators and calculation rules of logical expressions.Comparison Operators lists the common comparative operators.In addition to comparative ",
"product_code":"dws",
"title":"Simple Expressions",
"uri":"dws_06_0070.html",
"doc_type":"devg",
"p_code":"755",
"code":"756"
},
{
"desc":"Data that meets the requirements specified by conditional expressions are filtered during SQL statement execution.Conditional expressions include the following types:CASE",
"product_code":"dws",
"title":"Conditional Expressions",
"uri":"dws_06_0071.html",
"doc_type":"devg",
"p_code":"755",
"code":"757"
},
{
"desc":"Subquery expressions include the following types:EXISTS/NOT EXISTSFigure 1 shows the syntax of an EXISTS/NOT EXISTS expression.EXISTS/NOT EXISTS::=The parameter of an EXI",
"product_code":"dws",
"title":"Subquery Expressions",
"uri":"dws_06_0072.html",
"doc_type":"devg",
"p_code":"755",
"code":"758"
},
{
"desc":"expressionIN(value [, ...])The parentheses on the right contain an expression list. The expression result on the left is compared with the content in the expression list.",
"product_code":"dws",
"title":"Array Expressions",
"uri":"dws_06_0073.html",
"doc_type":"devg",
"p_code":"755",
"code":"759"
},
{
"desc":"Syntax:row_constructor operator row_constructorBoth sides of the row expression are row constructors. The values of both rows must have the same number of fields and they",
"product_code":"dws",
"title":"Row Expressions",
"uri":"dws_06_0074.html",
"doc_type":"devg",
"p_code":"755",
"code":"760"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Type Conversion",
"uri":"dws_06_0075.html",
"doc_type":"devg",
"p_code":"686",
"code":"761"
},
{
"desc":"SQL is a typed language. That is, every data item has an associated data type which determines its behavior and allowed usage. GaussDB(DWS) has an extensible type system ",
"product_code":"dws",
"title":"Overview",
"uri":"dws_06_0076.html",
"doc_type":"devg",
"p_code":"761",
"code":"762"
},
{
"desc":"Select the operators to be considered from the pg_operator system catalog. Considered operators are those with the matching name and argument count. If the search path fi",
"product_code":"dws",
"title":"Operators",
"uri":"dws_06_0077.html",
"doc_type":"devg",
"p_code":"761",
"code":"763"
},
{
"desc":"Select the functions to be considered from the pg_proc system catalog. If a non-schema-qualified function name was used, the functions in the current search path are cons",
"product_code":"dws",
"title":"Functions",
"uri":"dws_06_0078.html",
"doc_type":"devg",
"p_code":"761",
"code":"764"
},
{
"desc":"Search for an exact match with the target column.Try to convert the expression to the target type. This will succeed if there is a registered cast between the two types. ",
"product_code":"dws",
"title":"Value Storage",
"uri":"dws_06_0079.html",
"doc_type":"devg",
"p_code":"761",
"code":"765"
},
{
"desc":"SQL UNION constructs must match up possibly dissimilar types to become a single result set. Since all query results from a SELECT UNION statement must appear in a single ",
"product_code":"dws",
"title":"UNION, CASE, and Related Constructs",
"uri":"dws_06_0080.html",
"doc_type":"devg",
"p_code":"761",
"code":"766"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Full Text Search",
"uri":"dws_06_0081.html",
"doc_type":"devg",
"p_code":"686",
"code":"767"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Introduction",
"uri":"dws_06_0082.html",
"doc_type":"devg",
"p_code":"767",
"code":"768"
},
{
"desc":"Textual search operators have been used in databases for years. GaussDB(DWS) has ~, ~*, LIKE, and ILIKE operators for textual data types, but they lack many essential pro",
"product_code":"dws",
"title":"Full-Text Retrieval",
"uri":"dws_06_0083.html",
"doc_type":"devg",
"p_code":"768",
"code":"769"
},
{
"desc":"A document is the unit of searching in a full text search system; for example, a magazine article or email message. The text search engine must be able to parse documents",
"product_code":"dws",
"title":"What Is a Document?",
"uri":"dws_06_0084.html",
"doc_type":"devg",
"p_code":"768",
"code":"770"
},
{
"desc":"Full text search in GaussDB(DWS) is based on the match operator @@, which returns true if a tsvector (document) matches a tsquery (query). It does not matter which data t",
"product_code":"dws",
"title":"Basic Text Matching",
"uri":"dws_06_0085.html",
"doc_type":"devg",
"p_code":"768",
"code":"771"
},
{
"desc":"Full text search functionality includes the ability to do many more things: skip indexing certain words (stop words), process synonyms, and use sophisticated parsing, for",
"product_code":"dws",
"title":"Configurations",
"uri":"dws_06_0086.html",
"doc_type":"devg",
"p_code":"768",
"code":"772"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Table and index",
"uri":"dws_06_0087.html",
"doc_type":"devg",
"p_code":"767",
"code":"773"
},
{
"desc":"It is possible to do a full text search without an index.A simple query to print each row that contains the word science in its body column is as follows:DROP SCHEMA IF E",
"product_code":"dws",
"title":"Searching a Table",
"uri":"dws_06_0088.html",
"doc_type":"devg",
"p_code":"773",
"code":"774"
},
{
"desc":"You can create a GIN index to speed up text searches:The to_tsvector() function accepts one or two augments.If the one-augment version of the index is used, the system wi",
"product_code":"dws",
"title":"Creating an Index",
"uri":"dws_06_0089.html",
"doc_type":"devg",
"p_code":"773",
"code":"775"
},
{
"desc":"The following is an example of using an index. Run the following statements in a database that uses the UTF-8 or GBK encoding:In this example, table1 has two GIN indexes ",
"product_code":"dws",
"title":"Constraints on Index Use",
"uri":"dws_06_0090.html",
"doc_type":"devg",
"p_code":"773",
"code":"776"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Controlling Text Search",
"uri":"dws_06_0091.html",
"doc_type":"devg",
"p_code":"767",
"code":"777"
},
{
"desc":"GaussDB(DWS) provides function to_tsvector for converting a document to the tsvector data type.to_tsvector parses a textual document into tokens, reduces the tokens to le",
"product_code":"dws",
"title":"Parsing Documents",
"uri":"dws_06_0092.html",
"doc_type":"devg",
"p_code":"777",
"code":"778"
},
{
"desc":"GaussDB(DWS) provides functions to_tsquery and plainto_tsquery for converting a query to the tsquery data type. to_tsquery offers access to more features than plainto_tsq",
"product_code":"dws",
"title":"Parsing Queries",
"uri":"dws_06_0093.html",
"doc_type":"devg",
"p_code":"777",
"code":"779"
},
{
"desc":"Ranking attempts to measure how relevant documents are to a particular query, so that when there are many matches the most relevant ones can be shown first. GaussDB(DWS) ",
"product_code":"dws",
"title":"Ranking Search Results",
"uri":"dws_06_0094.html",
"doc_type":"devg",
"p_code":"777",
"code":"780"
},
{
"desc":"To present search results it is ideal to show a part of each document and how it is related to the query. Usually, search engines show fragments of the document with mark",
"product_code":"dws",
"title":"Highlighting Results",
"uri":"dws_06_0095.html",
"doc_type":"devg",
"p_code":"777",
"code":"781"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Additional Features",
"uri":"dws_06_0096.html",
"doc_type":"devg",
"p_code":"767",
"code":"782"
},
{
"desc":"GaussDB(DWS) provides functions and operators that can be used to manipulate documents that are already in tsvector type.tsvector || tsvectorThe tsvector concatenation op",
"product_code":"dws",
"title":"Manipulating tsvector",
"uri":"dws_06_0097.html",
"doc_type":"devg",
"p_code":"782",
"code":"783"
},
{
"desc":"GaussDB(DWS) provides functions and operators that can be used to manipulate queries that are already in tsquery type.tsquery && tsqueryReturns the AND-combination of the",
"product_code":"dws",
"title":"Manipulating Queries",
"uri":"dws_06_0098.html",
"doc_type":"devg",
"p_code":"782",
"code":"784"
},
{
"desc":"The ts_rewrite family of functions searches a given tsquery for occurrences of a target subquery, and replace each occurrence with a substitute subquery. In essence this ",
"product_code":"dws",
"title":"Rewriting Queries",
"uri":"dws_06_0099.html",
"doc_type":"devg",
"p_code":"782",
"code":"785"
},
{
"desc":"The function ts_stat is useful for checking your configuration and for finding stop-word candidates.sqlquery is a text value containing an SQL query which must return a s",
"product_code":"dws",
"title":"Gathering Document Statistics",
"uri":"dws_06_0100.html",
"doc_type":"devg",
"p_code":"782",
"code":"786"
},
{
"desc":"Text search parsers are responsible for splitting raw document text into tokens and identifying each token's type, where the set of types is defined by the parser itself.",
"product_code":"dws",
"title":"Parsers",
"uri":"dws_06_0101.html",
"doc_type":"devg",
"p_code":"767",
"code":"787"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Dictionaries",
"uri":"dws_06_0102.html",
"doc_type":"devg",
"p_code":"767",
"code":"788"
},
{
"desc":"A dictionary is used to define stop words, that is, words to be ignored in full-text retrieval.A dictionary can also be used to normalize words so that different derived ",
"product_code":"dws",
"title":"Overview",
"uri":"dws_06_0103.html",
"doc_type":"devg",
"p_code":"788",
"code":"789"
},
{
"desc":"Stop words are words that are very common, appear in almost every document, and have no discrimination value. Therefore, they can be ignored in the context of full text s",
"product_code":"dws",
"title":"Stop Words",
"uri":"dws_06_0104.html",
"doc_type":"devg",
"p_code":"788",
"code":"790"
},
{
"desc":"A Simple dictionary operates by converting the input token to lower case and checking it against a list of stop words. If the token is found in the list, an empty array w",
"product_code":"dws",
"title":"Simple Dictionary",
"uri":"dws_06_0105.html",
"doc_type":"devg",
"p_code":"788",
"code":"791"
},
{
"desc":"A synonym dictionary is used to define, identify, and convert synonyms of tokens. Phrases are not supported (use the thesaurus dictionary in Thesaurus Dictionary).A synon",
"product_code":"dws",
"title":"Synonym Dictionary",
"uri":"dws_06_0106.html",
"doc_type":"devg",
"p_code":"788",
"code":"792"
},
{
"desc":"A thesaurus dictionary (sometimes abbreviated as TZ) is a collection of words that include relationships between words and phrases, such as broader terms (BT), narrower t",
"product_code":"dws",
"title":"Thesaurus Dictionary",
"uri":"dws_06_0107.html",
"doc_type":"devg",
"p_code":"788",
"code":"793"
},
{
"desc":"The Ispell dictionary template supports morphological dictionaries, which can normalize many different linguistic forms of a word into the same lexeme. For example, an En",
"product_code":"dws",
"title":"Ispell Dictionary",
"uri":"dws_06_0108.html",
"doc_type":"devg",
"p_code":"788",
"code":"794"
},
{
"desc":"A Snowball dictionary is based on a project by Martin Porter and is used for stem analysis, providing stemming algorithms for many languages. GaussDB(DWS) provides predef",
"product_code":"dws",
"title":"Snowball Dictionary",
"uri":"dws_06_0109.html",
"doc_type":"devg",
"p_code":"788",
"code":"795"
},
{
"desc":"Text search configuration specifies the following components required for converting a document into a tsvector:A parser, decomposes a text into tokens.Dictionary list, c",
"product_code":"dws",
"title":"Configuration Examples",
"uri":"dws_06_0110.html",
"doc_type":"devg",
"p_code":"767",
"code":"796"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Testing and Debugging Text Search",
"uri":"dws_06_0111.html",
"doc_type":"devg",
"p_code":"767",
"code":"797"
},
{
"desc":"The function ts_debug allows easy testing of a text search configuration.ts_debug displays information about every token of document as produced by the parser and process",
"product_code":"dws",
"title":"Testing a Configuration",
"uri":"dws_06_0112.html",
"doc_type":"devg",
"p_code":"797",
"code":"798"
},
{
"desc":"The ts_parse function allows direct testing of a text search parser.ts_parse parses the given document and returns a series of records, one for each token produced by par",
"product_code":"dws",
"title":"Testing a Parser",
"uri":"dws_06_0113.html",
"doc_type":"devg",
"p_code":"797",
"code":"799"
},
{
"desc":"The ts_lexize function facilitates dictionary testing.ts_lexize(dict regdictionary, token text) returns text[] ts_lexize returns an array of lexemes if the input token is",
"product_code":"dws",
"title":"Testing a Dictionary",
"uri":"dws_06_0114.html",
"doc_type":"devg",
"p_code":"797",
"code":"800"
},
{
"desc":"The current limitations of GaussDB(DWS)'s full text search are:The length of each lexeme must be less than 2 KB.The length of a tsvector (lexemes + positions) must be les",
"product_code":"dws",
"title":"Limitations",
"uri":"dws_06_0115.html",
"doc_type":"devg",
"p_code":"767",
"code":"801"
},
{
"desc":"GaussDB(DWS) runs SQL statements to perform different system operations, such as setting variables, displaying the execution plan, and collecting garbage data.For details",
"product_code":"dws",
"title":"System Operation",
"uri":"dws_06_0116.html",
"doc_type":"devg",
"p_code":"686",
"code":"802"
},
{
"desc":"A transaction is a user-defined sequence of database operations, which form an integral unit of work.GaussDB(DWS) starts a transaction using START TRANSACTION and BEGIN. ",
"product_code":"dws",
"title":"Controlling Transactions",
"uri":"dws_06_0117.html",
"doc_type":"devg",
"p_code":"686",
"code":"803"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"DDL Syntax",
"uri":"dws_06_0118.html",
"doc_type":"devg",
"p_code":"686",
"code":"804"
},
{
"desc":"Data definition language (DDL) is used to define or modify an object in a database, such as a table, index, or view.GaussDB(DWS) does not support DDL if its CN is unavail",
"product_code":"dws",
"title":"DDL Syntax Overview",
"uri":"dws_06_0119.html",
"doc_type":"devg",
"p_code":"804",
"code":"805"
},
{
"desc":"This command is used to modify the attributes of a database, including the database name, owner, maximum number of connections, and object isolation attribute.Only the ow",
"product_code":"dws",
"title":"ALTER DATABASE",
"uri":"dws_06_0120.html",
"doc_type":"devg",
"p_code":"804",
"code":"806"
},
{
"desc":"ALTER FOREIGN TABLE modifies a foreign table.NoneSet the attributes of a foreign table.ALTER FOREIGN TABLE [ IF EXISTS ] table_name\n OPTIONS ( {[ ADD | SET | DROP ] o",
"product_code":"dws",
"title":"ALTER FOREIGN TABLE (for GDS)",
"uri":"dws_06_0123.html",
"doc_type":"devg",
"p_code":"804",
"code":"807"
},
{
"desc":"ALTER FOREIGN TABLE modifies an HDFS or OBS foreign table.NoneSet a foreign table's attributes.ALTER FOREIGN TABLE [ IF EXISTS ] table_name\n OPTIONS ( {[ ADD | SET | ",
"product_code":"dws",
"title":"ALTER FOREIGN TABLE (for HDFS or OBS)",
"uri":"dws_06_0124.html",
"doc_type":"devg",
"p_code":"804",
"code":"808"
},
{
"desc":"ALTER FUNCTION modifies the attributes of a customized function.Only the owner of a function or a system administrator can run this statement. If a function involves oper",
"product_code":"dws",
"title":"ALTER FUNCTION",
"uri":"dws_06_0126.html",
"doc_type":"devg",
"p_code":"804",
"code":"809"
},
{
"desc":"ALTER GROUP modifies the attributes of a user group.ALTER GROUP is an alias for ALTER ROLE, and it is not a standard SQL command and not recommended. Users can use ALTER ",
"product_code":"dws",
"title":"ALTER GROUP",
"uri":"dws_06_0127.html",
"doc_type":"devg",
"p_code":"804",
"code":"810"
},
{
"desc":"ALTER INDEX modifies the definition of an existing index.There are several sub-forms:IF EXISTSIf the specified index does not exist, a notice instead of an error is sent.",
"product_code":"dws",
"title":"ALTER INDEX",
"uri":"dws_06_0128.html",
"doc_type":"devg",
"p_code":"804",
"code":"811"
},
{
"desc":"ALTER LARGE OBJECT modifies the definition of a large object. It can only assign a new owner to a large object.Only the administrator or the owner of the to-be-modified l",
"product_code":"dws",
"title":"ALTER LARGE OBJECT",
"uri":"dws_06_0129.html",
"doc_type":"devg",
"p_code":"804",
"code":"812"
},
{
"desc":"ALTER REDACTION POLICY modifies a data redaction policy applied to a specified table.Only the owner of the table to which the redaction policy is applied has the permissi",
"product_code":"dws",
"title":"ALTER REDACTION POLICY",
"uri":"dws_06_0132.html",
"doc_type":"devg",
"p_code":"804",
"code":"813"
},
{
"desc":"ALTER RESOURCE POOL changes the Cgroup of a resource pool.Users having the ALTER permission can modify resource pools.pool_nameSpecifies the name of the resource pool.The",
"product_code":"dws",
"title":"ALTER RESOURCE POOL",
"uri":"dws_06_0133.html",
"doc_type":"devg",
"p_code":"804",
"code":"814"
},
{
"desc":"ALTER ROLE changes the attributes of a role.NoneModifying the Rights of a RoleALTER ROLE role_name [ [ WITH ] option [ ... ] ];The option clause for granting rights is as",
"product_code":"dws",
"title":"ALTER ROLE",
"uri":"dws_06_0134.html",
"doc_type":"devg",
"p_code":"804",
"code":"815"
},
{
"desc":"ALTER ROW LEVEL SECURITY POLICY modifies an existing row-level access control policy, including the policy name and the users and expressions affected by the policy.Only ",
"product_code":"dws",
"title":"ALTER ROW LEVEL SECURITY POLICY",
"uri":"dws_06_0135.html",
"doc_type":"devg",
"p_code":"804",
"code":"816"
},
{
"desc":"ALTER SCHEMA changes the attributes of a schema.Only the owner of an index or a system administrator can run this statement.Rename a schema.ALTER SCHEMA schema_name \n ",
"product_code":"dws",
"title":"ALTER SCHEMA",
"uri":"dws_06_0136.html",
"doc_type":"devg",
"p_code":"804",
"code":"817"
},
{
"desc":"ALTER SEQUENCE modifies the parameters of an existing sequence.You must be the owner of the sequence to use ALTER SEQUENCE.In the current version, you can modify only the",
"product_code":"dws",
"title":"ALTER SEQUENCE",
"uri":"dws_06_0137.html",
"doc_type":"devg",
"p_code":"804",
"code":"818"
},
{
"desc":"ALTER SERVER adds, modifies, or deletes the parameters of an existing server. You can query existing servers from the pg_foreign_server system catalog.Only the owner of a",
"product_code":"dws",
"title":"ALTER SERVER",
"uri":"dws_06_0138.html",
"doc_type":"devg",
"p_code":"804",
"code":"819"
},
{
"desc":"ALTER SESSION defines or modifies the conditions or parameters that affect the current session. Modified session parameters are kept until the current session is disconne",
"product_code":"dws",
"title":"ALTER SESSION",
"uri":"dws_06_0139.html",
"doc_type":"devg",
"p_code":"804",
"code":"820"
},
{
"desc":"ALTER SYNONYM is used to modify the attribute of a synonym.Only the synonym owner can be changed.Only the system administrator and the synonym owner has the permission to",
"product_code":"dws",
"title":"ALTER SYNONYM",
"uri":"dws_06_0140.html",
"doc_type":"devg",
"p_code":"804",
"code":"821"
},
{
"desc":"ALTER SYSTEM KILL SESSION ends a session.Nonesession_sid, serialSpecifies SID and SERIAL of a session (see examples for format).Value range: The SIDs and SERIALs of all s",
"product_code":"dws",
"title":"ALTER SYSTEM KILL SESSION",
"uri":"dws_06_0141.html",
"doc_type":"devg",
"p_code":"804",
"code":"822"
},
{
"desc":"ALTER TABLE is used to modify tables, including modifying table definitions, renaming tables, renaming specified columns in tables, renaming table constraints, setting ta",
"product_code":"dws",
"title":"ALTER TABLE",
"uri":"dws_06_0142.html",
"doc_type":"devg",
"p_code":"804",
"code":"823"
},
{
"desc":"ALTER TABLE PARTITION modifies table partitioning, including adding, deleting, splitting, merging partitions, and modifying partition attributes.The name of the added par",
"product_code":"dws",
"title":"ALTER TABLE PARTITION",
"uri":"dws_06_0143.html",
"doc_type":"devg",
"p_code":"804",
"code":"824"
},
{
"desc":"ALTER TEXT SEARCH CONFIGURATION modifies the definition of a text search configuration. You can modify its mappings from token types to dictionaries, change the configura",
"product_code":"dws",
"title":"ALTER TEXT SEARCH CONFIGURATION",
"uri":"dws_06_0145.html",
"doc_type":"devg",
"p_code":"804",
"code":"825"
},
{
"desc":"ALTER TEXT SEARCH DICTIONARY modifies the definition of a full-text retrieval dictionary, including its parameters, name, owner, and schema.ALTER is not supported by pred",
"product_code":"dws",
"title":"ALTER TEXT SEARCH DICTIONARY",
"uri":"dws_06_0146.html",
"doc_type":"devg",
"p_code":"804",
"code":"826"
},
{
"desc":"ALTER TRIGGER modifies the definition of a trigger.Only the owner of a table where a trigger is created and system administrators can run the ALTER TRIGGER statement.trig",
"product_code":"dws",
"title":"ALTER TRIGGER",
"uri":"dws_06_0147.html",
"doc_type":"devg",
"p_code":"804",
"code":"827"
},
{
"desc":"ALTER TYPE modifies the definition of a type.Modify a type.ALTER TYPE name action [, ... ]\nALTER TYPE name OWNER TO { new_owner | CURRENT_USER | SESSION_USER }\nALTER TYPE",
"product_code":"dws",
"title":"ALTER TYPE",
"uri":"dws_06_0148.html",
"doc_type":"devg",
"p_code":"804",
"code":"828"
},
{
"desc":"ALTER USER modifies the attributes of a database user.Session parameters modified by ALTER USER apply to a specified user and take effect in the next session.Modify user ",
"product_code":"dws",
"title":"ALTER USER",
"uri":"dws_06_0149.html",
"doc_type":"devg",
"p_code":"804",
"code":"829"
},
{
"desc":"ALTER VIEW modifies all auxiliary attributes of a view. (To modify the query definition of a view, use CREATE OR REPLACE VIEW.)Only the view owner can modify a view by ru",
"product_code":"dws",
"title":"ALTER VIEW",
"uri":"dws_06_0150.html",
"doc_type":"devg",
"p_code":"804",
"code":"830"
},
{
"desc":"CLEAN CONNECTION clears database connections when a database is abnormal. You may use this statement to delete a specific user's connections to a specified database.NoneC",
"product_code":"dws",
"title":"CLEAN CONNECTION",
"uri":"dws_06_0151.html",
"doc_type":"devg",
"p_code":"804",
"code":"831"
},
{
"desc":"CLOSE frees the resources associated with an open cursor.After a cursor is closed, no subsequent operations are allowed on it.A cursor should be closed when it is no long",
"product_code":"dws",
"title":"CLOSE",
"uri":"dws_06_0152.html",
"doc_type":"devg",
"p_code":"804",
"code":"832"
},
{
"desc":"Cluster a table according to an index.CLUSTER instructs GaussDB(DWS) to cluster the table specified by table_name based on the index specified by index_name. The index mu",
"product_code":"dws",
"title":"CLUSTER",
"uri":"dws_06_0153.html",
"doc_type":"devg",
"p_code":"804",
"code":"833"
},
{
"desc":"COMMENT defines or changes the comment of an object.Only one comment string is stored for each object. To modify a comment, issue a new COMMENT command for the same objec",
"product_code":"dws",
"title":"COMMENT",
"uri":"dws_06_0154.html",
"doc_type":"devg",
"p_code":"804",
"code":"834"
},
{
"desc":"Creates a barrier for cluster nodes. The barrier can be used for data restoration.Before creating a barrier, ensure that gtm_backup_barrier and enable_cbm_tracking are se",
"product_code":"dws",
"title":"CREATE BARRIER",
"uri":"dws_06_0155.html",
"doc_type":"devg",
"p_code":"804",
"code":"835"
},
{
"desc":"CREATE DATABASE creates a database. By default, the new database will be created by cloning the standard system database template1. A different template can be specified ",
"product_code":"dws",
"title":"CREATE DATABASE",
"uri":"dws_06_0156.html",
"doc_type":"devg",
"p_code":"804",
"code":"836"
},
{
"desc":"CREATE FOREIGN TABLE creates a GDS foreign table.CREATE FOREIGN TABLE creates a GDS foreign table in the current database for concurrent data import and export. The GDS f",
"product_code":"dws",
"title":"CREATE FOREIGN TABLE (for GDS Import and Export)",
"uri":"dws_06_0159.html",
"doc_type":"devg",
"p_code":"804",
"code":"837"
},
{
"desc":"CREATE FOREIGN TABLE creates an HDFS or OBS foreign table in the current database to access or export structured data stored on HDFS or OBS. You can also export data in O",
"product_code":"dws",
"title":"CREATE FOREIGN TABLE (SQL on OBS or Hadoop)",
"uri":"dws_06_0161.html",
"doc_type":"devg",
"p_code":"804",
"code":"838"
},
{
"desc":"CREATE FOREIGN TABLE creates a foreign table in the current database for parallel data import and export of OBS data. The server used is gsmpp_server, which is created by",
"product_code":"dws",
"title":"CREATE FOREIGN TABLE (for OBS Import and Export)",
"uri":"dws_06_0160.html",
"doc_type":"devg",
"p_code":"804",
"code":"839"
},
{
"desc":"CREATE FUNCTION creates a function.The precision values (if any) of the parameters or return values of a function are not checked.When creating a function, you are advise",
"product_code":"dws",
"title":"CREATE FUNCTION",
"uri":"dws_06_0163.html",
"doc_type":"devg",
"p_code":"804",
"code":"840"
},
{
"desc":"CREATE GROUP creates a user group.CREATE GROUP is an alias for CREATE ROLE, and it is not a standard SQL command and not recommended. Users can use CREATE ROLE directly.T",
"product_code":"dws",
"title":"CREATE GROUP",
"uri":"dws_06_0164.html",
"doc_type":"devg",
"p_code":"804",
"code":"841"
},
{
"desc":"CREATE INDEX-bak defines a new index.Indexes are primarily used to enhance database performance (though inappropriate use can result in slower database performance). You ",
"product_code":"dws",
"title":"CREATE INDEX",
"uri":"dws_06_0165.html",
"doc_type":"devg",
"p_code":"804",
"code":"842"
},
{
"desc":"CREATE REDACTION POLICY creates a data redaction policy for a table.Only the table owner has the permission to create a data redaction policy.You can create data redactio",
"product_code":"dws",
"title":"CREATE REDACTION POLICY",
"uri":"dws_06_0168.html",
"doc_type":"devg",
"p_code":"804",
"code":"843"
},
{
"desc":"CREATE ROW LEVEL SECURITY POLICY creates a row-level access control policy for a table.The policy takes effect only after row-level access control is enabled (by running ",
"product_code":"dws",
"title":"CREATE ROW LEVEL SECURITY POLICY",
"uri":"dws_06_0169.html",
"doc_type":"devg",
"p_code":"804",
"code":"844"
},
{
"desc":"CREATE PROCEDURE creates a stored procedure.The precision values (if any) of the parameters or return values of a stored procedure are not checked.When creating a stored ",
"product_code":"dws",
"title":"CREATE PROCEDURE",
"uri":"dws_06_0170.html",
"doc_type":"devg",
"p_code":"804",
"code":"845"
},
{
"desc":"CREATE RESOURCE POOL creates a resource pool and specifies the Cgroup for the resource pool.As long as the current user has CREATE permission, it can create a resource po",
"product_code":"dws",
"title":"CREATE RESOURCE POOL",
"uri":"dws_06_0171.html",
"doc_type":"devg",
"p_code":"804",
"code":"846"
},
{
"desc":"Create a role.A role is an entity that has own database objects and permissions. In different environments, a role can be considered a user, a group, or both.CREATE ROLE ",
"product_code":"dws",
"title":"CREATE ROLE",
"uri":"dws_06_0172.html",
"doc_type":"devg",
"p_code":"804",
"code":"847"
},
{
"desc":"CREATE SCHEMA creates a schema.Named objects are accessed either by \"qualifying\" their names with the schema name as a prefix, or by setting a search path that includes t",
"product_code":"dws",
"title":"CREATE SCHEMA",
"uri":"dws_06_0173.html",
"doc_type":"devg",
"p_code":"804",
"code":"848"
},
{
"desc":"CREATE SEQUENCE adds a sequence to the current database. The owner of a sequence is the user who creates the sequence.A sequence is a special table that stores arithmetic",
"product_code":"dws",
"title":"CREATE SEQUENCE",
"uri":"dws_06_0174.html",
"doc_type":"devg",
"p_code":"804",
"code":"849"
},
{
"desc":"CREATE SERVER creates an external server.An external server stores information of HDFS clusters, OBS servers, DLI connections, or other homogeneous clusters.By default, o",
"product_code":"dws",
"title":"CREATE SERVER",
"uri":"dws_06_0175.html",
"doc_type":"devg",
"p_code":"804",
"code":"850"
},
{
"desc":"CREATE SYNONYM is used to create a synonym object. A synonym is an alias of a database object and is used to record the mapping between database object names. You can use",
"product_code":"dws",
"title":"CREATE SYNONYM",
"uri":"dws_06_0176.html",
"doc_type":"devg",
"p_code":"804",
"code":"851"
},
{
"desc":"CREATE TABLE creates a table in the current database. The table will be owned by the user who created it.For details about the data types supported by column-store tables",
"product_code":"dws",
"title":"CREATE TABLE",
"uri":"dws_06_0177.html",
"doc_type":"devg",
"p_code":"804",
"code":"852"
},
{
"desc":"CREATE TABLE AS creates a table based on the results of a query.It creates a table and fills it with data obtained using SELECT. The table columns have the names and data",
"product_code":"dws",
"title":"CREATE TABLE AS",
"uri":"dws_06_0178.html",
"doc_type":"devg",
"p_code":"804",
"code":"853"
},
{
"desc":"CREATE TABLE PARTITION creates a partitioned table. Partitioning refers to splitting what is logically one large table into smaller physical pieces based on specific sche",
"product_code":"dws",
"title":"CREATE TABLE PARTITION",
"uri":"dws_06_0179.html",
"doc_type":"devg",
"p_code":"804",
"code":"854"
},
{
"desc":"CREATE TEXT SEARCH CONFIGURATION creates a text search configuration. A text search configuration specifies a text search parser that can divide a string into tokens, plu",
"product_code":"dws",
"title":"CREATE TEXT SEARCH CONFIGURATION",
"uri":"dws_06_0182.html",
"doc_type":"devg",
"p_code":"804",
"code":"855"
},
{
"desc":"CREATE TEXT SEARCH DICTIONARY creates a full-text search dictionary. A dictionary is used to identify and process specified words during full-text search.Dictionaries are",
"product_code":"dws",
"title":"CREATE TEXT SEARCH DICTIONARY",
"uri":"dws_06_0183.html",
"doc_type":"devg",
"p_code":"804",
"code":"856"
},
{
"desc":"CREATE TRIGGER creates a trigger. The trigger will be associated with a specified table or view, and will execute a specified function when certain events occur.Currently",
"product_code":"dws",
"title":"CREATE TRIGGER",
"uri":"dws_06_0184.html",
"doc_type":"devg",
"p_code":"804",
"code":"857"
},
{
"desc":"CREATE TYPE defines a new data type in the current database. The user who defines a new data type becomes its owner. Types are designed only for row-store tables.Four typ",
"product_code":"dws",
"title":"CREATE TYPE",
"uri":"dws_06_0185.html",
"doc_type":"devg",
"p_code":"804",
"code":"858"
},
{
"desc":"CREATE USER creates a user.A user created using the CREATE USER statement has the LOGIN permission by default.A schema named after the user is automatically created in th",
"product_code":"dws",
"title":"CREATE USER",
"uri":"dws_06_0186.html",
"doc_type":"devg",
"p_code":"804",
"code":"859"
},
{
"desc":"CREATE VIEW creates a view. A view is a virtual table, not a base table. A database only stores the definition of a view and does not store its data. The data is still st",
"product_code":"dws",
"title":"CREATE VIEW",
"uri":"dws_06_0187.html",
"doc_type":"devg",
"p_code":"804",
"code":"860"
},
{
"desc":"CURSOR defines a cursor. This command retrieves few rows of data in a query.To process SQL statements, the stored procedure process assigns a memory segment to store cont",
"product_code":"dws",
"title":"CURSOR",
"uri":"dws_06_0188.html",
"doc_type":"devg",
"p_code":"804",
"code":"861"
},
{
"desc":"DROP DATABASE deletes a database.Only the owner of a database or a system administrator has the permission to run the DROP DATABASE command.DROP DATABASE does not take ef",
"product_code":"dws",
"title":"DROP DATABASE",
"uri":"dws_06_0189.html",
"doc_type":"devg",
"p_code":"804",
"code":"862"
},
{
"desc":"DROP FOREIGN TABLE deletes a specified foreign table.DROP FOREIGN TABLE forcibly deletes a specified table. After a table is deleted, any indexes that exist for the table",
"product_code":"dws",
"title":"DROP FOREIGN TABLE",
"uri":"dws_06_0192.html",
"doc_type":"devg",
"p_code":"804",
"code":"863"
},
{
"desc":"DROP FUNCTION deletes an existing function.If a function involves operations on temporary tables, the function cannot be deleted by running DROP FUNCTION.IF EXISTSSends a",
"product_code":"dws",
"title":"DROP FUNCTION",
"uri":"dws_06_0193.html",
"doc_type":"devg",
"p_code":"804",
"code":"864"
},
{
"desc":"DROP GROUP deletes a user group.DROP GROUP is the alias for DROP ROLE.DROP GROUP is the internal interface encapsulated in the gs_om tool. You are not advised to use this",
"product_code":"dws",
"title":"DROP GROUP",
"uri":"dws_06_0194.html",
"doc_type":"devg",
"p_code":"804",
"code":"865"
},
{
"desc":"DROP INDEX deletes an index.Only the owner of an index or a system administrator can run DROP INDEX command.IF EXISTSSends a notice instead of an error if the specified i",
"product_code":"dws",
"title":"DROP INDEX",
"uri":"dws_06_0195.html",
"doc_type":"devg",
"p_code":"804",
"code":"866"
},
{
"desc":"DROP OWNED deletes the database objects of a database role.The role's permissions on all the database objects in the current database and shared objects (databases and ta",
"product_code":"dws",
"title":"DROP OWNED",
"uri":"dws_06_0198.html",
"doc_type":"devg",
"p_code":"804",
"code":"867"
},
{
"desc":"DROP REDACTION POLICY deletes a data redaction policy applied to a specified table.Only the table owner has the permission to delete a data redaction policy.IF EXISTSSend",
"product_code":"dws",
"title":"DROP REDACTION POLICY",
"uri":"dws_06_0199.html",
"doc_type":"devg",
"p_code":"804",
"code":"868"
},
{
"desc":"DROP ROW LEVEL SECURITY POLICY deletes a row-level access control policy from a table.Only the table owner or administrators can delete a row-level access control policy ",
"product_code":"dws",
"title":"DROP ROW LEVEL SECURITY POLICY",
"uri":"dws_06_0200.html",
"doc_type":"devg",
"p_code":"804",
"code":"869"
},
{
"desc":"DROP PROCEDURE deletes an existing stored procedure.None.IF EXISTSSends a notice instead of an error if the stored procedure does not exist.Sends a notice instead of an e",
"product_code":"dws",
"title":"DROP PROCEDURE",
"uri":"dws_06_0201.html",
"doc_type":"devg",
"p_code":"804",
"code":"870"
},
{
"desc":"DROP RESOURCE POOL deletes a resource pool.The resource pool cannot be deleted if it is associated with a role.The user must have the DROP permission in order to delete a",
"product_code":"dws",
"title":"DROP RESOURCE POOL",
"uri":"dws_06_0202.html",
"doc_type":"devg",
"p_code":"804",
"code":"871"
},
{
"desc":"DROP ROLE deletes a specified role.If a \"role is being used by other users\" error is displayed when you run DROP ROLE, it might be that threads cannot respond to signals ",
"product_code":"dws",
"title":"DROP ROLE",
"uri":"dws_06_0203.html",
"doc_type":"devg",
"p_code":"804",
"code":"872"
},
{
"desc":"DROP SCHEMA deletes a schema in a database.Only a schema owner or a system administrator can run the DROP SCHEMA command.IF EXISTSSends a notice instead of an error if th",
"product_code":"dws",
"title":"DROP SCHEMA",
"uri":"dws_06_0204.html",
"doc_type":"devg",
"p_code":"804",
"code":"873"
},
{
"desc":"DROP SEQUENCE deletes a sequence from the current database.Only a sequence owner or a system administrator can delete a sequence.IF EXISTSSends a notice instead of an err",
"product_code":"dws",
"title":"DROP SEQUENCE",
"uri":"dws_06_0205.html",
"doc_type":"devg",
"p_code":"804",
"code":"874"
},
{
"desc":"DROP SERVER deletes an existing data server.Only the server owner can delete a server.IF EXISTSSends a notice instead of an error if the specified table does not exist.Se",
"product_code":"dws",
"title":"DROP SERVER",
"uri":"dws_06_0206.html",
"doc_type":"devg",
"p_code":"804",
"code":"875"
},
{
"desc":"DROP SYNONYM is used to delete a synonym object.Only a synonym owner or a system administrator can run the DROP SYNONYM command.IF EXISTSSend a notice instead of reportin",
"product_code":"dws",
"title":"DROP SYNONYM",
"uri":"dws_06_0207.html",
"doc_type":"devg",
"p_code":"804",
"code":"876"
},
{
"desc":"DROP TABLE deletes a specified table.Only the table owner, schema owner, and system administrator have the permission to delete a table. To delete all the rows in a table",
"product_code":"dws",
"title":"DROP TABLE",
"uri":"dws_06_0208.html",
"doc_type":"devg",
"p_code":"804",
"code":"877"
},
{
"desc":"DROP TEXT SEARCH CONFIGURATION deletes an existing text search configuration.To run the DROP TEXT SEARCH CONFIGURATION command, you must be the owner of the text search c",
"product_code":"dws",
"title":"DROP TEXT SEARCH CONFIGURATION",
"uri":"dws_06_0210.html",
"doc_type":"devg",
"p_code":"804",
"code":"878"
},
{
"desc":"DROPTEXT SEARCHDICTIONARY deletes a full-text retrieval dictionary.DROP is not supported by predefined dictionaries.Only the owner of a dictionary can do DROP to the dict",
"product_code":"dws",
"title":"DROP TEXT SEARCH DICTIONARY",
"uri":"dws_06_0211.html",
"doc_type":"devg",
"p_code":"804",
"code":"879"
},
{
"desc":"DROP TRIGGER deletes a trigger.Only the owner of a trigger and system administrators can run the DROP TRIGGER statement.IF EXISTSSends a notice instead of an error if the",
"product_code":"dws",
"title":"DROP TRIGGER",
"uri":"dws_06_0212.html",
"doc_type":"devg",
"p_code":"804",
"code":"880"
},
{
"desc":"DROP TYPE deletes a user-defined data type. Only the type owner has permission to run this statement.IF EXISTSSends a notice instead of an error if the specified type doe",
"product_code":"dws",
"title":"DROP TYPE",
"uri":"dws_06_0213.html",
"doc_type":"devg",
"p_code":"804",
"code":"881"
},
{
"desc":"Deleting a user will also delete the schema having the same name as the user.CASCADE is used to delete objects (excluding databases) that depend on the user. CASCADE cann",
"product_code":"dws",
"title":"DROP USER",
"uri":"dws_06_0214.html",
"doc_type":"devg",
"p_code":"804",
"code":"882"
},
{
"desc":"DROP VIEW forcibly deletes an existing view in a database.Only a view owner or a system administrator can run DROP VIEW command.IF EXISTSSends a notice instead of an erro",
"product_code":"dws",
"title":"DROP VIEW",
"uri":"dws_06_0215.html",
"doc_type":"devg",
"p_code":"804",
"code":"883"
},
{
"desc":"FETCH retrieves data using a previously-created cursor.A cursor has an associated position, which is used by FETCH. The cursor position can be before the first row of the",
"product_code":"dws",
"title":"FETCH",
"uri":"dws_06_0216.html",
"doc_type":"devg",
"p_code":"804",
"code":"884"
},
{
"desc":"MOVE repositions a cursor without retrieving any data. MOVE works exactly like the FETCH command, except it only repositions the cursor and does not return rows.NoneThe d",
"product_code":"dws",
"title":"MOVE",
"uri":"dws_06_0217.html",
"doc_type":"devg",
"p_code":"804",
"code":"885"
},
{
"desc":"REINDEX rebuilds an index using the data stored in the index's table, replacing the old copy of the index.There are several scenarios in which REINDEX can be used:An inde",
"product_code":"dws",
"title":"REINDEX",
"uri":"dws_06_0218.html",
"doc_type":"devg",
"p_code":"804",
"code":"886"
},
{
"desc":"RESET restores run-time parameters to their default values. The default values are parameter default values complied in the postgresql.conf configuration file.RESET is an",
"product_code":"dws",
"title":"RESET",
"uri":"dws_06_0219.html",
"doc_type":"devg",
"p_code":"804",
"code":"887"
},
{
"desc":"SET modifies a run-time parameter.Most run-time parameters can be modified by executing SET. Some parameters cannot be modified after a server or session starts.Set the s",
"product_code":"dws",
"title":"SET",
"uri":"dws_06_0220.html",
"doc_type":"devg",
"p_code":"804",
"code":"888"
},
{
"desc":"SET CONSTRAINTS sets the behavior of constraint checking within the current transaction.IMMEDIATE constraints are checked at the end of each statement. DEFERRED constrain",
"product_code":"dws",
"title":"SET CONSTRAINTS",
"uri":"dws_06_0221.html",
"doc_type":"devg",
"p_code":"804",
"code":"889"
},
{
"desc":"SET ROLE sets the current user identifier of the current session.Users of the current session must be members of specified rolename, but the system administrator can choo",
"product_code":"dws",
"title":"SET ROLE",
"uri":"dws_06_0222.html",
"doc_type":"devg",
"p_code":"804",
"code":"890"
},
{
"desc":"SET SESSION AUTHORIZATION sets the session user identifier and the current user identifier of the current SQL session to a specified user.The session identifier can be ch",
"product_code":"dws",
"title":"SET SESSION AUTHORIZATION",
"uri":"dws_06_0223.html",
"doc_type":"devg",
"p_code":"804",
"code":"891"
},
{
"desc":"SHOW shows the current value of a run-time parameter. You can use the SET statement to set these parameters.Some parameters that can be viewed by SHOW are read-only. You ",
"product_code":"dws",
"title":"SHOW",
"uri":"dws_06_0224.html",
"doc_type":"devg",
"p_code":"804",
"code":"892"
},
{
"desc":"TRUNCATE quickly removes all rows from a database table.It has the same effect as an unqualified DELETE on each table, but it is faster since it does not actually scan th",
"product_code":"dws",
"title":"TRUNCATE",
"uri":"dws_06_0225.html",
"doc_type":"devg",
"p_code":"804",
"code":"893"
},
{
"desc":"VACUUM reclaims storage space occupied by tables or B-tree indexes. In normal database operation, rows that have been deleted or obsoleted by an update are not physically",
"product_code":"dws",
"title":"VACUUM",
"uri":"dws_06_0226.html",
"doc_type":"devg",
"p_code":"804",
"code":"894"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"DML Syntax",
"uri":"dws_06_0227.html",
"doc_type":"devg",
"p_code":"686",
"code":"895"
},
{
"desc":"Data Manipulation Language (DML) is used to perform operations on data in database tables, such as inserting, updating, querying, or deleting data.Inserting data refers t",
"product_code":"dws",
"title":"DML Syntax Overview",
"uri":"dws_06_0228.html",
"doc_type":"devg",
"p_code":"895",
"code":"896"
},
{
"desc":"CALL calls defined functions or stored procedures.NoneschemaSpecifies the name of the schema where a function or stored procedure is located.Specifies the name of the sch",
"product_code":"dws",
"title":"CALL",
"uri":"dws_06_0229.html",
"doc_type":"devg",
"p_code":"895",
"code":"897"
},
{
"desc":"COPY copies data between tables and files.COPY FROM copies data from a file to a table. COPY TO copies data from a table to a file.If CNs and DNs are enabled in security ",
"product_code":"dws",
"title":"COPY",
"uri":"dws_06_0230.html",
"doc_type":"devg",
"p_code":"895",
"code":"898"
},
{
"desc":"DELETE deletes rows that satisfy the WHERE clause from the specified table. If the WHERE clause does not exist, all rows in the table will be deleted. The result is a val",
"product_code":"dws",
"title":"DELETE",
"uri":"dws_06_0231.html",
"doc_type":"devg",
"p_code":"895",
"code":"899"
},
{
"desc":"EXPLAIN shows the execution plan of an SQL statement.The execution plan shows how the tables referenced by the SQL statement will be scanned, for example, by plain sequen",
"product_code":"dws",
"title":"EXPLAIN",
"uri":"dws_06_0232.html",
"doc_type":"devg",
"p_code":"895",
"code":"900"
},
{
"desc":"You can run the EXPLAIN PLAN statement to save the information about an execution plan to the PLAN_TABLE table. Different from the EXPLAIN statement, EXPLAIN PLAN only st",
"product_code":"dws",
"title":"EXPLAIN PLAN",
"uri":"dws_06_0233.html",
"doc_type":"devg",
"p_code":"895",
"code":"901"
},
{
"desc":"LOCK TABLE obtains a table-level lock.GaussDB(DWS) always tries to select the lock mode with minimum constraints when automatically requesting a lock for a command refere",
"product_code":"dws",
"title":"LOCK",
"uri":"dws_06_0234.html",
"doc_type":"devg",
"p_code":"895",
"code":"902"
},
{
"desc":"The MERGE INTO statement is used to conditionally match data in a target table with that in a source table. If data matches, UPDATE is executed on the target table; if da",
"product_code":"dws",
"title":"MERGE INTO",
"uri":"dws_06_0235.html",
"doc_type":"devg",
"p_code":"895",
"code":"903"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"INSERT and UPSERT",
"uri":"dws_06_0275.html",
"doc_type":"devg",
"p_code":"895",
"code":"904"
},
{
"desc":"INSERT inserts new rows into a table.You must have the INSERT permission on a table in order to insert into it.Use of the RETURNING clause requires the SELECT permission ",
"product_code":"dws",
"title":"INSERT",
"uri":"dws_06_0236.html",
"doc_type":"devg",
"p_code":"904",
"code":"905"
},
{
"desc":"UPSERT inserts rows into a table. When a row duplicates an existing primary key or unique key value, the row will be ignored or updated.The UPSERT syntax is supported onl",
"product_code":"dws",
"title":"UPSERT",
"uri":"dws_06_0237.html",
"doc_type":"devg",
"p_code":"904",
"code":"906"
},
{
"desc":"UPDATE updates data in a table. UPDATE changes the values of the specified columns in all rows that satisfy the condition. The WHERE clause clarifies conditions. The colu",
"product_code":"dws",
"title":"UPDATE",
"uri":"dws_06_0240.html",
"doc_type":"devg",
"p_code":"895",
"code":"907"
},
{
"desc":"VALUES computes a row or a set of rows based on given values. It is most commonly used to generate a constant table within a large command.VALUES lists with large numbers",
"product_code":"dws",
"title":"VALUES",
"uri":"dws_06_0241.html",
"doc_type":"devg",
"p_code":"895",
"code":"908"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"DCL Syntax",
"uri":"dws_06_0242.html",
"doc_type":"devg",
"p_code":"686",
"code":"909"
},
{
"desc":"Data control language (DCL) is used to set or modify database users or role rights.GaussDB(DWS) provides a statement for granting rights to data objects and roles. For de",
"product_code":"dws",
"title":"DCL Syntax Overview",
"uri":"dws_06_0243.html",
"doc_type":"devg",
"p_code":"909",
"code":"910"
},
{
"desc":"ALTER DEFAULT PRIVILEGES allows you to set the permissions that will be used for objects to be created. It does not affect permissions assigned to existing objects.To iso",
"product_code":"dws",
"title":"ALTER DEFAULT PRIVILEGES",
"uri":"dws_06_0244.html",
"doc_type":"devg",
"p_code":"909",
"code":"911"
},
{
"desc":"ANALYZE collects statistics about ordinary tables in a database, and stores the results in the PG_STATISTIC system catalog. The execution plan generator uses these statis",
"product_code":"dws",
"title":"ANALYZE | ANALYSE",
"uri":"dws_06_0245.html",
"doc_type":"devg",
"p_code":"909",
"code":"912"
},
{
"desc":"DEALLOCATE deallocates a previously prepared statement. If you do not explicitly deallocate a prepared statement, it is deallocated when the session ends.The PREPARE key ",
"product_code":"dws",
"title":"DEALLOCATE",
"uri":"dws_06_0246.html",
"doc_type":"devg",
"p_code":"909",
"code":"913"
},
{
"desc":"DO executes an anonymous code block.A code block is a function body without parameters that returns void. It is analyzed and executed at the same time.Before using a prog",
"product_code":"dws",
"title":"DO",
"uri":"dws_06_0247.html",
"doc_type":"devg",
"p_code":"909",
"code":"914"
},
{
"desc":"EXECUTE executes a prepared statement. A prepared statement only exists in the lifecycle of a session. Therefore, only prepared statements created using PREPARE earlier i",
"product_code":"dws",
"title":"EXECUTE",
"uri":"dws_06_0248.html",
"doc_type":"devg",
"p_code":"909",
"code":"915"
},
{
"desc":"EXECUTE DIRECT executes an SQL statement on a specified node. Generally, the cluster automatically allocates an SQL statement to proper nodes. EXECUTE DIRECT is mainly us",
"product_code":"dws",
"title":"EXECUTE DIRECT",
"uri":"dws_06_0249.html",
"doc_type":"devg",
"p_code":"909",
"code":"916"
},
{
"desc":"GRANT grants permissions to roles and users.GRANT is used in the following scenarios:Granting system permissions to roles or usersSystem permissions are also called user ",
"product_code":"dws",
"title":"GRANT",
"uri":"dws_06_0250.html",
"doc_type":"devg",
"p_code":"909",
"code":"917"
},
{
"desc":"PREPARE creates a prepared statement.A prepared statement is a performance optimizing object on the server. When the PREPARE statement is executed, the specified query is",
"product_code":"dws",
"title":"PREPARE",
"uri":"dws_06_0251.html",
"doc_type":"devg",
"p_code":"909",
"code":"918"
},
{
"desc":"REASSIGN OWNED changes the owner of a database.REASSIGN OWNED requires that the system change owners of all the database objects owned by old_roles to new_role.REASSIGN O",
"product_code":"dws",
"title":"REASSIGN OWNED",
"uri":"dws_06_0252.html",
"doc_type":"devg",
"p_code":"909",
"code":"919"
},
{
"desc":"REVOKE revokes rights from one or more roles.If a non-owner user of an object attempts to REVOKE rights on the object, the command is executed based on the following rule",
"product_code":"dws",
"title":"REVOKE",
"uri":"dws_06_0253.html",
"doc_type":"devg",
"p_code":"909",
"code":"920"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"DQL Syntax",
"uri":"dws_06_0276.html",
"doc_type":"devg",
"p_code":"686",
"code":"921"
},
{
"desc":"Data Query Language (DQL) can obtain data from tables or views.GaussDB(DWS) provides statements for obtaining data from tables or views. For details, see SELECT.GaussDB(D",
"product_code":"dws",
"title":"DQL Syntax Overview",
"uri":"dws_06_0277.html",
"doc_type":"devg",
"p_code":"921",
"code":"922"
},
{
"desc":"SELECT retrieves data from a table or view.Serving as an overlaid filter for a database table, SELECT using SQL keywords retrieves required data from data tables.Using SE",
"product_code":"dws",
"title":"SELECT",
"uri":"dws_06_0238.html",
"doc_type":"devg",
"p_code":"921",
"code":"923"
},
{
"desc":"SELECT INTO defines a new table based on a query result and insert data obtained by query to the new table.Different from SELECT, data found by SELECT INTO is not returne",
"product_code":"dws",
"title":"SELECT INTO",
"uri":"dws_06_0239.html",
"doc_type":"devg",
"p_code":"921",
"code":"924"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"TCL Syntax",
"uri":"dws_06_0254.html",
"doc_type":"devg",
"p_code":"686",
"code":"925"
},
{
"desc":"Transaction Control Language (TCL) controls the time and effect of database transactions and monitors the database.GaussDB(DWS) uses the COMMIT or END statement to commit",
"product_code":"dws",
"title":"TCL Syntax Overview",
"uri":"dws_06_0255.html",
"doc_type":"devg",
"p_code":"925",
"code":"926"
},
{
"desc":"ABORT rolls back the current transaction and cancels the changes in the transaction.This command is equivalent to ROLLBACK, and is present only for historical reasons. No",
"product_code":"dws",
"title":"ABORT",
"uri":"dws_06_0256.html",
"doc_type":"devg",
"p_code":"925",
"code":"927"
},
{
"desc":"BEGIN may be used to initiate an anonymous block or a single transaction. This section describes the syntax of BEGIN used to initiate an anonymous block. For details abou",
"product_code":"dws",
"title":"BEGIN",
"uri":"dws_06_0257.html",
"doc_type":"devg",
"p_code":"925",
"code":"928"
},
{
"desc":"A checkpoint is a point in the transaction log sequence at which all data files have been updated to reflect the information in the log. All data files will be flushed to",
"product_code":"dws",
"title":"CHECKPOINT",
"uri":"dws_06_0258.html",
"doc_type":"devg",
"p_code":"925",
"code":"929"
},
{
"desc":"COMMIT or END commits all operations of a transaction.Only the transaction creators or system administrators can run the COMMIT command. The creation and commit operation",
"product_code":"dws",
"title":"COMMIT | END",
"uri":"dws_06_0259.html",
"doc_type":"devg",
"p_code":"925",
"code":"930"
},
{
"desc":"COMMIT PREPARED commits a prepared two-phase transaction.The function is only available in maintenance mode (when GUC parameter xc_maintenance_mode is on). Exercise cauti",
"product_code":"dws",
"title":"COMMIT PREPARED",
"uri":"dws_06_0260.html",
"doc_type":"devg",
"p_code":"925",
"code":"931"
},
{
"desc":"PREPARE TRANSACTION prepares the current transaction for two-phase commit.After this command, the transaction is no longer associated with the current session; instead, i",
"product_code":"dws",
"title":"PREPARE TRANSACTION",
"uri":"dws_06_0262.html",
"doc_type":"devg",
"p_code":"925",
"code":"932"
},
{
"desc":"SAVEPOINT establishes a new savepoint within the current transaction.A savepoint is a special mark inside a transaction that rolls back all commands that are executed aft",
"product_code":"dws",
"title":"SAVEPOINT",
"uri":"dws_06_0263.html",
"doc_type":"devg",
"p_code":"925",
"code":"933"
},
{
"desc":"SET TRANSACTION sets the characteristics of the current transaction. It has no effect on any subsequent transactions. Available transaction characteristics include the tr",
"product_code":"dws",
"title":"SET TRANSACTION",
"uri":"dws_06_0264.html",
"doc_type":"devg",
"p_code":"925",
"code":"934"
},
{
"desc":"START TRANSACTION starts a transaction. If the isolation level, read/write mode, or deferrable mode is specified, a new transaction will have those characteristics. You c",
"product_code":"dws",
"title":"START TRANSACTION",
"uri":"dws_06_0265.html",
"doc_type":"devg",
"p_code":"925",
"code":"935"
},
{
"desc":"Rolls back the current transaction and backs out all updates in the transaction.ROLLBACK backs out of all changes that a transaction makes to a database if the transactio",
"product_code":"dws",
"title":"ROLLBACK",
"uri":"dws_06_0266.html",
"doc_type":"devg",
"p_code":"925",
"code":"936"
},
{
"desc":"RELEASE SAVEPOINT destroys a savepoint previously defined in the current transaction.Destroying a savepoint makes it unavailable as a rollback point, but it has no other ",
"product_code":"dws",
"title":"RELEASE SAVEPOINT",
"uri":"dws_06_0267.html",
"doc_type":"devg",
"p_code":"925",
"code":"937"
},
{
"desc":"ROLLBACK PREPARED cancels a transaction ready for two-phase committing.The function is only available in maintenance mode (when GUC parameter xc_maintenance_mode is on). ",
"product_code":"dws",
"title":"ROLLBACK PREPARED",
"uri":"dws_06_0268.html",
"doc_type":"devg",
"p_code":"925",
"code":"938"
},
{
"desc":"ROLLBACK TO SAVEPOINT rolls back to a savepoint. It implicitly destroys all savepoints that were established after the named savepoint.Rolls back all commands that were e",
"product_code":"dws",
"title":"ROLLBACK TO SAVEPOINT",
"uri":"dws_06_0269.html",
"doc_type":"devg",
"p_code":"925",
"code":"939"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"GIN Indexes",
"uri":"dws_06_0270.html",
"doc_type":"devg",
"p_code":"686",
"code":"940"
},
{
"desc":"Generalized Inverted Index (GIN) is designed for handling cases where the items to be indexed are composite values, and the queries to be handled by the index need to sea",
"product_code":"dws",
"title":"Introduction",
"uri":"dws_06_0271.html",
"doc_type":"devg",
"p_code":"940",
"code":"941"
},
{
"desc":"The GIN interface has a high level of abstraction, requiring the access method implementer only to implement the semantics of the data type being accessed. The GIN layer ",
"product_code":"dws",
"title":"Scalability",
"uri":"dws_06_0272.html",
"doc_type":"devg",
"p_code":"940",
"code":"942"
},
{
"desc":"Internally, a GIN index contains a B-tree index constructed over keys, where each key is an element of one or more indexed items (a member of an array, for example) and w",
"product_code":"dws",
"title":"Implementation",
"uri":"dws_06_0273.html",
"doc_type":"devg",
"p_code":"940",
"code":"943"
},
{
"desc":"Create vs. InsertInsertion into a GIN index can be slow due to the likelihood of many keys being inserted for each item. So, for bulk insertions into a table, it is advis",
"product_code":"dws",
"title":"GIN Tips and Tricks",
"uri":"dws_06_0274.html",
"doc_type":"devg",
"p_code":"940",
"code":"944"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"dws",
"title":"Change History",
"uri":"dws_04_3333.html",
"doc_type":"devg",
"p_code":"",
"code":"945"
}
]