forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
9812 lines
347 KiB
JSON
9812 lines
347 KiB
JSON
[
|
|
{
|
|
"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":"Before You Start",
|
|
"uri":"dws_04_0001.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":"Migrating GaussDB(DWS) Data",
|
|
"uri":"dws_04_0985.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"2"
|
|
},
|
|
{
|
|
"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":"2",
|
|
"code":"3"
|
|
},
|
|
{
|
|
"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",
|
|
"uri":"dws_04_0179.html",
|
|
"doc_type":"devg",
|
|
"p_code":"2",
|
|
"code":"4"
|
|
},
|
|
{
|
|
"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":"4",
|
|
"code":"5"
|
|
},
|
|
{
|
|
"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":"5",
|
|
"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":"Importing CSV/TXT Data from OBS",
|
|
"uri":"dws_04_0154.html",
|
|
"doc_type":"devg",
|
|
"p_code":"5",
|
|
"code":"7"
|
|
},
|
|
{
|
|
"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":"7",
|
|
"code":"8"
|
|
},
|
|
{
|
|
"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":"7",
|
|
"code":"9"
|
|
},
|
|
{
|
|
"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":"7",
|
|
"code":"10"
|
|
},
|
|
{
|
|
"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":"7",
|
|
"code":"11"
|
|
},
|
|
{
|
|
"desc":"If you encounter an error during data import, use the instructions in this document to resolve it. Note that the error table records only data format errors.Errors that a",
|
|
"product_code":"dws",
|
|
"title":"Handling Import Errors",
|
|
"uri":"dws_04_0187.html",
|
|
"doc_type":"devg",
|
|
"p_code":"7",
|
|
"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":"Importing ORC, CarbonData, Parquet, and JSON Data from OBS",
|
|
"uri":"dws_04_0155.html",
|
|
"doc_type":"devg",
|
|
"p_code":"5",
|
|
"code":"13"
|
|
},
|
|
{
|
|
"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":"13",
|
|
"code":"14"
|
|
},
|
|
{
|
|
"desc":"Create an external server to define the OBS server information for the foreign table.The creation method varies by cluster version. For details about the syntax for creat",
|
|
"product_code":"dws",
|
|
"title":"Creating a Foreign Server",
|
|
"uri":"dws_04_0244.html",
|
|
"doc_type":"devg",
|
|
"p_code":"13",
|
|
"code":"15"
|
|
},
|
|
{
|
|
"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":"13",
|
|
"code":"16"
|
|
},
|
|
{
|
|
"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":"13",
|
|
"code":"17"
|
|
},
|
|
{
|
|
"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":"13",
|
|
"code":"18"
|
|
},
|
|
{
|
|
"desc":"In the big data field, the mainstream file formats are ORC and Parquet. You can use Hive to export data to an ORC or Parquet file and use GaussDB(DWS) to query and analyz",
|
|
"product_code":"dws",
|
|
"title":"Supported Data Types",
|
|
"uri":"dws_04_0156.html",
|
|
"doc_type":"devg",
|
|
"p_code":"13",
|
|
"code":"19"
|
|
},
|
|
{
|
|
"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":"4",
|
|
"code":"20"
|
|
},
|
|
{
|
|
"desc":"INSERT and COPY statements can be used only for serially importing a small volume of data. To import a large volume of data to GaussDB(DWS), you can use GDS to import dat",
|
|
"product_code":"dws",
|
|
"title":"Importing Data In Parallel Using GDS",
|
|
"uri":"dws_04_0190.html",
|
|
"doc_type":"devg",
|
|
"p_code":"20",
|
|
"code":"21"
|
|
},
|
|
{
|
|
"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":"20",
|
|
"code":"22"
|
|
},
|
|
{
|
|
"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":"20",
|
|
"code":"23"
|
|
},
|
|
{
|
|
"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":"20",
|
|
"code":"24"
|
|
},
|
|
{
|
|
"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":"20",
|
|
"code":"25"
|
|
},
|
|
{
|
|
"desc":"Handle errors that occurred during data import.Errors that arise during data import are categorized as either data format errors or non-data format errors. The error tabl",
|
|
"product_code":"dws",
|
|
"title":"Handling Import Errors",
|
|
"uri":"dws_04_0196.html",
|
|
"doc_type":"devg",
|
|
"p_code":"20",
|
|
"code":"26"
|
|
},
|
|
{
|
|
"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":"20",
|
|
"code":"27"
|
|
},
|
|
{
|
|
"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.Log in to each GDS d",
|
|
"product_code":"dws",
|
|
"title":"Example of Importing Data Using GDS",
|
|
"uri":"dws_04_0198.html",
|
|
"doc_type":"devg",
|
|
"p_code":"20",
|
|
"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":"Importing Data from MRS to a Cluster",
|
|
"uri":"dws_04_0210.html",
|
|
"doc_type":"devg",
|
|
"p_code":"4",
|
|
"code":"29"
|
|
},
|
|
{
|
|
"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":"29",
|
|
"code":"30"
|
|
},
|
|
{
|
|
"desc":"Before importing data from MRS to a GaussDB(DWS) cluster, you must have:Created an MRS cluster.Created a Hive/Spark ORC table in the MRS cluster and stored the table data",
|
|
"product_code":"dws",
|
|
"title":"Preparing Data in an MRS Cluster",
|
|
"uri":"dws_04_0212.html",
|
|
"doc_type":"devg",
|
|
"p_code":"29",
|
|
"code":"31"
|
|
},
|
|
{
|
|
"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":"29",
|
|
"code":"32"
|
|
},
|
|
{
|
|
"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":"29",
|
|
"code":"33"
|
|
},
|
|
{
|
|
"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":"29",
|
|
"code":"34"
|
|
},
|
|
{
|
|
"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":"29",
|
|
"code":"35"
|
|
},
|
|
{
|
|
"desc":"With data processing based on foreign tables, GDS is used to transfer data and synchronize data between multiple clusters.Data is synchronized from one cluster to another",
|
|
"product_code":"dws",
|
|
"title":"GDS-based Cross-Cluster Interconnection",
|
|
"uri":"dws_04_0967.html",
|
|
"doc_type":"devg",
|
|
"p_code":"4",
|
|
"code":"36"
|
|
},
|
|
{
|
|
"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 a gsql Meta-Command to Import Data",
|
|
"uri":"dws_04_0208.html",
|
|
"doc_type":"devg",
|
|
"p_code":"4",
|
|
"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":"Running the COPY FROM STDIN Statement to Import Data",
|
|
"uri":"dws_04_0203.html",
|
|
"doc_type":"devg",
|
|
"p_code":"4",
|
|
"code":"38"
|
|
},
|
|
{
|
|
"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":"38",
|
|
"code":"39"
|
|
},
|
|
{
|
|
"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":"38",
|
|
"code":"40"
|
|
},
|
|
{
|
|
"desc":"To access MRS Hive data from storage-compute decoupled data warehouse, including when Hive is connected to HDFS or OBS, create an external schema. This function is suppor",
|
|
"product_code":"dws",
|
|
"title":"Accessing Hive Metastore Across Clusters",
|
|
"uri":"dws_04_1400.html",
|
|
"doc_type":"devg",
|
|
"p_code":"4",
|
|
"code":"41"
|
|
},
|
|
{
|
|
"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":"2",
|
|
"code":"42"
|
|
},
|
|
{
|
|
"desc":"You can use CDM to migrate data from other data sources (for example, MySQL) to the databases in clusters on GaussDB(DWS).CDM can migrate various types of data in batches",
|
|
"product_code":"dws",
|
|
"title":"Using CDM to Migrate Data to GaussDB(DWS)",
|
|
"uri":"dws_04_0219.html",
|
|
"doc_type":"devg",
|
|
"p_code":"42",
|
|
"code":"43"
|
|
},
|
|
{
|
|
"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":"42",
|
|
"code":"44"
|
|
},
|
|
{
|
|
"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":"2",
|
|
"code":"45"
|
|
},
|
|
{
|
|
"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":"45",
|
|
"code":"46"
|
|
},
|
|
{
|
|
"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":"46",
|
|
"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":"Exporting a Single Database",
|
|
"uri":"dws_04_0271.html",
|
|
"doc_type":"devg",
|
|
"p_code":"46",
|
|
"code":"48"
|
|
},
|
|
{
|
|
"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":"48",
|
|
"code":"49"
|
|
},
|
|
{
|
|
"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":"48",
|
|
"code":"50"
|
|
},
|
|
{
|
|
"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":"48",
|
|
"code":"51"
|
|
},
|
|
{
|
|
"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":"46",
|
|
"code":"52"
|
|
},
|
|
{
|
|
"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":"52",
|
|
"code":"53"
|
|
},
|
|
{
|
|
"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":"52",
|
|
"code":"54"
|
|
},
|
|
{
|
|
"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":"46",
|
|
"code":"55"
|
|
},
|
|
{
|
|
"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":"45",
|
|
"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":"Exporting Data",
|
|
"uri":"dws_04_0249.html",
|
|
"doc_type":"devg",
|
|
"p_code":"2",
|
|
"code":"57"
|
|
},
|
|
{
|
|
"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":"57",
|
|
"code":"58"
|
|
},
|
|
{
|
|
"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":"58",
|
|
"code":"59"
|
|
},
|
|
{
|
|
"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":"58",
|
|
"code":"60"
|
|
},
|
|
{
|
|
"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":"60",
|
|
"code":"61"
|
|
},
|
|
{
|
|
"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":"60",
|
|
"code":"62"
|
|
},
|
|
{
|
|
"desc":"Run the following command to export data:INSERT INTO [Foreign table name] SELECT * FROM [Source table name];Example 1: Export data from table product_info_output to a dat",
|
|
"product_code":"dws",
|
|
"title":"Exporting Data",
|
|
"uri":"dws_04_0254.html",
|
|
"doc_type":"devg",
|
|
"p_code":"60",
|
|
"code":"63"
|
|
},
|
|
{
|
|
"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":"60",
|
|
"code":"64"
|
|
},
|
|
{
|
|
"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 and Parquet Data to OBS",
|
|
"uri":"dws_04_0256.html",
|
|
"doc_type":"devg",
|
|
"p_code":"58",
|
|
"code":"65"
|
|
},
|
|
{
|
|
"desc":"For details about exporting data to OBS, see Planning Data Export.For the data types that can be exported to OBS, see Table 1.For details about HDFS data export or MRS co",
|
|
"product_code":"dws",
|
|
"title":"Planning Data Export",
|
|
"uri":"dws_04_0258.html",
|
|
"doc_type":"devg",
|
|
"p_code":"65",
|
|
"code":"66"
|
|
},
|
|
{
|
|
"desc":"Create an OBS foreign server and an HDFS foreign server.Create an OBS external server to define the OBS server information for the foreign table.The creation method varie",
|
|
"product_code":"dws",
|
|
"title":"Creating a Foreign Server",
|
|
"uri":"dws_04_0259.html",
|
|
"doc_type":"devg",
|
|
"p_code":"65",
|
|
"code":"67"
|
|
},
|
|
{
|
|
"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":"65",
|
|
"code":"68"
|
|
},
|
|
{
|
|
"desc":"Run the following command to export data:INSERT INTO [Foreign table name] SELECT * FROM [Source table name];Example 1: Export data from table product_info_output to a dat",
|
|
"product_code":"dws",
|
|
"title":"Exporting Data",
|
|
"uri":"dws_04_0158.html",
|
|
"doc_type":"devg",
|
|
"p_code":"65",
|
|
"code":"69"
|
|
},
|
|
{
|
|
"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 and Parquet Data to MRS",
|
|
"uri":"dws_04_0159.html",
|
|
"doc_type":"devg",
|
|
"p_code":"57",
|
|
"code":"70"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) allows you to export ORC and Parquet data to MRS using an HDFS foreign table. You can specify the export mode and export data format in the foreign table. Da",
|
|
"product_code":"dws",
|
|
"title":"Overview",
|
|
"uri":"dws_04_0160.html",
|
|
"doc_type":"devg",
|
|
"p_code":"70",
|
|
"code":"71"
|
|
},
|
|
{
|
|
"desc":"For details about the data types that can be exported to MRS, see Table 1.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":"70",
|
|
"code":"72"
|
|
},
|
|
{
|
|
"desc":"To create a foreign server for HDFS, you need to create a user and database and provide the necessary permissions for the foreign table.In the following example, a common",
|
|
"product_code":"dws",
|
|
"title":"Creating a Foreign Server",
|
|
"uri":"dws_04_0162.html",
|
|
"doc_type":"devg",
|
|
"p_code":"70",
|
|
"code":"73"
|
|
},
|
|
{
|
|
"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":"70",
|
|
"code":"74"
|
|
},
|
|
{
|
|
"desc":"Run the following command to export data:INSERT INTO [Foreign table name] SELECT * FROM [Source table name];Example 1: Export data from table product_info_output to a dat",
|
|
"product_code":"dws",
|
|
"title":"Exporting Data",
|
|
"uri":"dws_04_0164.html",
|
|
"doc_type":"devg",
|
|
"p_code":"70",
|
|
"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":"Using GDS to Export Data to a Remote Server",
|
|
"uri":"dws_04_0261.html",
|
|
"doc_type":"devg",
|
|
"p_code":"57",
|
|
"code":"76"
|
|
},
|
|
{
|
|
"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":"76",
|
|
"code":"77"
|
|
},
|
|
{
|
|
"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":"76",
|
|
"code":"78"
|
|
},
|
|
{
|
|
"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.To install, configure, and start GDS, ",
|
|
"product_code":"dws",
|
|
"title":"Installing, Configuring, and Starting GDS",
|
|
"uri":"dws_04_0264.html",
|
|
"doc_type":"devg",
|
|
"p_code":"76",
|
|
"code":"79"
|
|
},
|
|
{
|
|
"desc":"Remote modeSet the location parameter to the URL of the directory that stores the data files.You do not need to specify a file name in the URL.When the number of data sou",
|
|
"product_code":"dws",
|
|
"title":"Creating a GDS Foreign Table",
|
|
"uri":"dws_04_0265.html",
|
|
"doc_type":"devg",
|
|
"p_code":"76",
|
|
"code":"80"
|
|
},
|
|
{
|
|
"desc":"Ensure that the IP addresses and ports of servers where CNs and DNs are deployed can connect to those of the GDS server.Run the following command to export data:INSERT IN",
|
|
"product_code":"dws",
|
|
"title":"Exporting Data",
|
|
"uri":"dws_04_0266.html",
|
|
"doc_type":"devg",
|
|
"p_code":"76",
|
|
"code":"81"
|
|
},
|
|
{
|
|
"desc":"GDS is a data service tool provided by GaussDB(DWS) that enables high-speed data export through coordination with external mechanisms.If GDS is no longer used, perform th",
|
|
"product_code":"dws",
|
|
"title":"Stopping GDS",
|
|
"uri":"dws_04_0267.html",
|
|
"doc_type":"devg",
|
|
"p_code":"76",
|
|
"code":"82"
|
|
},
|
|
{
|
|
"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":"76",
|
|
"code":"83"
|
|
},
|
|
{
|
|
"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":"2",
|
|
"code":"84"
|
|
},
|
|
{
|
|
"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":"84",
|
|
"code":"85"
|
|
},
|
|
{
|
|
"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":"84",
|
|
"code":"86"
|
|
},
|
|
{
|
|
"desc":"The execution plan generator needs to use table statistics to generate the most effective query execution plan to improve query performance. After data is imported, you a",
|
|
"product_code":"dws",
|
|
"title":"Analyzing a Table",
|
|
"uri":"dws_04_0229.html",
|
|
"doc_type":"devg",
|
|
"p_code":"84",
|
|
"code":"87"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Development Design Proposal",
|
|
"uri":"dws_04_0074.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"88"
|
|
},
|
|
{
|
|
"desc":"This document outlines the rules for design and development that need to be followed when developing the GaussDB(DWS) database. The objective is to enhance development ef",
|
|
"product_code":"dws",
|
|
"title":"Overview",
|
|
"uri":"dws_04_0075.html",
|
|
"doc_type":"devg",
|
|
"p_code":"88",
|
|
"code":"89"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:Load imbalance causes performance problems and even service interruption.When a CN is faulty, services cannot be automatically recovered or the r",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Connection Management Specifications",
|
|
"uri":"dws_04_0103.html",
|
|
"doc_type":"devg",
|
|
"p_code":"88",
|
|
"code":"90"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Object Design Specifications",
|
|
"uri":"dws_04_0104.html",
|
|
"doc_type":"devg",
|
|
"p_code":"88",
|
|
"code":"91"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:If the code or the compatibility setting of the built-in databases does not meet service requirements, you may need to migrate your data again.Th",
|
|
"product_code":"dws",
|
|
"title":"DATABASE Object Design",
|
|
"uri":"dws_04_0108.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"92"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:Administrators have full access to a lot of things in the system and using these users to run services can pose security and control risks.Soluti",
|
|
"product_code":"dws",
|
|
"title":"USER Object Design",
|
|
"uri":"dws_04_0109.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"93"
|
|
},
|
|
{
|
|
"desc":"A private schema refers to a schema with the same name as the user when the user is created. This schema is only accessible to the user.Impact of rule violation:When you ",
|
|
"product_code":"dws",
|
|
"title":"Schema Object Design",
|
|
"uri":"dws_04_0110.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"94"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:In a distributed scenario, using a custom tablespace to create a table can result in the table data not being stored in a distributed manner by D",
|
|
"product_code":"dws",
|
|
"title":"TABLESPACE Object Design",
|
|
"uri":"dws_04_0111.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"95"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:Incorrect distribution method and column selection can cause storage skew, deteriorate access performance, and even overload storage and computin",
|
|
"product_code":"dws",
|
|
"title":"TABLE Object Design (Prioritized)",
|
|
"uri":"dws_04_0112.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"96"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:Redundant indexes consume unnecessary space and can impact data import efficiency.Redundant indexes consume unnecessary space and can impact data",
|
|
"product_code":"dws",
|
|
"title":"INDEX Object Design (Prioritized)",
|
|
"uri":"dws_04_0113.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"97"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:Too many nested views can lead to unstable execution plans and unpredictable time consumption.The risk of rebuilding objects on which views depen",
|
|
"product_code":"dws",
|
|
"title":"VIEW Object Design",
|
|
"uri":"dws_04_0114.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"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":"GaussDB(DWS) SQL Statement Development Specifications",
|
|
"uri":"dws_04_0105.html",
|
|
"doc_type":"devg",
|
|
"p_code":"88",
|
|
"code":"99"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:DDL operations like ALTER, DROP, TRUNCATE, REINDEX, and VACUUM FULL have high lock levels and can block services during execution.During peak hou",
|
|
"product_code":"dws",
|
|
"title":"DDL Operations",
|
|
"uri":"dws_04_0115.html",
|
|
"doc_type":"devg",
|
|
"p_code":"99",
|
|
"code":"100"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:Parsing multiple values is time-consuming and resource-intensive, leading to low efficiency when importing data into the database.Solution:Instea",
|
|
"product_code":"dws",
|
|
"title":"INSERT Operation",
|
|
"uri":"dws_04_0116.html",
|
|
"doc_type":"devg",
|
|
"p_code":"99",
|
|
"code":"101"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:Concurrent UPDATE and DELETE operations on row-store tables may cause row lock blockage and distributed deadlocks, which can lead to service erro",
|
|
"product_code":"dws",
|
|
"title":"UPDATE and DELETE Operations",
|
|
"uri":"dws_04_0125.html",
|
|
"doc_type":"devg",
|
|
"p_code":"99",
|
|
"code":"102"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) uses a distributed architecture, and to achieve optimal performance, SQL statements need to be pushed down to utilize distributed computing resources.Impact ",
|
|
"product_code":"dws",
|
|
"title":"SELECT Operation",
|
|
"uri":"dws_04_0126.html",
|
|
"doc_type":"devg",
|
|
"p_code":"99",
|
|
"code":"103"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:If GDS is deployed in a GaussDB(DWS) cluster, it contends for resources with CNs or DNs in the cluster, which leads to a decline in the performan",
|
|
"product_code":"",
|
|
"title":"GaussDB(DWS) Foreign Table Function Development Specifications",
|
|
"uri":"dws_04_0031.html",
|
|
"doc_type":"",
|
|
"p_code":"88",
|
|
"code":"104"
|
|
},
|
|
{
|
|
"desc":"Impact of rule violation:The maintenance cost for complex and nested stored procedures is high, making fault locating and recovery time-consuming.Solution:Avoid using sto",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Stored Procedure Development Specifications",
|
|
"uri":"dws_04_0106.html",
|
|
"doc_type":"devg",
|
|
"p_code":"88",
|
|
"code":"105"
|
|
},
|
|
{
|
|
"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":"Detailed Design Rules for GaussDB(DWS) Objects",
|
|
"uri":"dws_04_0107.html",
|
|
"doc_type":"devg",
|
|
"p_code":"88",
|
|
"code":"106"
|
|
},
|
|
{
|
|
"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 (_), and dollar signs (",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Database Object Naming Rules",
|
|
"uri":"dws_04_0076.html",
|
|
"doc_type":"devg",
|
|
"p_code":"106",
|
|
"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":"GaussDB(DWS) Database Object Design Rules",
|
|
"uri":"dws_04_0077.html",
|
|
"doc_type":"devg",
|
|
"p_code":"106",
|
|
"code":"108"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Database and Schema Design Rules",
|
|
"uri":"dws_04_0078.html",
|
|
"doc_type":"devg",
|
|
"p_code":"108",
|
|
"code":"109"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Table Design Rules",
|
|
"uri":"dws_04_0079.html",
|
|
"doc_type":"devg",
|
|
"p_code":"108",
|
|
"code":"110"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Column Design Rules",
|
|
"uri":"dws_04_0080.html",
|
|
"doc_type":"devg",
|
|
"p_code":"108",
|
|
"code":"111"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Constraint Design Rules",
|
|
"uri":"dws_04_0081.html",
|
|
"doc_type":"devg",
|
|
"p_code":"108",
|
|
"code":"112"
|
|
},
|
|
{
|
|
"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":"Design Rules for GaussDB(DWS) Views and Associated Tables",
|
|
"uri":"dws_04_0082.html",
|
|
"doc_type":"devg",
|
|
"p_code":"108",
|
|
"code":"113"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) JDBC Configuration Rules",
|
|
"uri":"dws_04_0083.html",
|
|
"doc_type":"devg",
|
|
"p_code":"106",
|
|
"code":"114"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) SQL Writing Rules",
|
|
"uri":"dws_04_0084.html",
|
|
"doc_type":"devg",
|
|
"p_code":"106",
|
|
"code":"115"
|
|
},
|
|
{
|
|
"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":"Rules for Using Custom GaussDB(DWS) External Functions (pgSQL/Java)",
|
|
"uri":"dws_04_0971.html",
|
|
"doc_type":"devg",
|
|
"p_code":"106",
|
|
"code":"116"
|
|
},
|
|
{
|
|
"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":"Rules for Using GaussDB(DWS) PL/pgSQL",
|
|
"uri":"dws_04_0972.html",
|
|
"doc_type":"devg",
|
|
"p_code":"106",
|
|
"code":"117"
|
|
},
|
|
{
|
|
"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":"Creating and Managing GaussDB(DWS) Database Objects",
|
|
"uri":"dws_04_0016.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"118"
|
|
},
|
|
{
|
|
"desc":"A database is a collection of objects such as tables, indexes, views, stored procedures, and operators. GaussDB (DWS) supports the creation of multiple databases. However",
|
|
"product_code":"dws",
|
|
"title":"Creating and Managing GaussDB(DWS) Databases",
|
|
"uri":"dws_04_0025.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"119"
|
|
},
|
|
{
|
|
"desc":"A schema is the logical organization of objects and data in a database. Schema management allows multiple users to use the same database without interfering with each oth",
|
|
"product_code":"dws",
|
|
"title":"Creating and Managing GaussDB(DWS) Schemas",
|
|
"uri":"dws_04_0036.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"120"
|
|
},
|
|
{
|
|
"desc":"You can run the CREATE TABLE command to create a table. When creating a table, you can define the following information:Columns and data type of the table.Table or column",
|
|
"product_code":"dws",
|
|
"title":"Creating and Managing GaussDB(DWS) Tables",
|
|
"uri":"dws_04_0028.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"121"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) supports hybrid row and column storage. When creating a table, you can set the table storage mode to row storage or column storage.Row storage stores tables ",
|
|
"product_code":"dws",
|
|
"title":"Selecting a GaussDB(DWS) Table Storage Model",
|
|
"uri":"dws_04_0026.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"122"
|
|
},
|
|
{
|
|
"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":"Creating and Managing GaussDB(DWS) Partitioned Tables",
|
|
"uri":"dws_04_0037.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"123"
|
|
},
|
|
{
|
|
"desc":"Indexes accelerate the data access speed but also add the processing time of the insert, update, and delete operations. Therefore, before creating an index, consider whet",
|
|
"product_code":"dws",
|
|
"title":"Creating and Managing GaussDB(DWS) Indexes",
|
|
"uri":"dws_04_0038.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"124"
|
|
},
|
|
{
|
|
"desc":"A sequence is a database object that generates unique integers according to a certain rule and is usually used to generate primary key values.You can create a sequence fo",
|
|
"product_code":"dws",
|
|
"title":"Creating and Using GaussDB(DWS) Sequences",
|
|
"uri":"dws_04_0040.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"125"
|
|
},
|
|
{
|
|
"desc":"Views allow users to save queries. Views are not physically stored on disks. Queries to a view run as subqueries. A database only stores the definition of a view and does",
|
|
"product_code":"dws",
|
|
"title":"Creating and Managing GaussDB(DWS) Views",
|
|
"uri":"dws_04_0039.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"126"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) allows users to create scheduled tasks, which are automatically executed at specified time points, reducing O&M workload.The database follows Oracle's schedu",
|
|
"product_code":"dws",
|
|
"title":"Creating and Managing GaussDB(DWS) Scheduled Tasks",
|
|
"uri":"dws_04_0041.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"127"
|
|
},
|
|
{
|
|
"desc":"In addition to the created tables, a database contains many system catalogs These system catalogs contain cluster installation information and information about various q",
|
|
"product_code":"dws",
|
|
"title":"Viewing GaussDB(DWS) System Catalogs",
|
|
"uri":"dws_04_0034.html",
|
|
"doc_type":"devg",
|
|
"p_code":"118",
|
|
"code":"128"
|
|
},
|
|
{
|
|
"desc":"In GaussDB(DWS), DBCOMPATIBILITY can be set to TD, Oracle, or MySQL to be compatible with Teradata, Oracle, or MySQL syntax, respectively. Syntax behavior varies with the",
|
|
"product_code":"dws",
|
|
"title":"Syntax Compatibility Differences Among Oracle, Teradata, and MySQL",
|
|
"uri":"dws_04_0042.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"129"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Database Security Management",
|
|
"uri":"dws_04_0043.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"130"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) User and Permissions Management",
|
|
"uri":"dws_04_0053.html",
|
|
"doc_type":"devg",
|
|
"p_code":"130",
|
|
"code":"131"
|
|
},
|
|
{
|
|
"desc":"Without separation of permissions, GaussDB(DWS) supports two types of database accounts: administrator and common user. For details about user types and permissions under",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Database User Types",
|
|
"uri":"dws_04_0055.html",
|
|
"doc_type":"devg",
|
|
"p_code":"131",
|
|
"code":"132"
|
|
},
|
|
{
|
|
"desc":"You can use CREATE USER and ALTER USER to create and manage database users.In the non-separation-of-permission mode, a GaussDB(DWS) user account can be created and delete",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Database User Management",
|
|
"uri":"dws_04_0057.html",
|
|
"doc_type":"devg",
|
|
"p_code":"131",
|
|
"code":"133"
|
|
},
|
|
{
|
|
"desc":"When creating or modifying a user, you need to specify a password. GaussDB(DWS) has default password complexity requirements. You can also define database account passwor",
|
|
"product_code":"dws",
|
|
"title":"Creating a Custom Password Policy for GaussDB(DWS)",
|
|
"uri":"dws_04_0063.html",
|
|
"doc_type":"devg",
|
|
"p_code":"131",
|
|
"code":"134"
|
|
},
|
|
{
|
|
"desc":"Permissions are used to control whether a user is allowed to access a database object (including schemas, tables, functions, and sequences) to perform operations such as ",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Database Permissions Management",
|
|
"uri":"dws_04_0054.html",
|
|
"doc_type":"devg",
|
|
"p_code":"131",
|
|
"code":"135"
|
|
},
|
|
{
|
|
"desc":"By default, the system administrator with the SYSADMIN attribute has the highest permission in the system. To avoid risks caused by centralized permissions, you can enabl",
|
|
"product_code":"dws",
|
|
"title":"Separation of Duties in GaussDB(DWS)",
|
|
"uri":"dws_04_0056.html",
|
|
"doc_type":"devg",
|
|
"p_code":"131",
|
|
"code":"136"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Sensitive Data Management",
|
|
"uri":"dws_04_0994.html",
|
|
"doc_type":"devg",
|
|
"p_code":"130",
|
|
"code":"137"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Row-Level Access Control",
|
|
"uri":"dws_04_0061.html",
|
|
"doc_type":"devg",
|
|
"p_code":"137",
|
|
"code":"138"
|
|
},
|
|
{
|
|
"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 ",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Data Masking",
|
|
"uri":"dws_04_0062.html",
|
|
"doc_type":"devg",
|
|
"p_code":"137",
|
|
"code":"139"
|
|
},
|
|
{
|
|
"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":"Encrypting and Decrypting GaussDB(DWS) Strings",
|
|
"uri":"dws_04_0995.html",
|
|
"doc_type":"devg",
|
|
"p_code":"137",
|
|
"code":"140"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) 8.2.0 and later provides a built-in cryptographic module pgcrypto. The pgcrypto module allows database users to store certain columns of data after encryptio",
|
|
"product_code":"dws",
|
|
"title":"Using pgcrypto to Encrypt GaussDB(DWS) Data",
|
|
"uri":"dws_04_0993.html",
|
|
"doc_type":"devg",
|
|
"p_code":"137",
|
|
"code":"141"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Data Query",
|
|
"uri":"dws_04_1001.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"142"
|
|
},
|
|
{
|
|
"desc":"Example table:Run the SELECT... FROM... statement to obtain the result from the database.Run the WHERE statement to filter the query result and find the queried part.Use ",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Single-Table Query",
|
|
"uri":"dws_04_1007.html",
|
|
"doc_type":"devg",
|
|
"p_code":"142",
|
|
"code":"143"
|
|
},
|
|
{
|
|
"desc":"Multiple joins are necessary for accomplishing complex queries. Joins are classified into inner joins and outer joins. Each type of joins have their subtypes.Inner join: ",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Multi-Table Join Query",
|
|
"uri":"dws_04_1003.html",
|
|
"doc_type":"devg",
|
|
"p_code":"142",
|
|
"code":"144"
|
|
},
|
|
{
|
|
"desc":"A subquery allows you to nest one query within another, enabling more complex data query and analysis.EXISTS/NOT EXISTSBefore the main query runs, the subquery runs and i",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Subquery Expressions",
|
|
"uri":"dws_04_1122.html",
|
|
"doc_type":"devg",
|
|
"p_code":"142",
|
|
"code":"145"
|
|
},
|
|
{
|
|
"desc":"The WITH expression is used to define auxiliary statements used in large queries. These auxiliary statements are usually called common table expressions (CTE), which can ",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) WITH Expressions",
|
|
"uri":"dws_04_1002.html",
|
|
"doc_type":"devg",
|
|
"p_code":"142",
|
|
"code":"146"
|
|
},
|
|
{
|
|
"desc":"UNION is a powerful SQL operator that combines the result sets of two or more SELECT statements into one. During combination, the number of columns and data types in the ",
|
|
"product_code":"dws",
|
|
"title":"Usage of GaussDB(DWS) UNION",
|
|
"uri":"dws_04_1121.html",
|
|
"doc_type":"devg",
|
|
"p_code":"142",
|
|
"code":"147"
|
|
},
|
|
{
|
|
"desc":"After an associated logical cluster user is created, the query or modification (including Insert, Delete, and Update) submitted by the user is calculated and executed in ",
|
|
"product_code":"dws",
|
|
"title":"Data Reading/Writing Across Logical Clusters",
|
|
"uri":"dws_04_1239.html",
|
|
"doc_type":"devg",
|
|
"p_code":"142",
|
|
"code":"148"
|
|
},
|
|
{
|
|
"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 on Hudi",
|
|
"uri":"dws_04_1069.html",
|
|
"doc_type":"devg",
|
|
"p_code":"142",
|
|
"code":"149"
|
|
},
|
|
{
|
|
"desc":"Apache Hudi indicates Hadoop Upserts Deletes and Incrementals. It is used to manage large analysis data sets stored on the DFS in Hadoop.Hudi is not just a data format. I",
|
|
"product_code":"dws",
|
|
"title":"Introduction to Hudi",
|
|
"uri":"dws_04_1070.html",
|
|
"doc_type":"devg",
|
|
"p_code":"149",
|
|
"code":"150"
|
|
},
|
|
{
|
|
"desc":"You have created an OBS agency and OBS data source. For details, see section \"Managing OBS Data Sources\" in the Data Warehouse Service User Guide.Run the GRANT command to",
|
|
"product_code":"dws",
|
|
"title":"Preparations Before Using Hudi",
|
|
"uri":"dws_04_1071.html",
|
|
"doc_type":"devg",
|
|
"p_code":"149",
|
|
"code":"151"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) provides table-level parameters similar to spark-sql to support real-time and incremental views.The parameters are described as follows. Replace SCHEMA.FOREI",
|
|
"product_code":"dws",
|
|
"title":"Hudi User Interfaces",
|
|
"uri":"dws_04_1072.html",
|
|
"doc_type":"devg",
|
|
"p_code":"149",
|
|
"code":"152"
|
|
},
|
|
{
|
|
"desc":"A foreign table maps data on OBS. GaussDB(DWS) accesses Hudi data on OBS through foreign tables. For details, see section \"CREATE FOREIGN TABLE (SQL on OBS or Hadoop)\" in",
|
|
"product_code":"dws",
|
|
"title":"Creating a Hudi Data Description (Foreign Table)",
|
|
"uri":"dws_04_1073.html",
|
|
"doc_type":"devg",
|
|
"p_code":"149",
|
|
"code":"153"
|
|
},
|
|
{
|
|
"desc":"MigrationIf data has been imported to the GaussDB(DWS) table using CDL, use SQL on Hudi to migrate data. Alternatively, use CDM to perform full initialization and then us",
|
|
"product_code":"dws",
|
|
"title":"Synchronizing Hudi Tasks",
|
|
"uri":"dws_04_1074.html",
|
|
"doc_type":"devg",
|
|
"p_code":"149",
|
|
"code":"154"
|
|
},
|
|
{
|
|
"desc":"You can query data in a Hudi foreign table. By default, it gives you a real-time view. You can set parameters to query the incremental data.You can set incremental query ",
|
|
"product_code":"dws",
|
|
"title":"Querying a Hudi Foreign Table",
|
|
"uri":"dws_04_1075.html",
|
|
"doc_type":"devg",
|
|
"p_code":"149",
|
|
"code":"155"
|
|
},
|
|
{
|
|
"desc":"SQL on Hudi supports access to hudi tables stored on MRS. This function is supported only by clusters of version 9.1.0 or later.You have created an MRS data source. For d",
|
|
"product_code":"dws",
|
|
"title":"Accessing Hudi Tables on MRS",
|
|
"uri":"dws_04_1213.html",
|
|
"doc_type":"devg",
|
|
"p_code":"149",
|
|
"code":"156"
|
|
},
|
|
{
|
|
"desc":"The collation feature allows specifying the data sorting order and data classification rules in a character set. This alleviates the restriction that the LC_COLLATE and L",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Sorting Rules",
|
|
"uri":"dws_04_0984.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"157"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) User-Defined Functions",
|
|
"uri":"dws_04_0507.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"158"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) PL/Java Functions",
|
|
"uri":"dws_04_0509.html",
|
|
"doc_type":"devg",
|
|
"p_code":"158",
|
|
"code":"159"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) PL/pgSQL Functions",
|
|
"uri":"dws_04_0510.html",
|
|
"doc_type":"devg",
|
|
"p_code":"158",
|
|
"code":"160"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Stored Procedure",
|
|
"uri":"dws_04_0512.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"161"
|
|
},
|
|
{
|
|
"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. Stored procedures can m",
|
|
"product_code":"dws",
|
|
"title":"Overview",
|
|
"uri":"dws_04_0513.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"162"
|
|
},
|
|
{
|
|
"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":"Converting Data Types in GaussDB(DWS) Stored Procedures",
|
|
"uri":"dws_04_0515.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"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":"GaussDB(DWS) Stored Procedure Array and Record",
|
|
"uri":"dws_04_0516.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"164"
|
|
},
|
|
{
|
|
"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":"164",
|
|
"code":"165"
|
|
},
|
|
{
|
|
"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":"164",
|
|
"code":"166"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Stored Procedure Declaration Syntax",
|
|
"uri":"dws_04_0519.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"167"
|
|
},
|
|
{
|
|
"desc":"This section describes the declaration of variables in the PL/SQL and the scope of this variable in codes.Variable declarationFor details about the variable declaration s",
|
|
"product_code":"dws",
|
|
"title":"Basic Statements of GaussDB(DWS) Stored Procedures",
|
|
"uri":"dws_04_0523.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"168"
|
|
},
|
|
{
|
|
"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 of GaussDB(DWS) Stored Procedures",
|
|
"uri":"dws_04_0527.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"169"
|
|
},
|
|
{
|
|
"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":"169",
|
|
"code":"170"
|
|
},
|
|
{
|
|
"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":"169",
|
|
"code":"171"
|
|
},
|
|
{
|
|
"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":"169",
|
|
"code":"172"
|
|
},
|
|
{
|
|
"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":"169",
|
|
"code":"173"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Stored Procedure Control Statements",
|
|
"uri":"dws_04_0532.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"174"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) provides two methods for returning data: RETURN (or RETURN NEXT) and RETURN QUERY. RETURN NEXT and RETURN QUERY are used only for functions and cannot be use",
|
|
"product_code":"dws",
|
|
"title":"RETURN Statements",
|
|
"uri":"dws_04_0533.html",
|
|
"doc_type":"devg",
|
|
"p_code":"174",
|
|
"code":"175"
|
|
},
|
|
{
|
|
"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":"174",
|
|
"code":"176"
|
|
},
|
|
{
|
|
"desc":"The syntax diagram is as follows.ExamplesThe 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":"174",
|
|
"code":"177"
|
|
},
|
|
{
|
|
"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":"174",
|
|
"code":"178"
|
|
},
|
|
{
|
|
"desc":"In PL/SQL programs, a NULL statement can be used to indicate \"do nothing\", which is also known as an empty statement.A NULL statement acts as a placeholder and can give m",
|
|
"product_code":"dws",
|
|
"title":"NULL Statements",
|
|
"uri":"dws_04_0539.html",
|
|
"doc_type":"devg",
|
|
"p_code":"174",
|
|
"code":"179"
|
|
},
|
|
{
|
|
"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":"174",
|
|
"code":"180"
|
|
},
|
|
{
|
|
"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":"174",
|
|
"code":"181"
|
|
},
|
|
{
|
|
"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":"Other Statements in a GaussDB(DWS) Stored Procedure",
|
|
"uri":"dws_04_0542.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"182"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Stored Procedure Cursor",
|
|
"uri":"dws_04_0545.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"183"
|
|
},
|
|
{
|
|
"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":"183",
|
|
"code":"184"
|
|
},
|
|
{
|
|
"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":"183",
|
|
"code":"185"
|
|
},
|
|
{
|
|
"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":"183",
|
|
"code":"186"
|
|
},
|
|
{
|
|
"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":"183",
|
|
"code":"187"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Stored Procedure Advanced Package",
|
|
"uri":"dws_04_0550.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"188"
|
|
},
|
|
{
|
|
"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":"188",
|
|
"code":"189"
|
|
},
|
|
{
|
|
"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":"188",
|
|
"code":"190"
|
|
},
|
|
{
|
|
"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":"188",
|
|
"code":"191"
|
|
},
|
|
{
|
|
"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":"188",
|
|
"code":"192"
|
|
},
|
|
{
|
|
"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":"188",
|
|
"code":"193"
|
|
},
|
|
{
|
|
"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":"188",
|
|
"code":"194"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Stored Procedure Debugging",
|
|
"uri":"dws_04_0558.html",
|
|
"doc_type":"devg",
|
|
"p_code":"161",
|
|
"code":"195"
|
|
},
|
|
{
|
|
"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 PostGIS Extension",
|
|
"uri":"dws_04_0301.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"196"
|
|
},
|
|
{
|
|
"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":"196",
|
|
"code":"197"
|
|
},
|
|
{
|
|
"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":"196",
|
|
"code":"198"
|
|
},
|
|
{
|
|
"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":"196",
|
|
"code":"199"
|
|
},
|
|
{
|
|
"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":"196",
|
|
"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":"Using JDBC or ODBC for GaussDB(DWS) Secondary Development",
|
|
"uri":"dws_04_0085.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"201"
|
|
},
|
|
{
|
|
"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":"Prerequisites",
|
|
"uri":"dws_04_0086.html",
|
|
"doc_type":"devg",
|
|
"p_code":"201",
|
|
"code":"202"
|
|
},
|
|
{
|
|
"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":"201",
|
|
"code":"203"
|
|
},
|
|
{
|
|
"desc":"Java Database Connectivity (JDBC) is a Java API for executing SQL statements. It provides a unified access interface for multiple relational databases, enabling applicati",
|
|
"product_code":"dws",
|
|
"title":"JDBC Development Process",
|
|
"uri":"dws_04_0089.html",
|
|
"doc_type":"devg",
|
|
"p_code":"203",
|
|
"code":"204"
|
|
},
|
|
{
|
|
"desc":"Download the dws_8.x.x_jdbc_driver.zip software package from the console.For details, see \"Downloading the JDBC or ODBC Driver\" in the Data Warehouse Service (DWS) User G",
|
|
"product_code":"dws",
|
|
"title":"JDBC Package and Driver Class",
|
|
"uri":"dws_04_0090.html",
|
|
"doc_type":"devg",
|
|
"p_code":"203",
|
|
"code":"205"
|
|
},
|
|
{
|
|
"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":"203",
|
|
"code":"206"
|
|
},
|
|
{
|
|
"desc":"After a database is connected, you can run SQL statements the database to perform operations on data.If you use an open-source Java Database Connectivity (JDBC) driver, e",
|
|
"product_code":"dws",
|
|
"title":"Connecting to a Database",
|
|
"uri":"dws_04_0093.html",
|
|
"doc_type":"devg",
|
|
"p_code":"203",
|
|
"code":"207"
|
|
},
|
|
{
|
|
"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":"203",
|
|
"code":"208"
|
|
},
|
|
{
|
|
"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":"203",
|
|
"code":"209"
|
|
},
|
|
{
|
|
"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":"Common JDBC Development Examples",
|
|
"uri":"dws_04_0098.html",
|
|
"doc_type":"devg",
|
|
"p_code":"203",
|
|
"code":"210"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) 8.1.3 and later versions support the RoaringBitmap function. When using the Java language to perform secondary development based on GaussDB(DWS), you can use",
|
|
"product_code":"",
|
|
"title":"Processing RoaringBitmap Result Sets and Importing It to GaussDB (DWS)",
|
|
"uri":"dws_04_10001.html",
|
|
"doc_type":"",
|
|
"p_code":"203",
|
|
"code":"211"
|
|
},
|
|
{
|
|
"desc":"JDBC interface is a set of API methods for users. This section describes some common interfaces. For other interfaces, see information in JDK1.6 (software package) and JD",
|
|
"product_code":"dws",
|
|
"title":"JDBC Interfaces",
|
|
"uri":"dws_04_0102.html",
|
|
"doc_type":"devg",
|
|
"p_code":"203",
|
|
"code":"212"
|
|
},
|
|
{
|
|
"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":"201",
|
|
"code":"213"
|
|
},
|
|
{
|
|
"desc":"Download the ODBC software package from the console.For details, see \"Downloading the JDBC or ODBC Driver\" in the Data Warehouse Service (DWS) User Guide.Obtain the dws_8",
|
|
"product_code":"dws",
|
|
"title":"ODBC Package and Its Dependent Libraries and Header Files",
|
|
"uri":"dws_04_0118.html",
|
|
"doc_type":"devg",
|
|
"p_code":"213",
|
|
"code":"214"
|
|
},
|
|
{
|
|
"desc":"The ODBC DRIVER (psqlodbcw.so) provided by GaussDB(DWS) can be used after it has been configured in the data source. To set up a data source, configure the odbc.ini and o",
|
|
"product_code":"dws",
|
|
"title":"Configuring a Data Source in the Linux OS",
|
|
"uri":"dws_04_0119.html",
|
|
"doc_type":"devg",
|
|
"p_code":"213",
|
|
"code":"215"
|
|
},
|
|
{
|
|
"desc":"Configure the ODBC data source using the ODBC data source manager preinstalled in the Windows OS.Decompress GaussDB-9.1.0-Windows-Odbc.tar.gz. Double-click install psqlod",
|
|
"product_code":"dws",
|
|
"title":"Configuring a Data Source in the Windows OS",
|
|
"uri":"dws_04_0120.html",
|
|
"doc_type":"devg",
|
|
"p_code":"213",
|
|
"code":"216"
|
|
},
|
|
{
|
|
"desc":"The following example shows how to obtain data from GaussDB(DWS) through ODBC.Enable UseBatchProtocol in the data source and set support_batch_bind to on.Use CHECK_ERROR ",
|
|
"product_code":"dws",
|
|
"title":"ODBC Development Example",
|
|
"uri":"dws_04_0123.html",
|
|
"doc_type":"devg",
|
|
"p_code":"213",
|
|
"code":"217"
|
|
},
|
|
{
|
|
"desc":"The ODBC interface is a set of API functions provided to users. This chapter describes its common interfaces. For details on other interfaces, see \"ODBC Programmer's Refe",
|
|
"product_code":"dws",
|
|
"title":"ODBC Interfaces",
|
|
"uri":"dws_04_0124.html",
|
|
"doc_type":"devg",
|
|
"p_code":"213",
|
|
"code":"218"
|
|
},
|
|
{
|
|
"desc":"In massive big data scenarios, as services and data volume increase, data storage and consumption increase. The need for data may vary in different time periods, therefor",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Hot and Cold Data Management",
|
|
"uri":"dws_04_0996.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"219"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Resource Monitoring",
|
|
"uri":"dws_04_0393.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"220"
|
|
},
|
|
{
|
|
"desc":"In the multi-tenant management framework, you can query the real-time usage of all user resources (including the memory, number of CPU cores, storage space, temporary spa",
|
|
"product_code":"dws",
|
|
"title":"User Resource Monitoring",
|
|
"uri":"dws_04_0394.html",
|
|
"doc_type":"devg",
|
|
"p_code":"220",
|
|
"code":"221"
|
|
},
|
|
{
|
|
"desc":"In the multi-tenant management framework, if queries are associated with resource pools, the resources occupied by the queries are summarized to the associated resource p",
|
|
"product_code":"dws",
|
|
"title":"Resource Pool Monitoring",
|
|
"uri":"dws_04_0974.html",
|
|
"doc_type":"devg",
|
|
"p_code":"220",
|
|
"code":"222"
|
|
},
|
|
{
|
|
"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":"220",
|
|
"code":"223"
|
|
},
|
|
{
|
|
"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":"220",
|
|
"code":"224"
|
|
},
|
|
{
|
|
"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 Top SQL",
|
|
"uri":"dws_04_0397.html",
|
|
"doc_type":"devg",
|
|
"p_code":"220",
|
|
"code":"225"
|
|
},
|
|
{
|
|
"desc":"You can query historical Top SQL in historical resource monitoring views. The historical resource monitoring view records the resource usage (including memory, data spill",
|
|
"product_code":"dws",
|
|
"title":"Historical Top SQL",
|
|
"uri":"dws_04_0398.html",
|
|
"doc_type":"devg",
|
|
"p_code":"220",
|
|
"code":"226"
|
|
},
|
|
{
|
|
"desc":"In this section, TPC-DS sample data is used as an example to describe how to query Real-time Top SQL and Historical Top SQL.To query for historical or archived resource m",
|
|
"product_code":"dws",
|
|
"title":"Example for Querying for Top SQLs",
|
|
"uri":"dws_04_0399.html",
|
|
"doc_type":"devg",
|
|
"p_code":"220",
|
|
"code":"227"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Performance Tuning",
|
|
"uri":"dws_04_0400.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"228"
|
|
},
|
|
{
|
|
"desc":"Database performance tuning is the process of optimizing database system configuration and SQL queries to improve database performance and efficiency. The purpose include",
|
|
"product_code":"dws",
|
|
"title":"Overview",
|
|
"uri":"dws_04_0401.html",
|
|
"doc_type":"devg",
|
|
"p_code":"228",
|
|
"code":"229"
|
|
},
|
|
{
|
|
"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":"Performance Diagnosis",
|
|
"uri":"dws_04_0403.html",
|
|
"doc_type":"devg",
|
|
"p_code":"228",
|
|
"code":"230"
|
|
},
|
|
{
|
|
"desc":"The node specifications of different GaussDB(DWS) clusters may vary in terms of the number of CPU cores, memory capacity, and node storage capacity. Different specificati",
|
|
"product_code":"dws",
|
|
"title":"Cluster Performance Analysis",
|
|
"uri":"dws_04_0404.html",
|
|
"doc_type":"devg",
|
|
"p_code":"230",
|
|
"code":"231"
|
|
},
|
|
{
|
|
"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":"Slow SQL Analysis",
|
|
"uri":"dws_04_0421.html",
|
|
"doc_type":"devg",
|
|
"p_code":"230",
|
|
"code":"232"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"233"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"234"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) clusters support SQL diagnosis, which shows the complete execution plans of specific SQL queries. You can search for SQL queries (such as slow queries) using",
|
|
"product_code":"dws",
|
|
"title":"SQL Diagnosis",
|
|
"uri":"dws_04_0491.html",
|
|
"doc_type":"devg",
|
|
"p_code":"230",
|
|
"code":"235"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) provides statistics and diagnostic tools for you to learn table status, including:Skew Rate: monitors and analyzes uneven data distribution in a cluster, and",
|
|
"product_code":"dws",
|
|
"title":"Table Diagnosis",
|
|
"uri":"dws_04_0492.html",
|
|
"doc_type":"devg",
|
|
"p_code":"230",
|
|
"code":"236"
|
|
},
|
|
{
|
|
"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 Optimization",
|
|
"uri":"dws_04_0414.html",
|
|
"doc_type":"devg",
|
|
"p_code":"228",
|
|
"code":"237"
|
|
},
|
|
{
|
|
"desc":"To ensure high performance of the database, you are advised to configure GUC parameters based on available resources and the actual workloads. This section describes some",
|
|
"product_code":"dws",
|
|
"title":"Tuning Database Parameters",
|
|
"uri":"dws_04_0970.html",
|
|
"doc_type":"devg",
|
|
"p_code":"237",
|
|
"code":"238"
|
|
},
|
|
{
|
|
"desc":"Complex queries may take a long time. In a system with low concurrency support, this can be a problem. SMP is used to implement operator-level parallel execution, which c",
|
|
"product_code":"dws",
|
|
"title":"SMP Parallel Execution",
|
|
"uri":"dws_04_0420.html",
|
|
"doc_type":"devg",
|
|
"p_code":"237",
|
|
"code":"239"
|
|
},
|
|
{
|
|
"desc":"LLVM dynamic compilation can be used to generate customized machine code for each query to replace original common functions. The query performance is improved by reducin",
|
|
"product_code":"dws",
|
|
"title":"Configuring LLVM",
|
|
"uri":"dws_04_0426.html",
|
|
"doc_type":"devg",
|
|
"p_code":"237",
|
|
"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":"SQL Tuning",
|
|
"uri":"dws_04_0430.html",
|
|
"doc_type":"devg",
|
|
"p_code":"228",
|
|
"code":"241"
|
|
},
|
|
{
|
|
"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":"SQL Query Execution Process",
|
|
"uri":"dws_04_0431.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"242"
|
|
},
|
|
{
|
|
"desc":"An SQL execution plan is a node tree that displays the detailed steps performed when the GaussDB(DWS) executes an SQL statement.You can run the EXPLAIN command to view th",
|
|
"product_code":"dws",
|
|
"title":"SQL Execution Plan",
|
|
"uri":"dws_04_0432.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"243"
|
|
},
|
|
{
|
|
"desc":"In an SQL execution plan, each step indicates a database operator, also called an execution operator. In GaussDB(DWS), operators are the building blocks of data processin",
|
|
"product_code":"dws",
|
|
"title":"Execution Plan Operator",
|
|
"uri":"dws_04_0402.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"244"
|
|
},
|
|
{
|
|
"desc":"You can analyze slow SQL statements to optimize them.",
|
|
"product_code":"dws",
|
|
"title":"SQL Tuning Process",
|
|
"uri":"dws_04_0435.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"245"
|
|
},
|
|
{
|
|
"desc":"In a database, statistics indicate the source data of a plan generated by a planner. If statistics are unavailable or out of date, the execution plan may seriously deteri",
|
|
"product_code":"dws",
|
|
"title":"Updating Statistics",
|
|
"uri":"dws_04_0436.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"246"
|
|
},
|
|
{
|
|
"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_0437.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"247"
|
|
},
|
|
{
|
|
"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 SQL Tuning",
|
|
"uri":"dws_04_0445.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"248"
|
|
},
|
|
{
|
|
"desc":"Performance issues may occur when you run the INSERT/UPDATE/DELETE/SELECT/MERGE INTO or CREATE TABLE AS statement. The product supports automatic performance diagnosis an",
|
|
"product_code":"dws",
|
|
"title":"SQL Self-Diagnosis",
|
|
"uri":"dws_04_0446.html",
|
|
"doc_type":"devg",
|
|
"p_code":"248",
|
|
"code":"249"
|
|
},
|
|
{
|
|
"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":"248",
|
|
"code":"250"
|
|
},
|
|
{
|
|
"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":"248",
|
|
"code":"251"
|
|
},
|
|
{
|
|
"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":"248",
|
|
"code":"252"
|
|
},
|
|
{
|
|
"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":"248",
|
|
"code":"253"
|
|
},
|
|
{
|
|
"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":"248",
|
|
"code":"254"
|
|
},
|
|
{
|
|
"desc":"This function is supported only in 9.1.0.200 or later.In the storage-compute decoupling architecture, user data is stored in OBS to reduce storage costs. Each query gener",
|
|
"product_code":"dws",
|
|
"title":"Proactive Preheating and Tuning of Disk Cache",
|
|
"uri":"dws_04_1410.html",
|
|
"doc_type":"devg",
|
|
"p_code":"248",
|
|
"code":"255"
|
|
},
|
|
{
|
|
"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":"SQL Statement Rewriting Rules",
|
|
"uri":"dws_04_0452.html",
|
|
"doc_type":"devg",
|
|
"p_code":"248",
|
|
"code":"256"
|
|
},
|
|
{
|
|
"desc":"This section introduces key CN parameters that affect optimization of SQL statements in GaussDB(DWS). For details about the parameter configuration method, see Configurin",
|
|
"product_code":"dws",
|
|
"title":"Configuring Optimizer Parameters",
|
|
"uri":"dws_04_0453.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"257"
|
|
},
|
|
{
|
|
"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":"241",
|
|
"code":"258"
|
|
},
|
|
{
|
|
"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":"258",
|
|
"code":"259"
|
|
},
|
|
{
|
|
"desc":"Theses hints specify the join order and outer/inner tables.Single-layer parentheses (), specifying only the join order. The order of internal and foreign tables is not sp",
|
|
"product_code":"dws",
|
|
"title":"Join Order Hints",
|
|
"uri":"dws_04_0456.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"260"
|
|
},
|
|
{
|
|
"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.block_name indicates the ",
|
|
"product_code":"dws",
|
|
"title":"Join Operation Hints",
|
|
"uri":"dws_04_0457.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"261"
|
|
},
|
|
{
|
|
"desc":"These hints specify the number of rows in an intermediate result set. Both absolute values and relative values are supported.block_name indicates the block name of the st",
|
|
"product_code":"dws",
|
|
"title":"Rows Hints",
|
|
"uri":"dws_04_0458.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"262"
|
|
},
|
|
{
|
|
"desc":"Specifies the stream method, which can be broadcast, redistribute, or specifying the distribution key for Agg redistribution.Specifies the hint for the distribution colum",
|
|
"product_code":"dws",
|
|
"title":"Stream Operation Hints",
|
|
"uri":"dws_04_0459.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"263"
|
|
},
|
|
{
|
|
"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.block_name indi",
|
|
"product_code":"dws",
|
|
"title":"Scan Operation Hints",
|
|
"uri":"dws_04_0460.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"264"
|
|
},
|
|
{
|
|
"desc":"These hints specify the name of a sublink block.This block name hint is used by an outer query only when a sublink is pulled up. Currently, only the Agg equivalent join, ",
|
|
"product_code":"dws",
|
|
"title":"Sublink Name Hints",
|
|
"uri":"dws_04_0461.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"265"
|
|
},
|
|
{
|
|
"desc":"Theses hints specify redistribution keys containing skew data and skew values, and are used to optimize redistribution involving Join or HashAgg.Skew hints are used only ",
|
|
"product_code":"dws",
|
|
"title":"Skew Hints",
|
|
"uri":"dws_04_0462.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"266"
|
|
},
|
|
{
|
|
"desc":"To optimize query logic, the optimizer usually pulls up subqueries for execution. However, sometimes the pulled up subqueries do not run much faster than others, and may ",
|
|
"product_code":"dws",
|
|
"title":"Hint That Disables Subquery Pull-up",
|
|
"uri":"dws_04_1076.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"267"
|
|
},
|
|
{
|
|
"desc":"Specifies a column to construct a dictionary code. The comparison of character strings in the dictionary code is converted into the comparison of numbers, which accelerat",
|
|
"product_code":"dws",
|
|
"title":"Dictionary Code Hint",
|
|
"uri":"dws_04_1208.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"268"
|
|
},
|
|
{
|
|
"desc":"A hint, or a GUC hint, specifies a configuration parameter value when a plan is generated.If a parameter set by hint takes effect at the statement level, the hint must be",
|
|
"product_code":"dws",
|
|
"title":"Configuration Parameter Hints",
|
|
"uri":"dws_04_0463.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"269"
|
|
},
|
|
{
|
|
"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":"258",
|
|
"code":"270"
|
|
},
|
|
{
|
|
"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":"258",
|
|
"code":"271"
|
|
},
|
|
{
|
|
"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":"241",
|
|
"code":"272"
|
|
},
|
|
{
|
|
"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":"241",
|
|
"code":"273"
|
|
},
|
|
{
|
|
"desc":"With automatic retry (referred to as CN retry), GaussDB(DWS) retries an SQL statement when the execution of a statement fails. If an SQL statement sent from the gsql clie",
|
|
"product_code":"dws",
|
|
"title":"Automatic Retry upon SQL Statement Execution Errors",
|
|
"uri":"dws_04_0497.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"274"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) implements load identification and intra-queue priority control based on query_band. It provides more flexible load identification methods and identifies loa",
|
|
"product_code":"dws",
|
|
"title":"Query Band Load Identification",
|
|
"uri":"dws_04_0493.html",
|
|
"doc_type":"devg",
|
|
"p_code":"241",
|
|
"code":"275"
|
|
},
|
|
{
|
|
"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 Tuning Examples",
|
|
"uri":"dws_04_0474.html",
|
|
"doc_type":"devg",
|
|
"p_code":"228",
|
|
"code":"276"
|
|
},
|
|
{
|
|
"desc":"Distribution columns are used to distribute data to different nodes. A proper distribution key can avoid data skew.When performing join query, you are advised to select t",
|
|
"product_code":"dws",
|
|
"title":"Case: Selecting an Appropriate Distribution Column",
|
|
"uri":"dws_04_0475.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"277"
|
|
},
|
|
{
|
|
"desc":"Creating a proper index can accelerate the retrieval of data rows in a table. Indexes occupy disk space and reduce the speed of adding, deleting, and updating rows. If da",
|
|
"product_code":"dws",
|
|
"title":"Case: Creating an Appropriate Index",
|
|
"uri":"dws_04_0476.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"278"
|
|
},
|
|
{
|
|
"desc":"If there are many NULL values in the JOIN columns, you can add the filter criterion IS NOT NULL to filter data in advance to improve the JOIN efficiency.Figure 1 shows th",
|
|
"product_code":"dws",
|
|
"title":"Case: Adding NOT NULL for JOIN Columns",
|
|
"uri":"dws_04_0477.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"279"
|
|
},
|
|
{
|
|
"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":"276",
|
|
"code":"280"
|
|
},
|
|
{
|
|
"desc":"The cost_param parameter is used to control use of different estimation methods in specific customer scenarios, allowing estimated values to be close to onsite values. Th",
|
|
"product_code":"dws",
|
|
"title":"Case: Configuring cost_param for Better Query Performance",
|
|
"uri":"dws_04_0479.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"281"
|
|
},
|
|
{
|
|
"desc":"Partial Cluster Key (PCK) is an index technology that uses min/max indexes to quickly scan base tables in column storage. Partial cluster key can specify multiple columns",
|
|
"product_code":"dws",
|
|
"title":"Case: Adjusting the Partial Clustering Key",
|
|
"uri":"dws_04_0481.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"282"
|
|
},
|
|
{
|
|
"desc":"In GaussDB(DWS), row-store tables use the row execution engine, and column-store tables use the column execution engine. If both row-store table and column-store tables e",
|
|
"product_code":"dws",
|
|
"title":"Case: Adjusting the Table Storage Mode in a Medium Table",
|
|
"uri":"dws_04_0482.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"283"
|
|
},
|
|
{
|
|
"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":"Case: Reconstructing Partition Tables",
|
|
"uri":"dws_04_0484.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"284"
|
|
},
|
|
{
|
|
"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":"276",
|
|
"code":"285"
|
|
},
|
|
{
|
|
"desc":"A filter criterion that contains the expression of partition key cannot be used for pruning. As a result, the query statement scans almost all data in the partitioned tab",
|
|
"product_code":"dws",
|
|
"title":"Case: Rewriting SQL Statements and Eliminating Prune Interference",
|
|
"uri":"dws_04_0488.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"286"
|
|
},
|
|
{
|
|
"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":"276",
|
|
"code":"287"
|
|
},
|
|
{
|
|
"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":"276",
|
|
"code":"288"
|
|
},
|
|
{
|
|
"desc":"nestloop anti join must be used to implement NOT IN, while you can use Hash anti join to implement NOT EXISTS. If no NULL value exists in the JOIN column, NOT IN is equiv",
|
|
"product_code":"dws",
|
|
"title":"Case: Converting from NOT IN to NOT EXISTS",
|
|
"uri":"dws_04_1000.html",
|
|
"doc_type":"devg",
|
|
"p_code":"276",
|
|
"code":"289"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) System Catalogs and Views",
|
|
"uri":"dws_04_0559.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"290"
|
|
},
|
|
{
|
|
"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":"290",
|
|
"code":"291"
|
|
},
|
|
{
|
|
"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":"290",
|
|
"code":"292"
|
|
},
|
|
{
|
|
"desc":"GS_BLOCKLIST_QUERY records job blocklist and exception information. This table uses unique_sql_id as the unique index to collect statistics on job exception information a",
|
|
"product_code":"dws",
|
|
"title":"GS_BLOCKLIST_QUERY",
|
|
"uri":"dws_04_1006.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"293"
|
|
},
|
|
{
|
|
"desc":"GS_BLOCKLIST_SQL records job blocklist and exception information. This table uses sql_hash as the unique index to collect statistics on job exception information and reco",
|
|
"product_code":"dws",
|
|
"title":"GS_BLOCKLIST_SQL",
|
|
"uri":"dws_04_1245.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"294"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"295"
|
|
},
|
|
{
|
|
"desc":"The GS_RESPOOL_RESOURCE_HISTORY table records the historical monitoring information about a resource pool on both CNs and DNs.",
|
|
"product_code":"dws",
|
|
"title":"GS_RESPOOL_RESOURCE_HISTORY",
|
|
"uri":"dws_04_0975.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"296"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"297"
|
|
},
|
|
{
|
|
"desc":"GS_WLM_OPERATOR_INFO records operators of completed jobs. The data is dumped from the kernel to a system catalog. If the GUC parameter enable_resource_record is set to on",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_OPERATOR_INFO",
|
|
"uri":"dws_04_0565.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"298"
|
|
},
|
|
{
|
|
"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. If the GUC para",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_SESSION_INFO",
|
|
"uri":"dws_04_0566.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"299"
|
|
},
|
|
{
|
|
"desc":"The GS_WLM_USER_RESOURCE_HISTORY system catalog stores information about resources used by users. The data of this table is stored on both CNs and DNs. Each record in the",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_USER_RESOURCE_HISTORY",
|
|
"uri":"dws_04_0567.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"300"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"301"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"302"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"303"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"304"
|
|
},
|
|
{
|
|
"desc":"PG_ATTRDEF stores default values of columns.",
|
|
"product_code":"dws",
|
|
"title":"PG_ATTRDEF",
|
|
"uri":"dws_04_0572.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"305"
|
|
},
|
|
{
|
|
"desc":"PG_ATTRIBUTE records information about table columns.Query the field names and field IDs of a specified table. Replace t1 and public with the actual table name and schema",
|
|
"product_code":"dws",
|
|
"title":"PG_ATTRIBUTE",
|
|
"uri":"dws_04_0573.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"306"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"307"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"308"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"309"
|
|
},
|
|
{
|
|
"desc":"PG_BLOCKLISTS records query filtering rules. This system catalog is supported only by clusters of version 9.1.0.100 or later.",
|
|
"product_code":"dws",
|
|
"title":"PG_BLOCKLISTS",
|
|
"uri":"dws_04_1407.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"310"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"311"
|
|
},
|
|
{
|
|
"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.Query the comments of all t",
|
|
"product_code":"dws",
|
|
"title":"PG_CLASS",
|
|
"uri":"dws_04_0578.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"312"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"313"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"314"
|
|
},
|
|
{
|
|
"desc":"PG_CONVERSION records encoding conversion information.",
|
|
"product_code":"dws",
|
|
"title":"PG_CONVERSION",
|
|
"uri":"dws_04_0581.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"315"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"316"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"317"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"318"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"319"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"320"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"321"
|
|
},
|
|
{
|
|
"desc":"The PG_EXCEPT_RULE system catalog stores information about exception rules. An exception rule set consists of multiple exception rules with the same name.",
|
|
"product_code":"dws",
|
|
"title":"PG_EXCEPT_RULE",
|
|
"uri":"dws_04_1201.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"322"
|
|
},
|
|
{
|
|
"desc":"Stores EXTERNAL SCHEMA information. This system catalog is supported only in 8.3.0 and later versions.Query the created EXTERNAL SCHEMA ex1:",
|
|
"product_code":"dws",
|
|
"title":"PG_EXTERNAL_NAMESPACE",
|
|
"uri":"dws_04_1096.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"323"
|
|
},
|
|
{
|
|
"desc":"PG_EXTENSION records information about the installed extensions. By default, GaussDB(DWS) has 34 extensions: aio_scheduler, btree_gin, cudesckv, dimsearch, dist_fdw, func",
|
|
"product_code":"dws",
|
|
"title":"PG_EXTENSION",
|
|
"uri":"dws_04_0589.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"324"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"325"
|
|
},
|
|
{
|
|
"desc":"The PG_FINE_DR_INFO system catalog records the replay status of the fine-grained DR standby table. This system catalog is supported only by clusters of version 8.2.0.100 ",
|
|
"product_code":"dws",
|
|
"title":"PG_FINE_DR_INFO",
|
|
"uri":"dws_04_1037.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"326"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"327"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"328"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"329"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"330"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"331"
|
|
},
|
|
{
|
|
"desc":"PG_JOB_INFO records the execution results of scheduled tasks. The schema of the system catalog is dbms_om.",
|
|
"product_code":"dws",
|
|
"title":"PG_JOB_INFO",
|
|
"uri":"dws_04_1104.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"332"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"333"
|
|
},
|
|
{
|
|
"desc":"PG_LANGUAGE records languages that can be used to write functions or stored procedures.",
|
|
"product_code":"dws",
|
|
"title":"PG_LANGUAGE",
|
|
"uri":"dws_04_0597.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"334"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"335"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"336"
|
|
},
|
|
{
|
|
"desc":"PG_MATVIEW records materialized view information about the current node.",
|
|
"product_code":"dws",
|
|
"title":"PG_MATVIEW",
|
|
"uri":"dws_04_1067.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"337"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"338"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"339"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"340"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"341"
|
|
},
|
|
{
|
|
"desc":"PG_OPERATOR records information about operators.",
|
|
"product_code":"dws",
|
|
"title":"PG_OPERATOR",
|
|
"uri":"dws_04_0604.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"342"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"343"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"344"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"345"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"346"
|
|
},
|
|
{
|
|
"desc":"PG_PUBLICATION records all the publications created in the current database. This system catalog is supported only by clusters of version 8.2.0.100 or later.View all rele",
|
|
"product_code":"dws",
|
|
"title":"PG_PUBLICATION",
|
|
"uri":"dws_04_1040.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"347"
|
|
},
|
|
{
|
|
"desc":"PG_PUBLICATION_NAMESPACE records the mapping between publications and schemas in the current database, which is a many-to-many mapping. This system catalog is supported o",
|
|
"product_code":"dws",
|
|
"title":"PG_PUBLICATION_NAMESPACE",
|
|
"uri":"dws_04_1043.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"348"
|
|
},
|
|
{
|
|
"desc":"PG_PUBLICATION_REL records the mapping between publications and tables in the current database, which is a many-to-many mapping. This system catalog is supported only by ",
|
|
"product_code":"dws",
|
|
"title":"PG_PUBLICATION_REL",
|
|
"uri":"dws_04_1041.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"349"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"350"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"351"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"352"
|
|
},
|
|
{
|
|
"desc":"The PG_RELFILENODE_SIZE system catalog provides file-level space statistics. Each record in the table corresponds to a physical file on the disk and the size of the file.",
|
|
"product_code":"dws",
|
|
"title":"PG_RELFILENODE_SIZE",
|
|
"uri":"dws_04_1408.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"353"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"354"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"355"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"356"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"357"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"358"
|
|
},
|
|
{
|
|
"desc":"PG_SHDESCRIPTION records optional comments for shared database objects. Descriptions can be manipulated with the COMMENT command and viewed with gsql's \\d commands.See al",
|
|
"product_code":"dws",
|
|
"title":"PG_SHDESCRIPTION",
|
|
"uri":"dws_04_0617.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"359"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"360"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"361"
|
|
},
|
|
{
|
|
"desc":"PG_STATISTIC_EXT records extended statistics about tables in a database. The range of extended statistics to be collected is specified by users. Only system administrator",
|
|
"product_code":"dws",
|
|
"title":"PG_STATISTIC_EXT",
|
|
"uri":"dws_04_0620.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"362"
|
|
},
|
|
{
|
|
"desc":"Records table statistics and autovacuum efficiency information of the current DB instance, and creates indexes for the databaseid, relid, and partid columns. Update of th",
|
|
"product_code":"dws",
|
|
"title":"PG_STAT_OBJECT",
|
|
"uri":"dws_04_1062.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"363"
|
|
},
|
|
{
|
|
"desc":"PG_SUBSCRIPTION records all existing subscriptions.View all subscriptions.",
|
|
"product_code":"dws",
|
|
"title":"PG_SUBSCRIPTION",
|
|
"uri":"dws_04_1044.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"364"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"365"
|
|
},
|
|
{
|
|
"desc":"PG_TABLESPACE records tablespace information.",
|
|
"product_code":"dws",
|
|
"title":"PG_TABLESPACE",
|
|
"uri":"dws_04_0622.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"366"
|
|
},
|
|
{
|
|
"desc":"PG_TRIGGER records the trigger information.",
|
|
"product_code":"dws",
|
|
"title":"PG_TRIGGER",
|
|
"uri":"dws_04_0623.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"367"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"368"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"369"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"370"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"371"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"372"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"373"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"374"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"375"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"376"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"377"
|
|
},
|
|
{
|
|
"desc":"PGXC_GROUP records node group information. In storage-compute decoupling 3.0 version, each node group in a logical cluster is called a Virtual Warehouse (VW). At the stor",
|
|
"product_code":"dws",
|
|
"title":"PGXC_GROUP",
|
|
"uri":"dws_04_0634.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"378"
|
|
},
|
|
{
|
|
"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":"292",
|
|
"code":"379"
|
|
},
|
|
{
|
|
"desc":"PLAN_TABLE_DATA stores the plan information collected by EXPLAIN PLAN. Different from the PLAN_TABLE view, the system catalog PLAN_TABLE_DATA stores the plan information ",
|
|
"product_code":"dws",
|
|
"title":"PLAN_TABLE_DATA",
|
|
"uri":"dws_04_0847.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"380"
|
|
},
|
|
{
|
|
"desc":"SNAPSHOT records the start and end time of each performance view snapshot creation. After enable_wdr_snapshot is set to on, this catalog is created and maintained by the ",
|
|
"product_code":"dws",
|
|
"title":"SNAPSHOT",
|
|
"uri":"dws_04_0636.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"381"
|
|
},
|
|
{
|
|
"desc":"TABLES_SNAP_TIMESTAMP records the start and end time of the snapshots created for each performance view. After enable_wdr_snapshot is set to on, this catalog is created a",
|
|
"product_code":"dws",
|
|
"title":"TABLES_SNAP_TIMESTAMP",
|
|
"uri":"dws_04_0637.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"382"
|
|
},
|
|
{
|
|
"desc":"After enable_wdr_snapshot is set to on, the background snapshot thread creates and maintains a system catalog named in the format of SNAP_View name to record the snapshot",
|
|
"product_code":"dws",
|
|
"title":"System Catalogs for Performance View Snapshot",
|
|
"uri":"dws_04_0638.html",
|
|
"doc_type":"devg",
|
|
"p_code":"292",
|
|
"code":"383"
|
|
},
|
|
{
|
|
"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":"290",
|
|
"code":"384"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"385"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"386"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"387"
|
|
},
|
|
{
|
|
"desc":"ALL_COL_COMMENTS displays column comments of tables and views that the current user can access.",
|
|
"product_code":"dws",
|
|
"title":"ALL_COL_COMMENTS",
|
|
"uri":"dws_04_0643.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"388"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"389"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"390"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"391"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"392"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"393"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"394"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"395"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"396"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"397"
|
|
},
|
|
{
|
|
"desc":"ALL_TAB_COLUMNS displays description of columns of the tables and views that the current user can access.",
|
|
"product_code":"dws",
|
|
"title":"ALL_TAB_COLUMNS",
|
|
"uri":"dws_04_0653.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"398"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"399"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"400"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"401"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"402"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"403"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"404"
|
|
},
|
|
{
|
|
"desc":"DBA_COL_COMMENTS displays column comments in the tables and views of a database. Only users with system administrator permissions can access this view.",
|
|
"product_code":"dws",
|
|
"title":"DBA_COL_COMMENTS",
|
|
"uri":"dws_04_0660.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"405"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"406"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"407"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"408"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"409"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"410"
|
|
},
|
|
{
|
|
"desc":"DBA_INDEXES displays all indexes in the database. This view 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":"384",
|
|
"code":"411"
|
|
},
|
|
{
|
|
"desc":"DBA_OBJECTS displays all database objects in the database. This view is accessible only to users with system administrator rights.For details about the value ranges of la",
|
|
"product_code":"dws",
|
|
"title":"DBA_OBJECTS",
|
|
"uri":"dws_04_0667.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"412"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"413"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"414"
|
|
},
|
|
{
|
|
"desc":"DBA_PROCEDURES displays information about all stored procedures and functions in the database. This view 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":"384",
|
|
"code":"415"
|
|
},
|
|
{
|
|
"desc":"DBA_SEQUENCES displays information about all sequences in the database. This view 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":"384",
|
|
"code":"416"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"417"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"418"
|
|
},
|
|
{
|
|
"desc":"DBA_TAB_COLUMNS stores the columns of tables and views. Each column of a table in the database has a row in DBA_TAB_COLUMNS. Only users with system administrator permissi",
|
|
"product_code":"dws",
|
|
"title":"DBA_TAB_COLUMNS",
|
|
"uri":"dws_04_0674.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"419"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"420"
|
|
},
|
|
{
|
|
"desc":"DBA_TAB_PARTITIONS displays information about all partitions in the database.View the partition information of a partitioned table:",
|
|
"product_code":"dws",
|
|
"title":"DBA_TAB_PARTITIONS",
|
|
"uri":"dws_04_0676.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"421"
|
|
},
|
|
{
|
|
"desc":"DBA_TABLES displays all tables in the database. This view 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":"384",
|
|
"code":"422"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"423"
|
|
},
|
|
{
|
|
"desc":"DBA_TRIGGERS displays information about triggers in the database. This view 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":"384",
|
|
"code":"424"
|
|
},
|
|
{
|
|
"desc":"DBA_VIEWS displays views in the database. This view 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":"384",
|
|
"code":"425"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"426"
|
|
},
|
|
{
|
|
"desc":"Obtains the TSC information of all nodes again. This view is supported only by clusters of version 8.2.1 or later.",
|
|
"product_code":"dws",
|
|
"title":"GET_ALL_TSC_INFO",
|
|
"uri":"dws_04_1057.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"427"
|
|
},
|
|
{
|
|
"desc":"Obtains the TSC information of the current node again. This view is supported only by clusters of version 8.2.1 or later.",
|
|
"product_code":"dws",
|
|
"title":"GET_TSC_INFO",
|
|
"uri":"dws_04_1058.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"428"
|
|
},
|
|
{
|
|
"desc":"GLOBAL_COLUMN_TABLE_IO_STAT provides I/O statistics of all column-store tables in the current database. The names, types, and sequences of the columns in the view are the",
|
|
"product_code":"dws",
|
|
"title":"GLOBAL_COLUMN_TABLE_IO_STAT",
|
|
"uri":"dws_04_0964.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"429"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"430"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"431"
|
|
},
|
|
{
|
|
"desc":"GLOBAL_ROW_TABLE_IO_STAT provides I/O statistics of all row-store tables in the current database. The names, types, and sequences of the columns in the view are the same ",
|
|
"product_code":"dws",
|
|
"title":"GLOBAL_ROW_TABLE_IO_STAT",
|
|
"uri":"dws_04_0965.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"432"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"433"
|
|
},
|
|
{
|
|
"desc":"GLOBAL_TABLE_CHANGE_STAT displays the changes of all tables (excluding foreign tables) in the current database. The value of each column that indicates the number of time",
|
|
"product_code":"dws",
|
|
"title":"GLOBAL_TABLE_CHANGE_STAT",
|
|
"uri":"dws_04_0963.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"434"
|
|
},
|
|
{
|
|
"desc":"GLOBAL_TABLE_STAT displays statistics about all tables (excluding foreign tables) in the current database. The values of live_tuples and dead_tuples are real-time values,",
|
|
"product_code":"dws",
|
|
"title":"GLOBAL_TABLE_STAT",
|
|
"uri":"dws_04_0962.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"435"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"436"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"437"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"438"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"439"
|
|
},
|
|
{
|
|
"desc":"GS_BLOCKLIST_QUERY is used to query job blocklist and exception information. This view is obtained by associating system catalogs GS_BLOCKLIST_QUERY and GS_WLM_SESSION_IN",
|
|
"product_code":"dws",
|
|
"title":"GS_BLOCKLIST_QUERY",
|
|
"uri":"dws_04_1202.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"440"
|
|
},
|
|
{
|
|
"desc":"GS_BLOCKLIST_SQL is used to query job blocklist and exception information. This view is obtained by associating system catalogs GS_BLOCKLIST_SQL and GS_WLM_SESSION_INFO, ",
|
|
"product_code":"dws",
|
|
"title":"GS_BLOCKLIST_SQL",
|
|
"uri":"dws_04_1246.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"441"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"442"
|
|
},
|
|
{
|
|
"desc":"GS_COLUMN_TABLE_IO_STAT displays the I/O of all column-store tables of the database on the current node. The value of each statistical column is the accumulated value sin",
|
|
"product_code":"dws",
|
|
"title":"GS_COLUMN_TABLE_IO_STAT",
|
|
"uri":"dws_04_0955.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"443"
|
|
},
|
|
{
|
|
"desc":"Collects statistics on the OBS read traffic and average read bandwidth. The statistical results are aggregated every 10 minutes. This view is supported only by clusters o",
|
|
"product_code":"dws",
|
|
"title":"GS_OBS_READ_TRAFFIC",
|
|
"uri":"dws_04_1011.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"444"
|
|
},
|
|
{
|
|
"desc":"Collects statistics on the OBS write traffic and average write bandwidth. The statistical results are aggregated every 10 minutes. This view is supported only by clusters",
|
|
"product_code":"dws",
|
|
"title":"GS_OBS_WRITE_TRAFFIC",
|
|
"uri":"dws_04_1012.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"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":"384",
|
|
"code":"446"
|
|
},
|
|
{
|
|
"desc":"GS_NODE_STAT_RESET_TIME provides the statistics reset time of the current node and returns a timestamp with the time zone.For details, see the get_node_stat_reset_time() ",
|
|
"product_code":"dws",
|
|
"title":"GS_NODE_STAT_RESET_TIME",
|
|
"uri":"dws_04_0692.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"447"
|
|
},
|
|
{
|
|
"desc":"GS_OBS_LATENCY records the average latency of OBS during the 10 minutes before logtime. The latency is estimated based on OBS operations. This view is supported only by c",
|
|
"product_code":"dws",
|
|
"title":"GS_OBS_LATENCY",
|
|
"uri":"dws_04_1203.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"448"
|
|
},
|
|
{
|
|
"desc":"Displays the running/queuing information and resource usage of ongoing queries. Only queuing and running jobs are displayed. This view can be queried only on CNs and disp",
|
|
"product_code":"dws",
|
|
"title":"GS_QUERY_MONITOR",
|
|
"uri":"dws_04_1064.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"449"
|
|
},
|
|
{
|
|
"desc":"The GS_QUERY_RESOURCE_INFO view displays the resource information about all running jobs on the current DN. This parameter is supported only by clusters of version 9.1.0 ",
|
|
"product_code":"dws",
|
|
"title":"GS_QUERY_RESOURCE_INFO",
|
|
"uri":"dws_04_1409.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"450"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"451"
|
|
},
|
|
{
|
|
"desc":"GS_RESPOOL_RUNTIME_INFO displays information about the running of jobs in all resource pools on the current CN.",
|
|
"product_code":"dws",
|
|
"title":"GS_RESPOOL_RUNTIME_INFO",
|
|
"uri":"dws_04_0976.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"452"
|
|
},
|
|
{
|
|
"desc":"GS_RESPOOL_RESOURCE_INFO displays job running information about all resource pools on a CN and the information about resource pool usage of an instance (CN/DN).On a DN, i",
|
|
"product_code":"dws",
|
|
"title":"GS_RESPOOL_RESOURCE_INFO",
|
|
"uri":"dws_04_0977.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"453"
|
|
},
|
|
{
|
|
"desc":"Displays the job running information and resource usage information of all resource pools. This view can be queried only on CNs. This view is supported only by clusters o",
|
|
"product_code":"dws",
|
|
"title":"GS_RESPOOL_MONITOR",
|
|
"uri":"dws_04_1065.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"454"
|
|
},
|
|
{
|
|
"desc":"GS_ROW_TABLE_IO_STAT displays the I/O of all row-store tables of the database on the current node. The value of each statistical column is the accumulated value since the",
|
|
"product_code":"dws",
|
|
"title":"GS_ROW_TABLE_IO_STAT",
|
|
"uri":"dws_04_0956.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"455"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"456"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"457"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"458"
|
|
},
|
|
{
|
|
"desc":"GS_STAT_DB_CU displays CU hits of each database in each node of 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":"384",
|
|
"code":"459"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"460"
|
|
},
|
|
{
|
|
"desc":"GS_TABLE_CHANGE_STAT displays the changes of all tables (excluding foreign tables) of the database on the current node. The value of each column that indicates the number",
|
|
"product_code":"dws",
|
|
"title":"GS_TABLE_CHANGE_STAT",
|
|
"uri":"dws_04_0954.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"461"
|
|
},
|
|
{
|
|
"desc":"GS_TABLE_STAT displays statistics about all tables (excluding foreign tables) of the database on the current node. The values of live_tuples and dead_tuples are real-time",
|
|
"product_code":"dws",
|
|
"title":"GS_TABLE_STAT",
|
|
"uri":"dws_04_0953.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"462"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"463"
|
|
},
|
|
{
|
|
"desc":"GS_USER_MONITOR displays all users' job running and resource usage information. This view can be queried only on CNs. This view is supported only by clusters of 8.2.1.100",
|
|
"product_code":"dws",
|
|
"title":"GS_USER_MONITOR",
|
|
"uri":"dws_04_1066.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"464"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"465"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"466"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"467"
|
|
},
|
|
{
|
|
"desc":"GS_VIEW_INVALID queries all unavailable views visible to the current user.If the basic table, function, or synonym on which the view depends is abnormal, the validtype co",
|
|
"product_code":"dws",
|
|
"title":"GS_VIEW_INVALID",
|
|
"uri":"dws_04_0717.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"468"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"469"
|
|
},
|
|
{
|
|
"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_OPERATOR_INFO",
|
|
"uri":"dws_04_0701.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"470"
|
|
},
|
|
{
|
|
"desc":"GS_WLM_OPERATOR_HISTORY displays the records of operators in jobs that have been executed by the current user on the current CN.This view is used to query data from Gauss",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_OPERATOR_HISTORY",
|
|
"uri":"dws_04_0702.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"471"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"472"
|
|
},
|
|
{
|
|
"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.g",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_SESSION_INFO",
|
|
"uri":"dws_04_0704.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"473"
|
|
},
|
|
{
|
|
"desc":"GS_WLM_SESSION_HISTORY displays load management information about a completed job executed by the current user on the current CN. The view is used to query data from Gaus",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_SESSION_HISTORY",
|
|
"uri":"dws_04_0705.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"474"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"475"
|
|
},
|
|
{
|
|
"desc":"The GS_WLM_SQL_ALLOW view displays the configured resource management SQL whitelist.The whitelist contains:Default SQL whitelist of the system.SQL whitelist specified by ",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_SQL_ALLOW",
|
|
"uri":"dws_04_0708.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"476"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"477"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"478"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"479"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"480"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"481"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"482"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"483"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"484"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"485"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"486"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"487"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"488"
|
|
},
|
|
{
|
|
"desc":"PG_COMM_QUERY_SPEED displays traffic information about all queries on a single node.",
|
|
"product_code":"dws",
|
|
"title":"PG_COMM_QUERY_SPEED",
|
|
"uri":"dws_04_0978.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"489"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"490"
|
|
},
|
|
{
|
|
"desc":"PG_CURSORS displays available cursors.",
|
|
"product_code":"dws",
|
|
"title":"PG_CURSORS",
|
|
"uri":"dws_04_0727.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"491"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"492"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"493"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"494"
|
|
},
|
|
{
|
|
"desc":"This view displays information about sessions of resources occupied by global temporary tables on the current node. This view is supported only by clusters of 8.2.1.220 a",
|
|
"product_code":"dws",
|
|
"title":"PG_GLOBAL_TEMP_ATTACHED_PIDS",
|
|
"uri":"dws_04_1055.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"495"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"496"
|
|
},
|
|
{
|
|
"desc":"PG_INDEXES displays access to useful information about each index in the database.Query the index information about a specified table.Query information about indexes of a",
|
|
"product_code":"dws",
|
|
"title":"PG_INDEXES",
|
|
"uri":"dws_04_0732.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"497"
|
|
},
|
|
{
|
|
"desc":"PG_JOB displays detailed information about scheduled tasks created by users.The PG_JOB view replaces the PG_JOB system catalog in earlier versions and provides forward co",
|
|
"product_code":"dws",
|
|
"title":"PG_JOB",
|
|
"uri":"dws_04_0733.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"498"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"499"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"500"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"501"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"502"
|
|
},
|
|
{
|
|
"desc":"PG_LWLOCKS provides information on lightweight locks currently held or being waited for by the current instance. This view is supported only by 9.1.0.200 and later cluste",
|
|
"product_code":"dws",
|
|
"title":"PG_LWLOCKS",
|
|
"uri":"dws_04_1411.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"503"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"504"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"505"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"506"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"507"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"508"
|
|
},
|
|
{
|
|
"desc":"PG_PUBLICATION_TABLES displays the mapping between a publication and its published tables. Unlike the underlying system catalog PG_PUBLICATION_REL, this view expands the ",
|
|
"product_code":"dws",
|
|
"title":"PG_PUBLICATION_TABLES",
|
|
"uri":"dws_04_1045.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"509"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"510"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"511"
|
|
},
|
|
{
|
|
"desc":"PG_ROLES displays information about database roles.",
|
|
"product_code":"dws",
|
|
"title":"PG_ROLES",
|
|
"uri":"dws_04_0745.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"512"
|
|
},
|
|
{
|
|
"desc":"PG_RULES displays information about rewrite rules.",
|
|
"product_code":"dws",
|
|
"title":"PG_RULES",
|
|
"uri":"dws_04_0746.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"513"
|
|
},
|
|
{
|
|
"desc":"PG_RUNNING_XACTS displays information about running transactions on the current node.",
|
|
"product_code":"dws",
|
|
"title":"PG_RUNNING_XACTS",
|
|
"uri":"dws_04_0747.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"514"
|
|
},
|
|
{
|
|
"desc":"PG_SECLABELS displays information about security labels.",
|
|
"product_code":"dws",
|
|
"title":"PG_SECLABELS",
|
|
"uri":"dws_04_0748.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"515"
|
|
},
|
|
{
|
|
"desc":"PG_SEQUENCES displays the sequence attributes on which the current user has permissions. This view is supported only by clusters of version 9.1.0 or later.",
|
|
"product_code":"dws",
|
|
"title":"PG_SEQUENCES",
|
|
"uri":"dws_04_1109.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"516"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"517"
|
|
},
|
|
{
|
|
"desc":"PG_SESSION_IOSTAT has been discarded in version 8.1.2 and is reserved for compatibility with earlier versions. This view is invalid in the current version. You can use PG",
|
|
"product_code":"dws",
|
|
"title":"PG_SESSION_IOSTAT",
|
|
"uri":"dws_04_0750.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"518"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"519"
|
|
},
|
|
{
|
|
"desc":"PG_SHADOW displays properties of all roles that are marked as rolcanlogin in PG_AUTHID.This view is not readable to all users because it contains passwords. PG_USER is a ",
|
|
"product_code":"dws",
|
|
"title":"PG_SHADOW",
|
|
"uri":"dws_04_0752.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"520"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"521"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"522"
|
|
},
|
|
{
|
|
"desc":"PG_STAT_ACTIVITY displays information about the current user's queries. If you have the rights of an administrator or the preset role, you can view all information about ",
|
|
"product_code":"dws",
|
|
"title":"PG_STAT_ACTIVITY",
|
|
"uri":"dws_04_0755.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"523"
|
|
},
|
|
{
|
|
"desc":"PG_STAT_ALL_INDEXES displays statistics about all accesses to a specific index in the current database.Indexes can be used via either simple index scans or \"bitmap\" index",
|
|
"product_code":"dws",
|
|
"title":"PG_STAT_ALL_INDEXES",
|
|
"uri":"dws_04_0757.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"524"
|
|
},
|
|
{
|
|
"desc":"PG_STAT_ALL_TABLES displays statistics about accesses to tables in the current database, including TOAST tables.Query the last data change time in the table_test table:",
|
|
"product_code":"dws",
|
|
"title":"PG_STAT_ALL_TABLES",
|
|
"uri":"dws_04_0758.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"525"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"526"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"527"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"528"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"529"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"530"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"531"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"532"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"533"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"534"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"535"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"536"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"537"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"538"
|
|
},
|
|
{
|
|
"desc":"PG_STAT_XACT_USER_FUNCTIONS displays statistics about function execution.",
|
|
"product_code":"dws",
|
|
"title":"PG_STAT_XACT_USER_FUNCTIONS",
|
|
"uri":"dws_04_0772.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"539"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"540"
|
|
},
|
|
{
|
|
"desc":"PG_STATIO_ALL_INDEXES displays I/O statistics of all indexes in the current database.",
|
|
"product_code":"dws",
|
|
"title":"PG_STATIO_ALL_INDEXES",
|
|
"uri":"dws_04_0774.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"541"
|
|
},
|
|
{
|
|
"desc":"PG_STATIO_ALL_SEQUENCES displays the sequence information in the current database and the I/O statistics of a specified sequence.",
|
|
"product_code":"dws",
|
|
"title":"PG_STATIO_ALL_SEQUENCES",
|
|
"uri":"dws_04_0775.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"542"
|
|
},
|
|
{
|
|
"desc":"PG_STATIO_ALL_TABLES displays I/O statistics about all tables (including TOAST tables) in the current database.",
|
|
"product_code":"dws",
|
|
"title":"PG_STATIO_ALL_TABLES",
|
|
"uri":"dws_04_0776.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"543"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"544"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"545"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"546"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"547"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"548"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"549"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"550"
|
|
},
|
|
{
|
|
"desc":"PG_TABLES displays access to each table in the database.Query all tables in a specified schema.",
|
|
"product_code":"dws",
|
|
"title":"PG_TABLES",
|
|
"uri":"dws_04_0784.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"551"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"552"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"553"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"554"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"555"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"556"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"557"
|
|
},
|
|
{
|
|
"desc":"PG_USER displays information about users who can access the database.Query the current database user list.",
|
|
"product_code":"dws",
|
|
"title":"PG_USER",
|
|
"uri":"dws_04_0791.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"558"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"559"
|
|
},
|
|
{
|
|
"desc":"PG_VIEWS displays basic information about each view in the database.Query all the views in a specified schema.",
|
|
"product_code":"dws",
|
|
"title":"PG_VIEWS",
|
|
"uri":"dws_04_0793.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"560"
|
|
},
|
|
{
|
|
"desc":"PG_WLM_STATISTICS displays information about workload management after the task is complete or the exception has been handled. This view has been discarded in 8.1.2. You ",
|
|
"product_code":"dws",
|
|
"title":"PG_WLM_STATISTICS",
|
|
"uri":"dws_04_0794.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"561"
|
|
},
|
|
{
|
|
"desc":"PGXC_AIO_RESOURCE_POOL_STATS queries the status of the asynchronous I/O resource pool usage for all nodes in the cluster. This includes the node name, the name of the asy",
|
|
"product_code":"dws",
|
|
"title":"PGXC_AIO_RESOURCE_POOL_STATS",
|
|
"uri":"dws_04_0017.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"562"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"563"
|
|
},
|
|
{
|
|
"desc":"By querying the PGXC_BULKLOAD_INFO view on CNs, you can obtain historical statistics information for interconnection, GDS, COPY, and \\COPY business executions after they ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_BULKLOAD_INFO",
|
|
"uri":"dws_04_1098.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"564"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"565"
|
|
},
|
|
{
|
|
"desc":"PGXC_COLUMN_TABLE_IO_STAT provides I/O statistics of all column-store tables of the database on all CNs and DNs in the cluster. Except the nodename column of the name typ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_COLUMN_TABLE_IO_STAT",
|
|
"uri":"dws_04_0960.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"566"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"567"
|
|
},
|
|
{
|
|
"desc":"PGXC_COMM_DELAY 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":"384",
|
|
"code":"568"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"569"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"570"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"571"
|
|
},
|
|
{
|
|
"desc":"PGXC_COMM_QUERY_SPEED displays traffic information about all queries on all nodes.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_COMM_QUERY_SPEED",
|
|
"uri":"dws_04_0979.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"572"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"573"
|
|
},
|
|
{
|
|
"desc":"PGXC_DISK_CACHE_STATS records the usage of file cache. This system view is supported only by clusters of version 9.1.0 or later.Query the hit rate of disk cache on each n",
|
|
"product_code":"dws",
|
|
"title":"PGXC_DISK_CACHE_STATS",
|
|
"uri":"dws_04_1232.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"574"
|
|
},
|
|
{
|
|
"desc":"PGXC_DISK_CACHE_ALL_STATS records all usage of file cache. This system view is supported only by clusters of version 9.1.0 or later.Query the number of file descriptors u",
|
|
"product_code":"dws",
|
|
"title":"PGXC_DISK_CACHE_ALL_STATS",
|
|
"uri":"dws_04_1234.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"575"
|
|
},
|
|
{
|
|
"desc":"PGXC_DISK_CACHE_PATH_INFO records information about the hard disk where the file cache is stored. This system view is supported only by clusters of version 9.1.0 or later",
|
|
"product_code":"dws",
|
|
"title":"PGXC_DISK_CACHE_PATH_INFO",
|
|
"uri":"dws_04_1233.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"576"
|
|
},
|
|
{
|
|
"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 on a",
|
|
"product_code":"dws",
|
|
"title":"PGXC_GET_STAT_ALL_TABLES",
|
|
"uri":"dws_04_0803.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"577"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"578"
|
|
},
|
|
{
|
|
"desc":"PGXC_GET_TABLE_SKEWNESS displays the data skew on tables in the current database. Only the system administrator or the preset role gs_role_read_all_stats can access this ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_GET_TABLE_SKEWNESS",
|
|
"uri":"dws_04_0805.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"579"
|
|
},
|
|
{
|
|
"desc":"This view displays information about sessions of resources occupied by global temporary tables on CNs. This view is supported only by clusters of 8.2.1.220 and later vers",
|
|
"product_code":"dws",
|
|
"title":"PGXC_GLOBAL_TEMP_ATTACHED_PIDS",
|
|
"uri":"dws_04_1056.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"580"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"581"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"582"
|
|
},
|
|
{
|
|
"desc":"PGXC_LOCKWAIT_DETAIL displays detailed information about the lock wait hierarchy on each node in a cluster. If a node has multiple lock wait levels, the entire lock waiti",
|
|
"product_code":"dws",
|
|
"title":"PGXC_LOCKWAIT_DETAIL",
|
|
"uri":"dws_04_1004.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"583"
|
|
},
|
|
{
|
|
"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. The columns in this v",
|
|
"product_code":"dws",
|
|
"title":"PGXC_INSTR_UNIQUE_SQL",
|
|
"uri":"dws_04_0808.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"584"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"585"
|
|
},
|
|
{
|
|
"desc":"PGXC_LWLOCK offers details on lightweight locks that are currently held or being waited for by all instances in the cluster. This view is supported only by 9.1.0.200 and ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_LWLOCKS",
|
|
"uri":"dws_04_1412.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"586"
|
|
},
|
|
{
|
|
"desc":"PGXC_MEMORY_DEBUG_INFO displays memory error information for each node in the current cluster when executing jobs, making it easy to locate memory error issues. When an e",
|
|
"product_code":"dws",
|
|
"title":"PGXC_MEMORY_DEBUG_INFO",
|
|
"uri":"dws_04_1106.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"587"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"588"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"589"
|
|
},
|
|
{
|
|
"desc":"PGXC_OBS_IO_SCHEDULER_STATS displays the latest real-time statistics about read/write requests of the OBS I/O Scheduler. This system view is supported only by clusters of",
|
|
"product_code":"dws",
|
|
"title":"PGXC_OBS_IO_SCHEDULER_STATS",
|
|
"uri":"dws_04_1235.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"590"
|
|
},
|
|
{
|
|
"desc":"PGXC_OBS_IO_SCHEDULER_PERIODIC_STATS provides statistics on the number of requests and flow control information for different types of OBS I/O Scheduler requests, includi",
|
|
"product_code":"dws",
|
|
"title":"PGXC_OBS_IO_SCHEDULER_PERIODIC_STATS",
|
|
"uri":"dws_04_1236.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"591"
|
|
},
|
|
{
|
|
"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. Only the syste",
|
|
"product_code":"dws",
|
|
"title":"PGXC_OS_RUN_INFO",
|
|
"uri":"dws_04_0812.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"592"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"593"
|
|
},
|
|
{
|
|
"desc":"PGXC_POOLER_STATUS displays the pooler cache connection status of each CN in the current cluster. This view can be queried only on CNs to display the connection cache inf",
|
|
"product_code":"dws",
|
|
"title":"PGXC_POOLER_STATUS",
|
|
"uri":"dws_04_1077.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"594"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"595"
|
|
},
|
|
{
|
|
"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. Only the sys",
|
|
"product_code":"dws",
|
|
"title":"PGXC_REDO_STAT",
|
|
"uri":"dws_04_0815.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"596"
|
|
},
|
|
{
|
|
"desc":"PGXC_REL_IOSTAT displays disk read/write statistics on each node in the cluster. This view is accessible only to users with system administrators rights.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_REL_IOSTAT",
|
|
"uri":"dws_04_0816.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"597"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"598"
|
|
},
|
|
{
|
|
"desc":"PGXC_RESPOOL_RUNTIME_INFO displays the running information about all resource pool jobs on all CNs.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_RESPOOL_RUNTIME_INFO",
|
|
"uri":"dws_04_0980.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"599"
|
|
},
|
|
{
|
|
"desc":"PGXC_RESPOOL_RESOURCE_INFO displays the real-time monitoring information about the resource pools on all instances.On a DN, it only displays the monitoring information of",
|
|
"product_code":"dws",
|
|
"title":"PGXC_RESPOOL_RESOURCE_INFO",
|
|
"uri":"dws_04_0981.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"600"
|
|
},
|
|
{
|
|
"desc":"PGXC_RESPOOL_RESOURCE_HISTORY is used to query historical monitoring information about resource pools on all instances.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_RESPOOL_RESOURCE_HISTORY",
|
|
"uri":"dws_04_0982.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"601"
|
|
},
|
|
{
|
|
"desc":"PGXC_ROW_TABLE_IO_STAT provides I/O statistics of all row-store tables of the database on all CNs and DNs in the cluster. Except the nodename column of the name type adde",
|
|
"product_code":"dws",
|
|
"title":"PGXC_ROW_TABLE_IO_STAT",
|
|
"uri":"dws_04_0961.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"602"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"603"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"604"
|
|
},
|
|
{
|
|
"desc":"PGXC_SESSION_WLMSTAT displays load management information about ongoing jobs executed on each CN in the current cluster.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_SESSION_WLMSTAT",
|
|
"uri":"dws_04_0983.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"605"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"606"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"607"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"608"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"609"
|
|
},
|
|
{
|
|
"desc":"PGXC_STAT_OBJECT displays statistics and autovacuum efficiency information about tables of all instances in a cluster. This system view is supported only by clusters of v",
|
|
"product_code":"dws",
|
|
"title":"PGXC_STAT_OBJECT",
|
|
"uri":"dws_04_1063.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"610"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"611"
|
|
},
|
|
{
|
|
"desc":"PGXC_STAT_TABLE_DIRTY displays statistics about all the tables on all the CNs and DNs in the current cluster, and the dirty page rate of tables on a single CN or DN. This",
|
|
"product_code":"dws",
|
|
"title":"PGXC_STAT_TABLE_DIRTY",
|
|
"uri":"dws_04_1046.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"612"
|
|
},
|
|
{
|
|
"desc":"PGXC_STAT_WAL displays the WAL logs and data page traffic information of the current query. This view is supported only by clusters 8.2.0 and later versions.When row-stor",
|
|
"product_code":"dws",
|
|
"title":"PGXC_STAT_WAL",
|
|
"uri":"dws_04_1022.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"613"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"614"
|
|
},
|
|
{
|
|
"desc":"PGXC_TABLE_CHANGE_STAT displays the changes of all tables of the database on all CNs in the cluster. Except the nodename column of the name type added in front of each ro",
|
|
"product_code":"dws",
|
|
"title":"PGXC_TABLE_CHANGE_STAT",
|
|
"uri":"dws_04_0959.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"615"
|
|
},
|
|
{
|
|
"desc":"PGXC_TABLE_STAT provides statistics of all tables of the database on all CNs and DNs in the cluster. Except the nodename column of the name type added in front of each ro",
|
|
"product_code":"dws",
|
|
"title":"PGXC_TABLE_STAT",
|
|
"uri":"dws_04_0957.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"616"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"617"
|
|
},
|
|
{
|
|
"desc":"PGXC_TOTAL_MEMORY_DETAIL displays the memory usage in the cluster. Only the system administrator or the preset role gs_role_read_all_stats can access this view.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_TOTAL_MEMORY_DETAIL",
|
|
"uri":"dws_04_0827.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"618"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"619"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"620"
|
|
},
|
|
{
|
|
"desc":"The PGXC_TOTAL_USER_RESOURCE_INFO view displays real-time resource consumption information of users on all instances. This view is supported only by clusters of version 8",
|
|
"product_code":"dws",
|
|
"title":"PGXC_TOTAL_USER_RESOURCE_INFO",
|
|
"uri":"dws_04_1020.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"621"
|
|
},
|
|
{
|
|
"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 if",
|
|
"product_code":"dws",
|
|
"title":"PGXC_USER_TRANSACTION",
|
|
"uri":"dws_04_0830.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"622"
|
|
},
|
|
{
|
|
"desc":"PGXC_VARIABLE_INFO displays information about XIDs 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":"384",
|
|
"code":"623"
|
|
},
|
|
{
|
|
"desc":"PGXC_WAIT_DETAIL displays detailed information about the SQL waiting hierarchy of all nodes in a cluster. This view is supported only by clusters of version 8.1.3.200 or ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WAIT_DETAIL",
|
|
"uri":"dws_04_1005.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"624"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"625"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_OPERATOR_HISTORY displays operator information when a job is finished on all CNs. This view is used to query data from GaussDB(DWS), and the data in the database",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_OPERATOR_HISTORY",
|
|
"uri":"dws_04_0836.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"626"
|
|
},
|
|
{
|
|
"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.Only the system ad",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_OPERATOR_INFO",
|
|
"uri":"dws_04_0837.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"627"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_OPERATOR_STATISTICS displays the operator information of jobs being executed on CNs. The system administrator can query job operator information of all users in ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_OPERATOR_STATISTICS",
|
|
"uri":"dws_04_0838.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"628"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_SESSION_INFO displays load management information for completed jobs executed on all CNs. The view information comes from the GS_WLM_SESSION_INFO system catalog.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_SESSION_INFO",
|
|
"uri":"dws_04_0839.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"629"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_SESSION_HISTORY displays load management records after job execution on all CNs. This view is used to query data from GaussDB(DWS), and the data in the database ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_SESSION_HISTORY",
|
|
"uri":"dws_04_0840.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"630"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_SESSION_STATISTICS displays load management information about jobs that are being executed on CNs.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_SESSION_STATISTICS",
|
|
"uri":"dws_04_0841.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"631"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_TABLE_DISTRIBUTION_SKEWNESS displays data skews of tables in the current database. You can quickly query the storage space skew of all tables in the current data",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_TABLE_DISTRIBUTION_SKEWNESS",
|
|
"uri":"dws_04_1008.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"632"
|
|
},
|
|
{
|
|
"desc":"The PGXC_WLM_USER_RESOURCE_HISTORY view displays historical information about resource consumption of all users on the corresponding instances. This view is supported onl",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_USER_RESOURCE_HISTORY",
|
|
"uri":"dws_04_1021.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"633"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_WORKLOAD_RECORDS displays the status of job executed by the current user on CNs. Only the system administrator or the preset role gs_role_read_all_stats can acce",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_WORKLOAD_RECORDS",
|
|
"uri":"dws_04_0842.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"634"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"635"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"636"
|
|
},
|
|
{
|
|
"desc":"PGXC_WORKLOAD_TRANSACTION provides transaction information about workload cgroups on all CNs. Only the system administrator or the preset role gs_role_read_all_stats can ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WORKLOAD_TRANSACTION",
|
|
"uri":"dws_04_0845.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"637"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"638"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"639"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"640"
|
|
},
|
|
{
|
|
"desc":"PV_MATVIEW_DETAIL displays detailed information about a materialized view. This view is supported only by clusters of version 9.1.0 200 or later.",
|
|
"product_code":"dws",
|
|
"title":"PV_MATVIEW_DETAIL",
|
|
"uri":"dws_04_1123.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"641"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"642"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"643"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"644"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"645"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"646"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"647"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"648"
|
|
},
|
|
{
|
|
"desc":"PV_RUNTIME_ATTSTATS displays table-level statistics in the memory generated by autoanalyze. The descriptions of the columns in PV_RUNTIME_RELSTATS are the same as those i",
|
|
"product_code":"dws",
|
|
"title":"PV_RUNTIME_ATTSTATS",
|
|
"uri":"dws_04_1207.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"649"
|
|
},
|
|
{
|
|
"desc":"PV_RUNTIME_RELSTATS displays table-level statistics in the memory generated by autoanalyze. The descriptions of the columns in PV_RUNTIME_RELSTATS are the same as those i",
|
|
"product_code":"dws",
|
|
"title":"PV_RUNTIME_RELSTATS",
|
|
"uri":"dws_04_0999.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"650"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"651"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"652"
|
|
},
|
|
{
|
|
"desc":"REMOTE_TABLE_STAT provides statistics of all tables of the database on all DNs in the cluster. Except the nodename column of the name type added in front of each row, the",
|
|
"product_code":"dws",
|
|
"title":"REMOTE_TABLE_STAT",
|
|
"uri":"dws_04_0958.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"653"
|
|
},
|
|
{
|
|
"desc":"Queries TSC information about the current node. This view is supported only by clusters of version 8.2.1 or later.",
|
|
"product_code":"dws",
|
|
"title":"SHOW_TSC_INFO",
|
|
"uri":"dws_04_1059.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"654"
|
|
},
|
|
{
|
|
"desc":"Queries TSC information about all nodes. This view is supported only by clusters of version 8.2.1 or later.",
|
|
"product_code":"dws",
|
|
"title":"SHOW_ALL_TSC_INFO",
|
|
"uri":"dws_04_1060.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"655"
|
|
},
|
|
{
|
|
"desc":"USER_COL_COMMENTS stores the column comments of the tables and views that the current user can access.",
|
|
"product_code":"dws",
|
|
"title":"USER_COL_COMMENTS",
|
|
"uri":"dws_04_0859.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"656"
|
|
},
|
|
{
|
|
"desc":"USER_CONSTRAINTS displays the table constraint information accessible to the current user.Query constraints on a specified table of the current user. Replace t1 with the ",
|
|
"product_code":"dws",
|
|
"title":"USER_CONSTRAINTS",
|
|
"uri":"dws_04_0860.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"657"
|
|
},
|
|
{
|
|
"desc":"USER_CONS_COLUMNS displays the information about constraint columns in the tables accessible to the current user.",
|
|
"product_code":"dws",
|
|
"title":"USER_CONS_COLUMNS",
|
|
"uri":"dws_04_0861.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"658"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"659"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"660"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"661"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"662"
|
|
},
|
|
{
|
|
"desc":"USER_JOBS displays all scheduled jobs owned by the current user. This view is accessible only to users with system administrator rights.",
|
|
"product_code":"dws",
|
|
"title":"USER_JOBS",
|
|
"uri":"dws_04_0866.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"663"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"664"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"665"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"666"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"667"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"668"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"669"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"670"
|
|
},
|
|
{
|
|
"desc":"USER_TAB_COLUMNS stores information about columns of the tables and views that the current user can access.",
|
|
"product_code":"dws",
|
|
"title":"USER_TAB_COLUMNS",
|
|
"uri":"dws_04_0874.html",
|
|
"doc_type":"devg",
|
|
"p_code":"384",
|
|
"code":"671"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"672"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"673"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"674"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"675"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"676"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"677"
|
|
},
|
|
{
|
|
"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":"384",
|
|
"code":"678"
|
|
},
|
|
{
|
|
"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 of the GaussDB(DWS) Database",
|
|
"uri":"dws_04_0883.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"679"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"680"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"681"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"682"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"683"
|
|
},
|
|
{
|
|
"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":"683",
|
|
"code":"684"
|
|
},
|
|
{
|
|
"desc":"This section describes parameters about how to securely authenticate the client and server.Parameter description: Specifies the maximum idle time without any operations a",
|
|
"product_code":"dws",
|
|
"title":"Security and Authentication (postgresql.conf)",
|
|
"uri":"dws_04_0890.html",
|
|
"doc_type":"devg",
|
|
"p_code":"683",
|
|
"code":"685"
|
|
},
|
|
{
|
|
"desc":"This section describes parameter settings and value ranges for communication libraries.Parameter description: Specifies the interval between keepalive signal sending in a",
|
|
"product_code":"dws",
|
|
"title":"Communication Library Parameters",
|
|
"uri":"dws_04_0891.html",
|
|
"doc_type":"devg",
|
|
"p_code":"683",
|
|
"code":"686"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"687"
|
|
},
|
|
{
|
|
"desc":"This section describes memory parameters.Parameters described in this section take effect only after the database service restarts.Parameter description: Specifies the ma",
|
|
"product_code":"dws",
|
|
"title":"Memory",
|
|
"uri":"dws_04_0893.html",
|
|
"doc_type":"devg",
|
|
"p_code":"687",
|
|
"code":"688"
|
|
},
|
|
{
|
|
"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":"687",
|
|
"code":"689"
|
|
},
|
|
{
|
|
"desc":"This section describes kernel resource parameters. Whether these parameters take effect depends on OS settings.Parameter description: Specifies the maximum number of file",
|
|
"product_code":"dws",
|
|
"title":"Kernel Resources",
|
|
"uri":"dws_04_0895.html",
|
|
"doc_type":"devg",
|
|
"p_code":"687",
|
|
"code":"690"
|
|
},
|
|
{
|
|
"desc":"The purpose of cost-based vacuum delay is to allow administrators to reduce the I/O impact of VACUUM and ANALYZE statements on concurrently active databases. For example,",
|
|
"product_code":"dws",
|
|
"title":"Cost-based Vacuum Delay",
|
|
"uri":"dws_04_0896.html",
|
|
"doc_type":"devg",
|
|
"p_code":"687",
|
|
"code":"691"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies whether to enable logging related to ADIO, which helps to locate ADIO-related issues. General users are not advised to set this O&M param",
|
|
"product_code":"dws",
|
|
"title":"Asynchronous I/O Operations",
|
|
"uri":"dws_04_0898.html",
|
|
"doc_type":"devg",
|
|
"p_code":"687",
|
|
"code":"692"
|
|
},
|
|
{
|
|
"desc":"The following parameters are supported only by clusters of version 9.1.0 or later.Parameter description: Specifies whether to enable file caching. Setting this parameter ",
|
|
"product_code":"dws",
|
|
"title":"Disk Caching",
|
|
"uri":"dws_04_1237.html",
|
|
"doc_type":"devg",
|
|
"p_code":"687",
|
|
"code":"693"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"694"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"695"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies the synchronization mode of the current transaction.Type: USERSETValue range: enumerated valueson indicates synchronization logs of a sta",
|
|
"product_code":"dws",
|
|
"title":"Settings",
|
|
"uri":"dws_04_0901.html",
|
|
"doc_type":"devg",
|
|
"p_code":"695",
|
|
"code":"696"
|
|
},
|
|
{
|
|
"desc":"Parameter description: minimum number of WAL segment files in the period specified by checkpoint_timeout. The size of each log file is 16 MB.Type: SIGHUPValue range: an i",
|
|
"product_code":"dws",
|
|
"title":"Checkpoints",
|
|
"uri":"dws_04_0902.html",
|
|
"doc_type":"devg",
|
|
"p_code":"695",
|
|
"code":"697"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"698"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies the data synchronization mode between the primary and standby servers when data is imported to row-store tables in a database.Type: USERS",
|
|
"product_code":"dws",
|
|
"title":"Primary Server",
|
|
"uri":"dws_04_0906.html",
|
|
"doc_type":"devg",
|
|
"p_code":"698",
|
|
"code":"699"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"700"
|
|
},
|
|
{
|
|
"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":"700",
|
|
"code":"701"
|
|
},
|
|
{
|
|
"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":"700",
|
|
"code":"702"
|
|
},
|
|
{
|
|
"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":"700",
|
|
"code":"703"
|
|
},
|
|
{
|
|
"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":"700",
|
|
"code":"704"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"705"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies the length of SQL statements to be printed. If the length of an SQL statement exceeds the specified value, the SQL statement is recorded ",
|
|
"product_code":"dws",
|
|
"title":"Logging Destination",
|
|
"uri":"dws_04_0914.html",
|
|
"doc_type":"devg",
|
|
"p_code":"705",
|
|
"code":"706"
|
|
},
|
|
{
|
|
"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":"705",
|
|
"code":"707"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies the logs produced by debug_print_parse, debug_print_rewritten, and debug_print_plan. The output format is more readable but much longer t",
|
|
"product_code":"dws",
|
|
"title":"Logging Content",
|
|
"uri":"dws_04_0916.html",
|
|
"doc_type":"devg",
|
|
"p_code":"705",
|
|
"code":"708"
|
|
},
|
|
{
|
|
"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":"Runtime Statistics",
|
|
"uri":"dws_04_0919.html",
|
|
"doc_type":"devg",
|
|
"p_code":"679",
|
|
"code":"709"
|
|
},
|
|
{
|
|
"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":"709",
|
|
"code":"710"
|
|
},
|
|
{
|
|
"desc":"During database operation, accessing locks, disk I/O operations, and handling invalid messages can all be performance bottlenecks for the database. GaussDB(DWS) provides ",
|
|
"product_code":"dws",
|
|
"title":"Performance Statistics",
|
|
"uri":"dws_04_0921.html",
|
|
"doc_type":"devg",
|
|
"p_code":"709",
|
|
"code":"711"
|
|
},
|
|
{
|
|
"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":"Resource Management",
|
|
"uri":"dws_04_0922.html",
|
|
"doc_type":"devg",
|
|
"p_code":"679",
|
|
"code":"712"
|
|
},
|
|
{
|
|
"desc":"The automatic cleanup process in the system automatically runs the VACUUM and ANALYZE statements to reclaim the record space marked as deleted and update statistics in th",
|
|
"product_code":"dws",
|
|
"title":"Automatic Cleanup",
|
|
"uri":"dws_04_0923.html",
|
|
"doc_type":"devg",
|
|
"p_code":"679",
|
|
"code":"713"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"714"
|
|
},
|
|
{
|
|
"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":"714",
|
|
"code":"715"
|
|
},
|
|
{
|
|
"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":"714",
|
|
"code":"716"
|
|
},
|
|
{
|
|
"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":"714",
|
|
"code":"717"
|
|
},
|
|
{
|
|
"desc":"In GaussDB(DWS), concurrent transactions may cause single-node deadlocks or distributed deadlocks due to resource competition. This section describes parameters used for ",
|
|
"product_code":"dws",
|
|
"title":"Lock Management",
|
|
"uri":"dws_04_0928.html",
|
|
"doc_type":"devg",
|
|
"p_code":"679",
|
|
"code":"718"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"719"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) provides parameter controls for the downward compatibility and external compatibility features of the database. The backward compatibility of the database sy",
|
|
"product_code":"dws",
|
|
"title":"Compatibility with Earlier Versions",
|
|
"uri":"dws_04_0930.html",
|
|
"doc_type":"devg",
|
|
"p_code":"719",
|
|
"code":"720"
|
|
},
|
|
{
|
|
"desc":"Database systems are widely used across many platforms, and their external compatibility offers a great deal of convenience.Parameter description: Determines whether expr",
|
|
"product_code":"dws",
|
|
"title":"Platform and Client Compatibility",
|
|
"uri":"dws_04_0931.html",
|
|
"doc_type":"devg",
|
|
"p_code":"719",
|
|
"code":"721"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"722"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"723"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"724"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"725"
|
|
},
|
|
{
|
|
"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":"679",
|
|
"code":"726"
|
|
},
|
|
{
|
|
"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":"726",
|
|
"code":"727"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies whether grant_to_public,grant_with_grant_option, and foreign_table_options can be used in security mode. (This parameter is supported onl",
|
|
"product_code":"dws",
|
|
"title":"Operation Audit",
|
|
"uri":"dws_04_0940.html",
|
|
"doc_type":"devg",
|
|
"p_code":"726",
|
|
"code":"728"
|
|
},
|
|
{
|
|
"desc":"By setting transaction timeout alerts, you can monitor transactions that are automatically rolled back and identify statement issues, as well as monitor statements that t",
|
|
"product_code":"dws",
|
|
"title":"Transaction Monitoring",
|
|
"uri":"dws_04_0941.html",
|
|
"doc_type":"devg",
|
|
"p_code":"679",
|
|
"code":"729"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies which level of messages will be written into server logs. Each level covers all the levels following it. The lower the level is, the fewe",
|
|
"product_code":"dws",
|
|
"title":"GTM Parameters",
|
|
"uri":"dws_04_0943.html",
|
|
"doc_type":"devg",
|
|
"p_code":"679",
|
|
"code":"730"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Indicates whether the current session is for scaling or redistributing data. It should only be used for these specific sessions and not set for oth",
|
|
"product_code":"dws",
|
|
"title":"Miscellaneous Parameters",
|
|
"uri":"dws_04_0945.html",
|
|
"doc_type":"devg",
|
|
"p_code":"679",
|
|
"code":"731"
|
|
},
|
|
{
|
|
"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":"GaussDB(DWS) Developer Terms",
|
|
"uri":"dws_04_0946.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"732"
|
|
},
|
|
{
|
|
"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":"Hybrid Data Warehouse",
|
|
"uri":"dws_04_1023.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"733"
|
|
},
|
|
{
|
|
"desc":"A hybrid data warehouse needs to work with data sources, such as upstream databases or applications, to insert, upsert, and update data in real time. The data warehouse s",
|
|
"product_code":"dws",
|
|
"title":"Introduction to Hybrid Data Warehouse",
|
|
"uri":"dws_04_1024.html",
|
|
"doc_type":"devg",
|
|
"p_code":"733",
|
|
"code":"734"
|
|
},
|
|
{
|
|
"desc":"A hybrid data warehouse is compatible with all column-store syntax.To use HStore tables, use the following parameter settings, or the performance of HStore tables will de",
|
|
"product_code":"dws",
|
|
"title":"Support and Constraints",
|
|
"uri":"dws_04_1025.html",
|
|
"doc_type":"devg",
|
|
"p_code":"733",
|
|
"code":"735"
|
|
},
|
|
{
|
|
"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":"Hybrid Data Warehouse Syntax",
|
|
"uri":"dws_04_1026.html",
|
|
"doc_type":"devg",
|
|
"p_code":"733",
|
|
"code":"736"
|
|
},
|
|
{
|
|
"desc":"Create an HStore table in the current database. The table will be owned by the user who created it.In a hybrid data warehouse, you can use DDL statements to create HStore",
|
|
"product_code":"dws",
|
|
"title":"CREATE TABLE",
|
|
"uri":"dws_04_1029.html",
|
|
"doc_type":"devg",
|
|
"p_code":"736",
|
|
"code":"737"
|
|
},
|
|
{
|
|
"desc":"Insert one or more rows of data into an HStore table.If the data to be inserted at a time is greater than or equal to the value of the table-level parameter DELTAROW_THRE",
|
|
"product_code":"dws",
|
|
"title":"INSERT",
|
|
"uri":"dws_04_1030.html",
|
|
"doc_type":"devg",
|
|
"p_code":"736",
|
|
"code":"738"
|
|
},
|
|
{
|
|
"desc":"Delete data from an HStore table.To delete all the data from a table, you are advised to use the TRUNCATE syntax to improve performance and reduce table bloating.If a sin",
|
|
"product_code":"dws",
|
|
"title":"DELETE",
|
|
"uri":"dws_04_1031.html",
|
|
"doc_type":"devg",
|
|
"p_code":"736",
|
|
"code":"739"
|
|
},
|
|
{
|
|
"desc":"Update specified data in an HStore table.Similar to column storage, the UPDATE operation on an HStore table in the current version involves DELETE and INSERT. You can con",
|
|
"product_code":"dws",
|
|
"title":"UPDATE",
|
|
"uri":"dws_04_1032.html",
|
|
"doc_type":"devg",
|
|
"p_code":"736",
|
|
"code":"740"
|
|
},
|
|
{
|
|
"desc":"HStore is compatible with the UPSERT syntax. You can add one or more rows to a table. When a row duplicates an existing primary key or unique key value, the row will be i",
|
|
"product_code":"dws",
|
|
"title":"UPSERT",
|
|
"uri":"dws_04_1033.html",
|
|
"doc_type":"devg",
|
|
"p_code":"736",
|
|
"code":"741"
|
|
},
|
|
{
|
|
"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_04_1034.html",
|
|
"doc_type":"devg",
|
|
"p_code":"736",
|
|
"code":"742"
|
|
},
|
|
{
|
|
"desc":"Read data from an HStore table.Currently, neither column-store tables and HStore tables support the SELECT FOR UPDATE syntax.When a SELECT query is performed on an HStore",
|
|
"product_code":"dws",
|
|
"title":"SELECT",
|
|
"uri":"dws_04_1035.html",
|
|
"doc_type":"devg",
|
|
"p_code":"736",
|
|
"code":"743"
|
|
},
|
|
{
|
|
"desc":"Modify a table, including modifying the definition of a table, renaming a table, renaming a specified column in a table, adding or updating multiple columns, and changing",
|
|
"product_code":"dws",
|
|
"title":"ALTER TABLE",
|
|
"uri":"dws_04_1036.html",
|
|
"doc_type":"devg",
|
|
"p_code":"736",
|
|
"code":"744"
|
|
},
|
|
{
|
|
"desc":"Description: This function is used to manually perform lightweight cleanup on HStore tables and holds the level-3 lock of the target table.Return type: intExample:Descrip",
|
|
"product_code":"dws",
|
|
"title":"Hybrid Data Warehouse Functions",
|
|
"uri":"dws_04_1027.html",
|
|
"doc_type":"devg",
|
|
"p_code":"733",
|
|
"code":"745"
|
|
},
|
|
{
|
|
"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":"Hybrid Data Warehouse Binlog",
|
|
"uri":"dws_04_1210.html",
|
|
"doc_type":"devg",
|
|
"p_code":"733",
|
|
"code":"746"
|
|
},
|
|
{
|
|
"desc":"The HStore table within the GaussDB(DWS) hybrid data warehouse offers binlog to facilitate the capture of database events. This enables the export of incremental data to ",
|
|
"product_code":"dws",
|
|
"title":"Subscribing to Hybrid Data Warehouse Binlog",
|
|
"uri":"dws_04_1211.html",
|
|
"doc_type":"devg",
|
|
"p_code":"746",
|
|
"code":"747"
|
|
},
|
|
{
|
|
"desc":"Currently, only 9.1.0 and later versions support HStore and HStore Opt tables to record binlogs.V3 HStore tables do not support binlogs, whereas only V3 HStore Opt tables",
|
|
"product_code":"dws",
|
|
"title":"Real-Time Binlog Consumption by Flink",
|
|
"uri":"dws_04_1212.html",
|
|
"doc_type":"devg",
|
|
"p_code":"746",
|
|
"code":"748"
|
|
},
|
|
{
|
|
"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":"",
|
|
"title":"SQL Syntax Reference",
|
|
"uri":"dws_04_2000.html",
|
|
"doc_type":"",
|
|
"p_code":"",
|
|
"code":"749"
|
|
},
|
|
{
|
|
"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 Overview",
|
|
"uri":"dws_06_0001.html",
|
|
"doc_type":"sql",
|
|
"p_code":"749",
|
|
"code":"750"
|
|
},
|
|
{
|
|
"desc":"The differences between GaussDB(DWS) and PostgreSQL are sorted based on PostgreSQL 9.X. The differences are as follows:GaussDB(DWS) gsql differs from PostgreSQL psql in t",
|
|
"product_code":"dws",
|
|
"title":"Differences Between GaussDB(DWS) and PostgreSQL",
|
|
"uri":"dws_06_0002.html",
|
|
"doc_type":"sql",
|
|
"p_code":"749",
|
|
"code":"751"
|
|
},
|
|
{
|
|
"desc":"The SQL contains reserved and non-reserved words. Reserved keywords must not be used as other identifiers in accordance with standards. Non-reserved keywords have special",
|
|
"product_code":"dws",
|
|
"title":"Keyword",
|
|
"uri":"dws_06_0007.html",
|
|
"doc_type":"sql",
|
|
"p_code":"749",
|
|
"code":"752"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"753"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"754"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"755"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"756"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"757"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"758"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"759"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"760"
|
|
},
|
|
{
|
|
"desc":"An array is a set of data. The array type allows a single database field to have multiple values. It is usually used to store and process data with similar attributes.orT",
|
|
"product_code":"dws",
|
|
"title":"Array",
|
|
"uri":"dws_06_0368.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"761"
|
|
},
|
|
{
|
|
"desc":"An enumeration (enum) type is a data type consisting of a static, ordered set of values. They are equivalent to the enum types used in many programming languages. The enu",
|
|
"product_code":"dws",
|
|
"title":"Enumeration Type",
|
|
"uri":"dws_06_0369.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"762"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"763"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"764"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) offers tsvector and tsquery data types 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":"sql",
|
|
"p_code":"753",
|
|
"code":"765"
|
|
},
|
|
{
|
|
"desc":"Universally Unique Identifier (UUID) is a 128-bit identifier used in the computer system to identify information.All elements in a distributed system can be uniquely iden",
|
|
"product_code":"dws",
|
|
"title":"UUID Type",
|
|
"uri":"dws_06_0019.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"766"
|
|
},
|
|
{
|
|
"desc":"JavaScript Object Notation (JSON) data types are used for storing JSON data.It can be an independent scalar, an array, or a key-value object. An array and an object can b",
|
|
"product_code":"dws",
|
|
"title":"JSON Types",
|
|
"uri":"dws_06_0020.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"767"
|
|
},
|
|
{
|
|
"desc":"In GaussDB(DWS) 8.1.3 and later, you can use the RoaringBitmap data type to store bitmap datasets.The RoaringBitmap data type supports row-store and column-store tables.E",
|
|
"product_code":"dws",
|
|
"title":"RoaringBitmap",
|
|
"uri":"dws_06_0279.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"768"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"769"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"770"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"753",
|
|
"code":"771"
|
|
},
|
|
{
|
|
"desc":"A range type is a data type that represents a range of values for certain element types (subtypes of ranges). For example, the range of a timestamp may be used to express",
|
|
"product_code":"dws",
|
|
"title":"Range Types",
|
|
"uri":"dws_06_0370.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"772"
|
|
},
|
|
{
|
|
"desc":"A composite type represents the structure of a row or record, which is essentially a list of field names and their data types. GaussDB(DWS) allows table columns to be dec",
|
|
"product_code":"dws",
|
|
"title":"Composite Types",
|
|
"uri":"dws_06_0371.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"773"
|
|
},
|
|
{
|
|
"desc":"Table 1 lists the data types supported by column-store tables. Other data types that are not listed are not supported currently.",
|
|
"product_code":"dws",
|
|
"title":"Data Types Supported by Column-Store Tables",
|
|
"uri":"dws_06_0024.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"774"
|
|
},
|
|
{
|
|
"desc":"XML data type stores Extensible Markup Language (XML) formatted data. XML data can also be stored as text, but the advantage of the XML data type is that it checks whethe",
|
|
"product_code":"dws",
|
|
"title":"XML",
|
|
"uri":"dws_06_0025.html",
|
|
"doc_type":"sql",
|
|
"p_code":"753",
|
|
"code":"775"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"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":"Functions and Operators",
|
|
"uri":"dws_06_0027.html",
|
|
"doc_type":"sql",
|
|
"p_code":"749",
|
|
"code":"777"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"778"
|
|
},
|
|
{
|
|
"desc":"SQL defines some binary string functions that use keywords, rather than commas, to separate arguments. GaussDB(DWS) also provides the common syntax used for invoking func",
|
|
"product_code":"dws",
|
|
"title":"Binary String Functions and Operators",
|
|
"uri":"dws_06_0031.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"779"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"780"
|
|
},
|
|
{
|
|
"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":"Numeric Functions and Operators",
|
|
"uri":"dws_06_0034.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"781"
|
|
},
|
|
{
|
|
"desc":"Description: additionExample:Description: subtractionExample:Description: multiplicationExample:Description: division (The result is not rounded.)Example:Description: pos",
|
|
"product_code":"dws",
|
|
"title":"Numeric Operators",
|
|
"uri":"dws_06_0306.html",
|
|
"doc_type":"sql",
|
|
"p_code":"781",
|
|
"code":"782"
|
|
},
|
|
{
|
|
"desc":"Description: Returns the absolute value.Return type: same as the inputExample:Description: Returns the arccosine.Return type: double precisionExample:Description: Returns",
|
|
"product_code":"dws",
|
|
"title":"Numeric Functions",
|
|
"uri":"dws_06_0307.html",
|
|
"doc_type":"sql",
|
|
"p_code":"781",
|
|
"code":"783"
|
|
},
|
|
{
|
|
"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":"Date and Time Processing Functions and Operators",
|
|
"uri":"dws_06_0035.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"784"
|
|
},
|
|
{
|
|
"desc":"When you use date and time operators, add prefixes of explicit types to the operands to ensure that the operands can be properly parsed by the database.For example, the o",
|
|
"product_code":"dws",
|
|
"title":"Date and Time Operators",
|
|
"uri":"dws_06_0308.html",
|
|
"doc_type":"sql",
|
|
"p_code":"784",
|
|
"code":"785"
|
|
},
|
|
{
|
|
"desc":"Description: Subtracts arguments and returns the difference. If the result is negative, the returned result is also negative.Return type: intervalExample:Description: Sub",
|
|
"product_code":"dws",
|
|
"title":"Date and Time Functions",
|
|
"uri":"dws_06_0309.html",
|
|
"doc_type":"sql",
|
|
"p_code":"784",
|
|
"code":"786"
|
|
},
|
|
{
|
|
"desc":"EXTRACT(fieldFROMsource)The extract function retrieves subcolumns such as year or hour from date/time values. source must be a value expression of type timestamp, time, o",
|
|
"product_code":"dws",
|
|
"title":"EXTRACT",
|
|
"uri":"dws_06_0310.html",
|
|
"doc_type":"sql",
|
|
"p_code":"784",
|
|
"code":"787"
|
|
},
|
|
{
|
|
"desc":"The date_part function is modeled on the traditional Ingres equivalent to the SQL-standard function extract:date_part('field',source)Note that the field must be a string,",
|
|
"product_code":"dws",
|
|
"title":"date_part",
|
|
"uri":"dws_06_0311.html",
|
|
"doc_type":"sql",
|
|
"p_code":"784",
|
|
"code":"788"
|
|
},
|
|
{
|
|
"desc":"Converts a date into a string in the format specified by fmt.Example:Table 1 describes the patterns of date parameter values. They can be used for the date_format, time_f",
|
|
"product_code":"dws",
|
|
"title":"date_format",
|
|
"uri":"dws_06_0312.html",
|
|
"doc_type":"sql",
|
|
"p_code":"784",
|
|
"code":"789"
|
|
},
|
|
{
|
|
"desc":"Description: The time_format function converts the date parameter into a string in the format specified by fmt. It is similar to the date_format function, but the format ",
|
|
"product_code":"dws",
|
|
"title":"time_format",
|
|
"uri":"dws_06_0313.html",
|
|
"doc_type":"sql",
|
|
"p_code":"784",
|
|
"code":"790"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"791"
|
|
},
|
|
{
|
|
"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":"Array Functions and Operators",
|
|
"uri":"dws_06_0044.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"792"
|
|
},
|
|
{
|
|
"desc":"Array comparisons compare the array contents element-by-element, using the default B-tree comparison function for the element data type. In multidimensional arrays, the e",
|
|
"product_code":"dws",
|
|
"title":"Array Operators",
|
|
"uri":"dws_06_0332.html",
|
|
"doc_type":"sql",
|
|
"p_code":"792",
|
|
"code":"793"
|
|
},
|
|
{
|
|
"desc":"Description: Appends an element to the end of an array, and only supports dimension-1 arrays.Return type: anyarrayExample:Description: Appends an element to the beginning",
|
|
"product_code":"dws",
|
|
"title":"Array Functions",
|
|
"uri":"dws_06_0333.html",
|
|
"doc_type":"sql",
|
|
"p_code":"792",
|
|
"code":"794"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"795"
|
|
},
|
|
{
|
|
"desc":"Comparison operators can be used for all data types. The return results are Boolean values.All comparison operators are binary operators. Only data types that are the sam",
|
|
"product_code":"dws",
|
|
"title":"Comparison Operators",
|
|
"uri":"dws_06_0029.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"796"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"797"
|
|
},
|
|
{
|
|
"desc":"Description: Sum of expression across all input valuesReturn type:Generally, same as the argument data type. In the following cases, type conversion occurs:BIGINT for SMA",
|
|
"product_code":"dws",
|
|
"title":"Aggregate Functions",
|
|
"uri":"dws_06_0046.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"798"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"799"
|
|
},
|
|
{
|
|
"desc":"Description: Converts x into the type specified by y.Examples:Description: Converts x into the type specified by y. This function is supported by version 8.2.0 or later c",
|
|
"product_code":"dws",
|
|
"title":"Type Conversion Functions",
|
|
"uri":"dws_06_0036.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"800"
|
|
},
|
|
{
|
|
"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":"JSON/JSONB Functions and Operators",
|
|
"uri":"dws_06_0041.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"801"
|
|
},
|
|
{
|
|
"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":"JSON/JSONB Operators",
|
|
"uri":"dws_06_0355.html",
|
|
"doc_type":"sql",
|
|
"p_code":"801",
|
|
"code":"802"
|
|
},
|
|
{
|
|
"desc":"JSON/JSONB functions are used to generate JSON data (see JSON Types).Except the array_to_json and row_to_json functions, other JSON/JSONB functions and operators are supp",
|
|
"product_code":"dws",
|
|
"title":"JSON/JSONB Functions",
|
|
"uri":"dws_06_0356.html",
|
|
"doc_type":"sql",
|
|
"p_code":"801",
|
|
"code":"803"
|
|
},
|
|
{
|
|
"desc":"Description: Displays the time before the password of the current account expires. After the password expires, the system prompts the user to change the password. This pa",
|
|
"product_code":"dws",
|
|
"title":"Security Functions",
|
|
"uri":"dws_06_0048.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"804"
|
|
},
|
|
{
|
|
"desc":"Description: Returns the first argument that is not NULL in the argument list.COALESCE(expr1, expr2) is equivalent to CASE WHEN expr1 IS NOT NULL THEN expr1 ELSE expr2 EN",
|
|
"product_code":"dws",
|
|
"title":"Conditional Expression Functions",
|
|
"uri":"dws_06_0050.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"805"
|
|
},
|
|
{
|
|
"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":"Range Functions and Operators",
|
|
"uri":"dws_06_0045.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"806"
|
|
},
|
|
{
|
|
"desc":"Description: EqualsExample:Description: Does not equal toExample:Description: Is less thanExample:Description: Is greater thanExample:Description: Is less than or equalsE",
|
|
"product_code":"dws",
|
|
"title":"Range Operators",
|
|
"uri":"dws_06_0334.html",
|
|
"doc_type":"sql",
|
|
"p_code":"806",
|
|
"code":"807"
|
|
},
|
|
{
|
|
"desc":"Description: Lower bound of rangeReturn type: Range's element typeExample:Description: Upper bound of rangeReturn type: Range's element typeExample:Description: Is the ra",
|
|
"product_code":"dws",
|
|
"title":"Range Functions",
|
|
"uri":"dws_06_0335.html",
|
|
"doc_type":"sql",
|
|
"p_code":"806",
|
|
"code":"808"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"809"
|
|
},
|
|
{
|
|
"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":"Bitmap Functions and Operators",
|
|
"uri":"dws_06_0991.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"810"
|
|
},
|
|
{
|
|
"desc":"Starting from GaussDB(DWS) 8.1.3, user profiling and precision marketing scenarios benefit from the utilization of efficient bitmap processing operators. This enhancement",
|
|
"product_code":"",
|
|
"title":"Roaring Bitmap Operators",
|
|
"uri":"dws_06_0322.html",
|
|
"doc_type":"",
|
|
"p_code":"810",
|
|
"code":"811"
|
|
},
|
|
{
|
|
"desc":"Since 8.1.3, GaussDB(DWS) supports efficient bitmap processing functions and operators, which can be used in user profiling and precision marketing, greatly improving que",
|
|
"product_code":"dws",
|
|
"title":"Bitmap Functions",
|
|
"uri":"dws_06_0323.html",
|
|
"doc_type":"sql",
|
|
"p_code":"810",
|
|
"code":"812"
|
|
},
|
|
{
|
|
"desc":"Since 8.1.3, GaussDB(DWS) supports efficient bitmap processing functions and operators, which can be used in user profiling and precision marketing, greatly improving que",
|
|
"product_code":"",
|
|
"title":"Roaring Bitmap Aggregation Functions",
|
|
"uri":"dws_06_0324.html",
|
|
"doc_type":"",
|
|
"p_code":"810",
|
|
"code":"813"
|
|
},
|
|
{
|
|
"desc":"Currently, real-time precision marketing is required in the Internet, education, and gaming industries. User profiling enables user search based on combined criteria. Exa",
|
|
"product_code":"dws",
|
|
"title":"Use Cases",
|
|
"uri":"dws_06_0325.html",
|
|
"doc_type":"sql",
|
|
"p_code":"810",
|
|
"code":"814"
|
|
},
|
|
{
|
|
"desc":"UUID functions are used to generate UUID data (see UUID Type).Description: Generates a UUID sequence number.Return type: UUIDExample:The uuid_generate_v1 function generat",
|
|
"product_code":"dws",
|
|
"title":"UUID Functions",
|
|
"uri":"dws_06_0040.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"815"
|
|
},
|
|
{
|
|
"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":"Text Search Functions and Operators",
|
|
"uri":"dws_06_0039.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"816"
|
|
},
|
|
{
|
|
"desc":"Description: Specifies whether the tsvector-typed words match the tsquery-typed words.Example:Description: Synonym for @@Example:Description: Performs the AND operation o",
|
|
"product_code":"dws",
|
|
"title":"Text Search Operators",
|
|
"uri":"dws_06_0319.html",
|
|
"doc_type":"sql",
|
|
"p_code":"816",
|
|
"code":"817"
|
|
},
|
|
{
|
|
"desc":"Description: Gets default text search configuration.Return type: regconfigExample:Description: Number of lexemes in a tsvector-typed word.Return type: integerExample:Desc",
|
|
"product_code":"dws",
|
|
"title":"Text Search Functions",
|
|
"uri":"dws_06_0320.html",
|
|
"doc_type":"sql",
|
|
"p_code":"816",
|
|
"code":"818"
|
|
},
|
|
{
|
|
"desc":"Description: Tests a configuration.Return type: SETOF recordExample:Description: Tests a data dictionary.Return type: text[]Example:Description: Tests a parser.Return typ",
|
|
"product_code":"dws",
|
|
"title":"Text Search Debugging Functions",
|
|
"uri":"dws_06_0321.html",
|
|
"doc_type":"sql",
|
|
"p_code":"816",
|
|
"code":"819"
|
|
},
|
|
{
|
|
"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":"HLL Functions and Operators",
|
|
"uri":"dws_06_0042.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"820"
|
|
},
|
|
{
|
|
"desc":"The HLL type supports the following operators:",
|
|
"product_code":"dws",
|
|
"title":"HLL Operators",
|
|
"uri":"dws_06_0326.html",
|
|
"doc_type":"sql",
|
|
"p_code":"820",
|
|
"code":"821"
|
|
},
|
|
{
|
|
"desc":"Description: Hashes data of the bool type.Return type: hll_hashvalExample:SELECT hll_hash_boolean(FALSE);\n hll_hash_boolean \n---------------------\n 5048724184180415669",
|
|
"product_code":"dws",
|
|
"title":"Hash Functions",
|
|
"uri":"dws_06_0327.html",
|
|
"doc_type":"sql",
|
|
"p_code":"820",
|
|
"code":"822"
|
|
},
|
|
{
|
|
"desc":"HLL supports explicit, sparse, and full modes. explicit and sparse excel when the data scale is small, and barely produce errors in calculation results. When the number o",
|
|
"product_code":"dws",
|
|
"title":"Precision Functions",
|
|
"uri":"dws_06_0328.html",
|
|
"doc_type":"sql",
|
|
"p_code":"820",
|
|
"code":"823"
|
|
},
|
|
{
|
|
"desc":"Description: Groups hashed data into HLL.Return type: hllExample:Prepare data.CREATE TABLE t_id(id int);\nINSERT INTO t_id VALUES(generate_series(1,500));\nCREATE TABLE t_d",
|
|
"product_code":"dws",
|
|
"title":"Aggregate Functions",
|
|
"uri":"dws_06_0329.html",
|
|
"doc_type":"sql",
|
|
"p_code":"820",
|
|
"code":"824"
|
|
},
|
|
{
|
|
"desc":"Description: Prints some debugging parameters of an HLL.Return type: cstringExample:Description: Creates an empty HLL.Return type: hllExample:Description: Creates an empt",
|
|
"product_code":"dws",
|
|
"title":"Functional Functions",
|
|
"uri":"dws_06_0330.html",
|
|
"doc_type":"sql",
|
|
"p_code":"820",
|
|
"code":"825"
|
|
},
|
|
{
|
|
"desc":"HyperLogLog (HLL) has a series of built-in functions for internal data processing. Generally, you are not advised to use these functions.",
|
|
"product_code":"dws",
|
|
"title":"Built-in Functions",
|
|
"uri":"dws_06_0331.html",
|
|
"doc_type":"sql",
|
|
"p_code":"820",
|
|
"code":"826"
|
|
},
|
|
{
|
|
"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":"Set Returning Functions",
|
|
"uri":"dws_06_0049.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"827"
|
|
},
|
|
{
|
|
"desc":"generate_series() returns a series-based set based on the specified start value (start), end value (stop), and step (step).If stepis a positive number and startis greater",
|
|
"product_code":"dws",
|
|
"title":"Series Generating Functions",
|
|
"uri":"dws_06_0336.html",
|
|
"doc_type":"sql",
|
|
"p_code":"827",
|
|
"code":"828"
|
|
},
|
|
{
|
|
"desc":"Description: Generates a series comprising the given array's subscripts.Return type: setof intExample:Description: Generates a series comprising the given array's subscri",
|
|
"product_code":"dws",
|
|
"title":"Subscript Generating Functions",
|
|
"uri":"dws_06_0337.html",
|
|
"doc_type":"sql",
|
|
"p_code":"827",
|
|
"code":"829"
|
|
},
|
|
{
|
|
"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":"Geometric Functions and Operators",
|
|
"uri":"dws_06_0037.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"830"
|
|
},
|
|
{
|
|
"desc":"Description: The operator implements a panning function by adding the coordinates of the second point to each corresponding point of the first parameter.Example:Descripti",
|
|
"product_code":"dws",
|
|
"title":"Geometric Operators",
|
|
"uri":"dws_06_0314.html",
|
|
"doc_type":"sql",
|
|
"p_code":"830",
|
|
"code":"831"
|
|
},
|
|
{
|
|
"desc":"Description: Area calculationReturn type: double precisionExample:Description: Figure center calculationReturn type: pointExample:Description: Circle diameter calculation",
|
|
"product_code":"dws",
|
|
"title":"Geometric Functions",
|
|
"uri":"dws_06_0315.html",
|
|
"doc_type":"sql",
|
|
"p_code":"830",
|
|
"code":"832"
|
|
},
|
|
{
|
|
"desc":"Description: Circle to boxReturn type: boxExample:Description: Points to boxReturn type: boxExample:Description: Polygon to boxReturn type: boxExample:Description: Box to",
|
|
"product_code":"dws",
|
|
"title":"Geometric Type Conversion Functions",
|
|
"uri":"dws_06_0316.html",
|
|
"doc_type":"sql",
|
|
"p_code":"830",
|
|
"code":"833"
|
|
},
|
|
{
|
|
"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":"Network Address Functions and Operators",
|
|
"uri":"dws_06_0038.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"834"
|
|
},
|
|
{
|
|
"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":"cidr and inet Operators",
|
|
"uri":"dws_06_0317.html",
|
|
"doc_type":"sql",
|
|
"p_code":"834",
|
|
"code":"835"
|
|
},
|
|
{
|
|
"desc":"The abbrev, host, and text functions are primarily intended to offer alternative display formats.Any cidr value can be cast to inet implicitly or explicitly; therefore, t",
|
|
"product_code":"dws",
|
|
"title":"Network Address Functions",
|
|
"uri":"dws_06_0318.html",
|
|
"doc_type":"sql",
|
|
"p_code":"834",
|
|
"code":"836"
|
|
},
|
|
{
|
|
"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 Information Functions",
|
|
"uri":"dws_06_0051.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"837"
|
|
},
|
|
{
|
|
"desc":"Description: name of the current database (called catalog in the SQL standard), same as current_database().Return type: nameExample:Description: Name of the current datab",
|
|
"product_code":"dws",
|
|
"title":"Session Information Functions",
|
|
"uri":"dws_06_0338.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"838"
|
|
},
|
|
{
|
|
"desc":"Description: Queries whether a specified user has permission for any column of table.Return type: booleanDescription: Queries whether the current user has permission for ",
|
|
"product_code":"dws",
|
|
"title":"Access Privilege Inquiry Functions",
|
|
"uri":"dws_06_0339.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"839"
|
|
},
|
|
{
|
|
"desc":"Schema visibility inquiry functions perform visibility checks on database objects. For functions and operators, an object in the search path is visible if there is no obj",
|
|
"product_code":"dws",
|
|
"title":"Schema Visibility Inquiry Functions",
|
|
"uri":"dws_06_0340.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"840"
|
|
},
|
|
{
|
|
"desc":"Description: Gets SQL name of a data type.Return type: textNote:format_type returns the SQL name of a data type that is identified by its type OID and possibly a type mod",
|
|
"product_code":"dws",
|
|
"title":"System Catalog Information Functions",
|
|
"uri":"dws_06_0341.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"841"
|
|
},
|
|
{
|
|
"desc":"Description: Queries information about system functions.Return type: recordDescription: Gets definition of a function.Return type: textfunc_oid is the OID of the function",
|
|
"product_code":"dws",
|
|
"title":"System Function Checking Function",
|
|
"uri":"dws_06_0342.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"842"
|
|
},
|
|
{
|
|
"desc":"Description: Gets comment for a table column.Return type: textNote: col_description returns the comment for a table column, which is specified by the OID of its table and",
|
|
"product_code":"dws",
|
|
"title":"Comment Checking Functions",
|
|
"uri":"dws_06_0343.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"843"
|
|
},
|
|
{
|
|
"desc":"The following functions provide server transaction information in an exportable form. The main use of these functions is to determine which transactions were committed be",
|
|
"product_code":"dws",
|
|
"title":"Transaction IDs and Snapshots",
|
|
"uri":"dws_06_0344.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"844"
|
|
},
|
|
{
|
|
"desc":"Description: Load status of a computing Node Group.Return type: voidExample:",
|
|
"product_code":"dws",
|
|
"title":"Computing Node Group Function",
|
|
"uri":"dws_06_0345.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"845"
|
|
},
|
|
{
|
|
"desc":"Description: Obtains information about conflicting locks in the cluster. When a lock is waiting for another lock or another lock is waiting for it, a lock conflict occurs",
|
|
"product_code":"dws",
|
|
"title":"Lock Information Function",
|
|
"uri":"dws_06_0346.html",
|
|
"doc_type":"sql",
|
|
"p_code":"837",
|
|
"code":"846"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"847"
|
|
},
|
|
{
|
|
"desc":"Configuration setting functions are used for querying and modifying configuration parameters during running.Description: Specifies the current setting.Return type: textNo",
|
|
"product_code":"dws",
|
|
"title":"Configuration Settings Functions",
|
|
"uri":"dws_06_0053.html",
|
|
"doc_type":"sql",
|
|
"p_code":"847",
|
|
"code":"848"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"847",
|
|
"code":"849"
|
|
},
|
|
{
|
|
"desc":"Server signaling functions send control signals to other server processes. Only system administrators can use these functions.Description: Cancels a current query of the ",
|
|
"product_code":"dws",
|
|
"title":"Server Signaling Functions",
|
|
"uri":"dws_06_0055.html",
|
|
"doc_type":"sql",
|
|
"p_code":"847",
|
|
"code":"850"
|
|
},
|
|
{
|
|
"desc":"Snapshot synchronization functions save the current snapshot and return its identifier.Description: Creates a performance data snapshot.Return type: textOnly the database",
|
|
"product_code":"dws",
|
|
"title":"Snapshot Synchronization Functions",
|
|
"uri":"dws_06_0057.html",
|
|
"doc_type":"sql",
|
|
"p_code":"847",
|
|
"code":"851"
|
|
},
|
|
{
|
|
"desc":"Advisory lock functions manage advisory locks. These functions are only for internal use currently.Description: Obtains an exclusive session-level advisory lock.Return ty",
|
|
"product_code":"dws",
|
|
"title":"Advisory Lock Functions",
|
|
"uri":"dws_06_0059.html",
|
|
"doc_type":"sql",
|
|
"p_code":"847",
|
|
"code":"852"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"847",
|
|
"code":"853"
|
|
},
|
|
{
|
|
"desc":"This section describes the functions of the resource management module.Description: Job resource pool switchover function is supported by cluster versions 9.1.0 and later",
|
|
"product_code":"dws",
|
|
"title":"Resource Management Functions",
|
|
"uri":"dws_06_0063.html",
|
|
"doc_type":"sql",
|
|
"p_code":"847",
|
|
"code":"854"
|
|
},
|
|
{
|
|
"desc":"This function is supported only by cluster versions 9.1.0 and later.Description: This function queries information about all chunks requested by the memory context in a s",
|
|
"product_code":"dws",
|
|
"title":"Memory Management Functions",
|
|
"uri":"dws_06_0379.html",
|
|
"doc_type":"sql",
|
|
"p_code":"847",
|
|
"code":"855"
|
|
},
|
|
{
|
|
"desc":"Description: Checks whether the connection data buffered in the pool is consistent with pgxc_node. This parameter has been discarded in 8.3.0 and later cluster versions.R",
|
|
"product_code":"dws",
|
|
"title":"Other Functions",
|
|
"uri":"dws_06_0062.html",
|
|
"doc_type":"sql",
|
|
"p_code":"847",
|
|
"code":"856"
|
|
},
|
|
{
|
|
"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":"Backup and Restoration Control Functions",
|
|
"uri":"dws_06_0056.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"857"
|
|
},
|
|
{
|
|
"desc":"Backup control functions help online backup.Description: Creates a named point for performing the restore operation (restricted to system administrators).Return type: tex",
|
|
"product_code":"dws",
|
|
"title":"Backup Control Functions",
|
|
"uri":"dws_06_0300.html",
|
|
"doc_type":"sql",
|
|
"p_code":"857",
|
|
"code":"858"
|
|
},
|
|
{
|
|
"desc":"Restoration control functions provide information about the status of standby nodes. These functions can be executed during restoration or when the database is running pr",
|
|
"product_code":"dws",
|
|
"title":"Restoration Control Functions",
|
|
"uri":"dws_06_0301.html",
|
|
"doc_type":"sql",
|
|
"p_code":"857",
|
|
"code":"859"
|
|
},
|
|
{
|
|
"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 Functions",
|
|
"uri":"dws_06_0058.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"860"
|
|
},
|
|
{
|
|
"desc":"Database object size functions calculate the actual disk space used by database objects.Description: Specifies the number of bytes used to store a particular value (possi",
|
|
"product_code":"dws",
|
|
"title":"Database Object Size Functions",
|
|
"uri":"dws_06_0302.html",
|
|
"doc_type":"sql",
|
|
"p_code":"860",
|
|
"code":"861"
|
|
},
|
|
{
|
|
"desc":"Description: Specifies the ID of a filenode with the specified relationship.Return type: OIDDescription: pg_relation_filenode receives the OID or name of a table, index, ",
|
|
"product_code":"dws",
|
|
"title":"Database Object Position Functions",
|
|
"uri":"dws_06_0303.html",
|
|
"doc_type":"sql",
|
|
"p_code":"860",
|
|
"code":"862"
|
|
},
|
|
{
|
|
"desc":"Description: Adds partitions to a table with the automatic partition creation function enabled.Return type: voidNote: When the function is executed, multiple partitions w",
|
|
"product_code":"dws",
|
|
"title":"Partition Management Function",
|
|
"uri":"dws_06_0304.html",
|
|
"doc_type":"sql",
|
|
"p_code":"860",
|
|
"code":"863"
|
|
},
|
|
{
|
|
"desc":"Description: Returns the actual version of the collation object currently installed in the operating system. Currently, this parameter is valid only for case_insensitive ",
|
|
"product_code":"dws",
|
|
"title":"Collation Version Function",
|
|
"uri":"dws_06_0305.html",
|
|
"doc_type":"sql",
|
|
"p_code":"860",
|
|
"code":"864"
|
|
},
|
|
{
|
|
"desc":"Description: Modifies the time when cold data in a hot and cold table is migrated to OBS. The default value is 00:00 every day.table_name indicates the name of the hot an",
|
|
"product_code":"dws",
|
|
"title":"Hot and Cold Table Functions",
|
|
"uri":"dws_06_0362.html",
|
|
"doc_type":"sql",
|
|
"p_code":"860",
|
|
"code":"865"
|
|
},
|
|
{
|
|
"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":"Residual File Management Functions",
|
|
"uri":"dws_06_0060.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"866"
|
|
},
|
|
{
|
|
"desc":"Description: Obtains all residual file records of the current node. This function is an instance-level function and is irrelevant to the current database. It can run on a",
|
|
"product_code":"dws",
|
|
"title":"Functions for Obtaining the Residual File List",
|
|
"uri":"dws_06_0347.html",
|
|
"doc_type":"sql",
|
|
"p_code":"866",
|
|
"code":"867"
|
|
},
|
|
{
|
|
"desc":"Only cluster 8.3.0 and later versions support the function of scanning residual files. All functions described in this section can be invoked only by the sysadmin role.De",
|
|
"product_code":"",
|
|
"title":"Functions for Scanning Residual Files",
|
|
"uri":"dws_06_0373.html",
|
|
"doc_type":"",
|
|
"p_code":"866",
|
|
"code":"868"
|
|
},
|
|
{
|
|
"desc":"Description: Verifies whether the file recorded in the parameter specified file is a residual file. This function is an instance-level function and is related to the curr",
|
|
"product_code":"dws",
|
|
"title":"Functions for Verifying Residual Files",
|
|
"uri":"dws_06_0348.html",
|
|
"doc_type":"sql",
|
|
"p_code":"866",
|
|
"code":"869"
|
|
},
|
|
{
|
|
"desc":"Description: Deletes files from a specified residual file list on the current instance. This function is an instance-level function and is irrelevant to the current datab",
|
|
"product_code":"dws",
|
|
"title":"Functions for Deleting Residual Files",
|
|
"uri":"dws_06_0349.html",
|
|
"doc_type":"sql",
|
|
"p_code":"866",
|
|
"code":"870"
|
|
},
|
|
{
|
|
"desc":"The pgxc residual file management function only operates on the CN and the current primary DN, and does not verify or clear residual files on the standby DN. Therefore, a",
|
|
"product_code":"dws",
|
|
"title":"Using Residual File Management Functions",
|
|
"uri":"dws_06_0350.html",
|
|
"doc_type":"sql",
|
|
"p_code":"866",
|
|
"code":"871"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"872"
|
|
},
|
|
{
|
|
"desc":"Description: Obtains the definition information of a trigger.Parameter: OID of the trigger to be queriedReturn type: textExample:Description: Obtains the definition infor",
|
|
"product_code":"dws",
|
|
"title":"Trigger Functions",
|
|
"uri":"dws_06_0066.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"873"
|
|
},
|
|
{
|
|
"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":"XML Functions",
|
|
"uri":"dws_06_0067.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"874"
|
|
},
|
|
{
|
|
"desc":"Expressions of functions and class functions in this section can be used to generate XML content from SQL data. This method is used to format query results into XML docum",
|
|
"product_code":"dws",
|
|
"title":"Generating XML Content",
|
|
"uri":"dws_06_0351.html",
|
|
"doc_type":"sql",
|
|
"p_code":"874",
|
|
"code":"875"
|
|
},
|
|
{
|
|
"desc":"The functions in this section check the attributes of an XML value.Description: IS DOCUMENT returns true if the XML value of the parameter is a correct XML document; if t",
|
|
"product_code":"dws",
|
|
"title":"XML Predicates",
|
|
"uri":"dws_06_0352.html",
|
|
"doc_type":"sql",
|
|
"p_code":"874",
|
|
"code":"876"
|
|
},
|
|
{
|
|
"desc":"To process values of the XML data type, GaussDB (DWS) provides the xpath and xpath_exists functions, as well as the XMLTABLE table function.Description: Returns an array ",
|
|
"product_code":"dws",
|
|
"title":"Processing XML",
|
|
"uri":"dws_06_0353.html",
|
|
"doc_type":"sql",
|
|
"p_code":"874",
|
|
"code":"877"
|
|
},
|
|
{
|
|
"desc":"Description: Maps the contents of a table to XML values.Return type: XMLDescription: Maps a relational table schema to an XML schema document.Return type: XMLDescription:",
|
|
"product_code":"dws",
|
|
"title":"Mapping a Table to XML",
|
|
"uri":"dws_06_0354.html",
|
|
"doc_type":"sql",
|
|
"p_code":"874",
|
|
"code":"878"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"777",
|
|
"code":"879"
|
|
},
|
|
{
|
|
"desc":"Hudi system functions are supported only by 8.2.1.100 and later versions.Description: Queries details about Hudi foreign table parameter settings.Return type: SETOF recor",
|
|
"product_code":"dws",
|
|
"title":"Hudi System Functions",
|
|
"uri":"dws_06_0359.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"880"
|
|
},
|
|
{
|
|
"desc":"Funnel and retention functions are supported only in cluster 8.3.0 and later versions.Both funnel functions and retention functions are widely used tools for analyzing us",
|
|
"product_code":"dws",
|
|
"title":"Funnel and Retention Functions",
|
|
"uri":"dws_06_0372.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"881"
|
|
},
|
|
{
|
|
"desc":"System functions related to EXTERNAL SCHEMA are supported only by clusters of version 8.3.0 or later.Description: Obtains the options of an external schema table.Input pa",
|
|
"product_code":"dws",
|
|
"title":"EXTERNAL SCHEMA System Functions",
|
|
"uri":"dws_06_0374.html",
|
|
"doc_type":"sql",
|
|
"p_code":"777",
|
|
"code":"882"
|
|
},
|
|
{
|
|
"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":"",
|
|
"title":"Storage-Compute Decoupling Functions",
|
|
"uri":"dws_06_0382.html",
|
|
"doc_type":"",
|
|
"p_code":"777",
|
|
"code":"883"
|
|
},
|
|
{
|
|
"desc":"Description: In a storage-compute decoupling architecture, a KV subscription relationship is established between logical clusters (Virtual Warehouses, VWs). Once establis",
|
|
"product_code":"",
|
|
"title":"Data Sharing Functions",
|
|
"uri":"dws_06_0383.html",
|
|
"doc_type":"",
|
|
"p_code":"883",
|
|
"code":"884"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"885"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"885",
|
|
"code":"886"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"885",
|
|
"code":"887"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"885",
|
|
"code":"888"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"885",
|
|
"code":"889"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"885",
|
|
"code":"890"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"891"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"891",
|
|
"code":"892"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"891",
|
|
"code":"893"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"891",
|
|
"code":"894"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"891",
|
|
"code":"895"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"891",
|
|
"code":"896"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"897"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"898"
|
|
},
|
|
{
|
|
"desc":"Textual search operators have been used in databases for years. The GaussDB(DWS) has ~, ~*, LIKE, and ILIKEoperators for textual data types, but they lack many essential ",
|
|
"product_code":"dws",
|
|
"title":"Full-Text Retrieval",
|
|
"uri":"dws_06_0083.html",
|
|
"doc_type":"sql",
|
|
"p_code":"898",
|
|
"code":"899"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"898",
|
|
"code":"900"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"898",
|
|
"code":"901"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"898",
|
|
"code":"902"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"903"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"903",
|
|
"code":"904"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"903",
|
|
"code":"905"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"903",
|
|
"code":"906"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"907"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"907",
|
|
"code":"908"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"907",
|
|
"code":"909"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"907",
|
|
"code":"910"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"907",
|
|
"code":"911"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"912"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"912",
|
|
"code":"913"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"912",
|
|
"code":"914"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"912",
|
|
"code":"915"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"912",
|
|
"code":"916"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"917"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"918"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"918",
|
|
"code":"919"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"918",
|
|
"code":"920"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"918",
|
|
"code":"921"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"918",
|
|
"code":"922"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"918",
|
|
"code":"923"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"918",
|
|
"code":"924"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"918",
|
|
"code":"925"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"926"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"927"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"927",
|
|
"code":"928"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"927",
|
|
"code":"929"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"927",
|
|
"code":"930"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"897",
|
|
"code":"931"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"932"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) supports the ACID properties of database transactions. It provides the READ COMMITTED and REPEATABLE READ isolation levels of transactions.A transaction refe",
|
|
"product_code":"dws",
|
|
"title":"Transaction Management",
|
|
"uri":"dws_06_0117.html",
|
|
"doc_type":"sql",
|
|
"p_code":"749",
|
|
"code":"933"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"934"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"935"
|
|
},
|
|
{
|
|
"desc":"This function modifies the attributes of a filtering rule, including the filtering rule name, bound client name, client IP address, user, and matching mode.This syntax is",
|
|
"product_code":"",
|
|
"title":"ALTER BLOCK RULE",
|
|
"uri":"dws_06_0291.html",
|
|
"doc_type":"",
|
|
"p_code":"934",
|
|
"code":"936"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"937"
|
|
},
|
|
{
|
|
"desc":"This syntax is used to modify an exception rule set. You can modify one or more specific rule thresholds in a rule set.Nonerule_nameName of an exception rule set.Value ra",
|
|
"product_code":"dws",
|
|
"title":"ALTER EXCEPT RULE",
|
|
"uri":"dws_06_0280.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"938"
|
|
},
|
|
{
|
|
"desc":"Modifies EXTERNAL SCHEMA. This syntax is supported only in 8.3.0 and later versions.Modifies an external schema based on the specified name.ALTER EXTERNAL SCHEMA schema_n",
|
|
"product_code":"",
|
|
"title":"ALTER EXTERNAL SCHEMA",
|
|
"uri":"dws_06_0366.html",
|
|
"doc_type":"",
|
|
"p_code":"934",
|
|
"code":"939"
|
|
},
|
|
{
|
|
"desc":"Modifies a foreign table.NoneSet the attributes of a foreign table.ALTER FOREIGN TABLE [ IF EXISTS ] table_name\n OPTIONS ( {[ ADD | SET | DROP ] option ['value']}[, .",
|
|
"product_code":"dws",
|
|
"title":"ALTER FOREIGN TABLE (GDS Import and Export)",
|
|
"uri":"dws_06_0123.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"940"
|
|
},
|
|
{
|
|
"desc":"Modifies an HDFS or OBS foreign table.NoneSet a foreign table's attributes:ALTER FOREIGN TABLE [ IF EXISTS ] table_name\n OPTIONS ( {[ ADD | SET | DROP ] option ['valu",
|
|
"product_code":"dws",
|
|
"title":"ALTER FOREIGN TABLE (for HDFS or OBS)",
|
|
"uri":"dws_06_0124.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"941"
|
|
},
|
|
{
|
|
"desc":"ALTER FUNCTION modifies the attributes of a customized function.Only the owner of a function or a system administrator can run this statement. The user who wants to chang",
|
|
"product_code":"dws",
|
|
"title":"ALTER FUNCTION",
|
|
"uri":"dws_06_0126.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"942"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"943"
|
|
},
|
|
{
|
|
"desc":"ALTER INDEX modifies the definition of an existing index.Only the owner of an index or a system administrator can run this statement.For indexes of unlogged tables, table",
|
|
"product_code":"dws",
|
|
"title":"ALTER INDEX",
|
|
"uri":"dws_06_0128.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"944"
|
|
},
|
|
{
|
|
"desc":"ALTER LARGE OBJECT changes the owner of a large object.Only the owner of a large object or a system administrator can run this statement.large_object_oidSpecifies the OID",
|
|
"product_code":"dws",
|
|
"title":"ALTER LARGE OBJECT",
|
|
"uri":"dws_06_0129.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"945"
|
|
},
|
|
{
|
|
"desc":"Modifies the properties of a materialized view.NoneENABLE | DISABLE QUERY REWRITEIndicates whether to enable query rewriting for a materialized view.After enabling query ",
|
|
"product_code":"dws",
|
|
"title":"ALTER MATERIALIZED VIEW",
|
|
"uri":"dws_06_0358.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"946"
|
|
},
|
|
{
|
|
"desc":"ALTER PUBLICATION modifies the publication attributes.This statement is supported by version 8.2.0.100 or later clusters.This statement can be used by the owner of a publ",
|
|
"product_code":"dws",
|
|
"title":"ALTER PUBLICATION",
|
|
"uri":"dws_06_0284.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"947"
|
|
},
|
|
{
|
|
"desc":"ALTER REDACTION POLICY modifies a data redaction policy applied to a specified table.Only the table object owner and users with the gs_redaction_policy preset role can mo",
|
|
"product_code":"dws",
|
|
"title":"ALTER REDACTION POLICY",
|
|
"uri":"dws_06_0132.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"948"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"949"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"950"
|
|
},
|
|
{
|
|
"desc":"ALTER SUBSCRIPTION modifies subscription attributes.This statement is supported by version 8.2.0.100 or later clusters.Only the owner of a subscription can execute ALTER ",
|
|
"product_code":"dws",
|
|
"title":"ALTER SUBSCRIPTION",
|
|
"uri":"dws_06_0287.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"951"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"952"
|
|
},
|
|
{
|
|
"desc":"ALTER SCHEMA changes the attributes of a schema.Only the owner of a schema, a user granted with the ALTER permission for the schema, or a system administrator has the per",
|
|
"product_code":"dws",
|
|
"title":"ALTER SCHEMA",
|
|
"uri":"dws_06_0136.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"953"
|
|
},
|
|
{
|
|
"desc":"Modifies the sequence definition.You must be the owner of the sequence to use ALTER SEQUENCE.In the current version, you can modify only the owner, home column, and the m",
|
|
"product_code":"dws",
|
|
"title":"ALTER SEQUENCE",
|
|
"uri":"dws_06_0137.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"954"
|
|
},
|
|
{
|
|
"desc":"Adds, modifies, and deletes the definition of a foreign server.Existing foreign servers can be queried from the pg_foreign_server system catalog.Only the owner of a serve",
|
|
"product_code":"dws",
|
|
"title":"ALTER SERVER",
|
|
"uri":"dws_06_0138.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"955"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"956"
|
|
},
|
|
{
|
|
"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 have the permission t",
|
|
"product_code":"dws",
|
|
"title":"ALTER SYNONYM",
|
|
"uri":"dws_06_0140.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"957"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"958"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"959"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"960"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"961"
|
|
},
|
|
{
|
|
"desc":"Modifies the definition of a full-text retrieval dictionary, including its parameters, name, owner, and schema.ALTER is not supported by predefined dictionaries.Only the ",
|
|
"product_code":"dws",
|
|
"title":"ALTER TEXT SEARCH DICTIONARY",
|
|
"uri":"dws_06_0146.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"962"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"963"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"964"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"965"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"966"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"967"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"968"
|
|
},
|
|
{
|
|
"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 sp",
|
|
"product_code":"dws",
|
|
"title":"CLUSTER",
|
|
"uri":"dws_06_0153.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"969"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"970"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"971"
|
|
},
|
|
{
|
|
"desc":"This function creates a filtering rule, including the filtering rule name, bound client name, client IP address, user, and matching mode.This syntax is supported only by ",
|
|
"product_code":"",
|
|
"title":"CREATE BLOCK RULE",
|
|
"uri":"dws_06_0292.html",
|
|
"doc_type":"",
|
|
"p_code":"934",
|
|
"code":"972"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"973"
|
|
},
|
|
{
|
|
"desc":"This syntax is used to create an exception rule set. When creating an exception rule, you can specify the rule thresholds and operations following the triggering of an ex",
|
|
"product_code":"dws",
|
|
"title":"CREATE EXCEPT RULE",
|
|
"uri":"dws_06_0281.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"974"
|
|
},
|
|
{
|
|
"desc":"Creates an EXTERNAL schema. This syntax is supported only in 8.3.0 and later versions.The external schema is used to access tables of the LakeFormation, DLI, or HMS servi",
|
|
"product_code":"",
|
|
"title":"CREATE EXTERNAL SCHEMA",
|
|
"uri":"dws_06_0367.html",
|
|
"doc_type":"",
|
|
"p_code":"934",
|
|
"code":"975"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"976"
|
|
},
|
|
{
|
|
"desc":"CREATE FOREIGN TABLE creates an HDFS or OBS foreign table in the current database to access structured data stored on HDFS or OBS. You can also export data in ORC or PARQ",
|
|
"product_code":"dws",
|
|
"title":"CREATE FOREIGN TABLE (SQL on OBS or Hadoop)",
|
|
"uri":"dws_06_0161.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"977"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"978"
|
|
},
|
|
{
|
|
"desc":"CREATE FUNCTION defines a new function.The precision values (if any) of the parameters or return values of a function are not checked.When creating a function, you are ad",
|
|
"product_code":"dws",
|
|
"title":"CREATE FUNCTION",
|
|
"uri":"dws_06_0163.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"979"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"980"
|
|
},
|
|
{
|
|
"desc":"CREATE INDEX creates an index in a specified table.Indexes are primarily used to enhance database performance (though inappropriate use can result in slower database perf",
|
|
"product_code":"dws",
|
|
"title":"CREATE INDEX",
|
|
"uri":"dws_06_0165.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"981"
|
|
},
|
|
{
|
|
"desc":"Creates a materialized view.The base table of a materialized view can be a row-store table, column-store table, H-Store table, partitioned table, or a specified partition",
|
|
"product_code":"dws",
|
|
"title":"CREATE MATERIALIZED VIEW",
|
|
"uri":"dws_06_0357.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"982"
|
|
},
|
|
{
|
|
"desc":"CREATE PROCEDURE creates a stored procedure.Function creation also applies to stored procedures. For details, see CREATE FUNCTION.The precision values (if any) of the par",
|
|
"product_code":"dws",
|
|
"title":"CREATE PROCEDURE",
|
|
"uri":"dws_06_0170.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"983"
|
|
},
|
|
{
|
|
"desc":"CREATE PUBLICATION adds a new publication to the current database. The publication name must be different from the name of any existing publication in the current databas",
|
|
"product_code":"dws",
|
|
"title":"CREATE PUBLICATION",
|
|
"uri":"dws_06_0285.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"984"
|
|
},
|
|
{
|
|
"desc":"CREATE REDACTION POLICY creates a data redaction policy for a table.Only the table object owner and users who have been granted the gs_redaction_policy preset role are au",
|
|
"product_code":"dws",
|
|
"title":"CREATE REDACTION POLICY",
|
|
"uri":"dws_06_0168.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"985"
|
|
},
|
|
{
|
|
"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 runningA",
|
|
"product_code":"dws",
|
|
"title":"CREATE ROW LEVEL SECURITY POLICY",
|
|
"uri":"dws_06_0169.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"986"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"987"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"988"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"989"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"990"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"991"
|
|
},
|
|
{
|
|
"desc":"CREATE SUBSCRIPTION adds a new subscription to the current database. The subscription name must be different from a name of any existing subscription in the database. A s",
|
|
"product_code":"dws",
|
|
"title":"CREATE SUBSCRIPTION",
|
|
"uri":"dws_06_0288.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"992"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"993"
|
|
},
|
|
{
|
|
"desc":"Creates a new empty table in the current database.This table is owned by the user who executes the command. However, if the system administrator creates a table in the sc",
|
|
"product_code":"dws",
|
|
"title":"CREATE TABLE",
|
|
"uri":"dws_06_0177.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"994"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"995"
|
|
},
|
|
{
|
|
"desc":"CREATE TABLE PARTITION creates a partitioned table. Partitioned table: refers to splitting what is logically one large table into smaller physical pieces based on specifi",
|
|
"product_code":"dws",
|
|
"title":"CREATE TABLE PARTITION",
|
|
"uri":"dws_06_0179.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"996"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"997"
|
|
},
|
|
{
|
|
"desc":"CREATE TEXT SEARCH DICTIONARY creates a full-text retrieval dictionary. A dictionary is used to identify and process particular words during full-text retrieval.Dictionar",
|
|
"product_code":"dws",
|
|
"title":"CREATE TEXT SEARCH DICTIONARY",
|
|
"uri":"dws_06_0183.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"998"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"999"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1000"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1001"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1002"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1003"
|
|
},
|
|
{
|
|
"desc":"Releases internal resources related to database sessions. The DISCARD command is used to reset the status of some or all sessions. Different DISCARD clauses release diffe",
|
|
"product_code":"dws",
|
|
"title":"DISCARD",
|
|
"uri":"dws_06_0283.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1004"
|
|
},
|
|
{
|
|
"desc":"Delete a query filtering rule.This syntax is supported only by clusters of 9.1.0.100 and later versions.Only a user with the database owner permission or the gs_role_bloc",
|
|
"product_code":"",
|
|
"title":"DROP BLOCK RULE",
|
|
"uri":"dws_06_0293.html",
|
|
"doc_type":"",
|
|
"p_code":"934",
|
|
"code":"1005"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1006"
|
|
},
|
|
{
|
|
"desc":"This syntax deletes a specified exception rule set.Only the system administrator can perform the DROP EXCEPT RULE operation.IF EXISTSSends a notice instead of an error if",
|
|
"product_code":"dws",
|
|
"title":"DROP EXCEPT RULE",
|
|
"uri":"dws_06_0282.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1007"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1008"
|
|
},
|
|
{
|
|
"desc":"DROP FUNCTION deletes an existing function.To delete an overloaded function, you must specify the function's parameter (argument) type. For non-overloaded functions, you ",
|
|
"product_code":"dws",
|
|
"title":"DROP FUNCTION",
|
|
"uri":"dws_06_0193.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1009"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1010"
|
|
},
|
|
{
|
|
"desc":"DROP INDEX deletes an index.Only the owner of an index or a system administrator can run DROP INDEX command.CONCURRENTLYDeletes an index without locking concurrent select",
|
|
"product_code":"dws",
|
|
"title":"DROP INDEX",
|
|
"uri":"dws_06_0195.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1011"
|
|
},
|
|
{
|
|
"desc":"Deletes a materialized view. This syntax is supported only by clusters of 8.2.1.100 or later.NoneIF EXISTSSends a notice instead of an error if the specified materialized",
|
|
"product_code":"dws",
|
|
"title":"DROP MATERIALIZED VIEW",
|
|
"uri":"dws_06_0360.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1012"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1013"
|
|
},
|
|
{
|
|
"desc":"DROP PUBLICATION deletes a publication.This statement is supported by version 8.2.0.100 or later clusters.This statement can be used by the publication owner and system a",
|
|
"product_code":"dws",
|
|
"title":"DROP PUBLICATION",
|
|
"uri":"dws_06_0286.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1014"
|
|
},
|
|
{
|
|
"desc":"DROP REDACTION POLICY deletes a data masking policy applied to a specified table.Only the table owner and users granted the gs_redaction_policy preset role have the permi",
|
|
"product_code":"dws",
|
|
"title":"DROP REDACTION POLICY",
|
|
"uri":"dws_06_0199.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1015"
|
|
},
|
|
{
|
|
"desc":"Deletes a row-level access control policy from a table.Only the table owner or administrators can delete a row-level access control policy from the table.IF EXISTSReports",
|
|
"product_code":"dws",
|
|
"title":"DROP ROW LEVEL SECURITY POLICY",
|
|
"uri":"dws_06_0200.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1016"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1017"
|
|
},
|
|
{
|
|
"desc":"DROP RESOURCE POOL deletes a resource pool.If a role has been associated with a resource pool, the resource pool cannot be deleted.The user must have the DROP permission ",
|
|
"product_code":"dws",
|
|
"title":"DROP RESOURCE POOL",
|
|
"uri":"dws_06_0202.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1018"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1019"
|
|
},
|
|
{
|
|
"desc":"DROP SCHEMA deletes a schema in a database.Only the owner of a schema or a user granted with the DROP permission for the schema or a system administrator has the permissi",
|
|
"product_code":"dws",
|
|
"title":"DROP SCHEMA",
|
|
"uri":"dws_06_0204.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1020"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1021"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1022"
|
|
},
|
|
{
|
|
"desc":"DROP SUBSCRIPTION deletes a subscription.This statement is supported by version 8.2.0.100 or later clusters.A subscription can be deleted by the system administrator only",
|
|
"product_code":"dws",
|
|
"title":"DROP SUBSCRIPTION",
|
|
"uri":"dws_06_0289.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1023"
|
|
},
|
|
{
|
|
"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 EXISTSSends a notice instead of reporti",
|
|
"product_code":"dws",
|
|
"title":"DROP SYNONYM",
|
|
"uri":"dws_06_0207.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1024"
|
|
},
|
|
{
|
|
"desc":"DROP TABLE deletes a specified table.DROP TABLE forcibly deletes a specified table. After a table is deleted, any indexes that exist for the table will be deleted; any fu",
|
|
"product_code":"dws",
|
|
"title":"DROP TABLE",
|
|
"uri":"dws_06_0208.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1025"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1026"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1027"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1028"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1029"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1030"
|
|
},
|
|
{
|
|
"desc":"DROP VIEW forcibly deletes an existing view in a database.Only a view owner or a system administrator can run DROP VIEW command.Be cautious when using DROP OBJECT (e.g., ",
|
|
"product_code":"dws",
|
|
"title":"DROP VIEW",
|
|
"uri":"dws_06_0215.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1031"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1032"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1033"
|
|
},
|
|
{
|
|
"desc":"Refreshes a materialized view. The refresh mode is specified by the REFRESH parameter in the CREATE MATERIALIZED VIEW syntax. Currently, full refresh and scheduled refres",
|
|
"product_code":"dws",
|
|
"title":"REFRESH MATERIALIZED VIEW",
|
|
"uri":"dws_06_0361.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1034"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1035"
|
|
},
|
|
{
|
|
"desc":"RENAME TABLE renames a specified table.RENAME TABLE has the same function as the following command:schemaSpecifies the schema name.Specifies the schema name.table_nameSpe",
|
|
"product_code":"dws",
|
|
"title":"RENAME TABLE",
|
|
"uri":"dws_06_0276.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1036"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1037"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1038"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1039"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1040"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1041"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1042"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"934",
|
|
"code":"1043"
|
|
},
|
|
{
|
|
"desc":"VACUUM reclaims storage space occupied by tables or B-tree indexes. In normal database operation, rows that have been deleted are not physically removed from their table;",
|
|
"product_code":"dws",
|
|
"title":"VACUUM",
|
|
"uri":"dws_06_0226.html",
|
|
"doc_type":"sql",
|
|
"p_code":"934",
|
|
"code":"1044"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"1045"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1045",
|
|
"code":"1046"
|
|
},
|
|
{
|
|
"desc":"CALL calls defined functions or stored procedures.If the name of a user-defined function is the same as that of a system function, you need to specify a schema when invok",
|
|
"product_code":"dws",
|
|
"title":"CALL",
|
|
"uri":"dws_06_0229.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1045",
|
|
"code":"1047"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1045",
|
|
"code":"1048"
|
|
},
|
|
{
|
|
"desc":"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 valid, but",
|
|
"product_code":"dws",
|
|
"title":"DELETE",
|
|
"uri":"dws_06_0231.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1045",
|
|
"code":"1049"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1045",
|
|
"code":"1050"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1045",
|
|
"code":"1051"
|
|
},
|
|
{
|
|
"desc":"LOCK TABLE obtains a table-level lock.When the lock for commands referencing a table is automatically acquired, GaussDB(DWS) always uses the lock mode with minimum constr",
|
|
"product_code":"dws",
|
|
"title":"LOCK",
|
|
"uri":"dws_06_0234.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1045",
|
|
"code":"1052"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1045",
|
|
"code":"1053"
|
|
},
|
|
{
|
|
"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":"",
|
|
"title":"INSERT and UPSERT",
|
|
"uri":"dws_06_0275.html",
|
|
"doc_type":"",
|
|
"p_code":"1045",
|
|
"code":"1054"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1054",
|
|
"code":"1055"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1054",
|
|
"code":"1056"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1045",
|
|
"code":"1057"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1045",
|
|
"code":"1058"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"1059"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1059",
|
|
"code":"1060"
|
|
},
|
|
{
|
|
"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.A user",
|
|
"product_code":"dws",
|
|
"title":"ALTER DEFAULT PRIVILEGES",
|
|
"uri":"dws_06_0244.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1059",
|
|
"code":"1061"
|
|
},
|
|
{
|
|
"desc":"ANALYZE collects statistics about table contents in databases, and stores the results in the PG_STATISTIC system catalog. The execution plan generator uses these statisti",
|
|
"product_code":"dws",
|
|
"title":"ANALYZE | ANALYSE",
|
|
"uri":"dws_06_0245.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1059",
|
|
"code":"1062"
|
|
},
|
|
{
|
|
"desc":"Deallocates a previously prepared statement. If a prepared statement is not explicitly deleted, it is deleted at the end of the session.For details about prepared stateme",
|
|
"product_code":"dws",
|
|
"title":"DEALLOCATE",
|
|
"uri":"dws_06_0246.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1059",
|
|
"code":"1063"
|
|
},
|
|
{
|
|
"desc":"DO executes an anonymous code block.A code block is a function body without parameters. Its return type is void. It is analyzed and executed at the same time.Before using",
|
|
"product_code":"dws",
|
|
"title":"DO",
|
|
"uri":"dws_06_0247.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1059",
|
|
"code":"1064"
|
|
},
|
|
{
|
|
"desc":"EXECUTE executes a prepared statement. Because a prepared statement exists only in the lifetime of a session, the prepared statement must be created by an earlier PREPARE",
|
|
"product_code":"dws",
|
|
"title":"EXECUTE",
|
|
"uri":"dws_06_0248.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1059",
|
|
"code":"1065"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1059",
|
|
"code":"1066"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1059",
|
|
"code":"1067"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1059",
|
|
"code":"1068"
|
|
},
|
|
{
|
|
"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_role to new_role.REASSIGN OW",
|
|
"product_code":"dws",
|
|
"title":"REASSIGN OWNED",
|
|
"uri":"dws_06_0252.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1059",
|
|
"code":"1069"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1059",
|
|
"code":"1070"
|
|
},
|
|
{
|
|
"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_0277.html",
|
|
"doc_type":"sql",
|
|
"p_code":"749",
|
|
"code":"1071"
|
|
},
|
|
{
|
|
"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_0278.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1071",
|
|
"code":"1072"
|
|
},
|
|
{
|
|
"desc":"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 SELECT ca",
|
|
"product_code":"dws",
|
|
"title":"SELECT",
|
|
"uri":"dws_06_0238.html",
|
|
"doc_type":"sql",
|
|
"p_code":"1071",
|
|
"code":"1073"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1071",
|
|
"code":"1074"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"749",
|
|
"code":"1075"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1076"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1077"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1078"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1079"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1080"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1081"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1082"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1083"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1084"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1085"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1086"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1087"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1088"
|
|
},
|
|
{
|
|
"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":"sql",
|
|
"p_code":"1075",
|
|
"code":"1089"
|
|
},
|
|
{
|
|
"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":"",
|
|
"title":"Change History",
|
|
"uri":"dws_04_3333.html",
|
|
"doc_type":"",
|
|
"p_code":"",
|
|
"code":"1090"
|
|
}
|
|
] |