diff --git a/docs/ddm/umn/ALL_META.TXT.json b/docs/ddm/umn/ALL_META.TXT.json index 748ef8dc1..c19c2fc58 100644 --- a/docs/ddm/umn/ALL_META.TXT.json +++ b/docs/ddm/umn/ALL_META.TXT.json @@ -1360,11 +1360,83 @@ "title":"Resetting the Password of an Account", "githuburl":"" }, + { + "uri":"ddm_05_0020.html", + "node_id":"ddm_05_0020.xml", + "product_code":"ddm", + "code":"76", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Managing Permissions", + "search_title":"", + "metedata":[ + { + "prodname":"ddm", + "documenttype":"usermanual" + } + ], + "title":"Managing Permissions", + "githuburl":"" + }, + { + "uri":"ddm_12_0002.html", + "node_id":"ddm_12_0002.xml", + "product_code":"ddm", + "code":"77", + "des":"DDM permissions management is based on MySQL permissions management. DDM supports most of MySQL syntax and permissions. For more information about MySQL accounts and perm", + "doc_type":"usermanual", + "kw":"Account Permissions,Managing Permissions,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"ddm", + "documenttype":"usermanual" + } + ], + "title":"Account Permissions", + "githuburl":"" + }, + { + "uri":"ddm_12_0003.html", + "node_id":"ddm_12_0003.xml", + "product_code":"ddm", + "code":"78", + "des":"Different from MySQL, DDM identifies an account by username, not by username@host.Must be case-sensitive.Contains 1 to 32 characters and must start with a letter. Only le", + "doc_type":"usermanual", + "kw":"Account Requirements,Managing Permissions,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"ddm", + "documenttype":"usermanual" + } + ], + "title":"Account Requirements", + "githuburl":"" + }, + { + "uri":"ddm_12_0004.html", + "node_id":"ddm_12_0004.xml", + "product_code":"ddm", + "code":"79", + "des":"User level (supported)Database level (supported)Table level (supported)Column level (not supported)Subprogram level (not supported)Global level (not supported)DDM support", + "doc_type":"usermanual", + "kw":"Managing Permissions,Managing Permissions,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"ddm", + "documenttype":"usermanual" + } + ], + "title":"Managing Permissions", + "githuburl":"" + }, { "uri":"ddm_03_0067.html", "node_id":"ddm_03_0067.xml", "product_code":"ddm", - "code":"76", + "code":"80", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Backups and Restorations", @@ -1382,7 +1454,7 @@ "uri":"ddm_12_0016.html", "node_id":"ddm_12_0016.xml", "product_code":"ddm", - "code":"77", + "code":"81", "des":"DDM instances cannot be backed up manually. The system automatically backs them up at 02:00 UTC+00:00 every day. Metadata backup can also be triggered by any of the key o", "doc_type":"usermanual", "kw":"Backup Principles,Backups and Restorations,User Guide", @@ -1400,7 +1472,7 @@ "uri":"ddm_12_0005.html", "node_id":"ddm_12_0005.xml", "product_code":"ddm", - "code":"78", + "code":"82", "des":"DDM replaces its consistent backup function with a new feature called \"metadata restore\" under Data Restoration. After the change, existing consistency backups cannot be ", "doc_type":"usermanual", "kw":"Consistent Backups,Backups and Restorations,User Guide", @@ -1418,7 +1490,7 @@ "uri":"ddm_06_0016.html", "node_id":"ddm_06_0016.xml", "product_code":"ddm", - "code":"79", + "code":"83", "des":"DDM allows you to restore data from the current instance to any point in time using an existing backup. This is a good choice for routine service backup and restoration.T", "doc_type":"usermanual", "kw":"Restoring Data to a New Instance,Backups and Restorations,User Guide", @@ -1436,7 +1508,7 @@ "uri":"ddm_06_0017.html", "node_id":"ddm_06_0017.xml", "product_code":"ddm", - "code":"80", + "code":"84", "des":"DDM automatically backs up DDM instance metadata at 02:00 UTC+00:00 every day and retains the backup data for 30 days. Metadata backup is also triggered by key operations", "doc_type":"usermanual", "kw":"Restoring Metadata,Backups and Restorations,User Guide", @@ -1454,7 +1526,7 @@ "uri":"ddm_13_0001.html", "node_id":"ddm_13_0001.xml", "product_code":"ddm", - "code":"81", + "code":"85", "des":"DDM provides a Slow Queries function that sorts out the same type of slow SQL statements within a specified period of time by SQL template. You can specify a time range, ", "doc_type":"usermanual", "kw":"Slow Queries,User Guide", @@ -1472,7 +1544,7 @@ "uri":"ddm_03_0050.html", "node_id":"ddm_03_0050.xml", "product_code":"ddm", - "code":"82", + "code":"86", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Monitoring Management", @@ -1490,7 +1562,7 @@ "uri":"ddm_16_0001.html", "node_id":"ddm_16_0001.xml", "product_code":"ddm", - "code":"83", + "code":"87", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Supported Metrics", @@ -1508,7 +1580,7 @@ "uri":"ddm_03_0051.html", "node_id":"ddm_03_0051.xml", "product_code":"ddm", - "code":"84", + "code":"88", "des":"This section describes metrics reported by DDM to Cloud Eye, metric namespaces, and dimensions. You can use APIs provided by Cloud Eye to query the metric information gen", "doc_type":"usermanual", "kw":"DDM Instance Metrics,Supported Metrics,User Guide", @@ -1526,7 +1598,7 @@ "uri":"ddm_03_0054.html", "node_id":"ddm_03_0054.xml", "product_code":"ddm", - "code":"85", + "code":"89", "des":"If load balancing is enabled for your DDM instance, you can view network metrics in the following table. If load balancing is not enabled, you do not have the permissions", "doc_type":"usermanual", "kw":"Network Metrics,Supported Metrics,User Guide", @@ -1544,7 +1616,7 @@ "uri":"ddm_16_0002.html", "node_id":"ddm_16_0002.xml", "product_code":"ddm", - "code":"86", + "code":"90", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Viewing Metrics", @@ -1562,7 +1634,7 @@ "uri":"ddm_03_0052.html", "node_id":"ddm_03_0052.xml", "product_code":"ddm", - "code":"87", + "code":"91", "des":"Cloud Eye monitors the running status of DDM instances. You can view instance monitoring metrics on the DDM console.Monitored data requires a period of time for transmiss", "doc_type":"usermanual", "kw":"Viewing Instance Metrics,Viewing Metrics,User Guide", @@ -1580,7 +1652,7 @@ "uri":"ddm_16_0003.html", "node_id":"ddm_16_0003.xml", "product_code":"ddm", - "code":"88", + "code":"92", "des":"The DDM console supports monitoring and management of network metrics.If load balancing is enabled for your DDM instance, you can view network metrics. If load balancing ", "doc_type":"usermanual", "kw":"Viewing Network Metrics,Viewing Metrics,User Guide", @@ -1598,7 +1670,7 @@ "uri":"ddm_06_1000.html", "node_id":"ddm_06_1000.xml", "product_code":"ddm", - "code":"89", + "code":"93", "des":"Tag Management Service (TMS) enables you to use tags on the console to manage resources. TMS works with other cloud services to manage tags. TMS manages tags globally. Ot", "doc_type":"usermanual", "kw":"Tag Management Service (TMS),Tags,User Guide", @@ -1616,7 +1688,7 @@ "uri":"ddm_11_0001.html", "node_id":"ddm_11_0001.xml", "product_code":"ddm", - "code":"90", + "code":"94", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Auditing", @@ -1634,7 +1706,7 @@ "uri":"ddm_11_0002.html", "node_id":"ddm_11_0002.xml", "product_code":"ddm", - "code":"91", + "code":"95", "des":"Cloud Trace Service (CTS) records operations related to DDM for further query, audit, and backtrack.", "doc_type":"usermanual", "kw":"Cloud Trace Service (CTS),Key Operations Recorded by CTS,Auditing,User Guide", @@ -1652,7 +1724,7 @@ "uri":"ddm_11_0003.html", "node_id":"ddm_11_0003.xml", "product_code":"ddm", - "code":"92", + "code":"96", "des":"After CTS is enabled, the tracker starts recording operations on cloud resources. Operation records for the last 7 days are stored on the CTS console.This section describ", "doc_type":"usermanual", "kw":"Querying Traces,Auditing,User Guide", @@ -1670,7 +1742,7 @@ "uri":"ddm_08_0001.html", "node_id":"ddm_08_0001.xml", "product_code":"ddm", - "code":"93", + "code":"97", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"SQL Syntax", @@ -1688,7 +1760,7 @@ "uri":"ddm_03_0062.html", "node_id":"ddm_03_0062.xml", "product_code":"ddm", - "code":"94", + "code":"98", "des":"DDM is compatible with the MySQL license and syntax, but the use of SQL statements is limited due to differences between distributed databases and single-node databases.B", "doc_type":"usermanual", "kw":"Introduction,SQL Syntax,User Guide", @@ -1706,7 +1778,7 @@ "uri":"ddm_08_0003.html", "node_id":"ddm_08_0003.xml", "product_code":"ddm", - "code":"95", + "code":"99", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"DDL", @@ -1724,7 +1796,7 @@ "uri":"ddm_12_0006.html", "node_id":"ddm_12_0006.xml", "product_code":"ddm", - "code":"96", + "code":"100", "des":"DDM supports common DDL operations, such as creating databases, creating tables, and modifying table structure, but the implementation method is different from that in co", "doc_type":"usermanual", "kw":"Overview,DDL,User Guide", @@ -1742,7 +1814,7 @@ "uri":"ddm_08_0029.html", "node_id":"ddm_08_0029.xml", "product_code":"ddm", - "code":"97", + "code":"101", "des":"Do not create tables whose names start with _ddm. DDM manages such tables as internal tables by defaultSharded tables do not support globally unique indexes. If the uniqu", "doc_type":"usermanual", "kw":"Creating a Table,DDL,User Guide", @@ -1760,7 +1832,7 @@ "uri":"ddm_03_0038.html", "node_id":"ddm_03_0038.xml", "product_code":"ddm", - "code":"98", + "code":"102", "des":"DDM supports database sharding, table sharding, and a variety of sharding algorithms.Database and table sharding keys cannot be left blank.In DDM, sharding of a logical t", "doc_type":"usermanual", "kw":"Sharding Algorithm Overview,DDL,User Guide", @@ -1778,7 +1850,7 @@ "uri":"ddm_10_0018.html", "node_id":"ddm_10_0018.xml", "product_code":"ddm", - "code":"99", + "code":"103", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Sharding Algorithms", @@ -1796,7 +1868,7 @@ "uri":"ddm_10_0002.html", "node_id":"ddm_10_0002.xml", "product_code":"ddm", - "code":"100", + "code":"104", "des":"This algorithm applies if you want to route data to different database shards by user ID or order ID.The sharding key must be CHAR, VARCHAR, INT, INTEGER, BIGINT, MEDIUMI", "doc_type":"usermanual", "kw":"MOD_HASH,Sharding Algorithms,User Guide", @@ -1814,7 +1886,7 @@ "uri":"ddm_12_0007.html", "node_id":"ddm_12_0007.xml", "product_code":"ddm", - "code":"101", + "code":"105", "des":"This algorithm applies if you want to route data to different database shards by user ID or order ID.The sharding key must be CHAR, VARCHAR, INT, INTEGER, BIGINT, MEDIUMI", "doc_type":"usermanual", "kw":"MOD_HASH_CI,Sharding Algorithms,User Guide", @@ -1832,7 +1904,7 @@ "uri":"ddm_10_0004.html", "node_id":"ddm_10_0004.xml", "product_code":"ddm", - "code":"102", + "code":"106", "des":"This algorithm applies if a large difference appears in high-digit part but a small difference in low-digit part of sharding key values. Using this algorithm ensures unif", "doc_type":"usermanual", "kw":"RIGHT_SHIFT,Sharding Algorithms,User Guide", @@ -1850,7 +1922,7 @@ "uri":"ddm_10_0014.html", "node_id":"ddm_10_0014.xml", "product_code":"ddm", - "code":"103", + "code":"107", "des":"This algorithm applies if you want to shard data by month. One table shard for one month is recommended, and its name is the month number.The sharding key must be DATE, D", "doc_type":"usermanual", "kw":"MM,Sharding Algorithms,User Guide", @@ -1868,7 +1940,7 @@ "uri":"ddm_10_0015.html", "node_id":"ddm_10_0015.xml", "product_code":"ddm", - "code":"104", + "code":"108", "des":"This algorithm applies if you want to shard data by date. One table shard for one day is recommended, and its name is the day number.The sharding key must be DATE, DATETI", "doc_type":"usermanual", "kw":"DD,Sharding Algorithms,User Guide", @@ -1886,7 +1958,7 @@ "uri":"ddm_10_0017.html", "node_id":"ddm_10_0017.xml", "product_code":"ddm", - "code":"105", + "code":"109", "des":"This algorithm applies when you want to shard data by day in a week. One table shard for one weekday is recommended.The sharding key must be DATE, DATETIME, or TIMESTAMP.", "doc_type":"usermanual", "kw":"WEEK,Sharding Algorithms,User Guide", @@ -1904,7 +1976,7 @@ "uri":"ddm_10_0016.html", "node_id":"ddm_10_0016.xml", "product_code":"ddm", - "code":"106", + "code":"110", "des":"This algorithm applies when you want to shard data by day in a year. One table shard for one day (at most 366 days in a year) is recommended.The sharding key must be DATE", "doc_type":"usermanual", "kw":"MMDD,Sharding Algorithms,User Guide", @@ -1922,7 +1994,7 @@ "uri":"ddm_10_0006.html", "node_id":"ddm_10_0006.xml", "product_code":"ddm", - "code":"107", + "code":"111", "des":"This algorithm applies when data is routed to shards by year and month. You are advised to use this algorithm together with tbpartition YYYYMM(ShardKey).The sharding key ", "doc_type":"usermanual", "kw":"YYYYMM,Sharding Algorithms,User Guide", @@ -1940,7 +2012,7 @@ "uri":"ddm_10_0007.html", "node_id":"ddm_10_0007.xml", "product_code":"ddm", - "code":"108", + "code":"112", "des":"This algorithm applies when data is routed to shards by year and day. You are advised to use this algorithm together with tbpartition YYYYDD(ShardKey).The sharding key mu", "doc_type":"usermanual", "kw":"YYYYDD,Sharding Algorithms,User Guide", @@ -1958,7 +2030,7 @@ "uri":"ddm_10_0008.html", "node_id":"ddm_10_0008.xml", "product_code":"ddm", - "code":"109", + "code":"113", "des":"This algorithm applies when data is routed to shards by week. You are advised to use this algorithm together with tbpartition YYYYWEEK(ShardKey).The sharding key must be ", "doc_type":"usermanual", "kw":"YYYYWEEK,Sharding Algorithms,User Guide", @@ -1976,7 +2048,7 @@ "uri":"ddm_10_0012.html", "node_id":"ddm_10_0012.xml", "product_code":"ddm", - "code":"110", + "code":"114", "des":"This algorithm features even distribution of data and sharding tables. Arithmetic operators such as equality (=) and IN operators are often used in SQL queries.The shardi", "doc_type":"usermanual", "kw":"HASH,Sharding Algorithms,User Guide", @@ -1994,7 +2066,7 @@ "uri":"ddm_10_0013.html", "node_id":"ddm_10_0013.xml", "product_code":"ddm", - "code":"111", + "code":"115", "des":"This algorithm applies to routing data in different ranges to different shards. Less-than signs (<), greater-than signs (>), and BETWEEN ... AND ... are frequently used i", "doc_type":"usermanual", "kw":"Range,Sharding Algorithms,User Guide", @@ -2012,7 +2084,7 @@ "uri":"ddm_08_0004.html", "node_id":"ddm_08_0004.xml", "product_code":"ddm", - "code":"112", + "code":"116", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"DML", @@ -2030,7 +2102,7 @@ "uri":"ddm_08_0005.html", "node_id":"ddm_08_0005.xml", "product_code":"ddm", - "code":"113", + "code":"117", "des":"INSERT is used to insert data into database objects.INSERT DELAYED is not supported.Only INSERT statements that contain sharding fields are supported.PARTITION syntax is ", "doc_type":"usermanual", "kw":"INSERT,DML,User Guide", @@ -2048,7 +2120,7 @@ "uri":"ddm_08_0007.html", "node_id":"ddm_08_0007.xml", "product_code":"ddm", - "code":"114", + "code":"118", "des":"REPLACE is used to insert rows into or replace rows in a table.PARTITION syntax is not supported.If an auto-increment table has no ID, you can insert a data record with a", "doc_type":"usermanual", "kw":"REPLACE,DML,User Guide", @@ -2066,7 +2138,7 @@ "uri":"ddm_08_0008.html", "node_id":"ddm_08_0008.xml", "product_code":"ddm", - "code":"115", + "code":"119", "des":"DELETE is used to delete rows that meet conditions from a table.The WHERE clause does not support subqueries, including correlated and non-correlated subqueries.Data in r", "doc_type":"usermanual", "kw":"DELETE,DML,User Guide", @@ -2084,7 +2156,7 @@ "uri":"ddm_08_0009.html", "node_id":"ddm_08_0009.xml", "product_code":"ddm", - "code":"116", + "code":"120", "des":"Subqueries are not supported, including correlated and non-correlated subqueries.Cross-shard subquery is not supported.The WHERE condition in the UPDATE statement does no", "doc_type":"usermanual", "kw":"UPDATE,DML,User Guide", @@ -2102,7 +2174,7 @@ "uri":"ddm_08_0006.html", "node_id":"ddm_08_0006.xml", "product_code":"ddm", - "code":"117", + "code":"121", "des":"SELECT is generally used to query data in one or more tables.Supported syntaxSyntaxDescriptionselect_exprIndicates a column that you want to query.FROM table_referencesIn", "doc_type":"usermanual", "kw":"SELECT,DML,User Guide", @@ -2120,7 +2192,7 @@ "uri":"ddm_08_0010.html", "node_id":"ddm_08_0010.xml", "product_code":"ddm", - "code":"118", + "code":"122", "des":"table_references:table_reference:table_factor:join_table:join_condition:SELECT STRAIGHT_JOIN and NATURAL JOIN are not supported.", "doc_type":"usermanual", "kw":"SELECT JOIN Syntax,DML,User Guide", @@ -2138,7 +2210,7 @@ "uri":"ddm_08_0011.html", "node_id":"ddm_08_0011.xml", "product_code":"ddm", - "code":"119", + "code":"123", "des":"SELECT statements in UNION do not support duplicate column names.", "doc_type":"usermanual", "kw":"SELECT UNION Syntax,DML,User Guide", @@ -2156,7 +2228,7 @@ "uri":"ddm_08_0012.html", "node_id":"ddm_08_0012.xml", "product_code":"ddm", - "code":"120", + "code":"124", "des":"ExampleSyntaxExampleSyntaxExampleSyntaxExampleEach derived table must have an alias.A derived table cannot be a correlated subquery.In some cases, correct results cannot ", "doc_type":"usermanual", "kw":"SELECT Subquery Syntax,DML,User Guide", @@ -2174,7 +2246,7 @@ "uri":"ddm_12_0100.html", "node_id":"ddm_12_0100.xml", "product_code":"ddm", - "code":"121", + "code":"125", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Supported System Schema Queries,DML,User Guide", @@ -2192,7 +2264,7 @@ "uri":"ddm_03_0063.html", "node_id":"ddm_03_0063.xml", "product_code":"ddm", - "code":"122", + "code":"126", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Functions,SQL Syntax,User Guide", @@ -2210,7 +2282,7 @@ "uri":"ddm_08_0013.html", "node_id":"ddm_08_0013.xml", "product_code":"ddm", - "code":"123", + "code":"127", "des":"DDM is compatible with the MySQL license and syntax, but the use of SQL statements is limited due to differences between distributed databases and single-node databases.T", "doc_type":"usermanual", "kw":"Use Constraints,SQL Syntax,User Guide", @@ -2228,7 +2300,7 @@ "uri":"ddm_08_0002.html", "node_id":"ddm_08_0002.xml", "product_code":"ddm", - "code":"124", + "code":"128", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Supported SQL Statements", @@ -2246,7 +2318,7 @@ "uri":"ddm_08_0014.html", "node_id":"ddm_08_0014.xml", "product_code":"ddm", - "code":"125", + "code":"129", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"CHECK TABLE", @@ -2264,7 +2336,7 @@ "uri":"ddm_08_0021.html", "node_id":"ddm_08_0021.xml", "product_code":"ddm", - "code":"126", + "code":"130", "des":"Purpose: To check DDL consistency of all logical tables in one schemaCommand Format:Command Output:The following output is returned if DDL check results of all logical ta", "doc_type":"usermanual", "kw":"Checking DDL Consistency of Physical Tables in All Logical Tables,CHECK TABLE,User Guide", @@ -2282,7 +2354,7 @@ "uri":"ddm_08_0022.html", "node_id":"ddm_08_0022.xml", "product_code":"ddm", - "code":"127", + "code":"131", "des":"Purpose: To check DDL consistency of physical tables in a specific logical tableCommand Format:Command Output:If the returned result set is empty, DDL results of physical", "doc_type":"usermanual", "kw":"Checking DDL Consistency of Physical Tables in One Logical Table,CHECK TABLE,User Guide", @@ -2300,7 +2372,7 @@ "uri":"ddm_08_0015.html", "node_id":"ddm_08_0015.xml", "product_code":"ddm", - "code":"128", + "code":"132", "des":"Command Format 1:show rule;It is used to view the sharding rule of each logical table in a certain schema.Command output:Command Format 2:show rule from;It is", "doc_type":"usermanual", "kw":"SHOW RULE,Supported SQL Statements,User Guide", @@ -2318,7 +2390,7 @@ "uri":"ddm_08_0017.html", "node_id":"ddm_08_0017.xml", "product_code":"ddm", - "code":"129", + "code":"133", "des":"Command Format:show topology from;It is used to view physical tables corresponding to a specified logical table.Output Details:RDS_instance_id: indicates the ", "doc_type":"usermanual", "kw":"SHOW TOPOLOGY,Supported SQL Statements,User Guide", @@ -2336,7 +2408,7 @@ "uri":"ddm_08_0130.html", "node_id":"ddm_08_0130.xml", "product_code":"ddm", - "code":"130", + "code":"134", "des":"Command Format:show data node;It is used to view data about database shards in the RDS instance.Output Details:RDS_instance_id: indicates the ID of the RDS instance.PHYSI", "doc_type":"usermanual", "kw":"SHOW DATA NODE,Supported SQL Statements,User Guide", @@ -2354,7 +2426,7 @@ "uri":"ddm_08_0023.html", "node_id":"ddm_08_0023.xml", "product_code":"ddm", - "code":"131", + "code":"135", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"TRUNCATE TABLE", @@ -2372,7 +2444,7 @@ "uri":"ddm_08_0024.html", "node_id":"ddm_08_0024.xml", "product_code":"ddm", - "code":"132", + "code":"136", "des":"Command Format:/*+db=*/ TRUNCATE TABLEDescription:Deleting data in physical tables corresponding to in does ", "doc_type":"usermanual", "kw":"HINT-DB,TRUNCATE TABLE,User Guide", @@ -2390,7 +2462,7 @@ "uri":"ddm_08_0025.html", "node_id":"ddm_08_0025.xml", "product_code":"ddm", - "code":"133", + "code":"137", "des":"HINTs are instructions within a SQL statement that tell the optimizer to execute the statement in a flexible way. This section describes how to use HINT syntax to delete ", "doc_type":"usermanual", "kw":"HINT-TABLE,TRUNCATE TABLE,User Guide", @@ -2408,7 +2480,7 @@ "uri":"ddm_08_0026.html", "node_id":"ddm_08_0026.xml", "product_code":"ddm", - "code":"134", + "code":"138", "des":"Command Format:/*+db=,table=*/ TRUNCATE TABLEDescription:Deleting data in physical table in datab", "doc_type":"usermanual", "kw":"HINT-DB/TABLE,TRUNCATE TABLE,User Guide", @@ -2426,7 +2498,7 @@ "uri":"ddm_08_0027.html", "node_id":"ddm_08_0027.xml", "product_code":"ddm", - "code":"135", + "code":"139", "des":"Command Format:/*+ allow_alter_rerun=true*/Description:Using this hint ensures that commands can be repeatedly executed, and no error is reported. This hint ", "doc_type":"usermanual", "kw":"HINT- ALLOW_ALTER_RERUN,Supported SQL Statements,User Guide", @@ -2444,7 +2516,7 @@ "uri":"ddm_03_0031.html", "node_id":"ddm_03_0031.xml", "product_code":"ddm", - "code":"136", + "code":"140", "des":"LOAD DATA LOCAL INFILE '/data/data.txt' IGNORE INTO TABLE test CHARACTER SET 'utf8' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\\n' (id, sid,", "doc_type":"usermanual", "kw":"LOAD DATA,Supported SQL Statements,User Guide", @@ -2462,7 +2534,7 @@ "uri":"ddm_08_0032.html", "node_id":"ddm_08_0032.xml", "product_code":"ddm", - "code":"137", + "code":"141", "des":"Command Format 1:show physical processlist;This command returns the processes that run on the associated RDS instance.Command Format 2:show physical processlist with in", "doc_type":"usermanual", "kw":"SHOW PHYSICAL PROCESSLIST,Supported SQL Statements,User Guide", @@ -2480,7 +2552,7 @@ "uri":"ddm_03_0034.html", "node_id":"ddm_03_0034.xml", "product_code":"ddm", - "code":"138", + "code":"142", "des":"DDM allows you to customize a hint to specify whether SQL statements are executed on the primary instance or its read replicas.The following hint formats are supported:Fo", "doc_type":"usermanual", "kw":"Customized Hints for Read/Write Splitting,Supported SQL Statements,User Guide", @@ -2498,7 +2570,7 @@ "uri":"ddm_03_0039.html", "node_id":"ddm_03_0039.xml", "product_code":"ddm", - "code":"139", + "code":"143", "des":"DDM allows you to configure a hint to control whether each SELECT statement skips the cached execution plan.The hint is in the format of /*!GAUSS:skip_plancache=flag*/.fl", "doc_type":"usermanual", "kw":"Setting a Hint to Skip the Cached Execution Plan,Supported SQL Statements,User Guide", @@ -2516,7 +2588,7 @@ "uri":"ddm_03_0040.html", "node_id":"ddm_03_0040.xml", "product_code":"ddm", - "code":"140", + "code":"144", "des":"Command Format:Description:Specify a shard by configuring and execute a SQL statement on the shard.Example:Restrictions:The hint is valid only for SELE", "doc_type":"usermanual", "kw":"Specifying a Shard Using a Hint When Executing a SQL Statement,Supported SQL Statements,User Guide", @@ -2534,7 +2606,7 @@ "uri":"ddm_03_0030.html", "node_id":"ddm_03_0030.xml", "product_code":"ddm", - "code":"141", + "code":"145", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Global Sequence", @@ -2552,7 +2624,7 @@ "uri":"ddm_12_0010.html", "node_id":"ddm_12_0010.xml", "product_code":"ddm", - "code":"142", + "code":"146", "des":"Global sequences are mainly database-based global sequences.The start auto-increment SN can be modified.Global sequence provides sequence numbers that are globally unique", "doc_type":"usermanual", "kw":"Overview,Global Sequence,User Guide", @@ -2570,7 +2642,7 @@ "uri":"ddm_03_0036.html", "node_id":"ddm_03_0036.xml", "product_code":"ddm", - "code":"143", + "code":"147", "des":"NEXTVAL returns the next sequence number, and CURRVAL returns the current sequence number. nextval(n) returns n unique sequence numbers.nextval(n) can be used only in sel", "doc_type":"usermanual", "kw":"Using NEXTVAL or CURRVAL to Query Global Sequence Numbers,Global Sequence,User Guide", @@ -2588,7 +2660,7 @@ "uri":"ddm_03_0037.html", "node_id":"ddm_03_0037.xml", "product_code":"ddm", - "code":"144", + "code":"148", "des":"You can use global sequences in INSERT or REPLACE statements to provide unique global sequence across schemas in a DDM instance. Generating sequence numbers with NEXTVAL ", "doc_type":"usermanual", "kw":"Using Global Sequences in INSERT or REPLACE Statements,Global Sequence,User Guide", @@ -2606,7 +2678,7 @@ "uri":"ddm_03_0032.html", "node_id":"ddm_03_0032.xml", "product_code":"ddm", - "code":"145", + "code":"149", "des":"SHOW SyntaxSHOW COLUMNS SyntaxSHOW CREATE TABLE SyntaxSHOW TABLE STATUS SyntaxSHOW TABLES SyntaxSHOW DATABASESIf the required database is not found, check fine-grained pe", "doc_type":"usermanual", "kw":"Database Management Syntax,SQL Syntax,User Guide", @@ -2624,7 +2696,7 @@ "uri":"ddm_03_0035.html", "node_id":"ddm_03_0035.xml", "product_code":"ddm", - "code":"146", + "code":"150", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Advanced SQL Functions,SQL Syntax,User Guide", @@ -2642,7 +2714,7 @@ "uri":"ddm_04_0001.html", "node_id":"ddm_04_0001.xml", "product_code":"ddm", - "code":"147", + "code":"151", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"FAQs", @@ -2660,7 +2732,7 @@ "uri":"ddm_04_0066.html", "node_id":"ddm_04_0066.xml", "product_code":"ddm", - "code":"148", + "code":"152", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"General Questions", @@ -2678,7 +2750,7 @@ "uri":"ddm_04_0068.html", "node_id":"ddm_04_0068.xml", "product_code":"ddm", - "code":"149", + "code":"153", "des":"DDM instance faults do not affect data integrity.Service data is stored in shards of data nodes, but not on DDM.Configuration information of schemas and logical tables is", "doc_type":"usermanual", "kw":"What High-Reliability Mechanisms Does DDM Provide?,General Questions,User Guide", @@ -2696,7 +2768,7 @@ "uri":"ddm_04_0067.html", "node_id":"ddm_04_0067.xml", "product_code":"ddm", - "code":"150", + "code":"154", "des":"DDM uses VPCs and security groups to ensure security of your instances. The following provides guidance for you on how to correctly configure a security group.Access to a", "doc_type":"usermanual", "kw":"How Do I Select and Configure a Security Group?,General Questions,User Guide", @@ -2714,7 +2786,7 @@ "uri":"ddm_12_0011.html", "node_id":"ddm_12_0011.xml", "product_code":"ddm", - "code":"151", + "code":"155", "des":"No. Different data nodes associated with a DDM instance are independent of each other and cannot share data.", "doc_type":"usermanual", "kw":"Can Data Nodes Associated with a DDM Instance Share Data?,General Questions,User Guide", @@ -2732,7 +2804,7 @@ "uri":"ddm_12_0012.html", "node_id":"ddm_12_0012.xml", "product_code":"ddm", - "code":"152", + "code":"156", "des":"Any data nodes can be associated with a DDM instance as long as they are:Running normallyIn the same VPC as the DDM instanceNot in use by other DDM instances", "doc_type":"usermanual", "kw":"What Data Nodes Can Be Associated with a DDM Instance?,General Questions,User Guide", @@ -2750,7 +2822,7 @@ "uri":"ddm_04_0004.html", "node_id":"ddm_04_0004.xml", "product_code":"ddm", - "code":"153", + "code":"157", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"DDM Usage", @@ -2768,7 +2840,7 @@ "uri":"ddm_04_0008.html", "node_id":"ddm_04_0008.xml", "product_code":"ddm", - "code":"154", + "code":"158", "des":"When you access a DDM instance using the MySQL driver (JDBC) in load balancing mode, an infinite loop may occur during connection switchover, resulting in stack overflow.", "doc_type":"usermanual", "kw":"MySQL driver,load balancing,What Do I Do If I Fail to Connect to a DDM Instance Using the JDBC Drive", @@ -2786,7 +2858,7 @@ "uri":"ddm_04_0009.html", "node_id":"ddm_04_0009.xml", "product_code":"ddm", - "code":"155", + "code":"159", "des":"Currently, you cannot connect to DDM using JDBC driver 5.1.46. Versions 5.1.35 to 5.1.45 are recommended.JDBC driver download address:https://dev.mysql.com/downloads/conn", "doc_type":"usermanual", "kw":"JDBC driver,What Version and Parameters Should I Select?,DDM Usage,User Guide", @@ -2804,7 +2876,7 @@ "uri":"ddm_04_0013.html", "node_id":"ddm_04_0013.xml", "product_code":"ddm", - "code":"156", + "code":"160", "des":"The version of the mysqldump client may be inconsistent with that of the supported MySQL server, so exporting data from MySQL is slow.Using the same version of the mysqld", "doc_type":"usermanual", "kw":"Why It Takes So Long Time to Export Data from MySQL Using mysqldump?,DDM Usage,User Guide", @@ -2822,7 +2894,7 @@ "uri":"ddm_04_0014.html", "node_id":"ddm_04_0014.xml", "product_code":"ddm", - "code":"157", + "code":"161", "des":"When you create a table in DDM, set the start value for automatic increment and ensure that the start value is greater than the maximum auto-increment value of imported d", "doc_type":"usermanual", "kw":"What Do I Do If a Duplicate Primary Key Error Occurs When Data Is Imported into DDM?,DDM Usage,User ", @@ -2840,7 +2912,7 @@ "uri":"ddm_04_0035.html", "node_id":"ddm_04_0035.xml", "product_code":"ddm", - "code":"158", + "code":"162", "des":"Execute the following SQL statement to modify the start value of the auto-increment primary key so that the value is greater than the maximum value of primary keys in exi", "doc_type":"usermanual", "kw":"What Should I Do If an Error Message Is Returned When I Specify an Auto-Increment Primary Key During", @@ -2858,7 +2930,7 @@ "uri":"ddm_04_0031.html", "node_id":"ddm_04_0031.xml", "product_code":"ddm", - "code":"159", + "code":"163", "des":"Adjust the SocketTimeOut value or leave this parameter blank. The default value is 0, indicating that the client is not disconnected.", "doc_type":"usermanual", "kw":"What Do I Do If an Error Is Reported When Parameter Configuration Does Not Time Out?,DDM Usage,User ", @@ -2876,7 +2948,7 @@ "uri":"ddm_04_0050.html", "node_id":"ddm_04_0050.xml", "product_code":"ddm", - "code":"160", + "code":"164", "des":"After an RDS instance is associated with your schema, you cannot delete the instance directly. To delete it, you have to delete the schema first and then delete the insta", "doc_type":"usermanual", "kw":"Which Should I Delete First, a Schema or its Associated RDS Instances?,DDM Usage,User Guide", @@ -2894,7 +2966,7 @@ "uri":"ddm_04_0051.html", "node_id":"ddm_04_0051.xml", "product_code":"ddm", - "code":"161", + "code":"165", "des":"If you do not need to delete the databases or accounts, you can manually delete them to free up space.", "doc_type":"usermanual", "kw":"Can I Manually Delete Databases and Accounts Remained in Data Nodes After a Schema Is Deleted?,DDM U", @@ -2912,7 +2984,7 @@ "uri":"ddm_04_0046.html", "node_id":"ddm_04_0046.xml", "product_code":"ddm", - "code":"162", + "code":"166", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"SQL Syntax", @@ -2930,7 +3002,7 @@ "uri":"ddm_04_0015.html", "node_id":"ddm_04_0015.xml", "product_code":"ddm", - "code":"163", + "code":"167", "des":"Yes. DDM supports distributed JOINs.Redundant fields are added during table design.Cross-shard JOIN is implemented by using broadcast tables, ER shards, and ShareJoin.Cur", "doc_type":"usermanual", "kw":"distributed JOINs,Does DDM Support Distributed JOINs?,SQL Syntax,User Guide", @@ -2948,7 +3020,7 @@ "uri":"ddm_04_0016.html", "node_id":"ddm_04_0016.xml", "product_code":"ddm", - "code":"164", + "code":"168", "des":"You are advised to use INNER instead of LEFT JOIN or RIGHT JOIN.When LEFT JOIN or RIGHT JOIN is used, ON is preferentially executed, and WHERE is executed at the end. The", "doc_type":"usermanual", "kw":"INNER,LEFT JOIN,RIGHT JOIN,How Do I Optimize SQL Statements?,SQL Syntax,User Guide", @@ -2966,7 +3038,7 @@ "uri":"ddm_04_0019.html", "node_id":"ddm_04_0019.xml", "product_code":"ddm", - "code":"165", + "code":"169", "des":"Data type conversion is an advanced function. DDM will be gradually upgraded to be compatible with more SQL syntax. If necessary, submit a service ticket for processing.", "doc_type":"usermanual", "kw":"Does DDM Support Forced Conversion of Data Types?,SQL Syntax,User Guide", @@ -2984,7 +3056,7 @@ "uri":"ddm_04_0036.html", "node_id":"ddm_04_0036.xml", "product_code":"ddm", - "code":"166", + "code":"170", "des":"Split an INSERT statement into multiple small statements.", "doc_type":"usermanual", "kw":"What Should I Do If an Error Is Reported When Multiple Data Records Are Inserted into Batches Using ", @@ -3002,7 +3074,7 @@ "uri":"ddm_04_0047.html", "node_id":"ddm_04_0047.xml", "product_code":"ddm", - "code":"167", + "code":"171", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"RDS-related Questions", @@ -3020,7 +3092,7 @@ "uri":"ddm_04_0048.html", "node_id":"ddm_04_0048.xml", "product_code":"ddm", - "code":"168", + "code":"172", "des":"DDM is case-insensitive to database names, table names, and column names by default.", "doc_type":"usermanual", "kw":"Is the Name of a Database Table Case-Sensitive?,RDS-related Questions,User Guide", @@ -3038,7 +3110,7 @@ "uri":"ddm_04_0025.html", "node_id":"ddm_04_0025.xml", "product_code":"ddm", - "code":"169", + "code":"173", "des":"Table 1 lists risky operations on RDS for MySQL.", "doc_type":"usermanual", "kw":"What Risky Operations on RDS for MySQL Will Affect DDM?,RDS-related Questions,User Guide", @@ -3056,7 +3128,7 @@ "uri":"ddm_04_0028.html", "node_id":"ddm_04_0028.xml", "product_code":"ddm", - "code":"170", + "code":"174", "des":"If there is already a primary key whose data type is a boundary value, in your DDM instance, duplicate primary keys will be reported when you insert a data record that is", "doc_type":"usermanual", "kw":"How Do I Handle Data with Duplicate Primary Keys in a Table?,RDS-related Questions,User Guide", @@ -3074,7 +3146,7 @@ "uri":"ddm_04_0029.html", "node_id":"ddm_04_0029.xml", "product_code":"ddm", - "code":"171", + "code":"175", "des":"After you connect to a DDM instance through the MySQL client, you can run command show full innodb status to query information about the associated RDS for MySQL instance", "doc_type":"usermanual", "kw":"How Can I Query RDS for MySQL Information by Running Command show full innodb status?,RDS-related Qu", @@ -3092,7 +3164,7 @@ "uri":"ddm_04_0097.html", "node_id":"ddm_04_0097.xml", "product_code":"ddm", - "code":"172", + "code":"176", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Connection Management", @@ -3110,7 +3182,7 @@ "uri":"ddm_04_0006.html", "node_id":"ddm_04_0006.xml", "product_code":"ddm", - "code":"173", + "code":"177", "des":"If the MySQL connection code is inconsistent with the actual one, garbled characters may be displayed during parsing on DDM.In this case, configure default-character-set=", "doc_type":"usermanual", "kw":"MySQL connection,How Can I Handle Garbled Characters Generated When I Connect a MySQL Instance to a ", @@ -3128,7 +3200,7 @@ "uri":"ddm_history_0003.html", "node_id":"ddm_history_0003.xml", "product_code":"ddm", - "code":"174", + "code":"178", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Change History,User Guide", diff --git a/docs/ddm/umn/CLASS.TXT.json b/docs/ddm/umn/CLASS.TXT.json index 606d08e7d..8296a1184 100644 --- a/docs/ddm/umn/CLASS.TXT.json +++ b/docs/ddm/umn/CLASS.TXT.json @@ -674,6 +674,42 @@ "p_code":"71", "code":"75" }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"ddm", + "title":"Managing Permissions", + "uri":"ddm_05_0020.html", + "doc_type":"usermanual", + "p_code":"71", + "code":"76" + }, + { + "desc":"DDM permissions management is based on MySQL permissions management. DDM supports most of MySQL syntax and permissions. For more information about MySQL accounts and perm", + "product_code":"ddm", + "title":"Account Permissions", + "uri":"ddm_12_0002.html", + "doc_type":"usermanual", + "p_code":"76", + "code":"77" + }, + { + "desc":"Different from MySQL, DDM identifies an account by username, not by username@host.Must be case-sensitive.Contains 1 to 32 characters and must start with a letter. Only le", + "product_code":"ddm", + "title":"Account Requirements", + "uri":"ddm_12_0003.html", + "doc_type":"usermanual", + "p_code":"76", + "code":"78" + }, + { + "desc":"User level (supported)Database level (supported)Table level (supported)Column level (not supported)Subprogram level (not supported)Global level (not supported)DDM support", + "product_code":"ddm", + "title":"Managing Permissions", + "uri":"ddm_12_0004.html", + "doc_type":"usermanual", + "p_code":"76", + "code":"79" + }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"ddm", @@ -681,7 +717,7 @@ "uri":"ddm_03_0067.html", "doc_type":"usermanual", "p_code":"", - "code":"76" + "code":"80" }, { "desc":"DDM instances cannot be backed up manually. The system automatically backs them up at 02:00 UTC+00:00 every day. Metadata backup can also be triggered by any of the key o", @@ -689,8 +725,8 @@ "title":"Backup Principles", "uri":"ddm_12_0016.html", "doc_type":"usermanual", - "p_code":"76", - "code":"77" + "p_code":"80", + "code":"81" }, { "desc":"DDM replaces its consistent backup function with a new feature called \"metadata restore\" under Data Restoration. After the change, existing consistency backups cannot be ", @@ -698,8 +734,8 @@ "title":"Consistent Backups", "uri":"ddm_12_0005.html", "doc_type":"usermanual", - "p_code":"76", - "code":"78" + "p_code":"80", + "code":"82" }, { "desc":"DDM allows you to restore data from the current instance to any point in time using an existing backup. This is a good choice for routine service backup and restoration.T", @@ -707,8 +743,8 @@ "title":"Restoring Data to a New Instance", "uri":"ddm_06_0016.html", "doc_type":"usermanual", - "p_code":"76", - "code":"79" + "p_code":"80", + "code":"83" }, { "desc":"DDM automatically backs up DDM instance metadata at 02:00 UTC+00:00 every day and retains the backup data for 30 days. Metadata backup is also triggered by key operations", @@ -716,8 +752,8 @@ "title":"Restoring Metadata", "uri":"ddm_06_0017.html", "doc_type":"usermanual", - "p_code":"76", - "code":"80" + "p_code":"80", + "code":"84" }, { "desc":"DDM provides a Slow Queries function that sorts out the same type of slow SQL statements within a specified period of time by SQL template. You can specify a time range, ", @@ -726,7 +762,7 @@ "uri":"ddm_13_0001.html", "doc_type":"usermanual", "p_code":"", - "code":"81" + "code":"85" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -735,7 +771,7 @@ "uri":"ddm_03_0050.html", "doc_type":"usermanual", "p_code":"", - "code":"82" + "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.", @@ -743,8 +779,8 @@ "title":"Supported Metrics", "uri":"ddm_16_0001.html", "doc_type":"usermanual", - "p_code":"82", - "code":"83" + "p_code":"86", + "code":"87" }, { "desc":"This section describes metrics reported by DDM to Cloud Eye, metric namespaces, and dimensions. You can use APIs provided by Cloud Eye to query the metric information gen", @@ -752,8 +788,8 @@ "title":"DDM Instance Metrics", "uri":"ddm_03_0051.html", "doc_type":"usermanual", - "p_code":"83", - "code":"84" + "p_code":"87", + "code":"88" }, { "desc":"If load balancing is enabled for your DDM instance, you can view network metrics in the following table. If load balancing is not enabled, you do not have the permissions", @@ -761,8 +797,8 @@ "title":"Network Metrics", "uri":"ddm_03_0054.html", "doc_type":"usermanual", - "p_code":"83", - "code":"85" + "p_code":"87", + "code":"89" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -770,8 +806,8 @@ "title":"Viewing Metrics", "uri":"ddm_16_0002.html", "doc_type":"usermanual", - "p_code":"82", - "code":"86" + "p_code":"86", + "code":"90" }, { "desc":"Cloud Eye monitors the running status of DDM instances. You can view instance monitoring metrics on the DDM console.Monitored data requires a period of time for transmiss", @@ -779,8 +815,8 @@ "title":"Viewing Instance Metrics", "uri":"ddm_03_0052.html", "doc_type":"usermanual", - "p_code":"86", - "code":"87" + "p_code":"90", + "code":"91" }, { "desc":"The DDM console supports monitoring and management of network metrics.If load balancing is enabled for your DDM instance, you can view network metrics. If load balancing ", @@ -788,8 +824,8 @@ "title":"Viewing Network Metrics", "uri":"ddm_16_0003.html", "doc_type":"usermanual", - "p_code":"86", - "code":"88" + "p_code":"90", + "code":"92" }, { "desc":"Tag Management Service (TMS) enables you to use tags on the console to manage resources. TMS works with other cloud services to manage tags. TMS manages tags globally. Ot", @@ -798,7 +834,7 @@ "uri":"ddm_06_1000.html", "doc_type":"usermanual", "p_code":"", - "code":"89" + "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.", @@ -807,7 +843,7 @@ "uri":"ddm_11_0001.html", "doc_type":"usermanual", "p_code":"", - "code":"90" + "code":"94" }, { "desc":"Cloud Trace Service (CTS) records operations related to DDM for further query, audit, and backtrack.", @@ -815,8 +851,8 @@ "title":"Key Operations Recorded by CTS", "uri":"ddm_11_0002.html", "doc_type":"usermanual", - "p_code":"90", - "code":"91" + "p_code":"94", + "code":"95" }, { "desc":"After CTS is enabled, the tracker starts recording operations on cloud resources. Operation records for the last 7 days are stored on the CTS console.This section describ", @@ -824,8 +860,8 @@ "title":"Querying Traces", "uri":"ddm_11_0003.html", "doc_type":"usermanual", - "p_code":"90", - "code":"92" + "p_code":"94", + "code":"96" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -834,7 +870,7 @@ "uri":"ddm_08_0001.html", "doc_type":"usermanual", "p_code":"", - "code":"93" + "code":"97" }, { "desc":"DDM is compatible with the MySQL license and syntax, but the use of SQL statements is limited due to differences between distributed databases and single-node databases.B", @@ -842,8 +878,8 @@ "title":"Introduction", "uri":"ddm_03_0062.html", "doc_type":"usermanual", - "p_code":"93", - "code":"94" + "p_code":"97", + "code":"98" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -851,8 +887,8 @@ "title":"DDL", "uri":"ddm_08_0003.html", "doc_type":"usermanual", - "p_code":"93", - "code":"95" + "p_code":"97", + "code":"99" }, { "desc":"DDM supports common DDL operations, such as creating databases, creating tables, and modifying table structure, but the implementation method is different from that in co", @@ -860,8 +896,8 @@ "title":"Overview", "uri":"ddm_12_0006.html", "doc_type":"usermanual", - "p_code":"95", - "code":"96" + "p_code":"99", + "code":"100" }, { "desc":"Do not create tables whose names start with _ddm. DDM manages such tables as internal tables by defaultSharded tables do not support globally unique indexes. If the uniqu", @@ -869,8 +905,8 @@ "title":"Creating a Table", "uri":"ddm_08_0029.html", "doc_type":"usermanual", - "p_code":"95", - "code":"97" + "p_code":"99", + "code":"101" }, { "desc":"DDM supports database sharding, table sharding, and a variety of sharding algorithms.Database and table sharding keys cannot be left blank.In DDM, sharding of a logical t", @@ -878,8 +914,8 @@ "title":"Sharding Algorithm Overview", "uri":"ddm_03_0038.html", "doc_type":"usermanual", - "p_code":"95", - "code":"98" + "p_code":"99", + "code":"102" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -887,8 +923,8 @@ "title":"Sharding Algorithms", "uri":"ddm_10_0018.html", "doc_type":"usermanual", - "p_code":"95", - "code":"99" + "p_code":"99", + "code":"103" }, { "desc":"This algorithm applies if you want to route data to different database shards by user ID or order ID.The sharding key must be CHAR, VARCHAR, INT, INTEGER, BIGINT, MEDIUMI", @@ -896,8 +932,8 @@ "title":"MOD_HASH", "uri":"ddm_10_0002.html", "doc_type":"usermanual", - "p_code":"99", - "code":"100" + "p_code":"103", + "code":"104" }, { "desc":"This algorithm applies if you want to route data to different database shards by user ID or order ID.The sharding key must be CHAR, VARCHAR, INT, INTEGER, BIGINT, MEDIUMI", @@ -905,8 +941,8 @@ "title":"MOD_HASH_CI", "uri":"ddm_12_0007.html", "doc_type":"usermanual", - "p_code":"99", - "code":"101" + "p_code":"103", + "code":"105" }, { "desc":"This algorithm applies if a large difference appears in high-digit part but a small difference in low-digit part of sharding key values. Using this algorithm ensures unif", @@ -914,8 +950,8 @@ "title":"RIGHT_SHIFT", "uri":"ddm_10_0004.html", "doc_type":"usermanual", - "p_code":"99", - "code":"102" + "p_code":"103", + "code":"106" }, { "desc":"This algorithm applies if you want to shard data by month. One table shard for one month is recommended, and its name is the month number.The sharding key must be DATE, D", @@ -923,8 +959,8 @@ "title":"MM", "uri":"ddm_10_0014.html", "doc_type":"usermanual", - "p_code":"99", - "code":"103" + "p_code":"103", + "code":"107" }, { "desc":"This algorithm applies if you want to shard data by date. One table shard for one day is recommended, and its name is the day number.The sharding key must be DATE, DATETI", @@ -932,8 +968,8 @@ "title":"DD", "uri":"ddm_10_0015.html", "doc_type":"usermanual", - "p_code":"99", - "code":"104" + "p_code":"103", + "code":"108" }, { "desc":"This algorithm applies when you want to shard data by day in a week. One table shard for one weekday is recommended.The sharding key must be DATE, DATETIME, or TIMESTAMP.", @@ -941,8 +977,8 @@ "title":"WEEK", "uri":"ddm_10_0017.html", "doc_type":"usermanual", - "p_code":"99", - "code":"105" + "p_code":"103", + "code":"109" }, { "desc":"This algorithm applies when you want to shard data by day in a year. One table shard for one day (at most 366 days in a year) is recommended.The sharding key must be DATE", @@ -950,8 +986,8 @@ "title":"MMDD", "uri":"ddm_10_0016.html", "doc_type":"usermanual", - "p_code":"99", - "code":"106" + "p_code":"103", + "code":"110" }, { "desc":"This algorithm applies when data is routed to shards by year and month. You are advised to use this algorithm together with tbpartition YYYYMM(ShardKey).The sharding key ", @@ -959,8 +995,8 @@ "title":"YYYYMM", "uri":"ddm_10_0006.html", "doc_type":"usermanual", - "p_code":"99", - "code":"107" + "p_code":"103", + "code":"111" }, { "desc":"This algorithm applies when data is routed to shards by year and day. You are advised to use this algorithm together with tbpartition YYYYDD(ShardKey).The sharding key mu", @@ -968,8 +1004,8 @@ "title":"YYYYDD", "uri":"ddm_10_0007.html", "doc_type":"usermanual", - "p_code":"99", - "code":"108" + "p_code":"103", + "code":"112" }, { "desc":"This algorithm applies when data is routed to shards by week. You are advised to use this algorithm together with tbpartition YYYYWEEK(ShardKey).The sharding key must be ", @@ -977,8 +1013,8 @@ "title":"YYYYWEEK", "uri":"ddm_10_0008.html", "doc_type":"usermanual", - "p_code":"99", - "code":"109" + "p_code":"103", + "code":"113" }, { "desc":"This algorithm features even distribution of data and sharding tables. Arithmetic operators such as equality (=) and IN operators are often used in SQL queries.The shardi", @@ -986,8 +1022,8 @@ "title":"HASH", "uri":"ddm_10_0012.html", "doc_type":"usermanual", - "p_code":"99", - "code":"110" + "p_code":"103", + "code":"114" }, { "desc":"This algorithm applies to routing data in different ranges to different shards. Less-than signs (<), greater-than signs (>), and BETWEEN ... AND ... are frequently used i", @@ -995,8 +1031,8 @@ "title":"Range", "uri":"ddm_10_0013.html", "doc_type":"usermanual", - "p_code":"99", - "code":"111" + "p_code":"103", + "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.", @@ -1004,8 +1040,8 @@ "title":"DML", "uri":"ddm_08_0004.html", "doc_type":"usermanual", - "p_code":"93", - "code":"112" + "p_code":"97", + "code":"116" }, { "desc":"INSERT is used to insert data into database objects.INSERT DELAYED is not supported.Only INSERT statements that contain sharding fields are supported.PARTITION syntax is ", @@ -1013,8 +1049,8 @@ "title":"INSERT", "uri":"ddm_08_0005.html", "doc_type":"usermanual", - "p_code":"112", - "code":"113" + "p_code":"116", + "code":"117" }, { "desc":"REPLACE is used to insert rows into or replace rows in a table.PARTITION syntax is not supported.If an auto-increment table has no ID, you can insert a data record with a", @@ -1022,8 +1058,8 @@ "title":"REPLACE", "uri":"ddm_08_0007.html", "doc_type":"usermanual", - "p_code":"112", - "code":"114" + "p_code":"116", + "code":"118" }, { "desc":"DELETE is used to delete rows that meet conditions from a table.The WHERE clause does not support subqueries, including correlated and non-correlated subqueries.Data in r", @@ -1031,8 +1067,8 @@ "title":"DELETE", "uri":"ddm_08_0008.html", "doc_type":"usermanual", - "p_code":"112", - "code":"115" + "p_code":"116", + "code":"119" }, { "desc":"Subqueries are not supported, including correlated and non-correlated subqueries.Cross-shard subquery is not supported.The WHERE condition in the UPDATE statement does no", @@ -1040,8 +1076,8 @@ "title":"UPDATE", "uri":"ddm_08_0009.html", "doc_type":"usermanual", - "p_code":"112", - "code":"116" + "p_code":"116", + "code":"120" }, { "desc":"SELECT is generally used to query data in one or more tables.Supported syntaxSyntaxDescriptionselect_exprIndicates a column that you want to query.FROM table_referencesIn", @@ -1049,8 +1085,8 @@ "title":"SELECT", "uri":"ddm_08_0006.html", "doc_type":"usermanual", - "p_code":"112", - "code":"117" + "p_code":"116", + "code":"121" }, { "desc":"table_references:table_reference:table_factor:join_table:join_condition:SELECT STRAIGHT_JOIN and NATURAL JOIN are not supported.", @@ -1058,8 +1094,8 @@ "title":"SELECT JOIN Syntax", "uri":"ddm_08_0010.html", "doc_type":"usermanual", - "p_code":"112", - "code":"118" + "p_code":"116", + "code":"122" }, { "desc":"SELECT statements in UNION do not support duplicate column names.", @@ -1067,8 +1103,8 @@ "title":"SELECT UNION Syntax", "uri":"ddm_08_0011.html", "doc_type":"usermanual", - "p_code":"112", - "code":"119" + "p_code":"116", + "code":"123" }, { "desc":"ExampleSyntaxExampleSyntaxExampleSyntaxExampleEach derived table must have an alias.A derived table cannot be a correlated subquery.In some cases, correct results cannot ", @@ -1076,8 +1112,8 @@ "title":"SELECT Subquery Syntax", "uri":"ddm_08_0012.html", "doc_type":"usermanual", - "p_code":"112", - "code":"120" + "p_code":"116", + "code":"124" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1085,8 +1121,8 @@ "title":"Supported System Schema Queries", "uri":"ddm_12_0100.html", "doc_type":"usermanual", - "p_code":"112", - "code":"121" + "p_code":"116", + "code":"125" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1094,8 +1130,8 @@ "title":"Functions", "uri":"ddm_03_0063.html", "doc_type":"usermanual", - "p_code":"93", - "code":"122" + "p_code":"97", + "code":"126" }, { "desc":"DDM is compatible with the MySQL license and syntax, but the use of SQL statements is limited due to differences between distributed databases and single-node databases.T", @@ -1103,8 +1139,8 @@ "title":"Use Constraints", "uri":"ddm_08_0013.html", "doc_type":"usermanual", - "p_code":"93", - "code":"123" + "p_code":"97", + "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.", @@ -1112,8 +1148,8 @@ "title":"Supported SQL Statements", "uri":"ddm_08_0002.html", "doc_type":"usermanual", - "p_code":"93", - "code":"124" + "p_code":"97", + "code":"128" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1121,8 +1157,8 @@ "title":"CHECK TABLE", "uri":"ddm_08_0014.html", "doc_type":"usermanual", - "p_code":"124", - "code":"125" + "p_code":"128", + "code":"129" }, { "desc":"Purpose: To check DDL consistency of all logical tables in one schemaCommand Format:Command Output:The following output is returned if DDL check results of all logical ta", @@ -1130,8 +1166,8 @@ "title":"Checking DDL Consistency of Physical Tables in All Logical Tables", "uri":"ddm_08_0021.html", "doc_type":"usermanual", - "p_code":"125", - "code":"126" + "p_code":"129", + "code":"130" }, { "desc":"Purpose: To check DDL consistency of physical tables in a specific logical tableCommand Format:Command Output:If the returned result set is empty, DDL results of physical", @@ -1139,8 +1175,8 @@ "title":"Checking DDL Consistency of Physical Tables in One Logical Table", "uri":"ddm_08_0022.html", "doc_type":"usermanual", - "p_code":"125", - "code":"127" + "p_code":"129", + "code":"131" }, { "desc":"Command Format 1:show rule;It is used to view the sharding rule of each logical table in a certain schema.Command output:Command Format 2:show rule from;It is", @@ -1148,8 +1184,8 @@ "title":"SHOW RULE", "uri":"ddm_08_0015.html", "doc_type":"usermanual", - "p_code":"124", - "code":"128" + "p_code":"128", + "code":"132" }, { "desc":"Command Format:show topology from;It is used to view physical tables corresponding to a specified logical table.Output Details:RDS_instance_id: indicates the ", @@ -1157,8 +1193,8 @@ "title":"SHOW TOPOLOGY", "uri":"ddm_08_0017.html", "doc_type":"usermanual", - "p_code":"124", - "code":"129" + "p_code":"128", + "code":"133" }, { "desc":"Command Format:show data node;It is used to view data about database shards in the RDS instance.Output Details:RDS_instance_id: indicates the ID of the RDS instance.PHYSI", @@ -1166,8 +1202,8 @@ "title":"SHOW DATA NODE", "uri":"ddm_08_0130.html", "doc_type":"usermanual", - "p_code":"124", - "code":"130" + "p_code":"128", + "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.", @@ -1175,8 +1211,8 @@ "title":"TRUNCATE TABLE", "uri":"ddm_08_0023.html", "doc_type":"usermanual", - "p_code":"124", - "code":"131" + "p_code":"128", + "code":"135" }, { "desc":"Command Format:/*+db=*/ TRUNCATE TABLEDescription:Deleting data in physical tables corresponding to in does ", @@ -1184,8 +1220,8 @@ "title":"HINT-DB", "uri":"ddm_08_0024.html", "doc_type":"usermanual", - "p_code":"131", - "code":"132" + "p_code":"135", + "code":"136" }, { "desc":"HINTs are instructions within a SQL statement that tell the optimizer to execute the statement in a flexible way. This section describes how to use HINT syntax to delete ", @@ -1193,8 +1229,8 @@ "title":"HINT-TABLE", "uri":"ddm_08_0025.html", "doc_type":"usermanual", - "p_code":"131", - "code":"133" + "p_code":"135", + "code":"137" }, { "desc":"Command Format:/*+db=,table=*/ TRUNCATE TABLEDescription:Deleting data in physical table in datab", @@ -1202,8 +1238,8 @@ "title":"HINT-DB/TABLE", "uri":"ddm_08_0026.html", "doc_type":"usermanual", - "p_code":"131", - "code":"134" + "p_code":"135", + "code":"138" }, { "desc":"Command Format:/*+ allow_alter_rerun=true*/Description:Using this hint ensures that commands can be repeatedly executed, and no error is reported. This hint ", @@ -1211,8 +1247,8 @@ "title":"HINT- ALLOW_ALTER_RERUN", "uri":"ddm_08_0027.html", "doc_type":"usermanual", - "p_code":"124", - "code":"135" + "p_code":"128", + "code":"139" }, { "desc":"LOAD DATA LOCAL INFILE '/data/data.txt' IGNORE INTO TABLE test CHARACTER SET 'utf8' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\\n' (id, sid,", @@ -1220,8 +1256,8 @@ "title":"LOAD DATA", "uri":"ddm_03_0031.html", "doc_type":"usermanual", - "p_code":"124", - "code":"136" + "p_code":"128", + "code":"140" }, { "desc":"Command Format 1:show physical processlist;This command returns the processes that run on the associated RDS instance.Command Format 2:show physical processlist with in", @@ -1229,8 +1265,8 @@ "title":"SHOW PHYSICAL PROCESSLIST", "uri":"ddm_08_0032.html", "doc_type":"usermanual", - "p_code":"124", - "code":"137" + "p_code":"128", + "code":"141" }, { "desc":"DDM allows you to customize a hint to specify whether SQL statements are executed on the primary instance or its read replicas.The following hint formats are supported:Fo", @@ -1238,8 +1274,8 @@ "title":"Customized Hints for Read/Write Splitting", "uri":"ddm_03_0034.html", "doc_type":"usermanual", - "p_code":"124", - "code":"138" + "p_code":"128", + "code":"142" }, { "desc":"DDM allows you to configure a hint to control whether each SELECT statement skips the cached execution plan.The hint is in the format of /*!GAUSS:skip_plancache=flag*/.fl", @@ -1247,8 +1283,8 @@ "title":"Setting a Hint to Skip the Cached Execution Plan", "uri":"ddm_03_0039.html", "doc_type":"usermanual", - "p_code":"124", - "code":"139" + "p_code":"128", + "code":"143" }, { "desc":"Command Format:Description:Specify a shard by configuring and execute a SQL statement on the shard.Example:Restrictions:The hint is valid only for SELE", @@ -1256,8 +1292,8 @@ "title":"Specifying a Shard Using a Hint When Executing a SQL Statement", "uri":"ddm_03_0040.html", "doc_type":"usermanual", - "p_code":"124", - "code":"140" + "p_code":"128", + "code":"144" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1265,8 +1301,8 @@ "title":"Global Sequence", "uri":"ddm_03_0030.html", "doc_type":"usermanual", - "p_code":"93", - "code":"141" + "p_code":"97", + "code":"145" }, { "desc":"Global sequences are mainly database-based global sequences.The start auto-increment SN can be modified.Global sequence provides sequence numbers that are globally unique", @@ -1274,8 +1310,8 @@ "title":"Overview", "uri":"ddm_12_0010.html", "doc_type":"usermanual", - "p_code":"141", - "code":"142" + "p_code":"145", + "code":"146" }, { "desc":"NEXTVAL returns the next sequence number, and CURRVAL returns the current sequence number. nextval(n) returns n unique sequence numbers.nextval(n) can be used only in sel", @@ -1283,8 +1319,8 @@ "title":"Using NEXTVAL or CURRVAL to Query Global Sequence Numbers", "uri":"ddm_03_0036.html", "doc_type":"usermanual", - "p_code":"141", - "code":"143" + "p_code":"145", + "code":"147" }, { "desc":"You can use global sequences in INSERT or REPLACE statements to provide unique global sequence across schemas in a DDM instance. Generating sequence numbers with NEXTVAL ", @@ -1292,8 +1328,8 @@ "title":"Using Global Sequences in INSERT or REPLACE Statements", "uri":"ddm_03_0037.html", "doc_type":"usermanual", - "p_code":"141", - "code":"144" + "p_code":"145", + "code":"148" }, { "desc":"SHOW SyntaxSHOW COLUMNS SyntaxSHOW CREATE TABLE SyntaxSHOW TABLE STATUS SyntaxSHOW TABLES SyntaxSHOW DATABASESIf the required database is not found, check fine-grained pe", @@ -1301,8 +1337,8 @@ "title":"Database Management Syntax", "uri":"ddm_03_0032.html", "doc_type":"usermanual", - "p_code":"93", - "code":"145" + "p_code":"97", + "code":"149" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1310,8 +1346,8 @@ "title":"Advanced SQL Functions", "uri":"ddm_03_0035.html", "doc_type":"usermanual", - "p_code":"93", - "code":"146" + "p_code":"97", + "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.", @@ -1320,7 +1356,7 @@ "uri":"ddm_04_0001.html", "doc_type":"usermanual", "p_code":"", - "code":"147" + "code":"151" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1328,8 +1364,8 @@ "title":"General Questions", "uri":"ddm_04_0066.html", "doc_type":"usermanual", - "p_code":"147", - "code":"148" + "p_code":"151", + "code":"152" }, { "desc":"DDM instance faults do not affect data integrity.Service data is stored in shards of data nodes, but not on DDM.Configuration information of schemas and logical tables is", @@ -1337,8 +1373,8 @@ "title":"What High-Reliability Mechanisms Does DDM Provide?", "uri":"ddm_04_0068.html", "doc_type":"usermanual", - "p_code":"148", - "code":"149" + "p_code":"152", + "code":"153" }, { "desc":"DDM uses VPCs and security groups to ensure security of your instances. The following provides guidance for you on how to correctly configure a security group.Access to a", @@ -1346,8 +1382,8 @@ "title":"How Do I Select and Configure a Security Group?", "uri":"ddm_04_0067.html", "doc_type":"usermanual", - "p_code":"148", - "code":"150" + "p_code":"152", + "code":"154" }, { "desc":"No. Different data nodes associated with a DDM instance are independent of each other and cannot share data.", @@ -1355,8 +1391,8 @@ "title":"Can Data Nodes Associated with a DDM Instance Share Data?", "uri":"ddm_12_0011.html", "doc_type":"usermanual", - "p_code":"148", - "code":"151" + "p_code":"152", + "code":"155" }, { "desc":"Any data nodes can be associated with a DDM instance as long as they are:Running normallyIn the same VPC as the DDM instanceNot in use by other DDM instances", @@ -1364,8 +1400,8 @@ "title":"What Data Nodes Can Be Associated with a DDM Instance?", "uri":"ddm_12_0012.html", "doc_type":"usermanual", - "p_code":"148", - "code":"152" + "p_code":"152", + "code":"156" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1373,8 +1409,8 @@ "title":"DDM Usage", "uri":"ddm_04_0004.html", "doc_type":"usermanual", - "p_code":"147", - "code":"153" + "p_code":"151", + "code":"157" }, { "desc":"When you access a DDM instance using the MySQL driver (JDBC) in load balancing mode, an infinite loop may occur during connection switchover, resulting in stack overflow.", @@ -1382,8 +1418,8 @@ "title":"What Do I Do If I Fail to Connect to a DDM Instance Using the JDBC Driver?", "uri":"ddm_04_0008.html", "doc_type":"usermanual", - "p_code":"153", - "code":"154" + "p_code":"157", + "code":"158" }, { "desc":"Currently, you cannot connect to DDM using JDBC driver 5.1.46. Versions 5.1.35 to 5.1.45 are recommended.JDBC driver download address:https://dev.mysql.com/downloads/conn", @@ -1391,8 +1427,8 @@ "title":"What Version and Parameters Should I Select?", "uri":"ddm_04_0009.html", "doc_type":"usermanual", - "p_code":"153", - "code":"155" + "p_code":"157", + "code":"159" }, { "desc":"The version of the mysqldump client may be inconsistent with that of the supported MySQL server, so exporting data from MySQL is slow.Using the same version of the mysqld", @@ -1400,8 +1436,8 @@ "title":"Why It Takes So Long Time to Export Data from MySQL Using mysqldump?", "uri":"ddm_04_0013.html", "doc_type":"usermanual", - "p_code":"153", - "code":"156" + "p_code":"157", + "code":"160" }, { "desc":"When you create a table in DDM, set the start value for automatic increment and ensure that the start value is greater than the maximum auto-increment value of imported d", @@ -1409,8 +1445,8 @@ "title":"What Do I Do If a Duplicate Primary Key Error Occurs When Data Is Imported into DDM?", "uri":"ddm_04_0014.html", "doc_type":"usermanual", - "p_code":"153", - "code":"157" + "p_code":"157", + "code":"161" }, { "desc":"Execute the following SQL statement to modify the start value of the auto-increment primary key so that the value is greater than the maximum value of primary keys in exi", @@ -1418,8 +1454,8 @@ "title":"What Should I Do If an Error Message Is Returned When I Specify an Auto-Increment Primary Key During Migration?", "uri":"ddm_04_0035.html", "doc_type":"usermanual", - "p_code":"153", - "code":"158" + "p_code":"157", + "code":"162" }, { "desc":"Adjust the SocketTimeOut value or leave this parameter blank. The default value is 0, indicating that the client is not disconnected.", @@ -1427,8 +1463,8 @@ "title":"What Do I Do If an Error Is Reported When Parameter Configuration Does Not Time Out?", "uri":"ddm_04_0031.html", "doc_type":"usermanual", - "p_code":"153", - "code":"159" + "p_code":"157", + "code":"163" }, { "desc":"After an RDS instance is associated with your schema, you cannot delete the instance directly. To delete it, you have to delete the schema first and then delete the insta", @@ -1436,8 +1472,8 @@ "title":"Which Should I Delete First, a Schema or its Associated RDS Instances?", "uri":"ddm_04_0050.html", "doc_type":"usermanual", - "p_code":"153", - "code":"160" + "p_code":"157", + "code":"164" }, { "desc":"If you do not need to delete the databases or accounts, you can manually delete them to free up space.", @@ -1445,8 +1481,8 @@ "title":"Can I Manually Delete Databases and Accounts Remained in Data Nodes After a Schema Is Deleted?", "uri":"ddm_04_0051.html", "doc_type":"usermanual", - "p_code":"153", - "code":"161" + "p_code":"157", + "code":"165" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1454,8 +1490,8 @@ "title":"SQL Syntax", "uri":"ddm_04_0046.html", "doc_type":"usermanual", - "p_code":"147", - "code":"162" + "p_code":"151", + "code":"166" }, { "desc":"Yes. DDM supports distributed JOINs.Redundant fields are added during table design.Cross-shard JOIN is implemented by using broadcast tables, ER shards, and ShareJoin.Cur", @@ -1463,8 +1499,8 @@ "title":"Does DDM Support Distributed JOINs?", "uri":"ddm_04_0015.html", "doc_type":"usermanual", - "p_code":"162", - "code":"163" + "p_code":"166", + "code":"167" }, { "desc":"You are advised to use INNER instead of LEFT JOIN or RIGHT JOIN.When LEFT JOIN or RIGHT JOIN is used, ON is preferentially executed, and WHERE is executed at the end. The", @@ -1472,8 +1508,8 @@ "title":"How Do I Optimize SQL Statements?", "uri":"ddm_04_0016.html", "doc_type":"usermanual", - "p_code":"162", - "code":"164" + "p_code":"166", + "code":"168" }, { "desc":"Data type conversion is an advanced function. DDM will be gradually upgraded to be compatible with more SQL syntax. If necessary, submit a service ticket for processing.", @@ -1481,8 +1517,8 @@ "title":"Does DDM Support Forced Conversion of Data Types?", "uri":"ddm_04_0019.html", "doc_type":"usermanual", - "p_code":"162", - "code":"165" + "p_code":"166", + "code":"169" }, { "desc":"Split an INSERT statement into multiple small statements.", @@ -1490,8 +1526,8 @@ "title":"What Should I Do If an Error Is Reported When Multiple Data Records Are Inserted into Batches Using the INSERT Statement?", "uri":"ddm_04_0036.html", "doc_type":"usermanual", - "p_code":"162", - "code":"166" + "p_code":"166", + "code":"170" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1499,8 +1535,8 @@ "title":"RDS-related Questions", "uri":"ddm_04_0047.html", "doc_type":"usermanual", - "p_code":"147", - "code":"167" + "p_code":"151", + "code":"171" }, { "desc":"DDM is case-insensitive to database names, table names, and column names by default.", @@ -1508,8 +1544,8 @@ "title":"Is the Name of a Database Table Case-Sensitive?", "uri":"ddm_04_0048.html", "doc_type":"usermanual", - "p_code":"167", - "code":"168" + "p_code":"171", + "code":"172" }, { "desc":"Table 1 lists risky operations on RDS for MySQL.", @@ -1517,8 +1553,8 @@ "title":"What Risky Operations on RDS for MySQL Will Affect DDM?", "uri":"ddm_04_0025.html", "doc_type":"usermanual", - "p_code":"167", - "code":"169" + "p_code":"171", + "code":"173" }, { "desc":"If there is already a primary key whose data type is a boundary value, in your DDM instance, duplicate primary keys will be reported when you insert a data record that is", @@ -1526,8 +1562,8 @@ "title":"How Do I Handle Data with Duplicate Primary Keys in a Table?", "uri":"ddm_04_0028.html", "doc_type":"usermanual", - "p_code":"167", - "code":"170" + "p_code":"171", + "code":"174" }, { "desc":"After you connect to a DDM instance through the MySQL client, you can run command show full innodb status to query information about the associated RDS for MySQL instance", @@ -1535,8 +1571,8 @@ "title":"How Can I Query RDS for MySQL Information by Running Command show full innodb status?", "uri":"ddm_04_0029.html", "doc_type":"usermanual", - "p_code":"167", - "code":"171" + "p_code":"171", + "code":"175" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1544,8 +1580,8 @@ "title":"Connection Management", "uri":"ddm_04_0097.html", "doc_type":"usermanual", - "p_code":"147", - "code":"172" + "p_code":"151", + "code":"176" }, { "desc":"If the MySQL connection code is inconsistent with the actual one, garbled characters may be displayed during parsing on DDM.In this case, configure default-character-set=", @@ -1553,8 +1589,8 @@ "title":"How Can I Handle Garbled Characters Generated When I Connect a MySQL Instance to a DDM Instance?", "uri":"ddm_04_0006.html", "doc_type":"usermanual", - "p_code":"172", - "code":"173" + "p_code":"176", + "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.", @@ -1563,6 +1599,6 @@ "uri":"ddm_history_0003.html", "doc_type":"usermanual", "p_code":"", - "code":"174" + "code":"178" } ] \ No newline at end of file diff --git a/docs/ddm/umn/ddm_02_0000.html b/docs/ddm/umn/ddm_02_0000.html index 5e6167cb1..c46471ff5 100644 --- a/docs/ddm/umn/ddm_02_0000.html +++ b/docs/ddm/umn/ddm_02_0000.html @@ -28,7 +28,7 @@

