forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
9668 lines
342 KiB
JSON
9668 lines
342 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":"Data migration",
|
|
"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 or CarbonData 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":"This section describes how to create a foreign server that is used to define the information about OBS servers and is invoked by foreign tables.Common users do not have p",
|
|
"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 format is ORC, which is supported by GaussDB(DWS). You can use Hive to export data to an ORC file and use a read-only foreign t",
|
|
"product_code":"dws",
|
|
"title":"Supported Data Types",
|
|
"uri":"dws_04_0156.html",
|
|
"doc_type":"devg",
|
|
"p_code":"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":"The following error information indicates that GaussDB(DWS) is to read an ORC data file but the actual file is in TXT format. Therefore, create a table of the Hive ORC ty",
|
|
"product_code":"dws",
|
|
"title":"Error Handling",
|
|
"uri":"dws_04_0217.html",
|
|
"doc_type":"devg",
|
|
"p_code":"29",
|
|
"code":"36"
|
|
},
|
|
{
|
|
"desc":"You can create foreign tables to perform associated queries and import data between clusters.Import data from one GaussDB(DWS) cluster to another.Perform associated queri",
|
|
"product_code":"dws",
|
|
"title":"Importing Data from One GaussDB(DWS) Cluster to Another",
|
|
"uri":"dws_04_0949.html",
|
|
"doc_type":"devg",
|
|
"p_code":"4",
|
|
"code":"37"
|
|
},
|
|
{
|
|
"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":"38"
|
|
},
|
|
{
|
|
"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":"39"
|
|
},
|
|
{
|
|
"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":"40"
|
|
},
|
|
{
|
|
"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":"40",
|
|
"code":"41"
|
|
},
|
|
{
|
|
"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":"40",
|
|
"code":"42"
|
|
},
|
|
{
|
|
"desc":"When the JAVA language is used for secondary development based on GaussDB(DWS), you can use the CopyManager interface to export data from the database to a local file or ",
|
|
"product_code":"dws",
|
|
"title":"Example: Importing and Exporting Data Through Local Files",
|
|
"uri":"dws_04_0206.html",
|
|
"doc_type":"devg",
|
|
"p_code":"40",
|
|
"code":"43"
|
|
},
|
|
{
|
|
"desc":"The following example shows how to use CopyManager to migrate data from MySQL to GaussDB(DWS).",
|
|
"product_code":"dws",
|
|
"title":"Example: Migrating Data from MySQL to GaussDB(DWS)",
|
|
"uri":"dws_04_0207.html",
|
|
"doc_type":"devg",
|
|
"p_code":"40",
|
|
"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":"Full Database Migration",
|
|
"uri":"dws_04_0986.html",
|
|
"doc_type":"devg",
|
|
"p_code":"2",
|
|
"code":"45"
|
|
},
|
|
{
|
|
"desc":"You can use CDM to migrate data from other data sources (for example, MySQL) to the databases in clusters on GaussDB(DWS).To learn more about how CDM is used to migrate d",
|
|
"product_code":"dws",
|
|
"title":"Using CDM to Migrate Data to GaussDB(DWS)",
|
|
"uri":"dws_04_0219.html",
|
|
"doc_type":"devg",
|
|
"p_code":"45",
|
|
"code":"46"
|
|
},
|
|
{
|
|
"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":"45",
|
|
"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":"Metadata Migration",
|
|
"uri":"dws_04_0987.html",
|
|
"doc_type":"devg",
|
|
"p_code":"2",
|
|
"code":"48"
|
|
},
|
|
{
|
|
"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":"48",
|
|
"code":"49"
|
|
},
|
|
{
|
|
"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":"49",
|
|
"code":"50"
|
|
},
|
|
{
|
|
"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":"49",
|
|
"code":"51"
|
|
},
|
|
{
|
|
"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":"51",
|
|
"code":"52"
|
|
},
|
|
{
|
|
"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":"51",
|
|
"code":"53"
|
|
},
|
|
{
|
|
"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":"51",
|
|
"code":"54"
|
|
},
|
|
{
|
|
"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":"49",
|
|
"code":"55"
|
|
},
|
|
{
|
|
"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":"55",
|
|
"code":"56"
|
|
},
|
|
{
|
|
"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":"55",
|
|
"code":"57"
|
|
},
|
|
{
|
|
"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":"49",
|
|
"code":"58"
|
|
},
|
|
{
|
|
"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":"48",
|
|
"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 Data",
|
|
"uri":"dws_04_0249.html",
|
|
"doc_type":"devg",
|
|
"p_code":"2",
|
|
"code":"60"
|
|
},
|
|
{
|
|
"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":"60",
|
|
"code":"61"
|
|
},
|
|
{
|
|
"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":"61",
|
|
"code":"62"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Exporting CSV/TXT Data to OBS",
|
|
"uri":"dws_04_0157.html",
|
|
"doc_type":"devg",
|
|
"p_code":"61",
|
|
"code":"63"
|
|
},
|
|
{
|
|
"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":"63",
|
|
"code":"64"
|
|
},
|
|
{
|
|
"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":"63",
|
|
"code":"65"
|
|
},
|
|
{
|
|
"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":"63",
|
|
"code":"66"
|
|
},
|
|
{
|
|
"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":"63",
|
|
"code":"67"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Exporting ORC Data to OBS",
|
|
"uri":"dws_04_0256.html",
|
|
"doc_type":"devg",
|
|
"p_code":"61",
|
|
"code":"68"
|
|
},
|
|
{
|
|
"desc":"For details about exporting data to OBS, see Planning Data Export.For details about the data types that can be exported to OBS, see Table 2.For details about HDFS data ex",
|
|
"product_code":"dws",
|
|
"title":"Planning Data Export",
|
|
"uri":"dws_04_0258.html",
|
|
"doc_type":"devg",
|
|
"p_code":"68",
|
|
"code":"69"
|
|
},
|
|
{
|
|
"desc":"For details about creating a foreign server on OBS, see Creating a Foreign Server.For details about creating a foreign server in HDFS, see Manually Creating a Foreign Ser",
|
|
"product_code":"dws",
|
|
"title":"Creating a Foreign Server",
|
|
"uri":"dws_04_0259.html",
|
|
"doc_type":"devg",
|
|
"p_code":"68",
|
|
"code":"70"
|
|
},
|
|
{
|
|
"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":"68",
|
|
"code":"71"
|
|
},
|
|
{
|
|
"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":"68",
|
|
"code":"72"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Exporting ORC Data to MRS",
|
|
"uri":"dws_04_0159.html",
|
|
"doc_type":"devg",
|
|
"p_code":"60",
|
|
"code":"73"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) allows you to export ORC data to MRS using an HDFS foreign table. You can specify the export mode and export data format in the foreign table. Data is export",
|
|
"product_code":"dws",
|
|
"title":"Overview",
|
|
"uri":"dws_04_0160.html",
|
|
"doc_type":"devg",
|
|
"p_code":"73",
|
|
"code":"74"
|
|
},
|
|
{
|
|
"desc":"For details about the data types that can be exported to MRS, see Table 2.For details about HDFS data export or MRS configuration, see the MapReduce Service User Guide.",
|
|
"product_code":"dws",
|
|
"title":"Planning Data Export",
|
|
"uri":"dws_04_0161.html",
|
|
"doc_type":"devg",
|
|
"p_code":"73",
|
|
"code":"75"
|
|
},
|
|
{
|
|
"desc":"For details about creating a foreign server on HDFS, see Manually Creating a Foreign Server.",
|
|
"product_code":"dws",
|
|
"title":"Creating a Foreign Server",
|
|
"uri":"dws_04_0162.html",
|
|
"doc_type":"devg",
|
|
"p_code":"73",
|
|
"code":"76"
|
|
},
|
|
{
|
|
"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":"73",
|
|
"code":"77"
|
|
},
|
|
{
|
|
"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":"73",
|
|
"code":"78"
|
|
},
|
|
{
|
|
"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":"60",
|
|
"code":"79"
|
|
},
|
|
{
|
|
"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":"79",
|
|
"code":"80"
|
|
},
|
|
{
|
|
"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":"79",
|
|
"code":"81"
|
|
},
|
|
{
|
|
"desc":"GDS is a data service tool provided by GaussDB(DWS). Using the foreign table mechanism, this tool helps export data at a high speed.For details, see Installing, Configuri",
|
|
"product_code":"dws",
|
|
"title":"Installing, Configuring, and Starting GDS",
|
|
"uri":"dws_04_0264.html",
|
|
"doc_type":"devg",
|
|
"p_code":"79",
|
|
"code":"82"
|
|
},
|
|
{
|
|
"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":"79",
|
|
"code":"83"
|
|
},
|
|
{
|
|
"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":"79",
|
|
"code":"84"
|
|
},
|
|
{
|
|
"desc":"GDS is a data service tool provided by GaussDB(DWS). Using the foreign table mechanism, this tool helps export data at a high speed.For details, see Stopping GDS.",
|
|
"product_code":"dws",
|
|
"title":"Stopping GDS",
|
|
"uri":"dws_04_0267.html",
|
|
"doc_type":"devg",
|
|
"p_code":"79",
|
|
"code":"85"
|
|
},
|
|
{
|
|
"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":"79",
|
|
"code":"86"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Other Operations",
|
|
"uri":"dws_04_0988.html",
|
|
"doc_type":"devg",
|
|
"p_code":"2",
|
|
"code":"87"
|
|
},
|
|
{
|
|
"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":"87",
|
|
"code":"88"
|
|
},
|
|
{
|
|
"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":"87",
|
|
"code":"89"
|
|
},
|
|
{
|
|
"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":"87",
|
|
"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) Development and Design Proposal",
|
|
"uri":"dws_04_0074.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"91"
|
|
},
|
|
{
|
|
"desc":"This chapter describes the design specifications for database modeling and application development. Modeling compliant with these specifications fits the distributed proc",
|
|
"product_code":"dws",
|
|
"title":"Overview",
|
|
"uri":"dws_04_0075.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"92"
|
|
},
|
|
{
|
|
"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) Object Naming Conventions",
|
|
"uri":"dws_04_0076.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"93"
|
|
},
|
|
{
|
|
"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",
|
|
"uri":"dws_04_0077.html",
|
|
"doc_type":"devg",
|
|
"p_code":"91",
|
|
"code":"94"
|
|
},
|
|
{
|
|
"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":"94",
|
|
"code":"95"
|
|
},
|
|
{
|
|
"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":"94",
|
|
"code":"96"
|
|
},
|
|
{
|
|
"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) Field Design Rules",
|
|
"uri":"dws_04_0080.html",
|
|
"doc_type":"devg",
|
|
"p_code":"94",
|
|
"code":"97"
|
|
},
|
|
{
|
|
"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":"94",
|
|
"code":"98"
|
|
},
|
|
{
|
|
"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":"94",
|
|
"code":"99"
|
|
},
|
|
{
|
|
"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":"91",
|
|
"code":"100"
|
|
},
|
|
{
|
|
"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":"91",
|
|
"code":"101"
|
|
},
|
|
{
|
|
"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":"91",
|
|
"code":"102"
|
|
},
|
|
{
|
|
"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":"91",
|
|
"code":"103"
|
|
},
|
|
{
|
|
"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":"Defining Database Objects",
|
|
"uri":"dws_04_0016.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"104"
|
|
},
|
|
{
|
|
"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 Databases",
|
|
"uri":"dws_04_0025.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"105"
|
|
},
|
|
{
|
|
"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 Schemas",
|
|
"uri":"dws_04_0036.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"106"
|
|
},
|
|
{
|
|
"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 Tables",
|
|
"uri":"dws_04_0028.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"107"
|
|
},
|
|
{
|
|
"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 Table Storage Mode",
|
|
"uri":"dws_04_0026.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"108"
|
|
},
|
|
{
|
|
"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":"Defining Table Partitions",
|
|
"uri":"dws_04_0037.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"109"
|
|
},
|
|
{
|
|
"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 Indexes",
|
|
"uri":"dws_04_0038.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"110"
|
|
},
|
|
{
|
|
"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 Sequences",
|
|
"uri":"dws_04_0040.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"111"
|
|
},
|
|
{
|
|
"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 Views",
|
|
"uri":"dws_04_0039.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"112"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) allows users to create scheduled tasks, which are automatically executed at specified time points, reducing O&M workload.Database complies with the Oracle sc",
|
|
"product_code":"dws",
|
|
"title":"Creating and Managing Scheduled Tasks",
|
|
"uri":"dws_04_0041.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"113"
|
|
},
|
|
{
|
|
"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 a System Catalog",
|
|
"uri":"dws_04_0034.html",
|
|
"doc_type":"devg",
|
|
"p_code":"104",
|
|
"code":"114"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) is compatible with Oracle, Teradata and MySQL syntax, of which the syntax behavior is different.The database compatibility model can be specified using the D",
|
|
"product_code":"dws",
|
|
"title":"Syntax Compatibility Differences Among Oracle, Teradata, and MySQL",
|
|
"uri":"dws_04_0042.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"115"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"GaussDB(DWS) Database Security Management",
|
|
"uri":"dws_04_0043.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"116"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Managing Users and Their Permissions",
|
|
"uri":"dws_04_0053.html",
|
|
"doc_type":"devg",
|
|
"p_code":"116",
|
|
"code":"117"
|
|
},
|
|
{
|
|
"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":"Database Users",
|
|
"uri":"dws_04_0055.html",
|
|
"doc_type":"devg",
|
|
"p_code":"117",
|
|
"code":"118"
|
|
},
|
|
{
|
|
"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":"User Management",
|
|
"uri":"dws_04_0057.html",
|
|
"doc_type":"devg",
|
|
"p_code":"117",
|
|
"code":"119"
|
|
},
|
|
{
|
|
"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":"User-defined Password Policy",
|
|
"uri":"dws_04_0063.html",
|
|
"doc_type":"devg",
|
|
"p_code":"117",
|
|
"code":"120"
|
|
},
|
|
{
|
|
"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":"Permissions Management",
|
|
"uri":"dws_04_0054.html",
|
|
"doc_type":"devg",
|
|
"p_code":"117",
|
|
"code":"121"
|
|
},
|
|
{
|
|
"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 Permissions",
|
|
"uri":"dws_04_0056.html",
|
|
"doc_type":"devg",
|
|
"p_code":"117",
|
|
"code":"122"
|
|
},
|
|
{
|
|
"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":"116",
|
|
"code":"123"
|
|
},
|
|
{
|
|
"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":"123",
|
|
"code":"124"
|
|
},
|
|
{
|
|
"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":"123",
|
|
"code":"125"
|
|
},
|
|
{
|
|
"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":"123",
|
|
"code":"126"
|
|
},
|
|
{
|
|
"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":"123",
|
|
"code":"127"
|
|
},
|
|
{
|
|
"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 Read",
|
|
"uri":"dws_04_1001.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"128"
|
|
},
|
|
{
|
|
"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":"Querying a Single Table",
|
|
"uri":"dws_04_1007.html",
|
|
"doc_type":"devg",
|
|
"p_code":"128",
|
|
"code":"129"
|
|
},
|
|
{
|
|
"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":"Querying Joined Tables",
|
|
"uri":"dws_04_1003.html",
|
|
"doc_type":"devg",
|
|
"p_code":"128",
|
|
"code":"130"
|
|
},
|
|
{
|
|
"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":"Subquery Expressions",
|
|
"uri":"dws_04_1122.html",
|
|
"doc_type":"devg",
|
|
"p_code":"128",
|
|
"code":"131"
|
|
},
|
|
{
|
|
"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":"WITH Expression",
|
|
"uri":"dws_04_1002.html",
|
|
"doc_type":"devg",
|
|
"p_code":"128",
|
|
"code":"132"
|
|
},
|
|
{
|
|
"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 UNION",
|
|
"uri":"dws_04_1121.html",
|
|
"doc_type":"devg",
|
|
"p_code":"128",
|
|
"code":"133"
|
|
},
|
|
{
|
|
"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":"Collation rules",
|
|
"uri":"dws_04_0984.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"134"
|
|
},
|
|
{
|
|
"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":"135"
|
|
},
|
|
{
|
|
"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":"135",
|
|
"code":"136"
|
|
},
|
|
{
|
|
"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":"135",
|
|
"code":"137"
|
|
},
|
|
{
|
|
"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":"138"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"139"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"140"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"141"
|
|
},
|
|
{
|
|
"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":"141",
|
|
"code":"142"
|
|
},
|
|
{
|
|
"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":"141",
|
|
"code":"143"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"144"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"145"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"146"
|
|
},
|
|
{
|
|
"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":"146",
|
|
"code":"147"
|
|
},
|
|
{
|
|
"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":"146",
|
|
"code":"148"
|
|
},
|
|
{
|
|
"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":"146",
|
|
"code":"149"
|
|
},
|
|
{
|
|
"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":"146",
|
|
"code":"150"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"151"
|
|
},
|
|
{
|
|
"desc":"In GaussDB(DWS), data can be returned in either of the following ways: RETURN, RETURN NEXT, or RETURN QUERY. RETURN NEXT and RETURN QUERY are used only for functions and ",
|
|
"product_code":"dws",
|
|
"title":"RETURN Statements",
|
|
"uri":"dws_04_0533.html",
|
|
"doc_type":"devg",
|
|
"p_code":"151",
|
|
"code":"152"
|
|
},
|
|
{
|
|
"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":"151",
|
|
"code":"153"
|
|
},
|
|
{
|
|
"desc":"The syntax diagram is as follows.Example:The loop must be exploited together with EXIT; otherwise, a dead loop occurs.The syntax diagram is as follows.If the conditional ",
|
|
"product_code":"dws",
|
|
"title":"Loop Statements",
|
|
"uri":"dws_04_0537.html",
|
|
"doc_type":"devg",
|
|
"p_code":"151",
|
|
"code":"154"
|
|
},
|
|
{
|
|
"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":"151",
|
|
"code":"155"
|
|
},
|
|
{
|
|
"desc":"In PL/SQL programs, NULL statements are used to indicate \"nothing should be done\", equal to placeholders. They grant meanings to some statements and improve program reada",
|
|
"product_code":"dws",
|
|
"title":"NULL Statements",
|
|
"uri":"dws_04_0539.html",
|
|
"doc_type":"devg",
|
|
"p_code":"151",
|
|
"code":"156"
|
|
},
|
|
{
|
|
"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":"151",
|
|
"code":"157"
|
|
},
|
|
{
|
|
"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":"151",
|
|
"code":"158"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"159"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"160"
|
|
},
|
|
{
|
|
"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":"160",
|
|
"code":"161"
|
|
},
|
|
{
|
|
"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":"160",
|
|
"code":"162"
|
|
},
|
|
{
|
|
"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":"160",
|
|
"code":"163"
|
|
},
|
|
{
|
|
"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":"160",
|
|
"code":"164"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"165"
|
|
},
|
|
{
|
|
"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":"165",
|
|
"code":"166"
|
|
},
|
|
{
|
|
"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":"165",
|
|
"code":"167"
|
|
},
|
|
{
|
|
"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":"165",
|
|
"code":"168"
|
|
},
|
|
{
|
|
"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":"165",
|
|
"code":"169"
|
|
},
|
|
{
|
|
"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":"165",
|
|
"code":"170"
|
|
},
|
|
{
|
|
"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":"165",
|
|
"code":"171"
|
|
},
|
|
{
|
|
"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":"138",
|
|
"code":"172"
|
|
},
|
|
{
|
|
"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":"173"
|
|
},
|
|
{
|
|
"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":"173",
|
|
"code":"174"
|
|
},
|
|
{
|
|
"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":"173",
|
|
"code":"175"
|
|
},
|
|
{
|
|
"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":"173",
|
|
"code":"176"
|
|
},
|
|
{
|
|
"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":"173",
|
|
"code":"177"
|
|
},
|
|
{
|
|
"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":"178"
|
|
},
|
|
{
|
|
"desc":"If the connection pool mechanism is used during application development, comply with the following specifications:If GUC parameters are set in the connection, before you ",
|
|
"product_code":"dws",
|
|
"title":"Development Specifications",
|
|
"uri":"dws_04_0086.html",
|
|
"doc_type":"devg",
|
|
"p_code":"178",
|
|
"code":"179"
|
|
},
|
|
{
|
|
"desc":"For details, see section \"Downloading the JDBC or ODBC Driver\" in the Data Warehouse Service User Guide.",
|
|
"product_code":"dws",
|
|
"title":"Downloading Drivers",
|
|
"uri":"dws_04_0087.html",
|
|
"doc_type":"devg",
|
|
"p_code":"178",
|
|
"code":"180"
|
|
},
|
|
{
|
|
"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":"178",
|
|
"code":"181"
|
|
},
|
|
{
|
|
"desc":"Download the dws_8.x.x_jdbc_driver.zip package from the console.For details, see \"Downloading the JDBC or ODBC Driver\" in the Data Warehouse Service (DWS) User Guide.JDBC",
|
|
"product_code":"dws",
|
|
"title":"JDBC Package and Driver Class",
|
|
"uri":"dws_04_0090.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"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":"Development Process",
|
|
"uri":"dws_04_0091.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"code":"183"
|
|
},
|
|
{
|
|
"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":"181",
|
|
"code":"184"
|
|
},
|
|
{
|
|
"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":"181",
|
|
"code":"185"
|
|
},
|
|
{
|
|
"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":"181",
|
|
"code":"186"
|
|
},
|
|
{
|
|
"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":"181",
|
|
"code":"187"
|
|
},
|
|
{
|
|
"desc":"After you complete required data operations in the database, close the database connection.Call the close method to close the connection, such as, conn. close().",
|
|
"product_code":"dws",
|
|
"title":"Closing the Connection",
|
|
"uri":"dws_04_0097.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"code":"188"
|
|
},
|
|
{
|
|
"desc":"Before completing the following example, you need to create a stored procedure.This example illustrates how to develop applications based on the GaussDB(DWS) JDBC interfa",
|
|
"product_code":"dws",
|
|
"title":"Example: Common Operations",
|
|
"uri":"dws_04_0098.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"code":"189"
|
|
},
|
|
{
|
|
"desc":"If the primary DN is faulty and cannot be restored within 40s, its standby is automatically promoted to primary to ensure the normal running of the cluster. Jobs running ",
|
|
"product_code":"dws",
|
|
"title":"Example: Retrying SQL Queries for Applications",
|
|
"uri":"dws_04_0099.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"code":"190"
|
|
},
|
|
{
|
|
"desc":"When the JAVA language is used for secondary development based on GaussDB(DWS), you can use the CopyManager interface to export data from the database to a local file or ",
|
|
"product_code":"dws",
|
|
"title":"Example: Importing and Exporting Data Through Local Files",
|
|
"uri":"dws_04_0100.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"code":"191"
|
|
},
|
|
{
|
|
"desc":"The following example shows how to use CopyManager to migrate data from MySQL to GaussDB(DWS).",
|
|
"product_code":"dws",
|
|
"title":"Example: Migrating Data from MySQL to GaussDB(DWS)",
|
|
"uri":"dws_04_0101.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"code":"192"
|
|
},
|
|
{
|
|
"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":"dws",
|
|
"title":"Example: Processing the RoaringBitmap Result Set on Application Then Importing It to GaussDB(DWS)",
|
|
"uri":"dws_04_10001.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"code":"193"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"JDBC Interface Reference",
|
|
"uri":"dws_04_0102.html",
|
|
"doc_type":"devg",
|
|
"p_code":"181",
|
|
"code":"194"
|
|
},
|
|
{
|
|
"desc":"This section describes java.sql.Connection, the interface for connecting to a database.The AutoCommit mode is used by default within the interface. If you disable it runn",
|
|
"product_code":"dws",
|
|
"title":"java.sql.Connection",
|
|
"uri":"dws_04_0103.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"195"
|
|
},
|
|
{
|
|
"desc":"This section describes java.sql.CallableStatement, the stored procedure execution interface.The batch operation of statements containing OUT parameter is not allowed.The ",
|
|
"product_code":"dws",
|
|
"title":"java.sql.CallableStatement",
|
|
"uri":"dws_04_0104.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"196"
|
|
},
|
|
{
|
|
"desc":"This section describes java.sql.DatabaseMetaData, the interface for defining database objects.",
|
|
"product_code":"dws",
|
|
"title":"java.sql.DatabaseMetaData",
|
|
"uri":"dws_04_0105.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"197"
|
|
},
|
|
{
|
|
"desc":"This section describes java.sql.Driver, the database driver interface.",
|
|
"product_code":"dws",
|
|
"title":"java.sql.Driver",
|
|
"uri":"dws_04_0106.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"198"
|
|
},
|
|
{
|
|
"desc":"This section describes java.sql.PreparedStatement, the interface for preparing statements.Execute addBatch() and execute() only after running clearBatch().Batch is not cl",
|
|
"product_code":"dws",
|
|
"title":"java.sql.PreparedStatement",
|
|
"uri":"dws_04_0107.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"199"
|
|
},
|
|
{
|
|
"desc":"This section describes java.sql.ResultSet, the interface for execution result sets.One Statement cannot have multiple open ResultSets.The cursor that is used for traversi",
|
|
"product_code":"dws",
|
|
"title":"java.sql.ResultSet",
|
|
"uri":"dws_04_0108.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"200"
|
|
},
|
|
{
|
|
"desc":"This section describes java.sql.ResultSetMetaData, which provides details about ResultSet object information.",
|
|
"product_code":"dws",
|
|
"title":"java.sql.ResultSetMetaData",
|
|
"uri":"dws_04_0109.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"201"
|
|
},
|
|
{
|
|
"desc":"This section describes java.sql.Statement, the interface for executing SQL statements.Using setFetchSize can reduce the memory occupied by result sets on the client. Resu",
|
|
"product_code":"dws",
|
|
"title":"java.sql.Statement",
|
|
"uri":"dws_04_0110.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"202"
|
|
},
|
|
{
|
|
"desc":"This section describes javax.sql.ConnectionPoolDataSource, the interface for data source connection pools.",
|
|
"product_code":"dws",
|
|
"title":"javax.sql.ConnectionPoolDataSource",
|
|
"uri":"dws_04_0111.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"203"
|
|
},
|
|
{
|
|
"desc":"This section describes javax.sql.DataSource, the interface for data sources.",
|
|
"product_code":"dws",
|
|
"title":"javax.sql.DataSource",
|
|
"uri":"dws_04_0112.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"204"
|
|
},
|
|
{
|
|
"desc":"This section describes javax.sql.PooledConnection, the connection interface created by a connection pool.",
|
|
"product_code":"dws",
|
|
"title":"javax.sql.PooledConnection",
|
|
"uri":"dws_04_0113.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"205"
|
|
},
|
|
{
|
|
"desc":"This section describes javax.naming.Context, the context interface for connection configuration.",
|
|
"product_code":"dws",
|
|
"title":"javax.naming.Context",
|
|
"uri":"dws_04_0114.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"206"
|
|
},
|
|
{
|
|
"desc":"This section describes javax.naming.spi.InitialContextFactory, the initial context factory interface.",
|
|
"product_code":"dws",
|
|
"title":"javax.naming.spi.InitialContextFactory",
|
|
"uri":"dws_04_0115.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"207"
|
|
},
|
|
{
|
|
"desc":"CopyManager is an API interface class provided by the JDBC driver in GaussDB(DWS). It is used to import data to GaussDB(DWS) in batches.The CopyManager class is in the or",
|
|
"product_code":"dws",
|
|
"title":"CopyManager",
|
|
"uri":"dws_04_0116.html",
|
|
"doc_type":"devg",
|
|
"p_code":"194",
|
|
"code":"208"
|
|
},
|
|
{
|
|
"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":"178",
|
|
"code":"209"
|
|
},
|
|
{
|
|
"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":"209",
|
|
"code":"210"
|
|
},
|
|
{
|
|
"desc":"The ODBC DRIVER (psqlodbcw.so) provided by GaussDB(DWS) can be used after it has been configured in the data source. To configure data sources, users must configure the o",
|
|
"product_code":"dws",
|
|
"title":"Configuring a Data Source in the Linux OS",
|
|
"uri":"dws_04_0119.html",
|
|
"doc_type":"devg",
|
|
"p_code":"209",
|
|
"code":"211"
|
|
},
|
|
{
|
|
"desc":"Configure the ODBC data source using the ODBC data source manager preinstalled in the Windows OS.Decompress GaussDB-8.2.1-Windows-Odbc.tar.gz and install psqlodbc.msi (fo",
|
|
"product_code":"dws",
|
|
"title":"Configuring a Data Source in the Windows OS",
|
|
"uri":"dws_04_0120.html",
|
|
"doc_type":"devg",
|
|
"p_code":"209",
|
|
"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 Development Example",
|
|
"uri":"dws_04_0123.html",
|
|
"doc_type":"devg",
|
|
"p_code":"209",
|
|
"code":"213"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"ODBC Interfaces",
|
|
"uri":"dws_04_0124.html",
|
|
"doc_type":"devg",
|
|
"p_code":"209",
|
|
"code":"214"
|
|
},
|
|
{
|
|
"desc":"SQLAllocHandle allocates environment, connection, or statement handles. This function is a generic function for allocating handles that replaces the deprecated ODBC 2.x f",
|
|
"product_code":"dws",
|
|
"title":"SQLAllocHandle",
|
|
"uri":"dws_04_0127.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"215"
|
|
},
|
|
{
|
|
"desc":"SQLBindCol is used to associate (bind) columns in a result set to an application data buffer.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates",
|
|
"product_code":"dws",
|
|
"title":"SQLBindCol",
|
|
"uri":"dws_04_0129.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"216"
|
|
},
|
|
{
|
|
"desc":"SQLBindParameter is used to associate (bind) parameter markers in an SQL statement to a buffer.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicat",
|
|
"product_code":"dws",
|
|
"title":"SQLBindParameter",
|
|
"uri":"dws_04_0130.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"217"
|
|
},
|
|
{
|
|
"desc":"SQLColAttribute returns the descriptor information about a column in the result set.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some war",
|
|
"product_code":"dws",
|
|
"title":"SQLColAttribute",
|
|
"uri":"dws_04_0131.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"218"
|
|
},
|
|
{
|
|
"desc":"SQLConnect establishes a connection between a driver and a data source. After the connection, the connection handle can be used to access all information about the data s",
|
|
"product_code":"dws",
|
|
"title":"SQLConnect",
|
|
"uri":"dws_04_0132.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"219"
|
|
},
|
|
{
|
|
"desc":"SQLDisconnect closes the connection associated with the database connection handle.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warn",
|
|
"product_code":"dws",
|
|
"title":"SQLDisconnect",
|
|
"uri":"dws_04_0133.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"220"
|
|
},
|
|
{
|
|
"desc":"SQLExecDirect executes a prepared SQL statement specified in this parameter. This is the fastest execution method for executing only one SQL statement at a time.SQL_SUCCE",
|
|
"product_code":"dws",
|
|
"title":"SQLExecDirect",
|
|
"uri":"dws_04_0134.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"221"
|
|
},
|
|
{
|
|
"desc":"The SQLExecute function executes a prepared SQL statement using SQLPrepare. The statement is executed using the current value of any application variables that were bound",
|
|
"product_code":"dws",
|
|
"title":"SQLExecute",
|
|
"uri":"dws_04_0135.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"222"
|
|
},
|
|
{
|
|
"desc":"SQLFetch advances the cursor to the next row of the result set and retrieves any bound columns.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicat",
|
|
"product_code":"dws",
|
|
"title":"SQLFetch",
|
|
"uri":"dws_04_0136.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"223"
|
|
},
|
|
{
|
|
"desc":"SQLFreeHandle releases resources associated with a specific environment, connection, or statement handle. It replaces the ODBC 2.x functions: SQLFreeEnv, SQLFreeConnect, ",
|
|
"product_code":"dws",
|
|
"title":"SQLFreeHandle",
|
|
"uri":"dws_04_0139.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"224"
|
|
},
|
|
{
|
|
"desc":"SQLPrepare prepares an SQL statement to be executed.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warning information is displayed.SQ",
|
|
"product_code":"dws",
|
|
"title":"SQLPrepare",
|
|
"uri":"dws_04_0141.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"225"
|
|
},
|
|
{
|
|
"desc":"SQLGetData retrieves data for a single column in the current row of the result set. It can be called for many times to retrieve data of variable lengths.SQL_SUCCESS indic",
|
|
"product_code":"dws",
|
|
"title":"SQLGetData",
|
|
"uri":"dws_04_0142.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"226"
|
|
},
|
|
{
|
|
"desc":"SQLGetDiagRec returns the current values of multiple fields of a diagnostic record that contains error, warning, and status information.SQL_SUCCESS indicates that the cal",
|
|
"product_code":"dws",
|
|
"title":"SQLGetDiagRec",
|
|
"uri":"dws_04_0143.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"227"
|
|
},
|
|
{
|
|
"desc":"SQLSetConnectAttr sets connection attributes.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warning information is displayed.SQL_ERROR",
|
|
"product_code":"dws",
|
|
"title":"SQLSetConnectAttr",
|
|
"uri":"dws_04_0144.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"228"
|
|
},
|
|
{
|
|
"desc":"SQLSetEnvAttr sets environment attributes.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warning information is displayed.SQL_ERROR in",
|
|
"product_code":"dws",
|
|
"title":"SQLSetEnvAttr",
|
|
"uri":"dws_04_0145.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"229"
|
|
},
|
|
{
|
|
"desc":"SQLSetStmtAttr sets attributes related to a statement.SQL_SUCCESS indicates that the call succeeded.SQL_SUCCESS_WITH_INFO indicates some warning information is displayed.",
|
|
"product_code":"dws",
|
|
"title":"SQLSetStmtAttr",
|
|
"uri":"dws_04_0146.html",
|
|
"doc_type":"devg",
|
|
"p_code":"214",
|
|
"code":"230"
|
|
},
|
|
{
|
|
"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":"Hot and Cold Data Management",
|
|
"uri":"dws_04_0996.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"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":"GaussDB(DWS) Resource Monitoring",
|
|
"uri":"dws_04_0393.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"232"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"233"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"234"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"235"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"236"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"237"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"238"
|
|
},
|
|
{
|
|
"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":"232",
|
|
"code":"239"
|
|
},
|
|
{
|
|
"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 Tuning",
|
|
"uri":"dws_04_0400.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"240"
|
|
},
|
|
{
|
|
"desc":"Performance optimization is a key step in database application development and migration and is a large part in the entire project implementation process. Performance opt",
|
|
"product_code":"dws",
|
|
"title":"Overview of Query Performance Optimization",
|
|
"uri":"dws_04_0402.html",
|
|
"doc_type":"devg",
|
|
"p_code":"240",
|
|
"code":"241"
|
|
},
|
|
{
|
|
"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":"Determining the Performance Optimization Scope",
|
|
"uri":"dws_04_0403.html",
|
|
"doc_type":"devg",
|
|
"p_code":"240",
|
|
"code":"242"
|
|
},
|
|
{
|
|
"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":"242",
|
|
"code":"243"
|
|
},
|
|
{
|
|
"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":"242",
|
|
"code":"244"
|
|
},
|
|
{
|
|
"desc":"An SQL execution plan is a node tree that displays the detailed steps performed when the GaussDB(DWS) executes an SQL statement. Each step indicates a database operator, ",
|
|
"product_code":"dws",
|
|
"title":"SQL Execution Plan",
|
|
"uri":"dws_04_0432.html",
|
|
"doc_type":"devg",
|
|
"p_code":"240",
|
|
"code":"245"
|
|
},
|
|
{
|
|
"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 Optimization Guide",
|
|
"uri":"dws_04_0430.html",
|
|
"doc_type":"devg",
|
|
"p_code":"240",
|
|
"code":"246"
|
|
},
|
|
{
|
|
"desc":"The process from receiving SQL statements to the statement execution by the SQL engine is shown in Figure 1 and Table 1. The texts in red are steps where database adminis",
|
|
"product_code":"dws",
|
|
"title":"Query Execution Process",
|
|
"uri":"dws_04_0431.html",
|
|
"doc_type":"devg",
|
|
"p_code":"246",
|
|
"code":"247"
|
|
},
|
|
{
|
|
"desc":"You can analyze slow SQL statements to optimize them.",
|
|
"product_code":"dws",
|
|
"title":"Optimization Process",
|
|
"uri":"dws_04_0435.html",
|
|
"doc_type":"devg",
|
|
"p_code":"246",
|
|
"code":"248"
|
|
},
|
|
{
|
|
"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":"246",
|
|
"code":"249"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Reviewing and Modifying a Table Definition",
|
|
"uri":"dws_04_0437.html",
|
|
"doc_type":"devg",
|
|
"p_code":"246",
|
|
"code":"250"
|
|
},
|
|
{
|
|
"desc":"In a distributed framework, data is distributed on DNs. Data on one or more DNs is stored on a physical storage device. To properly define a table, you must:Evenly distri",
|
|
"product_code":"dws",
|
|
"title":"Reviewing and Modifying a Table Definition",
|
|
"uri":"dws_04_0438.html",
|
|
"doc_type":"devg",
|
|
"p_code":"250",
|
|
"code":"251"
|
|
},
|
|
{
|
|
"desc":"During database design, some key factors about table design will greatly affect the subsequent query performance of the database. Table design affects data storage as wel",
|
|
"product_code":"dws",
|
|
"title":"Selecting a Storage Model",
|
|
"uri":"dws_04_0439.html",
|
|
"doc_type":"devg",
|
|
"p_code":"250",
|
|
"code":"252"
|
|
},
|
|
{
|
|
"desc":"In replication mode, full data in a table is copied to each DN in the cluster. This mode is used for tables containing a small volume of data. Full data in a table stored",
|
|
"product_code":"dws",
|
|
"title":"Selecting a Distribution Mode",
|
|
"uri":"dws_04_0440.html",
|
|
"doc_type":"devg",
|
|
"p_code":"250",
|
|
"code":"253"
|
|
},
|
|
{
|
|
"desc":"Using the following principles to select a distribution key for a hash table:The values of the distribution key should be discrete so that data can be evenly distributed ",
|
|
"product_code":"dws",
|
|
"title":"Selecting a Distribution Key",
|
|
"uri":"dws_04_0441.html",
|
|
"doc_type":"devg",
|
|
"p_code":"250",
|
|
"code":"254"
|
|
},
|
|
{
|
|
"desc":"Partial Cluster Key is the column-based technology. It can minimize or maximize sparse indexes to quickly filter base tables. Partial cluster key can specify multiple col",
|
|
"product_code":"dws",
|
|
"title":"Using Partial Clustering",
|
|
"uri":"dws_04_0442.html",
|
|
"doc_type":"devg",
|
|
"p_code":"250",
|
|
"code":"255"
|
|
},
|
|
{
|
|
"desc":"Partitioning refers to splitting what is logically one large table into smaller physical pieces based on specific schemes. The table based on the logic is called a partit",
|
|
"product_code":"dws",
|
|
"title":"Using Partitioned Tables",
|
|
"uri":"dws_04_0443.html",
|
|
"doc_type":"devg",
|
|
"p_code":"250",
|
|
"code":"256"
|
|
},
|
|
{
|
|
"desc":"You can use data types with the following features to improve efficiency:Data types that boost execution efficiencyGenerally, the calculation of integers (including commo",
|
|
"product_code":"dws",
|
|
"title":"Selecting a Data type",
|
|
"uri":"dws_04_0444.html",
|
|
"doc_type":"devg",
|
|
"p_code":"250",
|
|
"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":"Typical SQL Optimization Methods",
|
|
"uri":"dws_04_0445.html",
|
|
"doc_type":"devg",
|
|
"p_code":"246",
|
|
"code":"258"
|
|
},
|
|
{
|
|
"desc":"Performance problems may occur when you run the INSERT/UPDATE/DELETE/SELECT/MERGE INTO or CREATE TABLE AS statement. The product integrates the automatic performance diag",
|
|
"product_code":"dws",
|
|
"title":"SQL Self-Diagnosis",
|
|
"uri":"dws_04_0446.html",
|
|
"doc_type":"devg",
|
|
"p_code":"258",
|
|
"code":"259"
|
|
},
|
|
{
|
|
"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":"258",
|
|
"code":"260"
|
|
},
|
|
{
|
|
"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":"258",
|
|
"code":"261"
|
|
},
|
|
{
|
|
"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":"258",
|
|
"code":"262"
|
|
},
|
|
{
|
|
"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":"258",
|
|
"code":"263"
|
|
},
|
|
{
|
|
"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":"258",
|
|
"code":"264"
|
|
},
|
|
{
|
|
"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":"246",
|
|
"code":"265"
|
|
},
|
|
{
|
|
"desc":"This section describes key CN parameters that affect GaussDB(DWS) SQL optimization performance. For details about how to configure these parameters, see section Configuri",
|
|
"product_code":"dws",
|
|
"title":"Adjusting Key Parameters During SQL Tuning",
|
|
"uri":"dws_04_0453.html",
|
|
"doc_type":"devg",
|
|
"p_code":"246",
|
|
"code":"266"
|
|
},
|
|
{
|
|
"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":"246",
|
|
"code":"267"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"268"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"269"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"270"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"271"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"272"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"273"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"274"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"275"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"276"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"277"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"278"
|
|
},
|
|
{
|
|
"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":"267",
|
|
"code":"279"
|
|
},
|
|
{
|
|
"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":"246",
|
|
"code":"280"
|
|
},
|
|
{
|
|
"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":"246",
|
|
"code":"281"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Configuring SMP",
|
|
"uri":"dws_04_0420.html",
|
|
"doc_type":"devg",
|
|
"p_code":"246",
|
|
"code":"282"
|
|
},
|
|
{
|
|
"desc":"The SMP feature improves the performance through operator parallelism and occupies more system resources, including CPU, memory, network, and I/O. Actually, SMP is a meth",
|
|
"product_code":"dws",
|
|
"title":"Application Scenarios and Restrictions",
|
|
"uri":"dws_04_0421.html",
|
|
"doc_type":"devg",
|
|
"p_code":"282",
|
|
"code":"283"
|
|
},
|
|
{
|
|
"desc":"The SMP architecture uses abundant resources to obtain time. After the plan parallelism is executed, the resource consumption is added, including the CPU, memory, I/O, an",
|
|
"product_code":"dws",
|
|
"title":"Resource Impact on SMP Performance",
|
|
"uri":"dws_04_0422.html",
|
|
"doc_type":"devg",
|
|
"p_code":"282",
|
|
"code":"284"
|
|
},
|
|
{
|
|
"desc":"Besides resource factors, there are other factors that impact the SMP parallelism performance, such as unevenly data distributed in a partitioned table and system paralle",
|
|
"product_code":"dws",
|
|
"title":"Other Factors Affecting SMP Performance",
|
|
"uri":"dws_04_0423.html",
|
|
"doc_type":"devg",
|
|
"p_code":"282",
|
|
"code":"285"
|
|
},
|
|
{
|
|
"desc":"To enable the SMP adaptation function, set query_dop to 0 and adjust the following parameters to obtain an optimal DOP selection:comm_usable_memoryIf the system memory is",
|
|
"product_code":"dws",
|
|
"title":"Suggestions for SMP Parameter Settings",
|
|
"uri":"dws_04_0424.html",
|
|
"doc_type":"devg",
|
|
"p_code":"282",
|
|
"code":"286"
|
|
},
|
|
{
|
|
"desc":"To manually optimize SMP, you need to be familiar with Suggestions for SMP Parameter Settings. This section describes how to optimize SMP.The CPU, memory, I/O, and networ",
|
|
"product_code":"dws",
|
|
"title":"SMP Manual Optimization Suggestions",
|
|
"uri":"dws_04_0425.html",
|
|
"doc_type":"devg",
|
|
"p_code":"282",
|
|
"code":"287"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Optimization Cases",
|
|
"uri":"dws_04_0474.html",
|
|
"doc_type":"devg",
|
|
"p_code":"240",
|
|
"code":"288"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"289"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"290"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"291"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"292"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"293"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"294"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"295"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"296"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"297"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"298"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"299"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"300"
|
|
},
|
|
{
|
|
"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":"288",
|
|
"code":"301"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"SQL Execution Troubleshooting",
|
|
"uri":"dws_04_0491.html",
|
|
"doc_type":"devg",
|
|
"p_code":"240",
|
|
"code":"302"
|
|
},
|
|
{
|
|
"desc":"A query task that used to take a few milliseconds to complete is now requiring several seconds, and that used to take several seconds is now requiring even half an hour. ",
|
|
"product_code":"dws",
|
|
"title":"Low Query Efficiency",
|
|
"uri":"dws_04_0492.html",
|
|
"doc_type":"devg",
|
|
"p_code":"302",
|
|
"code":"303"
|
|
},
|
|
{
|
|
"desc":"DROP TABLE fails to be executed in the following scenarios:A user runs the \\dt+ command using gsql and finds that the table_name table does not exist. When the user runs ",
|
|
"product_code":"dws",
|
|
"title":"DROP TABLE Fails to Be Executed",
|
|
"uri":"dws_04_0494.html",
|
|
"doc_type":"devg",
|
|
"p_code":"302",
|
|
"code":"304"
|
|
},
|
|
{
|
|
"desc":"Two users log in to the same database human_resource and run the select count(*) from areas statement separately to query the areas table, but obtain different results.Ch",
|
|
"product_code":"dws",
|
|
"title":"Different Data Is Displayed for the Same Table Queried By Multiple Users",
|
|
"uri":"dws_04_0495.html",
|
|
"doc_type":"devg",
|
|
"p_code":"302",
|
|
"code":"305"
|
|
},
|
|
{
|
|
"desc":"The following error is reported during the integer conversion:Some data types cannot be converted to the target data type.Gradually narrow down the range of SQL statement",
|
|
"product_code":"dws",
|
|
"title":"An Error Occurs During the Integer Conversion",
|
|
"uri":"dws_04_0496.html",
|
|
"doc_type":"devg",
|
|
"p_code":"302",
|
|
"code":"306"
|
|
},
|
|
{
|
|
"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":"302",
|
|
"code":"307"
|
|
},
|
|
{
|
|
"desc":"To improve the cluster performance, you can use multiple methods to optimize the database, including hardware configuration, software driver upgrade, and internal paramet",
|
|
"product_code":"dws",
|
|
"title":"Common Performance Parameter Optimization Design",
|
|
"uri":"dws_04_0970.html",
|
|
"doc_type":"devg",
|
|
"p_code":"240",
|
|
"code":"308"
|
|
},
|
|
{
|
|
"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":"309"
|
|
},
|
|
{
|
|
"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":"309",
|
|
"code":"310"
|
|
},
|
|
{
|
|
"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":"309",
|
|
"code":"311"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"312"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"313"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"314"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"315"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"316"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"317"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"318"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"319"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"320"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"321"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"322"
|
|
},
|
|
{
|
|
"desc":"PG_ATTRDEF stores default values of columns.",
|
|
"product_code":"dws",
|
|
"title":"PG_ATTRDEF",
|
|
"uri":"dws_04_0572.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"323"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"324"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"325"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"326"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"327"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"328"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"329"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"330"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"331"
|
|
},
|
|
{
|
|
"desc":"PG_CONVERSION records encoding conversion information.",
|
|
"product_code":"dws",
|
|
"title":"PG_CONVERSION",
|
|
"uri":"dws_04_0581.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"332"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"333"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"334"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"335"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"336"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"337"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"338"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"339"
|
|
},
|
|
{
|
|
"desc":"PG_EXTENSION records information about the installed extensions. By default, GaussDB(DWS) has 15 extensions, namely, PLPGSQL, DIST_FDW, FILE_FDW, ROACH_API, HDFS_FDW, BTR",
|
|
"product_code":"dws",
|
|
"title":"PG_EXTENSION",
|
|
"uri":"dws_04_0589.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"340"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"341"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"342"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"343"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"344"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"345"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"346"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"347"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"348"
|
|
},
|
|
{
|
|
"desc":"PG_LANGUAGE records programming languages. You can use them and interfaces to write functions or stored procedures.",
|
|
"product_code":"dws",
|
|
"title":"PG_LANGUAGE",
|
|
"uri":"dws_04_0597.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"349"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"350"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"351"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"352"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"353"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"354"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"355"
|
|
},
|
|
{
|
|
"desc":"PG_OPERATOR records information about operators.",
|
|
"product_code":"dws",
|
|
"title":"PG_OPERATOR",
|
|
"uri":"dws_04_0604.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"356"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"357"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"358"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"359"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"360"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"361"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"362"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"363"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"364"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"365"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"366"
|
|
},
|
|
{
|
|
"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_1611.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"367"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"368"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"369"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"370"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"371"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"372"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"373"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"374"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"375"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"376"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"377"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"378"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"379"
|
|
},
|
|
{
|
|
"desc":"PG_TABLESPACE records tablespace information.",
|
|
"product_code":"dws",
|
|
"title":"PG_TABLESPACE",
|
|
"uri":"dws_04_0622.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"380"
|
|
},
|
|
{
|
|
"desc":"PG_TRIGGER records the trigger information.",
|
|
"product_code":"dws",
|
|
"title":"PG_TRIGGER",
|
|
"uri":"dws_04_0623.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"381"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"382"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"383"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"384"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"385"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"386"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"387"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"388"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"389"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"390"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"391"
|
|
},
|
|
{
|
|
"desc":"PGXC_GROUP records information about node groups.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_GROUP",
|
|
"uri":"dws_04_0634.html",
|
|
"doc_type":"devg",
|
|
"p_code":"311",
|
|
"code":"392"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"393"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"394"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"395"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"396"
|
|
},
|
|
{
|
|
"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":"311",
|
|
"code":"397"
|
|
},
|
|
{
|
|
"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":"309",
|
|
"code":"398"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"399"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"400"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"401"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"402"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"403"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"404"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"405"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"406"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"407"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"408"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"409"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"410"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"411"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"412"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"413"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"414"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"415"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"416"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"417"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"418"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"419"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"420"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"421"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"422"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"423"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"424"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"425"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"426"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"427"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"428"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"429"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"430"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"431"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"432"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"433"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"434"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"435"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"436"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"437"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"438"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"439"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"440"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"441"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"442"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"443"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"444"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"445"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"446"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"447"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"448"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"449"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"450"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"451"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"452"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"453"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"454"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"455"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"456"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"457"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"458"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"459"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"460"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"461"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"462"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"463"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"464"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"465"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"466"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"467"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"468"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"469"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"470"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"471"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"472"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"473"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"474"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"475"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"476"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"477"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"478"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"479"
|
|
},
|
|
{
|
|
"desc":"GS_VIEW_INVALID queries all unavailable views visible to the current user. If the base table, function, or synonym that the view depends on is abnormal, the validtype col",
|
|
"product_code":"dws",
|
|
"title":"GS_VIEW_INVALID",
|
|
"uri":"dws_04_0717.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"480"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"481"
|
|
},
|
|
{
|
|
"desc":"This view displays the execution information about operators in the query statements that have been executed on the current CN. The information comes from the system cata",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_OPERAROR_INFO",
|
|
"uri":"dws_04_0701.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"482"
|
|
},
|
|
{
|
|
"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 the G",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_OPERATOR_HISTORY",
|
|
"uri":"dws_04_0702.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"483"
|
|
},
|
|
{
|
|
"desc":"GS_WLM_OPERATOR_STATISTICS displays the operator information of jobs that is being executed by the current user. This functionality supports only statements involving ope",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_OPERATOR_STATISTICS",
|
|
"uri":"dws_04_0703.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"484"
|
|
},
|
|
{
|
|
"desc":"This view displays the execution information about the query statements that have been executed on the current CN. The information comes from the system catalog dbms_om. ",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_SESSION_INFO",
|
|
"uri":"dws_04_0704.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"485"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"486"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"487"
|
|
},
|
|
{
|
|
"desc":"GS_WLM_SQL_ALLOW displays the configured resource management SQL whitelist, including the default SQL whitelist and the SQL whitelist configured using the GUC parameter w",
|
|
"product_code":"dws",
|
|
"title":"GS_WLM_SQL_ALLOW",
|
|
"uri":"dws_04_0708.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"488"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"489"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"490"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"491"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"492"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"493"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"494"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"495"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"496"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"497"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"498"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"499"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"500"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"501"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"502"
|
|
},
|
|
{
|
|
"desc":"PG_CURSORS displays the cursors that are currently available.",
|
|
"product_code":"dws",
|
|
"title":"PG_CURSORS",
|
|
"uri":"dws_04_0727.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"503"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"504"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"505"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"506"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"507"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"508"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"509"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"510"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"511"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"512"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"513"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"514"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"515"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"516"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"517"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"518"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"519"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"520"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"521"
|
|
},
|
|
{
|
|
"desc":"PG_ROLES displays information about database roles.",
|
|
"product_code":"dws",
|
|
"title":"PG_ROLES",
|
|
"uri":"dws_04_0745.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"522"
|
|
},
|
|
{
|
|
"desc":"PG_RULES displays information about rewrite rules.",
|
|
"product_code":"dws",
|
|
"title":"PG_RULES",
|
|
"uri":"dws_04_0746.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"523"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"524"
|
|
},
|
|
{
|
|
"desc":"PG_SECLABELS displays information about security labels.",
|
|
"product_code":"dws",
|
|
"title":"PG_SECLABELS",
|
|
"uri":"dws_04_0748.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"525"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"526"
|
|
},
|
|
{
|
|
"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.",
|
|
"product_code":"dws",
|
|
"title":"PG_SESSION_IOSTAT",
|
|
"uri":"dws_04_0750.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"527"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"528"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"529"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"530"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"531"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"532"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"533"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"534"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"535"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"536"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"537"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"538"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"539"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"540"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"541"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"542"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"543"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"544"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"545"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"546"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"547"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"548"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"549"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"550"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"551"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"552"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"553"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"554"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"555"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"556"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"557"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"558"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"559"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"560"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"561"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"562"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"563"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"564"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"565"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"566"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"567"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"568"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"569"
|
|
},
|
|
{
|
|
"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.",
|
|
"product_code":"dws",
|
|
"title":"PG_WLM_STATISTICS",
|
|
"uri":"dws_04_0794.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"570"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"571"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"572"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"573"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"574"
|
|
},
|
|
{
|
|
"desc":"PGXC_COMM_STATUS displays the communication library delay status for all the DNs.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_COMM_DELAY",
|
|
"uri":"dws_04_0798.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"575"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"576"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"577"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"578"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"579"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"580"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"581"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"582"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"583"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"584"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"585"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"586"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"587"
|
|
},
|
|
{
|
|
"desc":"PGXC_INSTR_UNIQUE_SQL displays the complete Unique SQL statistics of all CN nodes in the cluster.Only the system administrator can access this view. For details about the",
|
|
"product_code":"dws",
|
|
"title":"PGXC_INSTR_UNIQUE_SQL",
|
|
"uri":"dws_04_0808.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"588"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"589"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"590"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"code":"596"
|
|
},
|
|
{
|
|
"desc":"PGXC_REL_IOSTAT displays statistics on disk read and write of each node in the cluster. All columns except node_name are the same as those in the GS_REL_IOSTAT view. This",
|
|
"product_code":"dws",
|
|
"title":"PGXC_REL_IOSTAT",
|
|
"uri":"dws_04_0816.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"code":"622"
|
|
},
|
|
{
|
|
"desc":"PGXC_VARIABLE_INFO displays information about transaction IDs and OIDs of all nodes in a cluster.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_VARIABLE_INFO",
|
|
"uri":"dws_04_0831.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"code":"625"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_OPERATOR_HISTORYdisplays the operator information of completed jobs executed on all CNs. This view is used to query data from GaussDB(DWS). Data in the GaussDB(D",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_OPERATOR_HISTORY",
|
|
"uri":"dws_04_0836.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"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":"398",
|
|
"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":"398",
|
|
"code":"628"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_SESSION_INFO displays load management information for completed jobs executed on all CNs. The data in this view is obtained from GS_WLM_SESSION_INFO.For details ",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_SESSION_INFO",
|
|
"uri":"dws_04_0839.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"629"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_SESSION_HISTORY displays load management information for completed jobs executed on all CNs. This view is used to query data from a GaussDB(DWS) database. Data i",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_SESSION_HISTORY",
|
|
"uri":"dws_04_0840.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"630"
|
|
},
|
|
{
|
|
"desc":"PGXC_WLM_SESSION_STATISTICS displays load management information about jobs that are being executed on CNs.For details about columns in the view, see Table 1.",
|
|
"product_code":"dws",
|
|
"title":"PGXC_WLM_SESSION_STATISTICS",
|
|
"uri":"dws_04_0841.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"631"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"632"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"633"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"634"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"635"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"636"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"637"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"638"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"639"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"640"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"641"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"642"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"643"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"644"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"645"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"646"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"647"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"648"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"649"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"650"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"651"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"652"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"653"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"654"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"655"
|
|
},
|
|
{
|
|
"desc":"USER_CONSTRAINTS displays the information about constraint columns of the tables accessible to the current user.",
|
|
"product_code":"dws",
|
|
"title":"USER_CONS_COLUMNS",
|
|
"uri":"dws_04_0861.html",
|
|
"doc_type":"devg",
|
|
"p_code":"398",
|
|
"code":"656"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"657"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"658"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"659"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"660"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"661"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"662"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"663"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"664"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"665"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"666"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"667"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"668"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"669"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"670"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"671"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"672"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"673"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"674"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"675"
|
|
},
|
|
{
|
|
"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":"398",
|
|
"code":"676"
|
|
},
|
|
{
|
|
"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":"677"
|
|
},
|
|
{
|
|
"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":"677",
|
|
"code":"678"
|
|
},
|
|
{
|
|
"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":"677",
|
|
"code":"679"
|
|
},
|
|
{
|
|
"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":"677",
|
|
"code":"680"
|
|
},
|
|
{
|
|
"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":"677",
|
|
"code":"681"
|
|
},
|
|
{
|
|
"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":"681",
|
|
"code":"682"
|
|
},
|
|
{
|
|
"desc":"This section describes parameters about how to securely authenticate the client and server.Parameter description: Specifies the longest duration to wait before the client",
|
|
"product_code":"dws",
|
|
"title":"Security and Authentication (postgresql.conf)",
|
|
"uri":"dws_04_0890.html",
|
|
"doc_type":"devg",
|
|
"p_code":"681",
|
|
"code":"683"
|
|
},
|
|
{
|
|
"desc":"This section describes parameter settings and value ranges for communication libraries.Parameter description: Specifies the maximum number of DNs supported by the communi",
|
|
"product_code":"dws",
|
|
"title":"Communication Library Parameters",
|
|
"uri":"dws_04_0891.html",
|
|
"doc_type":"devg",
|
|
"p_code":"681",
|
|
"code":"684"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Resource Consumption",
|
|
"uri":"dws_04_0892.html",
|
|
"doc_type":"devg",
|
|
"p_code":"677",
|
|
"code":"685"
|
|
},
|
|
{
|
|
"desc":"This section describes memory parameters.Parameters described in this section take effect only after the database service restarts.Parameter description: Specifies whethe",
|
|
"product_code":"dws",
|
|
"title":"Memory",
|
|
"uri":"dws_04_0893.html",
|
|
"doc_type":"devg",
|
|
"p_code":"685",
|
|
"code":"686"
|
|
},
|
|
{
|
|
"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":"685",
|
|
"code":"687"
|
|
},
|
|
{
|
|
"desc":"This section describes kernel resource parameters. Whether these parameters take effect depends on OS settings.Parameter description: Specifies the maximum number of simu",
|
|
"product_code":"dws",
|
|
"title":"Kernel Resources",
|
|
"uri":"dws_04_0895.html",
|
|
"doc_type":"devg",
|
|
"p_code":"685",
|
|
"code":"688"
|
|
},
|
|
{
|
|
"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":"685",
|
|
"code":"689"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies whether O&M personnel are allowed to generate some ADIO logs to locate ADIO issues. This parameter is used only by developers. Common use",
|
|
"product_code":"dws",
|
|
"title":"Asynchronous I/O Operations",
|
|
"uri":"dws_04_0898.html",
|
|
"doc_type":"devg",
|
|
"p_code":"685",
|
|
"code":"690"
|
|
},
|
|
{
|
|
"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":"677",
|
|
"code":"691"
|
|
},
|
|
{
|
|
"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":"677",
|
|
"code":"692"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies the level of the information that is written to WALs.Type: POSTMASTERValue range: enumerated valuesminimalAdvantages: Certain bulk operat",
|
|
"product_code":"dws",
|
|
"title":"Settings",
|
|
"uri":"dws_04_0901.html",
|
|
"doc_type":"devg",
|
|
"p_code":"692",
|
|
"code":"693"
|
|
},
|
|
{
|
|
"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":"692",
|
|
"code":"694"
|
|
},
|
|
{
|
|
"desc":"Parameter description: When archive_mode is enabled, completed WAL segments are sent to archive storage by setting archive_command.Type: SIGHUPValue range: Booleanon: The",
|
|
"product_code":"dws",
|
|
"title":"Archiving",
|
|
"uri":"dws_04_0903.html",
|
|
"doc_type":"devg",
|
|
"p_code":"692",
|
|
"code":"695"
|
|
},
|
|
{
|
|
"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":"677",
|
|
"code":"696"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies the number of Xlog file segments. Specifies the minimum number of transaction log files stored in the pg_xlog directory. The standby serv",
|
|
"product_code":"dws",
|
|
"title":"Sending Server",
|
|
"uri":"dws_04_0905.html",
|
|
"doc_type":"devg",
|
|
"p_code":"696",
|
|
"code":"697"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies the number of transactions by which VACUUM will defer the cleanup of invalid row-store table records, so that VACUUM and VACUUM FULL do n",
|
|
"product_code":"dws",
|
|
"title":"Primary Server",
|
|
"uri":"dws_04_0906.html",
|
|
"doc_type":"devg",
|
|
"p_code":"696",
|
|
"code":"698"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies the minimum specifications for disk backup during incremental build.Type: SIGHUPValue range: a stringDefault value: (1%, 1G, 1G)This para",
|
|
"product_code":"dws",
|
|
"title":"Standby Server",
|
|
"uri":"dws_04_0907.html",
|
|
"doc_type":"devg",
|
|
"p_code":"696",
|
|
"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":"677",
|
|
"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":"677",
|
|
"code":"705"
|
|
},
|
|
{
|
|
"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":"706"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Specifies whether to print parsing tree results.Type: SIGHUPValue range: Booleanon indicates the printing result function is enabled.off indicates ",
|
|
"product_code":"dws",
|
|
"title":"Logging Content",
|
|
"uri":"dws_04_0916.html",
|
|
"doc_type":"devg",
|
|
"p_code":"705",
|
|
"code":"707"
|
|
},
|
|
{
|
|
"desc":"During cluster running, error scenarios can be detected in a timely manner to inform users as soon as possible.Parameter description: Enables the alarm detection thread t",
|
|
"product_code":"dws",
|
|
"title":"Alarm Detection",
|
|
"uri":"dws_04_0918.html",
|
|
"doc_type":"devg",
|
|
"p_code":"677",
|
|
"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":"Statistics During the Database Running",
|
|
"uri":"dws_04_0919.html",
|
|
"doc_type":"devg",
|
|
"p_code":"677",
|
|
"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 the running of the database, the lock access, disk I/O operation, and invalid message process are involved. All these operations are the bottleneck of the database",
|
|
"product_code":"dws",
|
|
"title":"Performance Statistics",
|
|
"uri":"dws_04_0921.html",
|
|
"doc_type":"devg",
|
|
"p_code":"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":"677",
|
|
"code":"712"
|
|
},
|
|
{
|
|
"desc":"The automatic cleanup process (autovacuum) in the system automatically runs the VACUUM and ANALYZE statements to reclaim the record space marked as deleted and update sta",
|
|
"product_code":"dws",
|
|
"title":"Automatic Cleanup",
|
|
"uri":"dws_04_0923.html",
|
|
"doc_type":"devg",
|
|
"p_code":"677",
|
|
"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":"677",
|
|
"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), a deadlock may occur when concurrently executed transactions compete for resources. This section describes parameters used for managing transaction lock ",
|
|
"product_code":"dws",
|
|
"title":"Lock Management",
|
|
"uri":"dws_04_0928.html",
|
|
"doc_type":"devg",
|
|
"p_code":"677",
|
|
"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":"677",
|
|
"code":"719"
|
|
},
|
|
{
|
|
"desc":"This section describes the parameter control of the downward compatibility and external compatibility features of GaussDB(DWS). Backward compatibility of the database sys",
|
|
"product_code":"dws",
|
|
"title":"Compatibility with Earlier Versions",
|
|
"uri":"dws_04_0930.html",
|
|
"doc_type":"devg",
|
|
"p_code":"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":"677",
|
|
"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":"677",
|
|
"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":"677",
|
|
"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":"677",
|
|
"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":"677",
|
|
"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 to audit successful operations in GaussDB(DWS). Set this parameter as required.Type: SIGHUPValue range: a stringnone: indicates t",
|
|
"product_code":"dws",
|
|
"title":"Operation Audit",
|
|
"uri":"dws_04_0940.html",
|
|
"doc_type":"devg",
|
|
"p_code":"726",
|
|
"code":"728"
|
|
},
|
|
{
|
|
"desc":"The automatic rollback transaction can be monitored and its statement problems can be located by setting the transaction timeout warning. In addition, the statements with",
|
|
"product_code":"dws",
|
|
"title":"Transaction Monitoring",
|
|
"uri":"dws_04_0941.html",
|
|
"doc_type":"devg",
|
|
"p_code":"677",
|
|
"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":"677",
|
|
"code":"730"
|
|
},
|
|
{
|
|
"desc":"Parameter description: Indicates whether the current session is a scale-out redistribution session. This parameter applies only to scale-out redistribution sessions. Do n",
|
|
"product_code":"dws",
|
|
"title":"Miscellaneous Parameters",
|
|
"uri":"dws_04_0945.html",
|
|
"doc_type":"devg",
|
|
"p_code":"677",
|
|
"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":"Parameter description: Specifies whether to start the automatic cleanup process (autovacuum).Type: SIGHUPValue range: Booleanon indicates the database automatic cleanup p",
|
|
"product_code":"dws",
|
|
"title":"Hybrid Data Warehouse GUC Parameters",
|
|
"uri":"dws_04_1028.html",
|
|
"doc_type":"devg",
|
|
"p_code":"733",
|
|
"code":"746"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"SQL Syntax Reference",
|
|
"uri":"dws_04_2000.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"747"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"747",
|
|
"code":"748"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"747",
|
|
"code":"749"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"747",
|
|
"code":"750"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Data Types",
|
|
"uri":"dws_06_0008.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"751"
|
|
},
|
|
{
|
|
"desc":"Numeric types consist of two-, four-, and eight-byte integers, four- and eight-byte floating-point numbers, and selectable-precision decimals.For details about numeric op",
|
|
"product_code":"dws",
|
|
"title":"Numeric Types",
|
|
"uri":"dws_06_0009.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"752"
|
|
},
|
|
{
|
|
"desc":"The money type stores a currency amount with fixed fractional precision. The range shown in Table 1 assumes there are two fractional digits. Input is accepted in a variet",
|
|
"product_code":"dws",
|
|
"title":"Monetary Types",
|
|
"uri":"dws_06_0010.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"753"
|
|
},
|
|
{
|
|
"desc":"Valid literal values for the \"true\" state are:TRUE, 't', 'true', 'y', 'yes', '1'Valid literal values for the \"false\" state include:FALSE, 'f', 'false', 'n', 'no', '0'TRUE",
|
|
"product_code":"dws",
|
|
"title":"Boolean Type",
|
|
"uri":"dws_06_0011.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"754"
|
|
},
|
|
{
|
|
"desc":"Table 1 lists the character types that can be used in GaussDB(DWS). For string operators and related built-in functions, see Character Processing Functions and Operators.",
|
|
"product_code":"dws",
|
|
"title":"Character Types",
|
|
"uri":"dws_06_0012.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"755"
|
|
},
|
|
{
|
|
"desc":"Table 1 lists the binary data types that can be used in GaussDB(DWS).In addition to the size limitation on each column, the total size of each tuple is 8203 bytes less th",
|
|
"product_code":"dws",
|
|
"title":"Binary Data Types",
|
|
"uri":"dws_06_0013.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"756"
|
|
},
|
|
{
|
|
"desc":"Table 1 lists date and time types supported by GaussDB(DWS). For the operators and built-in functions of the types, see Date and Time Processing Functions and Operators.I",
|
|
"product_code":"dws",
|
|
"title":"Date/Time Types",
|
|
"uri":"dws_06_0014.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"757"
|
|
},
|
|
{
|
|
"desc":"Table 1 lists the geometric types that can be used in GaussDB(DWS). The most fundamental type, the point, forms the basis for all of the other types.A rich set of functio",
|
|
"product_code":"dws",
|
|
"title":"Geometric Types",
|
|
"uri":"dws_06_0015.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"758"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"759"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"760"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) offers data types to store IPv4, IPv6, and MAC addresses.It is better to use network address types instead of plaintext types to store IPv4, IPv6, and MAC ad",
|
|
"product_code":"dws",
|
|
"title":"Network Address Types",
|
|
"uri":"dws_06_0016.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"761"
|
|
},
|
|
{
|
|
"desc":"Bit strings are strings of 1's and 0's. They can be used to store bit masks.GaussDB(DWS) supports two SQL bit types: bit(n) and bit varying(n), where n is a positive inte",
|
|
"product_code":"dws",
|
|
"title":"Bit String Types",
|
|
"uri":"dws_06_0017.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"762"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"763"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"764"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"765"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"766"
|
|
},
|
|
{
|
|
"desc":"HyperLoglog (HLL) is an approximation algorithm for efficiently counting the number of distinct values in a data set. It features faster computing and lower space usage. ",
|
|
"product_code":"dws",
|
|
"title":"HLL Data Types",
|
|
"uri":"dws_06_0021.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"767"
|
|
},
|
|
{
|
|
"desc":"Object identifiers (OIDs) are used internally by GaussDB(DWS) as primary keys for various system catalogs. OIDs are not added to user-created tables by the system. The OI",
|
|
"product_code":"dws",
|
|
"title":"Object Identifier Types",
|
|
"uri":"dws_06_0022.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"768"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) has a number of special-purpose entries that are collectively called pseudo-types. A pseudo-type cannot be used as a column data type, but it can be used to ",
|
|
"product_code":"dws",
|
|
"title":"Pseudo-Types",
|
|
"uri":"dws_06_0023.html",
|
|
"doc_type":"devg",
|
|
"p_code":"751",
|
|
"code":"769"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"770"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"771"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"772"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"751",
|
|
"code":"773"
|
|
},
|
|
{
|
|
"desc":"Table 1 lists the constants and macros that can be used in GaussDB(DWS).",
|
|
"product_code":"dws",
|
|
"title":"Constant and Macro",
|
|
"uri":"dws_06_0026.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"774"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Functions and Operators",
|
|
"uri":"dws_06_0027.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"775"
|
|
},
|
|
{
|
|
"desc":"String functions and operators provided by GaussDB(DWS) are for concatenating strings with each other, concatenating strings with non-strings, and matching the patterns o",
|
|
"product_code":"dws",
|
|
"title":"Character Processing Functions and Operators",
|
|
"uri":"dws_06_0030.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"776"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"777"
|
|
},
|
|
{
|
|
"desc":"Aside from the usual comparison operators, the following operators can be used. Bit string operands of &, |, and # must be of equal length. When bit shifting, the origina",
|
|
"product_code":"dws",
|
|
"title":"Bit String Functions and Operators",
|
|
"uri":"dws_06_0032.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"778"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"779"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"779",
|
|
"code":"780"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"779",
|
|
"code":"781"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Date and Time Processing Functions and Operators",
|
|
"uri":"dws_06_0035.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"782"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"782",
|
|
"code":"783"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"782",
|
|
"code":"784"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"782",
|
|
"code":"785"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"782",
|
|
"code":"786"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"782",
|
|
"code":"787"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"782",
|
|
"code":"788"
|
|
},
|
|
{
|
|
"desc":"The sequence functions provide a simple method to ensure security of multiple users for users to obtain sequence values from sequence objects.The hybrid data warehouse (s",
|
|
"product_code":"dws",
|
|
"title":"SEQUENCE Functions",
|
|
"uri":"dws_06_0043.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"789"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"790"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"790",
|
|
"code":"791"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"790",
|
|
"code":"792"
|
|
},
|
|
{
|
|
"desc":"The usual logical operators include AND, OR, and NOT. SQL uses a three-valued logical system with true, false, and null, which represents \"unknown\". Their priorities are ",
|
|
"product_code":"dws",
|
|
"title":"Logical Operators",
|
|
"uri":"dws_06_0028.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"793"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"794"
|
|
},
|
|
{
|
|
"desc":"There are three separate approaches to pattern matching provided by the database: the traditional SQL LIKE operator, the more recent SIMILAR TO operator, and POSIX-style ",
|
|
"product_code":"dws",
|
|
"title":"Pattern Matching Operators",
|
|
"uri":"dws_06_0033.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"795"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"796"
|
|
},
|
|
{
|
|
"desc":"Regular aggregate functions return a single value calculated from values in a row, or group all rows into a single output row. Window functions perform a calculation acro",
|
|
"product_code":"dws",
|
|
"title":"Window Functions",
|
|
"uri":"dws_06_0047.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"797"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"798"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"799"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"799",
|
|
"code":"800"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"799",
|
|
"code":"801"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"802"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"803"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Range Functions and Operators",
|
|
"uri":"dws_06_0045.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"804"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"804",
|
|
"code":"805"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"804",
|
|
"code":"806"
|
|
},
|
|
{
|
|
"desc":"Data redaction functions are used to mask and protect sensitive data. Generally, you are advised to bind these functions to the columns to be redacted based on the data r",
|
|
"product_code":"dws",
|
|
"title":"Data Redaction Functions",
|
|
"uri":"dws_06_0064.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"807"
|
|
},
|
|
{
|
|
"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":"Roaring Bitmap Functions and Operators",
|
|
"uri":"dws_06_0991.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"808"
|
|
},
|
|
{
|
|
"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":"Roaring Bitmap Operators",
|
|
"uri":"dws_06_0322.html",
|
|
"doc_type":"devg",
|
|
"p_code":"808",
|
|
"code":"809"
|
|
},
|
|
{
|
|
"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":"Roaring Bitmap Functions",
|
|
"uri":"dws_06_0323.html",
|
|
"doc_type":"devg",
|
|
"p_code":"808",
|
|
"code":"810"
|
|
},
|
|
{
|
|
"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":"Roaring Bitmap Aggregation Functions",
|
|
"uri":"dws_06_0324.html",
|
|
"doc_type":"devg",
|
|
"p_code":"808",
|
|
"code":"811"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"808",
|
|
"code":"812"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"813"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"814"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"814",
|
|
"code":"815"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"814",
|
|
"code":"816"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"814",
|
|
"code":"817"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"818"
|
|
},
|
|
{
|
|
"desc":"The HLL type supports the following operators:",
|
|
"product_code":"dws",
|
|
"title":"HLL Operators",
|
|
"uri":"dws_06_0326.html",
|
|
"doc_type":"devg",
|
|
"p_code":"818",
|
|
"code":"819"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"818",
|
|
"code":"820"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"818",
|
|
"code":"821"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"818",
|
|
"code":"822"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"818",
|
|
"code":"823"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"818",
|
|
"code":"824"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"825"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"825",
|
|
"code":"826"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"825",
|
|
"code":"827"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"828"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"828",
|
|
"code":"829"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"828",
|
|
"code":"830"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"828",
|
|
"code":"831"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"832"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"832",
|
|
"code":"833"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"832",
|
|
"code":"834"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"835"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"835",
|
|
"code":"836"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"835",
|
|
"code":"837"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"835",
|
|
"code":"838"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"835",
|
|
"code":"839"
|
|
},
|
|
{
|
|
"desc":"Description: Queries information about system functions.Return type: record",
|
|
"product_code":"dws",
|
|
"title":"System Function Checking Function",
|
|
"uri":"dws_06_0342.html",
|
|
"doc_type":"devg",
|
|
"p_code":"835",
|
|
"code":"840"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"835",
|
|
"code":"841"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"835",
|
|
"code":"842"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"835",
|
|
"code":"843"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"835",
|
|
"code":"844"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"System Administration Functions",
|
|
"uri":"dws_06_0052.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"845"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"845",
|
|
"code":"846"
|
|
},
|
|
{
|
|
"desc":"Universal file access functions provide local access interfaces for files on a database server. Only files in the database cluster directory and the log_directory directo",
|
|
"product_code":"dws",
|
|
"title":"Universal File Access Functions",
|
|
"uri":"dws_06_0054.html",
|
|
"doc_type":"devg",
|
|
"p_code":"845",
|
|
"code":"847"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"845",
|
|
"code":"848"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"845",
|
|
"code":"849"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"845",
|
|
"code":"850"
|
|
},
|
|
{
|
|
"desc":"A replication function synchronizes logs and data between instances. It is a statistics or operation method provided by the system to implement HA.Replication functions e",
|
|
"product_code":"dws",
|
|
"title":"Replication Functions",
|
|
"uri":"dws_06_0061.html",
|
|
"doc_type":"devg",
|
|
"p_code":"845",
|
|
"code":"851"
|
|
},
|
|
{
|
|
"desc":"This section describes the functions of the resource management module.Description: Records job exception information. The input parameter must be greater than 0. If this",
|
|
"product_code":"dws",
|
|
"title":"Resource Management Functions",
|
|
"uri":"dws_06_0063.html",
|
|
"doc_type":"devg",
|
|
"p_code":"845",
|
|
"code":"852"
|
|
},
|
|
{
|
|
"desc":"Description: Checks whether the connection data buffered in the pool is consistent with pgxc_node.Return type: booleanDescription: Updates the connection information buff",
|
|
"product_code":"dws",
|
|
"title":"Other Functions",
|
|
"uri":"dws_06_0062.html",
|
|
"doc_type":"devg",
|
|
"p_code":"845",
|
|
"code":"853"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"854"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"854",
|
|
"code":"855"
|
|
},
|
|
{
|
|
"desc":"Restoration control functions provide information about the status of standby nodes. These functions may be executed both during restoration and in normal running.Descrip",
|
|
"product_code":"dws",
|
|
"title":"Restoration Control Functions",
|
|
"uri":"dws_06_0301.html",
|
|
"doc_type":"devg",
|
|
"p_code":"854",
|
|
"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":"Database Object Functions",
|
|
"uri":"dws_06_0058.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"857"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"857",
|
|
"code":"858"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"857",
|
|
"code":"859"
|
|
},
|
|
{
|
|
"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 Functions",
|
|
"uri":"dws_06_0304.html",
|
|
"doc_type":"devg",
|
|
"p_code":"857",
|
|
"code":"860"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"857",
|
|
"code":"861"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"857",
|
|
"code":"862"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"863"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"863",
|
|
"code":"864"
|
|
},
|
|
{
|
|
"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":"Functions for Verifying Residual Files",
|
|
"uri":"dws_06_0348.html",
|
|
"doc_type":"devg",
|
|
"p_code":"863",
|
|
"code":"865"
|
|
},
|
|
{
|
|
"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":"Functions for Deleting Residual Files",
|
|
"uri":"dws_06_0349.html",
|
|
"doc_type":"devg",
|
|
"p_code":"863",
|
|
"code":"866"
|
|
},
|
|
{
|
|
"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":"Residual File Management Functions",
|
|
"uri":"dws_06_0350.html",
|
|
"doc_type":"devg",
|
|
"p_code":"863",
|
|
"code":"867"
|
|
},
|
|
{
|
|
"desc":"Statistics information functions are divided into the following two categories: functions that access databases, using the OID of each table or index in a database to mar",
|
|
"product_code":"dws",
|
|
"title":"Statistics Information Functions",
|
|
"uri":"dws_06_0065.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"868"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"869"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"775",
|
|
"code":"870"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"870",
|
|
"code":"871"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"870",
|
|
"code":"872"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"870",
|
|
"code":"873"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"870",
|
|
"code":"874"
|
|
},
|
|
{
|
|
"desc":"The pv_memory_profiling(type int) and environment variable MALLOC_CONF are used by GaussDB(DWS) to control the enabling and disabling of the memory allocation call stack ",
|
|
"product_code":"dws",
|
|
"title":"Call Stack Recording Functions",
|
|
"uri":"dws_06_0068.html",
|
|
"doc_type":"devg",
|
|
"p_code":"775",
|
|
"code":"875"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Expressions",
|
|
"uri":"dws_06_0069.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"876"
|
|
},
|
|
{
|
|
"desc":"Logical Operators lists the operators and calculation rules of logical expressions.Comparison Operators lists the common comparative operators.In addition to comparative ",
|
|
"product_code":"dws",
|
|
"title":"Simple Expressions",
|
|
"uri":"dws_06_0070.html",
|
|
"doc_type":"devg",
|
|
"p_code":"876",
|
|
"code":"877"
|
|
},
|
|
{
|
|
"desc":"Data that meets the requirements specified by conditional expressions are filtered during SQL statement execution.Conditional expressions include the following types:CASE",
|
|
"product_code":"dws",
|
|
"title":"Conditional Expressions",
|
|
"uri":"dws_06_0071.html",
|
|
"doc_type":"devg",
|
|
"p_code":"876",
|
|
"code":"878"
|
|
},
|
|
{
|
|
"desc":"Subquery expressions include the following types:EXISTS/NOT EXISTSFigure 1 shows the syntax of an EXISTS/NOT EXISTS expression.EXISTS/NOT EXISTS::=The parameter of an EXI",
|
|
"product_code":"dws",
|
|
"title":"Subquery Expressions",
|
|
"uri":"dws_06_0072.html",
|
|
"doc_type":"devg",
|
|
"p_code":"876",
|
|
"code":"879"
|
|
},
|
|
{
|
|
"desc":"expressionIN(value [, ...])The parentheses on the right contain an expression list. The expression result on the left is compared with the content in the expression list.",
|
|
"product_code":"dws",
|
|
"title":"Array Expressions",
|
|
"uri":"dws_06_0073.html",
|
|
"doc_type":"devg",
|
|
"p_code":"876",
|
|
"code":"880"
|
|
},
|
|
{
|
|
"desc":"Syntax:row_constructor operator row_constructorBoth sides of the row expression are row constructors. The values of both rows must have the same number of fields and they",
|
|
"product_code":"dws",
|
|
"title":"Row Expressions",
|
|
"uri":"dws_06_0074.html",
|
|
"doc_type":"devg",
|
|
"p_code":"876",
|
|
"code":"881"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Type Conversion",
|
|
"uri":"dws_06_0075.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"882"
|
|
},
|
|
{
|
|
"desc":"SQL is a typed language. That is, every data item has an associated data type which determines its behavior and allowed usage. GaussDB(DWS) has an extensible type system ",
|
|
"product_code":"dws",
|
|
"title":"Overview",
|
|
"uri":"dws_06_0076.html",
|
|
"doc_type":"devg",
|
|
"p_code":"882",
|
|
"code":"883"
|
|
},
|
|
{
|
|
"desc":"Select the operators to be considered from the pg_operator system catalog. Considered operators are those with the matching name and argument count. If the search path fi",
|
|
"product_code":"dws",
|
|
"title":"Operators",
|
|
"uri":"dws_06_0077.html",
|
|
"doc_type":"devg",
|
|
"p_code":"882",
|
|
"code":"884"
|
|
},
|
|
{
|
|
"desc":"Select the functions to be considered from the pg_proc system catalog. If a non-schema-qualified function name was used, the functions in the current search path are cons",
|
|
"product_code":"dws",
|
|
"title":"Functions",
|
|
"uri":"dws_06_0078.html",
|
|
"doc_type":"devg",
|
|
"p_code":"882",
|
|
"code":"885"
|
|
},
|
|
{
|
|
"desc":"Search for an exact match with the target column.Try to convert the expression to the target type. This will succeed if there is a registered cast between the two types. ",
|
|
"product_code":"dws",
|
|
"title":"Value Storage",
|
|
"uri":"dws_06_0079.html",
|
|
"doc_type":"devg",
|
|
"p_code":"882",
|
|
"code":"886"
|
|
},
|
|
{
|
|
"desc":"SQL UNION constructs must match up possibly dissimilar types to become a single result set. Since all query results from a SELECT UNION statement must appear in a single ",
|
|
"product_code":"dws",
|
|
"title":"UNION, CASE, and Related Constructs",
|
|
"uri":"dws_06_0080.html",
|
|
"doc_type":"devg",
|
|
"p_code":"882",
|
|
"code":"887"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Full Text Search",
|
|
"uri":"dws_06_0081.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"888"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Introduction",
|
|
"uri":"dws_06_0082.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"code":"889"
|
|
},
|
|
{
|
|
"desc":"Textual search operators have been used in databases for years. GaussDB(DWS) has ~, ~*, LIKE, and ILIKEoperators for textual data types, but they lack many essential prop",
|
|
"product_code":"dws",
|
|
"title":"Full-Text Retrieval",
|
|
"uri":"dws_06_0083.html",
|
|
"doc_type":"devg",
|
|
"p_code":"889",
|
|
"code":"890"
|
|
},
|
|
{
|
|
"desc":"A document is the unit of searching in a full text search system; for example, a magazine article or email message. The text search engine must be able to parse documents",
|
|
"product_code":"dws",
|
|
"title":"What Is a Document?",
|
|
"uri":"dws_06_0084.html",
|
|
"doc_type":"devg",
|
|
"p_code":"889",
|
|
"code":"891"
|
|
},
|
|
{
|
|
"desc":"Full text search in GaussDB(DWS) is based on the match operator @@, which returns true if a tsvector (document) matches a tsquery (query). It does not matter which data t",
|
|
"product_code":"dws",
|
|
"title":"Basic Text Matching",
|
|
"uri":"dws_06_0085.html",
|
|
"doc_type":"devg",
|
|
"p_code":"889",
|
|
"code":"892"
|
|
},
|
|
{
|
|
"desc":"Full text search functionality includes the ability to do many more things: skip indexing certain words (stop words), process synonyms, and use sophisticated parsing, for",
|
|
"product_code":"dws",
|
|
"title":"Configurations",
|
|
"uri":"dws_06_0086.html",
|
|
"doc_type":"devg",
|
|
"p_code":"889",
|
|
"code":"893"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Table and index",
|
|
"uri":"dws_06_0087.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"code":"894"
|
|
},
|
|
{
|
|
"desc":"It is possible to do a full text search without an index.A simple query to print each row that contains the word science in its body column is as follows:DROP SCHEMA IF E",
|
|
"product_code":"dws",
|
|
"title":"Searching a Table",
|
|
"uri":"dws_06_0088.html",
|
|
"doc_type":"devg",
|
|
"p_code":"894",
|
|
"code":"895"
|
|
},
|
|
{
|
|
"desc":"You can create a GIN index to speed up text searches:The to_tsvector() function accepts one or two augments.If the one-augment version of the index is used, the system wi",
|
|
"product_code":"dws",
|
|
"title":"Creating an Index",
|
|
"uri":"dws_06_0089.html",
|
|
"doc_type":"devg",
|
|
"p_code":"894",
|
|
"code":"896"
|
|
},
|
|
{
|
|
"desc":"The following is an example of using an index. Run the following statements in a database that uses the UTF-8 or GBK encoding:In this example, table1 has two GIN indexes ",
|
|
"product_code":"dws",
|
|
"title":"Constraints on Index Use",
|
|
"uri":"dws_06_0090.html",
|
|
"doc_type":"devg",
|
|
"p_code":"894",
|
|
"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":"Controlling Text Search",
|
|
"uri":"dws_06_0091.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"code":"898"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) provides function to_tsvector for converting a document to the tsvector data type.to_tsvector parses a textual document into tokens, reduces the tokens to le",
|
|
"product_code":"dws",
|
|
"title":"Parsing Documents",
|
|
"uri":"dws_06_0092.html",
|
|
"doc_type":"devg",
|
|
"p_code":"898",
|
|
"code":"899"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) provides functions to_tsquery and plainto_tsquery for converting a query to the tsquery data type. to_tsquery offers access to more features than plainto_tsq",
|
|
"product_code":"dws",
|
|
"title":"Parsing Queries",
|
|
"uri":"dws_06_0093.html",
|
|
"doc_type":"devg",
|
|
"p_code":"898",
|
|
"code":"900"
|
|
},
|
|
{
|
|
"desc":"Ranking attempts to measure how relevant documents are to a particular query, so that when there are many matches the most relevant ones can be shown first. GaussDB(DWS) ",
|
|
"product_code":"dws",
|
|
"title":"Ranking Search Results",
|
|
"uri":"dws_06_0094.html",
|
|
"doc_type":"devg",
|
|
"p_code":"898",
|
|
"code":"901"
|
|
},
|
|
{
|
|
"desc":"To present search results it is ideal to show a part of each document and how it is related to the query. Usually, search engines show fragments of the document with mark",
|
|
"product_code":"dws",
|
|
"title":"Highlighting Results",
|
|
"uri":"dws_06_0095.html",
|
|
"doc_type":"devg",
|
|
"p_code":"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":"Additional Features",
|
|
"uri":"dws_06_0096.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"code":"903"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) provides functions and operators that can be used to manipulate documents that are already in tsvector type.tsvector || tsvectorThe tsvector concatenation op",
|
|
"product_code":"dws",
|
|
"title":"Manipulating tsvector",
|
|
"uri":"dws_06_0097.html",
|
|
"doc_type":"devg",
|
|
"p_code":"903",
|
|
"code":"904"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) provides functions and operators that can be used to manipulate queries that are already in tsquery type.tsquery && tsqueryReturns the AND-combination of the",
|
|
"product_code":"dws",
|
|
"title":"Manipulating Queries",
|
|
"uri":"dws_06_0098.html",
|
|
"doc_type":"devg",
|
|
"p_code":"903",
|
|
"code":"905"
|
|
},
|
|
{
|
|
"desc":"The ts_rewrite family of functions searches a given tsquery for occurrences of a target subquery, and replace each occurrence with a substitute subquery. In essence this ",
|
|
"product_code":"dws",
|
|
"title":"Rewriting Queries",
|
|
"uri":"dws_06_0099.html",
|
|
"doc_type":"devg",
|
|
"p_code":"903",
|
|
"code":"906"
|
|
},
|
|
{
|
|
"desc":"The function ts_stat is useful for checking your configuration and for finding stop-word candidates.sqlquery is a text value containing an SQL query which must return a s",
|
|
"product_code":"dws",
|
|
"title":"Gathering Document Statistics",
|
|
"uri":"dws_06_0100.html",
|
|
"doc_type":"devg",
|
|
"p_code":"903",
|
|
"code":"907"
|
|
},
|
|
{
|
|
"desc":"Text search parsers are responsible for splitting raw document text into tokens and identifying each token's type, where the set of types is defined by the parser itself.",
|
|
"product_code":"dws",
|
|
"title":"Parsers",
|
|
"uri":"dws_06_0101.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"code":"908"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Dictionaries",
|
|
"uri":"dws_06_0102.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"code":"909"
|
|
},
|
|
{
|
|
"desc":"A dictionary is used to define stop words, that is, words to be ignored in full-text retrieval.A dictionary can also be used to normalize words so that different derived ",
|
|
"product_code":"dws",
|
|
"title":"Overview",
|
|
"uri":"dws_06_0103.html",
|
|
"doc_type":"devg",
|
|
"p_code":"909",
|
|
"code":"910"
|
|
},
|
|
{
|
|
"desc":"Stop words are words that are very common, appear in almost every document, and have no discrimination value. Therefore, they can be ignored in the context of full text s",
|
|
"product_code":"dws",
|
|
"title":"Stop Words",
|
|
"uri":"dws_06_0104.html",
|
|
"doc_type":"devg",
|
|
"p_code":"909",
|
|
"code":"911"
|
|
},
|
|
{
|
|
"desc":"A Simple dictionary operates by converting the input token to lower case and checking it against a list of stop words. If the token is found in the list, an empty array w",
|
|
"product_code":"dws",
|
|
"title":"Simple Dictionary",
|
|
"uri":"dws_06_0105.html",
|
|
"doc_type":"devg",
|
|
"p_code":"909",
|
|
"code":"912"
|
|
},
|
|
{
|
|
"desc":"A synonym dictionary is used to define, identify, and convert synonyms of tokens. Phrases are not supported (use the thesaurus dictionary in Thesaurus Dictionary).A synon",
|
|
"product_code":"dws",
|
|
"title":"Synonym Dictionary",
|
|
"uri":"dws_06_0106.html",
|
|
"doc_type":"devg",
|
|
"p_code":"909",
|
|
"code":"913"
|
|
},
|
|
{
|
|
"desc":"A thesaurus dictionary (sometimes abbreviated as TZ) is a collection of words that include relationships between words and phrases, such as broader terms (BT), narrower t",
|
|
"product_code":"dws",
|
|
"title":"Thesaurus Dictionary",
|
|
"uri":"dws_06_0107.html",
|
|
"doc_type":"devg",
|
|
"p_code":"909",
|
|
"code":"914"
|
|
},
|
|
{
|
|
"desc":"The Ispell dictionary template supports morphological dictionaries, which can normalize many different linguistic forms of a word into the same lexeme. For example, an En",
|
|
"product_code":"dws",
|
|
"title":"Ispell Dictionary",
|
|
"uri":"dws_06_0108.html",
|
|
"doc_type":"devg",
|
|
"p_code":"909",
|
|
"code":"915"
|
|
},
|
|
{
|
|
"desc":"A Snowball dictionary is based on a project by Martin Porter and is used for stem analysis, providing stemming algorithms for many languages. GaussDB(DWS) provides predef",
|
|
"product_code":"dws",
|
|
"title":"Snowball Dictionary",
|
|
"uri":"dws_06_0109.html",
|
|
"doc_type":"devg",
|
|
"p_code":"909",
|
|
"code":"916"
|
|
},
|
|
{
|
|
"desc":"Text search configuration specifies the following components required for converting a document into a tsvector:A parser, decomposes a text into tokens.Dictionary list, c",
|
|
"product_code":"dws",
|
|
"title":"Configuration Examples",
|
|
"uri":"dws_06_0110.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"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":"Testing and Debugging Text Search",
|
|
"uri":"dws_06_0111.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"code":"918"
|
|
},
|
|
{
|
|
"desc":"The function ts_debug allows easy testing of a text search configuration.ts_debug displays information about every token of document as produced by the parser and process",
|
|
"product_code":"dws",
|
|
"title":"Testing a Configuration",
|
|
"uri":"dws_06_0112.html",
|
|
"doc_type":"devg",
|
|
"p_code":"918",
|
|
"code":"919"
|
|
},
|
|
{
|
|
"desc":"The ts_parse function allows direct testing of a text search parser.ts_parse parses the given document and returns a series of records, one for each token produced by par",
|
|
"product_code":"dws",
|
|
"title":"Testing a Parser",
|
|
"uri":"dws_06_0113.html",
|
|
"doc_type":"devg",
|
|
"p_code":"918",
|
|
"code":"920"
|
|
},
|
|
{
|
|
"desc":"The ts_lexize function facilitates dictionary testing.ts_lexize(dict regdictionary, token text) returns text[] ts_lexize returns an array of lexemes if the input token is",
|
|
"product_code":"dws",
|
|
"title":"Testing a Dictionary",
|
|
"uri":"dws_06_0114.html",
|
|
"doc_type":"devg",
|
|
"p_code":"918",
|
|
"code":"921"
|
|
},
|
|
{
|
|
"desc":"The current limitations of GaussDB(DWS)'s full text search are:The length of each lexeme must be less than 2 KB.The length of a tsvector (lexemes + positions) must be les",
|
|
"product_code":"dws",
|
|
"title":"Limitations",
|
|
"uri":"dws_06_0115.html",
|
|
"doc_type":"devg",
|
|
"p_code":"888",
|
|
"code":"922"
|
|
},
|
|
{
|
|
"desc":"GaussDB(DWS) runs SQL statements to perform different system operations, such as setting variables, displaying the execution plan, and collecting garbage data.For details",
|
|
"product_code":"dws",
|
|
"title":"System Operation",
|
|
"uri":"dws_06_0116.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"923"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"747",
|
|
"code":"924"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"DDL Syntax",
|
|
"uri":"dws_06_0118.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"925"
|
|
},
|
|
{
|
|
"desc":"Data definition language (DDL) is used to define or modify an object in a database, such as a table, index, or view.GaussDB(DWS) does not support DDL if its CN is unavail",
|
|
"product_code":"dws",
|
|
"title":"DDL Syntax Overview",
|
|
"uri":"dws_06_0119.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"926"
|
|
},
|
|
{
|
|
"desc":"Modifies the attributes of a database, including the database name, owner, maximum number of connections, and object isolation attributes.Only the owner of a database or ",
|
|
"product_code":"dws",
|
|
"title":"ALTER DATABASE",
|
|
"uri":"dws_06_0120.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"927"
|
|
},
|
|
{
|
|
"desc":"Modifies 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 range: a string. It mus",
|
|
"product_code":"dws",
|
|
"title":"ALTER EXCEPT RULE",
|
|
"uri":"dws_06_0280.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"928"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"929"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"930"
|
|
},
|
|
{
|
|
"desc":"Modifies a foreign table in associated analysis.NoneSet a foreign table's attributes.ALTER FOREIGN TABLE [ IF EXISTS ] tablename\n OPTIONS ( {[ SET ] option ['value']} ",
|
|
"product_code":"dws",
|
|
"title":"ALTER FOREIGN TABLE (SQL on other GaussDB(DWS))",
|
|
"uri":"dws_06_0125.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"931"
|
|
},
|
|
{
|
|
"desc":"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 change the owner of ",
|
|
"product_code":"dws",
|
|
"title":"ALTER FUNCTION",
|
|
"uri":"dws_06_0126.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"932"
|
|
},
|
|
{
|
|
"desc":"ALTER GROUP modifies the attributes of a user group.ALTER GROUP is an alias for ALTER ROLE, and it is not a standard SQL command and not recommended. Users can use ALTER ",
|
|
"product_code":"dws",
|
|
"title":"ALTER GROUP",
|
|
"uri":"dws_06_0127.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"933"
|
|
},
|
|
{
|
|
"desc":"Modifies the definition of an existing index.Only the owner of an index or a system administrator can run this statement.Renames a table index. The new index name can be ",
|
|
"product_code":"dws",
|
|
"title":"ALTER INDEX",
|
|
"uri":"dws_06_0128.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"934"
|
|
},
|
|
{
|
|
"desc":"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 of the large objec",
|
|
"product_code":"dws",
|
|
"title":"ALTER LARGE OBJECT",
|
|
"uri":"dws_06_0129.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"935"
|
|
},
|
|
{
|
|
"desc":"Modifies the publication attributes.This statement is supported by clusters of version 8.2.0.100 or later.This statement can be used by the owner of a publication and the",
|
|
"product_code":"dws",
|
|
"title":"ALTER PUBLICATION",
|
|
"uri":"dws_06_0284.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"936"
|
|
},
|
|
{
|
|
"desc":"Modifies a data redaction policy applied to a specified table.Only the owner of the table to which the redaction policy is applied has the permission to modify the redact",
|
|
"product_code":"dws",
|
|
"title":"ALTER REDACTION POLICY",
|
|
"uri":"dws_06_0132.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"937"
|
|
},
|
|
{
|
|
"desc":"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 name of the resourc",
|
|
"product_code":"dws",
|
|
"title":"ALTER RESOURCE POOL",
|
|
"uri":"dws_06_0133.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"938"
|
|
},
|
|
{
|
|
"desc":"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 follows:{C",
|
|
"product_code":"dws",
|
|
"title":"ALTER ROLE",
|
|
"uri":"dws_06_0134.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"939"
|
|
},
|
|
{
|
|
"desc":"Modifies subscription attributes.This statement is supported by clusters of version 8.2.0.100 or later.Only the owner of a subscription can execute ALTER SUBSCRIPTION, an",
|
|
"product_code":"dws",
|
|
"title":"ALTER SUBSCRIPTION",
|
|
"uri":"dws_06_0287.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"940"
|
|
},
|
|
{
|
|
"desc":"Modifies an existing row-level access control policy, including the policy name and the users and expressions affected by the policy.Only the table owner or administrator",
|
|
"product_code":"dws",
|
|
"title":"ALTER ROW LEVEL SECURITY POLICY",
|
|
"uri":"dws_06_0135.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"941"
|
|
},
|
|
{
|
|
"desc":"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 permission to ru",
|
|
"product_code":"dws",
|
|
"title":"ALTER SCHEMA",
|
|
"uri":"dws_06_0136.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"942"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"943"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"944"
|
|
},
|
|
{
|
|
"desc":"Defines or modifies the conditions or parameters that affect the current session. Modified session parameters are kept until the current session is disconnected.If the ST",
|
|
"product_code":"dws",
|
|
"title":"ALTER SESSION",
|
|
"uri":"dws_06_0139.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"945"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"946"
|
|
},
|
|
{
|
|
"desc":"ALTER SYSTEM KILL SESSION ends a session.Nonesession_sid, serialSpecifies SID and SERIAL of a session (see examples for format).Value range: The SIDs and SERIALs of all s",
|
|
"product_code":"dws",
|
|
"title":"ALTER SYSTEM KILL SESSION",
|
|
"uri":"dws_06_0141.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"947"
|
|
},
|
|
{
|
|
"desc":"Modifies tables, including modifying table definitions, renaming tables, renaming specified columns in tables, renaming table constraints, setting table schemas,enabling ",
|
|
"product_code":"dws",
|
|
"title":"ALTER TABLE",
|
|
"uri":"dws_06_0142.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"948"
|
|
},
|
|
{
|
|
"desc":"Modifies table partitioning, including adding, deleting, splitting, merging partitions, and modifying partition attributes.The name of the added partition must be differe",
|
|
"product_code":"dws",
|
|
"title":"ALTER TABLE PARTITION",
|
|
"uri":"dws_06_0143.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"949"
|
|
},
|
|
{
|
|
"desc":"Modifies the definition of a text search configuration. You can modify its mappings from token types to dictionaries, change the configuration's name or owner, or modify ",
|
|
"product_code":"dws",
|
|
"title":"ALTER TEXT SEARCH CONFIGURATION",
|
|
"uri":"dws_06_0145.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"950"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"951"
|
|
},
|
|
{
|
|
"desc":"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.trigger_nameSpecif",
|
|
"product_code":"dws",
|
|
"title":"ALTER TRIGGER",
|
|
"uri":"dws_06_0147.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"952"
|
|
},
|
|
{
|
|
"desc":"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 name RENAM",
|
|
"product_code":"dws",
|
|
"title":"ALTER TYPE",
|
|
"uri":"dws_06_0148.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"953"
|
|
},
|
|
{
|
|
"desc":"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 rights or o",
|
|
"product_code":"dws",
|
|
"title":"ALTER USER",
|
|
"uri":"dws_06_0149.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"954"
|
|
},
|
|
{
|
|
"desc":"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 running ALTER",
|
|
"product_code":"dws",
|
|
"title":"ALTER VIEW",
|
|
"uri":"dws_06_0150.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"955"
|
|
},
|
|
{
|
|
"desc":"Clears database connections when a database is abnormal. You may use this statement to delete a specific user's connections to a specified database.NoneCHECKThis paramete",
|
|
"product_code":"dws",
|
|
"title":"CLEAN CONNECTION",
|
|
"uri":"dws_06_0151.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"956"
|
|
},
|
|
{
|
|
"desc":"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 longer nee",
|
|
"product_code":"dws",
|
|
"title":"CLOSE",
|
|
"uri":"dws_06_0152.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"957"
|
|
},
|
|
{
|
|
"desc":"Clusters 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 s",
|
|
"product_code":"dws",
|
|
"title":"CLUSTER",
|
|
"uri":"dws_06_0153.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"958"
|
|
},
|
|
{
|
|
"desc":"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 object. To re",
|
|
"product_code":"dws",
|
|
"title":"COMMENT",
|
|
"uri":"dws_06_0154.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"959"
|
|
},
|
|
{
|
|
"desc":"Creates a barrier for cluster nodes. The barrier can be used for data restoration.Before creating a barrier, ensure that gtm_backup_barrier and enable_cbm_tracking are se",
|
|
"product_code":"dws",
|
|
"title":"CREATE BARRIER",
|
|
"uri":"dws_06_0155.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"960"
|
|
},
|
|
{
|
|
"desc":"CREATE DATABASE creates a database. By default, the new database will be created by cloning the standard system database template1. A different template can be specified ",
|
|
"product_code":"dws",
|
|
"title":"CREATE DATABASE",
|
|
"uri":"dws_06_0156.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"961"
|
|
},
|
|
{
|
|
"desc":"Creates an exception rule set. When creating an exception rule, you can specify the rule thresholds and operations following the triggering of an exception rule. Currentl",
|
|
"product_code":"dws",
|
|
"title":"CREATE EXCEPT RULE",
|
|
"uri":"dws_06_0281.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"962"
|
|
},
|
|
{
|
|
"desc":"CREATE FOREIGN TABLE creates a GDS foreign table.Creates a GDS foreign table in the current database for concurrent data import and export. The GDS foreign table can be r",
|
|
"product_code":"dws",
|
|
"title":"CREATE FOREIGN TABLE (for GDS Import and Export)",
|
|
"uri":"dws_06_0159.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"963"
|
|
},
|
|
{
|
|
"desc":"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 format to HDFS or OBS.Data s",
|
|
"product_code":"dws",
|
|
"title":"CREATE FOREIGN TABLE (SQL on OBS or Hadoop)",
|
|
"uri":"dws_06_0161.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"964"
|
|
},
|
|
{
|
|
"desc":"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 the database by defa",
|
|
"product_code":"dws",
|
|
"title":"CREATE FOREIGN TABLE (for OBS Import and Export)",
|
|
"uri":"dws_06_0160.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"965"
|
|
},
|
|
{
|
|
"desc":"Creates a foreign table for collaborative analysis in the current database. The foreign table is used to access tables stored in other databases for collaborative analysi",
|
|
"product_code":"dws",
|
|
"title":"CREATE FOREIGN TABLE (SQL on other GaussDB(DWS))",
|
|
"uri":"dws_06_0162.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"966"
|
|
},
|
|
{
|
|
"desc":"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 advised to explici",
|
|
"product_code":"dws",
|
|
"title":"CREATE FUNCTION",
|
|
"uri":"dws_06_0163.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"967"
|
|
},
|
|
{
|
|
"desc":"CREATE GROUP creates a user group.CREATE GROUP is an alias for CREATE ROLE, and it is not a standard SQL command and not recommended. Users can use CREATE ROLE directly.T",
|
|
"product_code":"dws",
|
|
"title":"CREATE GROUP",
|
|
"uri":"dws_06_0164.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"968"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"969"
|
|
},
|
|
{
|
|
"desc":"CREATE PROCEDURE creates a stored procedure.The precision values (if any) of the parameters or return values of a stored procedure are not checked.When creating a stored ",
|
|
"product_code":"dws",
|
|
"title":"CREATE PROCEDURE",
|
|
"uri":"dws_06_0170.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"970"
|
|
},
|
|
{
|
|
"desc":"Adds a new publication to the current database. The publication name must be different from the name of any existing publication in the current database. A publication is",
|
|
"product_code":"dws",
|
|
"title":"CREATE PUBLICATION",
|
|
"uri":"dws_06_0285.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"971"
|
|
},
|
|
{
|
|
"desc":"Creates a data redaction policy for a table.Only the table owner has the permission to create a data redaction policy.You can create data redaction policies only for ordi",
|
|
"product_code":"dws",
|
|
"title":"CREATE REDACTION POLICY",
|
|
"uri":"dws_06_0168.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"972"
|
|
},
|
|
{
|
|
"desc":"Creates a row-level access control policy for a table.The policy takes effect only after row-level access control is enabled (by runningALTER TABLE... ENABLE ROW LEVEL SE",
|
|
"product_code":"dws",
|
|
"title":"CREATE ROW LEVEL SECURITY POLICY",
|
|
"uri":"dws_06_0169.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"973"
|
|
},
|
|
{
|
|
"desc":"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 pool.pool_nameSpecifies",
|
|
"product_code":"dws",
|
|
"title":"CREATE RESOURCE POOL",
|
|
"uri":"dws_06_0171.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"974"
|
|
},
|
|
{
|
|
"desc":"Creates a role.A role is an entity that has own database objects and permissions. In different environments, a role can be considered a user, a group, or both.CREATE ROLE",
|
|
"product_code":"dws",
|
|
"title":"CREATE ROLE",
|
|
"uri":"dws_06_0172.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"975"
|
|
},
|
|
{
|
|
"desc":"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 the desired sch",
|
|
"product_code":"dws",
|
|
"title":"CREATE SCHEMA",
|
|
"uri":"dws_06_0173.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"976"
|
|
},
|
|
{
|
|
"desc":"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 sequence. Such ",
|
|
"product_code":"dws",
|
|
"title":"CREATE SEQUENCE",
|
|
"uri":"dws_06_0174.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"977"
|
|
},
|
|
{
|
|
"desc":"Creates an external server.An external server stores information of HDFS clusters, OBS servers, DLI connections, or other homogeneous clusters.By default, only the system",
|
|
"product_code":"dws",
|
|
"title":"CREATE SERVER",
|
|
"uri":"dws_06_0175.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"978"
|
|
},
|
|
{
|
|
"desc":"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 subscription represen",
|
|
"product_code":"dws",
|
|
"title":"CREATE SUBSCRIPTION",
|
|
"uri":"dws_06_0288.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"979"
|
|
},
|
|
{
|
|
"desc":"CREATE SYNONYM is used to create a synonym object. A synonym is an alias of a database object and is used to record the mapping between database object names. You can use",
|
|
"product_code":"dws",
|
|
"title":"CREATE SYNONYM",
|
|
"uri":"dws_06_0176.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"980"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"981"
|
|
},
|
|
{
|
|
"desc":"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 types associate",
|
|
"product_code":"dws",
|
|
"title":"CREATE TABLE AS",
|
|
"uri":"dws_06_0178.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"982"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"983"
|
|
},
|
|
{
|
|
"desc":"Creates a text search configuration. A text search configuration specifies a text search parser that can divide a string into tokens, plus dictionaries that can be used t",
|
|
"product_code":"dws",
|
|
"title":"CREATE TEXT SEARCH CONFIGURATION",
|
|
"uri":"dws_06_0182.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"984"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"985"
|
|
},
|
|
{
|
|
"desc":"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, triggers can ",
|
|
"product_code":"dws",
|
|
"title":"CREATE TRIGGER",
|
|
"uri":"dws_06_0184.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"986"
|
|
},
|
|
{
|
|
"desc":"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 types of data c",
|
|
"product_code":"dws",
|
|
"title":"CREATE TYPE",
|
|
"uri":"dws_06_0185.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"987"
|
|
},
|
|
{
|
|
"desc":"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 the database w",
|
|
"product_code":"dws",
|
|
"title":"CREATE USER",
|
|
"uri":"dws_06_0186.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"988"
|
|
},
|
|
{
|
|
"desc":"CREATE VIEW creates a view. A view is a virtual table, not a base table. A database only stores the definition of a view and does not store its data. The data is still st",
|
|
"product_code":"dws",
|
|
"title":"CREATE VIEW",
|
|
"uri":"dws_06_0187.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"989"
|
|
},
|
|
{
|
|
"desc":"CURSOR defines a cursor. This command retrieves few rows of data in a query.To process SQL statements, the stored procedure process assigns a memory segment to store cont",
|
|
"product_code":"dws",
|
|
"title":"CURSOR",
|
|
"uri":"dws_06_0188.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"990"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"991"
|
|
},
|
|
{
|
|
"desc":"DROP DATABASE deletes a database.DROP DATABASE cannot be undone.Only the owner of a database or a system administrator has the permission to run the DROP DATABASE command",
|
|
"product_code":"dws",
|
|
"title":"DROP DATABASE",
|
|
"uri":"dws_06_0189.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"992"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"993"
|
|
},
|
|
{
|
|
"desc":"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 will be deleted. T",
|
|
"product_code":"dws",
|
|
"title":"DROP FOREIGN TABLE",
|
|
"uri":"dws_06_0192.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"994"
|
|
},
|
|
{
|
|
"desc":"Deletes an existing function.To delete an overloaded function, you must specify the function's parameter (argument) type. For non-overloaded functions, you can delete the",
|
|
"product_code":"dws",
|
|
"title":"DROP FUNCTION",
|
|
"uri":"dws_06_0193.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"995"
|
|
},
|
|
{
|
|
"desc":"DROP GROUP deletes a user group.DROP GROUP is the alias for DROP ROLE.DROP GROUP is the internal interface encapsulated in the gs_om tool. You are not advised to use this",
|
|
"product_code":"dws",
|
|
"title":"DROP GROUP",
|
|
"uri":"dws_06_0194.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"996"
|
|
},
|
|
{
|
|
"desc":"Deletes an index.Only the owner of an index or a system administrator can run the DROP INDEX command.CONCURRENTLYDeletes an index without locking concurrent selections, i",
|
|
"product_code":"dws",
|
|
"title":"DROP INDEX",
|
|
"uri":"dws_06_0195.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"997"
|
|
},
|
|
{
|
|
"desc":"Deletes the database objects owned by a database role.The role's permissions on all the database objects in the current database and shared objects (databases and tablesp",
|
|
"product_code":"dws",
|
|
"title":"DROP OWNED",
|
|
"uri":"dws_06_0198.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"998"
|
|
},
|
|
{
|
|
"desc":"Deletes a publication.This statement is supported by clusters of version 8.2.0.100 or later.This statement can be used by the publication owner and system administrators ",
|
|
"product_code":"dws",
|
|
"title":"DROP PUBLICATION",
|
|
"uri":"dws_06_0286.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"999"
|
|
},
|
|
{
|
|
"desc":"Deletes a data redaction/masking policy applied to a specified table.Only the table owner has the permission to delete a data redaction policy.IF EXISTSSends a notice ins",
|
|
"product_code":"dws",
|
|
"title":"DROP REDACTION POLICY",
|
|
"uri":"dws_06_0199.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1000"
|
|
},
|
|
{
|
|
"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 EXISTSSends a",
|
|
"product_code":"dws",
|
|
"title":"DROP ROW LEVEL SECURITY POLICY",
|
|
"uri":"dws_06_0200.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1001"
|
|
},
|
|
{
|
|
"desc":"DROP PROCEDURE deletes an existing stored procedure.None.IF EXISTSSends a notice instead of an error if the stored procedure does not exist.Sends a notice instead of an e",
|
|
"product_code":"dws",
|
|
"title":"DROP PROCEDURE",
|
|
"uri":"dws_06_0201.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1002"
|
|
},
|
|
{
|
|
"desc":"Deletes a resource pool.If a role has been associated with a resource pool, this resource pool cannot be deleted.The user must have the DROP permission in order to delete",
|
|
"product_code":"dws",
|
|
"title":"DROP RESOURCE POOL",
|
|
"uri":"dws_06_0202.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1003"
|
|
},
|
|
{
|
|
"desc":"DROP ROLE deletes a specified role.If a \"role is being used by other users\" error is displayed when you run DROP ROLE, it might be that threads cannot respond to signals ",
|
|
"product_code":"dws",
|
|
"title":"DROP ROLE",
|
|
"uri":"dws_06_0203.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1004"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"1005"
|
|
},
|
|
{
|
|
"desc":"DROP SEQUENCE deletes a sequence from the current database.Only a sequence owner or a system administrator can delete a sequence.IF EXISTSSends a notice instead of an err",
|
|
"product_code":"dws",
|
|
"title":"DROP SEQUENCE",
|
|
"uri":"dws_06_0205.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1006"
|
|
},
|
|
{
|
|
"desc":"DROP SERVER deletes an existing data server.Only the server owner can delete a server.IF EXISTSSends a notice instead of an error if the specified table does not exist.Se",
|
|
"product_code":"dws",
|
|
"title":"DROP SERVER",
|
|
"uri":"dws_06_0206.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1007"
|
|
},
|
|
{
|
|
"desc":"Deletes a subscription.This statement is supported by clusters of version 8.2.0.100 or later.A subscription can be deleted by the system administrator only.IF EXISTSIf th",
|
|
"product_code":"dws",
|
|
"title":"DROP SUBSCRIPTION",
|
|
"uri":"dws_06_0289.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1008"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"925",
|
|
"code":"1009"
|
|
},
|
|
{
|
|
"desc":"DROP TABLE deletes a specified table.Exercise caution when running the DROP TABLE statement. Ensure that the table can be deleted before running this statement. After you",
|
|
"product_code":"dws",
|
|
"title":"DROP TABLE",
|
|
"uri":"dws_06_0208.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1010"
|
|
},
|
|
{
|
|
"desc":"DROP TEXT SEARCH CONFIGURATION deletes an existing text search configuration.To run the DROP TEXT SEARCH CONFIGURATION command, you must be the owner of the text search c",
|
|
"product_code":"dws",
|
|
"title":"DROP TEXT SEARCH CONFIGURATION",
|
|
"uri":"dws_06_0210.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1011"
|
|
},
|
|
{
|
|
"desc":"DROPTEXT SEARCHDICTIONARY deletes a full-text retrieval dictionary.DROP is not supported by predefined dictionaries.Only the owner of a dictionary can do DROP to the dict",
|
|
"product_code":"dws",
|
|
"title":"DROP TEXT SEARCH DICTIONARY",
|
|
"uri":"dws_06_0211.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1012"
|
|
},
|
|
{
|
|
"desc":"DROP TRIGGER deletes a trigger.Only the owner of a trigger and system administrators can run the DROP TRIGGER statement.IF EXISTSSends a notice instead of an error if the",
|
|
"product_code":"dws",
|
|
"title":"DROP TRIGGER",
|
|
"uri":"dws_06_0212.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1013"
|
|
},
|
|
{
|
|
"desc":"DROP TYPE deletes a user-defined data type. Only the type owner has permission to run this statement.IF EXISTSSends a notice instead of an error if the specified type doe",
|
|
"product_code":"dws",
|
|
"title":"DROP TYPE",
|
|
"uri":"dws_06_0213.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1014"
|
|
},
|
|
{
|
|
"desc":"Deletes a user. Doing so will also delete the schema that has the same name as the user.CASCADE is used to delete objects (excluding databases) that depend on the user. C",
|
|
"product_code":"dws",
|
|
"title":"DROP USER",
|
|
"uri":"dws_06_0214.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1015"
|
|
},
|
|
{
|
|
"desc":"DROP VIEW forcibly deletes an existing view in a database.Only a view owner or a system administrator can run DROP VIEW command.IF EXISTSSends a notice instead of an erro",
|
|
"product_code":"dws",
|
|
"title":"DROP VIEW",
|
|
"uri":"dws_06_0215.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1016"
|
|
},
|
|
{
|
|
"desc":"FETCH retrieves data using a previously-created cursor.A cursor has an associated position, which is used by FETCH. The cursor position can be before the first row of the",
|
|
"product_code":"dws",
|
|
"title":"FETCH",
|
|
"uri":"dws_06_0216.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1017"
|
|
},
|
|
{
|
|
"desc":"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 direct",
|
|
"product_code":"dws",
|
|
"title":"MOVE",
|
|
"uri":"dws_06_0217.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1018"
|
|
},
|
|
{
|
|
"desc":"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 index has be",
|
|
"product_code":"dws",
|
|
"title":"REINDEX",
|
|
"uri":"dws_06_0218.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1019"
|
|
},
|
|
{
|
|
"desc":"Renames a specified table.RENAME TABLE has the same function as the following command:schemaSpecifies the schema name.Specifies the schema name.table_nameSpecifies the na",
|
|
"product_code":"dws",
|
|
"title":"RENAME TABLE",
|
|
"uri":"dws_06_0276.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1020"
|
|
},
|
|
{
|
|
"desc":"Restores runtime parameters to their default values. The default values are parameter default values complied in the postgresql.conf configuration file.RESET is an altern",
|
|
"product_code":"dws",
|
|
"title":"RESET",
|
|
"uri":"dws_06_0219.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1021"
|
|
},
|
|
{
|
|
"desc":"SET modifies a run-time parameter.Most run-time parameters can be modified by executing SET. Some parameters cannot be modified after a server or session starts.Set the s",
|
|
"product_code":"dws",
|
|
"title":"SET",
|
|
"uri":"dws_06_0220.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1022"
|
|
},
|
|
{
|
|
"desc":"SET CONSTRAINTS sets the behavior of constraint checking within the current transaction.IMMEDIATE constraints are checked at the end of each statement. DEFERRED constrain",
|
|
"product_code":"dws",
|
|
"title":"SET CONSTRAINTS",
|
|
"uri":"dws_06_0221.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1023"
|
|
},
|
|
{
|
|
"desc":"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 choose any ro",
|
|
"product_code":"dws",
|
|
"title":"SET ROLE",
|
|
"uri":"dws_06_0222.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1024"
|
|
},
|
|
{
|
|
"desc":"SET SESSION AUTHORIZATION sets the session user identifier and the current user identifier of the current SQL session to a specified user.The session identifier can be ch",
|
|
"product_code":"dws",
|
|
"title":"SET SESSION AUTHORIZATION",
|
|
"uri":"dws_06_0223.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1025"
|
|
},
|
|
{
|
|
"desc":"Shows the current value of a runtime parameter. You can use the SET statement to set these parameters.Some parameters that can be viewed by running the SHOW command are r",
|
|
"product_code":"dws",
|
|
"title":"SHOW",
|
|
"uri":"dws_06_0224.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1026"
|
|
},
|
|
{
|
|
"desc":"Quickly removes all rows from a database table.TRUNCATE has the same effect as an unqualified DELETE on each table, but it is faster since it does not actually scan the t",
|
|
"product_code":"dws",
|
|
"title":"TRUNCATE",
|
|
"uri":"dws_06_0225.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1027"
|
|
},
|
|
{
|
|
"desc":"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; they r",
|
|
"product_code":"dws",
|
|
"title":"VACUUM",
|
|
"uri":"dws_06_0226.html",
|
|
"doc_type":"devg",
|
|
"p_code":"925",
|
|
"code":"1028"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"DML Syntax",
|
|
"uri":"dws_06_0227.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"1029"
|
|
},
|
|
{
|
|
"desc":"Data Manipulation Language (DML) is used to perform operations on data in database tables, such as inserting, updating, querying, or deleting data.Inserting data refers t",
|
|
"product_code":"dws",
|
|
"title":"DML Syntax Overview",
|
|
"uri":"dws_06_0228.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1030"
|
|
},
|
|
{
|
|
"desc":"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 invoking t",
|
|
"product_code":"dws",
|
|
"title":"CALL",
|
|
"uri":"dws_06_0229.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1031"
|
|
},
|
|
{
|
|
"desc":"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 mode,",
|
|
"product_code":"dws",
|
|
"title":"COPY",
|
|
"uri":"dws_06_0230.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1032"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"1029",
|
|
"code":"1033"
|
|
},
|
|
{
|
|
"desc":"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 sequential sca",
|
|
"product_code":"dws",
|
|
"title":"EXPLAIN",
|
|
"uri":"dws_06_0232.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1034"
|
|
},
|
|
{
|
|
"desc":"Saves the information about an execution plan to the PLAN_TABLE table. Different from the EXPLAIN statement, EXPLAIN PLAN only stores plan information and does not print ",
|
|
"product_code":"dws",
|
|
"title":"EXPLAIN PLAN",
|
|
"uri":"dws_06_0233.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1035"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"1029",
|
|
"code":"1036"
|
|
},
|
|
{
|
|
"desc":"The MERGE INTO statement is used to conditionally match data in a target table with that in a source table. If data matches, UPDATE is executed on the target table; if da",
|
|
"product_code":"dws",
|
|
"title":"MERGE INTO",
|
|
"uri":"dws_06_0235.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1037"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"INSERT and UPSERT",
|
|
"uri":"dws_06_0275.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1038"
|
|
},
|
|
{
|
|
"desc":"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 on all ",
|
|
"product_code":"dws",
|
|
"title":"INSERT",
|
|
"uri":"dws_06_0236.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1038",
|
|
"code":"1039"
|
|
},
|
|
{
|
|
"desc":"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 only in 8.",
|
|
"product_code":"dws",
|
|
"title":"UPSERT",
|
|
"uri":"dws_06_0237.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1038",
|
|
"code":"1040"
|
|
},
|
|
{
|
|
"desc":"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 columns to ",
|
|
"product_code":"dws",
|
|
"title":"UPDATE",
|
|
"uri":"dws_06_0240.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1041"
|
|
},
|
|
{
|
|
"desc":"VALUES computes a row or a set of rows based on given values. It is most commonly used to generate a constant table within a large command.VALUES lists with large numbers",
|
|
"product_code":"dws",
|
|
"title":"VALUES",
|
|
"uri":"dws_06_0241.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1029",
|
|
"code":"1042"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"DCL Syntax",
|
|
"uri":"dws_06_0242.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"1043"
|
|
},
|
|
{
|
|
"desc":"Data control language (DCL) is used to set or modify database users or role rights.GaussDB(DWS) provides a statement for granting rights to data objects and roles. For de",
|
|
"product_code":"dws",
|
|
"title":"DCL Syntax Overview",
|
|
"uri":"dws_06_0243.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1044"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"1043",
|
|
"code":"1045"
|
|
},
|
|
{
|
|
"desc":"Collects statistics about table contents in databases, and stores the results in the PG_STATISTIC system catalog. The execution plan generator uses these statistics to de",
|
|
"product_code":"dws",
|
|
"title":"ANALYZE | ANALYSE",
|
|
"uri":"dws_06_0245.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1046"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"1043",
|
|
"code":"1047"
|
|
},
|
|
{
|
|
"desc":"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 a ",
|
|
"product_code":"dws",
|
|
"title":"DO",
|
|
"uri":"dws_06_0247.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1048"
|
|
},
|
|
{
|
|
"desc":"EXECUTE executes a prepared statement. A prepared statement only exists in the lifecycle of a session. Therefore, only prepared statements created using PREPARE earlier i",
|
|
"product_code":"dws",
|
|
"title":"EXECUTE",
|
|
"uri":"dws_06_0248.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1049"
|
|
},
|
|
{
|
|
"desc":"EXECUTE DIRECT executes an SQL statement on a specified node. Generally, the cluster automatically allocates an SQL statement to proper nodes. EXECUTE DIRECT is mainly us",
|
|
"product_code":"dws",
|
|
"title":"EXECUTE DIRECT",
|
|
"uri":"dws_06_0249.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1050"
|
|
},
|
|
{
|
|
"desc":"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 attrib",
|
|
"product_code":"dws",
|
|
"title":"GRANT",
|
|
"uri":"dws_06_0250.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1051"
|
|
},
|
|
{
|
|
"desc":"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 parsed,",
|
|
"product_code":"dws",
|
|
"title":"PREPARE",
|
|
"uri":"dws_06_0251.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1052"
|
|
},
|
|
{
|
|
"desc":"Changes the owner of a database.REASSIGN OWNED requires that the system changes the owner of all the database objects owned by old_role to new_role.REASSIGN OWNED is ofte",
|
|
"product_code":"dws",
|
|
"title":"REASSIGN OWNED",
|
|
"uri":"dws_06_0252.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1053"
|
|
},
|
|
{
|
|
"desc":"Revokes the rights of 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 rules:If ",
|
|
"product_code":"dws",
|
|
"title":"REVOKE",
|
|
"uri":"dws_06_0253.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1043",
|
|
"code":"1054"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"747",
|
|
"code":"1055"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"1055",
|
|
"code":"1056"
|
|
},
|
|
{
|
|
"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":"devg",
|
|
"p_code":"1055",
|
|
"code":"1057"
|
|
},
|
|
{
|
|
"desc":"Defines a new table based on a query result and insert the query result to the new table.Different from SELECT, data found by SELECT INTO is not returned to the client. T",
|
|
"product_code":"dws",
|
|
"title":"SELECT INTO",
|
|
"uri":"dws_06_0239.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1055",
|
|
"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":"TCL Syntax",
|
|
"uri":"dws_06_0254.html",
|
|
"doc_type":"devg",
|
|
"p_code":"747",
|
|
"code":"1059"
|
|
},
|
|
{
|
|
"desc":"Transaction Control Language (TCL) controls the time and effect of database transactions and monitors the database.GaussDB(DWS) uses the COMMIT or END statement to commit",
|
|
"product_code":"dws",
|
|
"title":"TCL Syntax Overview",
|
|
"uri":"dws_06_0255.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1060"
|
|
},
|
|
{
|
|
"desc":"ABORT rolls back the current transaction and cancels the changes in the transaction.This command is equivalent to ROLLBACK, and is present only for historical reasons. No",
|
|
"product_code":"dws",
|
|
"title":"ABORT",
|
|
"uri":"dws_06_0256.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1061"
|
|
},
|
|
{
|
|
"desc":"Initiates an anonymous block or a single transaction. This section describes the syntax of BEGIN used to initiate an anonymous block. For details about the BEGIN syntax t",
|
|
"product_code":"dws",
|
|
"title":"BEGIN",
|
|
"uri":"dws_06_0257.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1062"
|
|
},
|
|
{
|
|
"desc":"A checkpoint is a point in the transaction log sequence at which all data files have been updated to reflect the information in the log. All data files will be flushed to",
|
|
"product_code":"dws",
|
|
"title":"CHECKPOINT",
|
|
"uri":"dws_06_0258.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1063"
|
|
},
|
|
{
|
|
"desc":"COMMIT or END commits all operations of a transaction.Only the transaction creators or system administrators can run the COMMIT command. The creation and commit operation",
|
|
"product_code":"dws",
|
|
"title":"COMMIT | END",
|
|
"uri":"dws_06_0259.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1064"
|
|
},
|
|
{
|
|
"desc":"Commits a prepared two-phase transaction.The function is available only in maintenance mode (when GUC parameter xc_maintenance_mode is on). It is usually used by maintena",
|
|
"product_code":"dws",
|
|
"title":"COMMIT PREPARED",
|
|
"uri":"dws_06_0260.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1065"
|
|
},
|
|
{
|
|
"desc":"PREPARE TRANSACTION prepares the current transaction for two-phase commit.After this command, the transaction is no longer associated with the current session; instead, i",
|
|
"product_code":"dws",
|
|
"title":"PREPARE TRANSACTION",
|
|
"uri":"dws_06_0262.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1066"
|
|
},
|
|
{
|
|
"desc":"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 after the sav",
|
|
"product_code":"dws",
|
|
"title":"SAVEPOINT",
|
|
"uri":"dws_06_0263.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1067"
|
|
},
|
|
{
|
|
"desc":"Sets the characteristics of the current transaction. It has no effect on any subsequent transactions. Available transaction characteristics include the transaction separa",
|
|
"product_code":"dws",
|
|
"title":"SET TRANSACTION",
|
|
"uri":"dws_06_0264.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1068"
|
|
},
|
|
{
|
|
"desc":"START TRANSACTION starts a transaction. If the isolation level, read/write mode, or deferrable mode is specified, a new transaction will have those characteristics. You c",
|
|
"product_code":"dws",
|
|
"title":"START TRANSACTION",
|
|
"uri":"dws_06_0265.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1069"
|
|
},
|
|
{
|
|
"desc":"Rolls back the current transaction and backs out all updates in the transaction.ROLLBACK backs out of all changes that a transaction makes to a database if the transactio",
|
|
"product_code":"dws",
|
|
"title":"ROLLBACK",
|
|
"uri":"dws_06_0266.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1070"
|
|
},
|
|
{
|
|
"desc":"Destroys a savepoint previously defined in the current transaction.Destroying a savepoint makes it unavailable as a rollback point, but it generates no other user-visible",
|
|
"product_code":"dws",
|
|
"title":"RELEASE SAVEPOINT",
|
|
"uri":"dws_06_0267.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1071"
|
|
},
|
|
{
|
|
"desc":"ROLLBACK PREPARED cancels a transaction ready for two-phase committing.The function is only available in maintenance mode (when GUC parameter xc_maintenance_mode is on). ",
|
|
"product_code":"dws",
|
|
"title":"ROLLBACK PREPARED",
|
|
"uri":"dws_06_0268.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1072"
|
|
},
|
|
{
|
|
"desc":"Rolls back to a savepoint. It implicitly destroys all savepoints that were established after the savepoint to roll back to.This command also rolls back all commands that ",
|
|
"product_code":"dws",
|
|
"title":"ROLLBACK TO SAVEPOINT",
|
|
"uri":"dws_06_0269.html",
|
|
"doc_type":"devg",
|
|
"p_code":"1059",
|
|
"code":"1073"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dws",
|
|
"title":"Change History",
|
|
"uri":"dws_04_3333.html",
|
|
"doc_type":"devg",
|
|
"p_code":"",
|
|
"code":"1074"
|
|
}
|
|
] |