Schema

Schema to be associated with the DDM account. You can select an existing schema from the drop-down list.

-

Only the associated schemas can be accessed using the account.

+

The account can be used to access only the associated schemas.

Permissions

diff --git a/docs/ddm/umn/ddm_03_0051.html b/docs/ddm/umn/ddm_03_0051.html index 7a643ac73..bc3bfe04f 100644 --- a/docs/ddm/umn/ddm_03_0051.html +++ b/docs/ddm/umn/ddm_03_0051.html @@ -193,6 +193,19 @@

1 minute

+

ddm_kernel_fgc_cnt

+ +

Kernel Full GC Times

+ +

Full GC times of each DDM node per minute

+ +

≥ 0 counts

+ +

DDM nodes

+ +

1 minute

+ +

ddm_node_status_alarm_code

DDM Node Connectivity

@@ -206,6 +219,19 @@

1 minute

+

ddm_global_sequence_threshold_exceeded_count

+ +

Global Secondary Sequences Beyond Threshold

+ +

Number of global sequences whose usage exceeds 75%. Usage = Current value/Maximum value. The default threshold is 75%. The maximum value of a global sequence depends on the global sequence type. For example, the maximum value of BIGINT is 2^63-1.

+ +

≥ 0 counts

+ +

DDM instances

+ +

10 minutes

+ + diff --git a/docs/ddm/umn/ddm_04_0025.html b/docs/ddm/umn/ddm_04_0025.html index 7686eb27e..8395bec3c 100644 --- a/docs/ddm/umn/ddm_04_0025.html +++ b/docs/ddm/umn/ddm_04_0025.html @@ -77,7 +77,7 @@

After a physical table is deleted, data stored on DDM will be lost. The corresponding logical table becomes unavailable on DDM.

-

Modifying the name of a physical table created on DDM

+

Changing the name of a physical table created on DDM

DDM cannot obtain data of the corresponding logical table, and the logical table becomes unavailable on DDM.

diff --git a/docs/ddm/umn/ddm_05_0001.html b/docs/ddm/umn/ddm_05_0001.html index b0f74a1ba..8a6589071 100644 --- a/docs/ddm/umn/ddm_05_0001.html +++ b/docs/ddm/umn/ddm_05_0001.html @@ -12,6 +12,8 @@ + diff --git a/docs/ddm/umn/ddm_05_0002.html b/docs/ddm/umn/ddm_05_0002.html index 8d10963d7..2e8d5f8ef 100644 --- a/docs/ddm/umn/ddm_05_0002.html +++ b/docs/ddm/umn/ddm_05_0002.html @@ -3,7 +3,7 @@

Creating an Account

Prerequisites

  • You have logged in to the DDM console.
  • There are schemas available in the DDM instance that you want to create an account for.
-

Procedure

  1. In the instance list, locate the required DDM instance and click its name.
  2. In the navigation pane, choose Accounts.
  3. On the displayed page, click Create Account and configure the required parameters.

    +

    Procedure

    1. In the instance list, locate the required DDM instance and click its name.
    2. In the navigation pane, choose Accounts.
    3. On the displayed page, click Create Account and configure the required parameters.

      @@ -20,7 +20,7 @@
      Table 1 Required parameters

      Parameter

      Password

      Password of the account. The password:

      -
      • Can include 8 to 32 characters.
      • Must contain at least three of the following character types: lowercase letters, uppercase letters, digits, and special characters ~!@#%^*-_=+?
      • Cannot be a weak password. It cannot be overly simple and easily guessed.
      • Cannot be the username or the username spelled backwards.
      +
      • Can include 8 to 32 characters.
      • Must contain at least three of the following character types: lowercase letters, uppercase letters, digits, and special characters ~!@#%^*-_+?
      • Cannot be a weak password. It cannot be overly simple and easily guessed.
      • Cannot be the username or the username spelled backwards.

      Confirm Password

      diff --git a/docs/ddm/umn/ddm_05_0008.html b/docs/ddm/umn/ddm_05_0008.html index 7555cbfc3..17ee54660 100644 --- a/docs/ddm/umn/ddm_05_0008.html +++ b/docs/ddm/umn/ddm_05_0008.html @@ -3,7 +3,7 @@

      Resetting the Password of an Account

      Prerequisites

      • You have logged in to the DDM console.
      • Resetting the DDM account password is a high-risk operation. Ensure that you have the IAM permission to modify DDM accounts.
      -

      Procedure

      1. In the instance list, locate the DDM instance with the account whose password you want to reset and click its name.
      2. In the navigation pane, choose Accounts.
      3. In the account list, locate the required account and choose More > Reset Password in the Operation column.
      4. In the displayed dialog box, enter the new password, confirm the new password, and click OK.
      +

      Procedure

      1. In the instance list, locate the DDM instance with the account whose password you want to reset and click its name.
      2. In the navigation pane, choose Accounts.
      3. In the account list, locate the required account and choose More > Reset Password in the Operation column.
      4. In the displayed dialog box, enter the new password, confirm the new password, and click OK.
      diff --git a/docs/ddm/umn/ddm_05_0020.html b/docs/ddm/umn/ddm_05_0020.html new file mode 100644 index 000000000..8b9f6dd7e --- /dev/null +++ b/docs/ddm/umn/ddm_05_0020.html @@ -0,0 +1,19 @@ + + +

      Managing Permissions

      +
      + + diff --git a/docs/ddm/umn/ddm_05_0134.html b/docs/ddm/umn/ddm_05_0134.html index ae8c19600..9d9b169bd 100644 --- a/docs/ddm/umn/ddm_05_0134.html +++ b/docs/ddm/umn/ddm_05_0134.html @@ -5,7 +5,7 @@

      Deleted accounts cannot be recovered. Exercise caution when performing this operation.

      -

      Procedure

      1. In the instance list, locate the DDM instance with the account that you want to delete and click its name.
      2. In the navigation pane, choose Accounts.
      3. In the account list, locate the account that you want to delete and choose More > Delete in the Operation column.
      4. In the displayed dialog box, click Yes.
      +

      Procedure

      1. In the instance list, locate the DDM instance with the account that you want to delete and click its name.
      2. In the navigation pane, choose Accounts.
      3. In the account list, locate the account that you want to delete and choose More > Delete in the Operation column.
      4. In the displayed dialog box, click Yes.
      diff --git a/docs/ddm/umn/ddm_06_0007.html b/docs/ddm/umn/ddm_06_0007.html index 409bba73c..63623b849 100644 --- a/docs/ddm/umn/ddm_06_0007.html +++ b/docs/ddm/umn/ddm_06_0007.html @@ -5,7 +5,7 @@

      Precautions

      The destination DDM instance has no schemas with the same name.

      -

      Procedure

      1. Log in to the DDM console, in the instance list, locate the DDM instance that you want to import schema information into and click its name.
      2. On the displayed page, in the navigation pane, choose Schemas.
      3. On the displayed page, click Import Schema Information.
      4. On the displayed page, click Select File to select the required JSON file which has been exported in Exporting Schema Information.
      5. Select the required data nodes, enter a database account with required permissions, and click Finish.

        • The number of selected data nodes is the same as the number of data nodes imported into the DDM instance.
        • Required permissions: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER WITH GRANT OPTION

          You can create a database account for the RDS for MySQL instance and assign it the above permissions in advance.

          +

          Procedure

          1. Log in to the DDM console, in the instance list, locate the DDM instance that you want to import schema information into and click its name.
          2. On the displayed page, in the navigation pane, choose Schemas.
          3. On the displayed page, click Import Schema Information.
          4. On the displayed page, click Select File to select the required JSON file which has been exported in Exporting Schema Information.
          5. Select the required data nodes, enter a database account with required permissions, and click Finish.

            • The number of selected data nodes is the same as the number of data nodes imported into the DDM instance.
            • Required permissions: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER WITH GRANT OPTION

              You can create a database account for the RDS for MySQL instance and assign it the above permissions in advance.

          diff --git a/docs/ddm/umn/ddm_06_0017.html b/docs/ddm/umn/ddm_06_0017.html index 76ccc6c81..25b2fdde3 100644 --- a/docs/ddm/umn/ddm_06_0017.html +++ b/docs/ddm/umn/ddm_06_0017.html @@ -5,11 +5,11 @@

          When you delete a schema by mistake or your RDS for MySQL instances become abnormal, metadata restoration allows you to restore your DDM instance metadata and match the metadata with the RDS instance that has completed PITR to re-establish the relationship between your DDM instance and RDS instance. Metadata restoration supports only RDS for MySQL.

          To restore metadata of a DDM instance, you can specify a point in time by referring to Restoring Metadata to a Point in Time, or using an available backup by referring to Restoring Metadata Using Backups.

          Metadata restoration mainly restores the metadata of your DDM instance to a new DDM instance. It starts after a point-in-time recovery (PITR) for the associated data nodes is complete.

          -

          Prerequisites

          • There is a source DDM instance available and associated with an RDS for MySQL instance. This DB instance is the source data node.
          • The source data node has been restored to a specified time point.
          +

          Prerequisites

          • There is a source DDM instance available and associated with an RDS for MySQL instance. This DB instance is the source data node.
          • The data from the source data node has been restored to the destination data node as it existed at a specified point in time.
          • The destination RDS for MySQL instance and the destination DDM instance must be deployed in the same VPC and subnet and have the same security group rules.
          -

          Constraints

          • The destination DDM instance is not associated with any RDS for MySQL instance and has no schemas or accounts.
          • Restoration is not supported if the destination DDM instance is in the primary network and its associated RDS for MySQL instance is in the extended network.
          • The source DDM instance must be of the version 2.3.2.11 or later, and the destination DDM instance must be of the version 3.0.8 or later.
          • Time points that data can be restored to depend on the backup policy set on original data nodes.
          +

          Constraints

          • The destination DDM instance is not associated with any RDS for MySQL instance and has no schemas and accounts.
          • Restoration is not supported if the destination DDM instance is in the primary network and its associated RDS for MySQL instance is in the extended network.
          • The source DDM instance must be of the version 2.3.2.11 or later, and the destination DDM instance must be of the version 3.0.8 or later.
          • Time points that data can be restored to depend on the backup policy set on original data nodes.
          • The time point to which metadata is restored must be the same as that to which an RDS for MySQL instance is restored.
          -

          Restoring Metadata to a Point in Time

          1. Log in to the DDM console.
          2. Create a new DDM instance and use it as the destination DDM instance. For details, seeCreating a DDM Instance.
          3. In the DDM instance list, locate the source instance and click its name.
          4. In the navigation pane on the left, choose Backups & Restorations.
          5. Click Restore Metadata.
          6. On the displayed page, specify a time point. The source DDM instance will select an appropriate DDM metadata backup closest to the time point.

            +

            Restoring Metadata to a Point in Time

            1. Log in to the DDM console.
            2. Create a new DDM instance and use it as the destination DDM instance. For details, see Creating a DDM Instance.
            3. In the DDM instance list, locate the source instance and click its name.
            4. In the navigation pane on the left, choose Backups & Restorations.
            5. Click Restore Metadata.
            6. On the displayed page, specify a time point. The source DDM instance will select an appropriate DDM metadata backup closest to the time point.

              @@ -36,7 +37,7 @@

            7. Click OK. If a message is displayed indicating that the metadata is restored successfully, the restoration is complete.
            8. -

              Restoring Metadata Using Backups

              1. Log in to the DDM console.
              2. Create a new DDM instance and use it as the destination DDM instance. For details, seeCreating a DDM Instance.
              3. In the DDM instance list, locate the source instance and click its name.
              4. In the navigation pane on the left, choose Backups. Alternatively, go to the instance details page and choose Backups in the navigation pane on the left.
              5. Locate the required backup based on the instance name and backup time and click Restore in the Operation column.

                +

                Restoring Metadata Using Backups

                1. Log in to the DDM console.
                2. Create a new DDM instance and use it as the destination DDM instance. For details, see Creating a DDM Instance.
                3. In the DDM instance list, locate the source instance and click its name.
                4. In the navigation pane on the left, choose Backups. Alternatively, go to the instance details page and choose Backups in the navigation pane on the left.
                5. Locate the required backup based on the instance name and backup time and click Restore in the Operation column.

                6. On the displayed page, configure required parameters.

              Table 1 Parameter description

              Parameter

              Description

              @@ -29,6 +29,7 @@

              Destination Data Nodes

              Select the RDS for MySQL instances that have completed PITR. DDM will match the selected data nodes with shard information in the selected metadata backup.

              +

              For details about how to perform PITR on RDS for MySQL instances, see Restoring a DB Instance to a Point in Time.

              @@ -57,6 +58,7 @@ diff --git a/docs/ddm/umn/ddm_12_0002.html b/docs/ddm/umn/ddm_12_0002.html new file mode 100644 index 000000000..626a7cddb --- /dev/null +++ b/docs/ddm/umn/ddm_12_0002.html @@ -0,0 +1,14 @@ + + +

              Account Permissions

              +

              DDM permissions management is based on MySQL permissions management. DDM supports most of MySQL syntax and permissions. For more information about MySQL accounts and permissions, see MySQL documentation.

              +

              This document describes DDM account rules, permission levels, permission items, and permission operations.

              +

              DDM Accounts created by CREATE USER or GRANT have nothing to do with accounts in associated RDS instances, and will not be synchronized to RDS instances either.

              +
              +
              +
              + +
              + diff --git a/docs/ddm/umn/ddm_12_0003.html b/docs/ddm/umn/ddm_12_0003.html new file mode 100644 index 000000000..2e591e6f3 --- /dev/null +++ b/docs/ddm/umn/ddm_12_0003.html @@ -0,0 +1,16 @@ + + +

              Account Requirements

              +

              Account

              Different from MySQL, DDM identifies an account by username, not by username@host.

              +
              +

              Username

              • Must be case-sensitive.
              • Contains 1 to 32 characters and must start with a letter. Only letters, digits, and underscores (_) are allowed.
              +
              +

              Password

              • Contains 8 to 32 characters.
              • Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters ~!@#%^*-_+?
              • Cannot be a weak password that is easily guessed.
              +
              +
              +
              + +
              + diff --git a/docs/ddm/umn/ddm_12_0004.html b/docs/ddm/umn/ddm_12_0004.html new file mode 100644 index 000000000..f151cb716 --- /dev/null +++ b/docs/ddm/umn/ddm_12_0004.html @@ -0,0 +1,169 @@ + + +

              Managing Permissions

              +

              Permission Levels

              • User level (supported)
              • Database level (supported)
              • Table level (supported)
              • Column level (not supported)
              • Subprogram level (not supported)
              • Global level (not supported)
              +
              +

              Permission Types

              DDM supports different permission types by using the GRANT statement.

              + +
              Table 2 Parameter description

              Parameter

              Destination Data Nodes

              Select the RDS for MySQL instances that have completed PITR. DDM will match the selected data nodes with shard information in the selected metadata backup.

              +

              For details about how to perform PITR on RDS for MySQL instances, see Restoring a DB Instance to a Point in Time.

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              Permission Type

              +

              Description

              +

              ALL

              +

              All permissions

              +

              DROP

              +

              Deleting a table

              +

              INDEX

              +

              Creating/Deleting an index

              +

              ALTER

              +

              Executing ALTER statements

              +

              CREATE

              +

              Creating a table

              +

              SELECT

              +

              Reading table data

              +

              INSERT

              +

              Inserting data to a table

              +

              UPDATE

              +

              Updating data in a table

              +

              GRANT

              +

              Granting permissions to users

              +

              REVOKE

              +

              Deleting a user permission

              +

              SET

              +

              Setting user's passwords

              +

              FILE

              +

              Uploading database permissions from a file

              +

              CREATE USER

              +

              Creating a user

              +
              +
              +
            +

            Precautions

            • Basic permissions of a DDM account can only be modified on the DDM console.
            • If a DDM account has table or database permissions on a schema, the schema will be displayed in the row where the account is located.
            • Users created by the CREATE USER statement support only user-level permissions.
            • If a DDM account has been associated with a schema, deleting this schema or tables in it does not affect the permissions assigned to the account.
            • Permissions cannot be assigned to a DDM account created on the management and control plane unless the account is associated with a schema.
            +
            +

            Permission Operations

            SHOW GRANTS is supported in versions in 3.0.2 or later. Other functions are available in versions 2.4.1.4 or later.

            +
            +

            CREATE USER

            +
            +

            Syntax:

            +
            CREATE USER username IDENTIFIED BY 'password';
            +

            Example: Creating an account (whose name is Jenny and whose password is changed from xxxxxx to a custom one)

            +
            CREATE USER Jenny IDENTIFIED BY 'xxxxxx';
            +

            Each username and password must meet the corresponding requirements.

            +
            +

            DROP USER

            +

            Syntax:

            +
            DROP USER username
            +

            Example: Removing user1

            +
            DROP USER user1;
            +

            SET PASSWORD

            +

            Syntax:

            +
            SET PASSWORD FOR 'username'@'%' = 'password'
            +

            To be compatible with the MySQL syntax, the username must be in the format of 'username'@'%'.

            +
            +

            Example: Changing the password of Jenny

            +
            SET PASSWORD FOR 'Jenny'@'%' = 'new_password'
            +

            GRANT

            +
            Syntax:
            GRANT    
            +   priv_type[, priv_type] ...     
            +   ON priv_level     
            +   TO user [auth_option] 
            +   priv_level: {    
            +       | *.*    
            +       | db_name.*    
            +       | db_name.tbl_name      
            +       | tbl_name}
            +   auth_option: {      
            +       IDENTIFIED BY 'password'
            +}
            +
            +

            If a GRANT statement provides no accounts and does not specify IDENTIFIED BY, a message No account found will be returned. If IDENTIFIED BY is specified, an account will be created accordingly and permissions will be granted to it.

            +

            GRANT ALL [PRIVILEGES] can be used to assign table-, user-, and database-level permissions.

            +
            +

            Example 1: Create a user-level account with all permissions. The username is user2.

            +

            Method 1: Create an account and then grant permissions to it.

            +
            CREATE USER user2 IDENTIFIED BY 'password';
            +GRANT SELECT, INSERT ON *.* to user2;
            +

            Method 2: Use one SQL statement to create an account and grant it permissions.

            +
            GRANT SELECT, INSERT ON *.* to user2 IDENTIFIED BY 'password';
            +

            Example 2: Create a database-level account with all permissions. Create account user3 in database testdb and grant the SELECT permissions of database testdb to the account.

            +

            Method 1: Create an account and then grant permissions to it.

            +
            CREATE USER user3 IDENTIFIED BY 'password';
            +GRANT SELECT ON testdb.* to user3;
            +

            Method 2: Use one SQL statement to create an account and grant it permissions.

            +
            GRANT SELECT ON testdb.* to user3 IDENTIFIED BY 'password';
            +

            Example 3: Create a table-level account with all permissions. Create account user4 in database testdb and grant all permissions of table testdb.employees to the account.

            +
            GRANT  ALL PRIVILEGES ON testdb.employees to user4 IDENTIFIED BY 'password';
            +

            REVOKE

            +

            Syntax:

            +
            REVOKE    
            +    priv_type [, priv_type] ...   
            +    ON priv_level FROM user;
            +

            Example: Deleting CREATE, DROP, and INDEX permissions of user user4 on table testdb.emp.

            +
            REVOKE CREATE,DROP,INDEX ON testdb.emp FROM user4;
            +

            REVOKE can delete actions at each permission level of an account. The permission level is specified by priv_level.

            +
            +

            SHOW GRANTS

            +

            Syntax:

            +
            SHOW GRANTS FOR username;
            +

            Example 1: Querying user permissions with any of the following statements:

            +
            SHOW GRANTS;
            +SHOW GRANTS FOR CURRENT_USER;
            +SHOW GRANTS FOR CURRENT_USER();
            +
            Figure 1 Viewing the permissions of the current user
            +

            Example 2: Querying other permissions. This operation can be performed only when the current user can grant user-level permissions.

            +
            mysql> show grants for user4;
            ++-----------------------------+
            +|Grants for user4            |
            ++-----------------------------+
            +|GRANT USAGE ON *.* TO user4 |
            ++-----------------------------+
            +1 row in set (0.00 sec)
            +
          +
          + +
          + diff --git a/docs/ddm/umn/en-us_image_0000002454002032.png b/docs/ddm/umn/en-us_image_0000002454002032.png new file mode 100644 index 000000000..617abe2bb Binary files /dev/null and b/docs/ddm/umn/en-us_image_0000002454002032.png differ