From f04e68407398098b857321005d27dbeb3cca55aa Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Wed, 11 May 2022 17:43:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?update(mogdb):3.0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AI-features/1-AI-features-overview.md | 0 .../intelligence-explain-best-practices.md | 0 ...lligence-explain-environment-deployment.md | 0 .../intelligence-explain-faqs.md | 0 .../intelligence-explain-overview.md | 0 .../intelligence-explain-user-guide.md | 0 .../1-1-x-tuner-overview.md | 0 .../1-2-preparations.md | 0 .../1-3-examples.md | 0 .../1-4-obtaining-help-information.md | 0 .../1-5-command-reference.md | 0 .../1-6-Troubleshooting.md | 0 .../2-1-single-query-index-recommendation.md | 0 .../2-2-virtual-index.md | 0 ...2-3-workload-level-index-recommendation.md | 0 .../3-1-overview.md | 0 .../3-2-environment-deployment.md | 0 .../3-3-usage-guide.md | 0 .../3-4-obtaining-help-information.md | 0 .../3-5-command-reference.md | 0 .../3-6-troubleshooting.md | 0 .../4-ai4db-trend-prediction/4-1-overview.md | 0 .../4-2-environment-deployment.md | 0 .../4-3-usage-guide.md | 0 .../4-4-obtaining-help-information.md | 0 .../4-5-command-reference.md | 0 .../4-6-troubleshooting.md | 0 .../5-1-overview.md | 0 .../5-2-usage-guide.md | 0 .../5-3-obtaining-help-information.md | 0 .../5-4-command-reference.md | 0 .../5-5-troubleshooting.md | 0 .../ai4db/ai4db-autonomous-database-o&m.md | 0 .../components-that-support-dbmind.md | 0 .../prometheus-exporter-command-reference.md | 0 ...metheus-exporter-environment-deployment.md | 0 ...eus-exporter-obtaining-help-information.md | 0 .../prometheus-exporter-overview.md | 0 .../prometheus-exporter-troubleshooting.md | 0 .../prometheus-exporter-usage-guide.md | 0 .../ai4db/dbmind-mode/1-service.md | 0 .../ai4db/dbmind-mode/2-component.md | 0 .../AI-features/ai4db/dbmind-mode/3-set.md | 0 .../ai4db/dbmind-mode/dbmind-mode.md | 0 .../AI-features/db4ai/db4ai.md | 0 ...i-snapshots-for-data-version-management.md | 0 .../db4ai/full-process-ai/full-process-ai.md | 0 .../full-process-ai/plpython-fenced-mode.md | 0 .../AI-features/db4ai/native-db4ai-engine.md | 0 product/zh/docs-mogdb/v3.0/toc.md | 232 +++++++++--------- product/zh/docs-mogdb/v3.0/toc_ai-features.md | 65 +++++ product/zh/docs-mogdb/v3.0/toc_dev.md | 58 ----- 52 files changed, 181 insertions(+), 174 deletions(-) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/1-AI-features-overview.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/ai4db-autonomous-database-o&m.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/dbmind-mode/1-service.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/dbmind-mode/2-component.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/dbmind-mode/3-set.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/ai4db/dbmind-mode/dbmind-mode.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/db4ai/db4ai.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/db4ai/full-process-ai/full-process-ai.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md (100%) rename product/zh/docs-mogdb/v3.0/{developer-guide => }/AI-features/db4ai/native-db4ai-engine.md (100%) create mode 100644 product/zh/docs-mogdb/v3.0/toc_ai-features.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/1-AI-features-overview.md b/product/zh/docs-mogdb/v3.0/AI-features/1-AI-features-overview.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/1-AI-features-overview.md rename to product/zh/docs-mogdb/v3.0/AI-features/1-AI-features-overview.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md b/product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md b/product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md b/product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md b/product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md b/product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai4db-autonomous-database-o&m.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai4db-autonomous-database-o&m.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/ai4db-autonomous-database-o&m.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/ai4db-autonomous-database-o&m.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/dbmind-mode/1-service.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/dbmind-mode/1-service.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/dbmind-mode/1-service.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/dbmind-mode/1-service.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/dbmind-mode/2-component.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/dbmind-mode/2-component.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/dbmind-mode/2-component.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/dbmind-mode/2-component.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/dbmind-mode/3-set.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/dbmind-mode/3-set.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/dbmind-mode/3-set.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/dbmind-mode/3-set.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/dbmind-mode/dbmind-mode.md b/product/zh/docs-mogdb/v3.0/AI-features/ai4db/dbmind-mode/dbmind-mode.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/ai4db/dbmind-mode/dbmind-mode.md rename to product/zh/docs-mogdb/v3.0/AI-features/ai4db/dbmind-mode/dbmind-mode.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/db4ai.md b/product/zh/docs-mogdb/v3.0/AI-features/db4ai/db4ai.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/db4ai.md rename to product/zh/docs-mogdb/v3.0/AI-features/db4ai/db4ai.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md b/product/zh/docs-mogdb/v3.0/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md rename to product/zh/docs-mogdb/v3.0/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/full-process-ai/full-process-ai.md b/product/zh/docs-mogdb/v3.0/AI-features/db4ai/full-process-ai/full-process-ai.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/full-process-ai/full-process-ai.md rename to product/zh/docs-mogdb/v3.0/AI-features/db4ai/full-process-ai/full-process-ai.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md b/product/zh/docs-mogdb/v3.0/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md rename to product/zh/docs-mogdb/v3.0/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md diff --git a/product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/native-db4ai-engine.md b/product/zh/docs-mogdb/v3.0/AI-features/db4ai/native-db4ai-engine.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/developer-guide/AI-features/db4ai/native-db4ai-engine.md rename to product/zh/docs-mogdb/v3.0/AI-features/db4ai/native-db4ai-engine.md diff --git a/product/zh/docs-mogdb/v3.0/toc.md b/product/zh/docs-mogdb/v3.0/toc.md index 9f7fad10..47862a2e 100644 --- a/product/zh/docs-mogdb/v3.0/toc.md +++ b/product/zh/docs-mogdb/v3.0/toc.md @@ -215,43 +215,64 @@ + [导出所有数据库](/administrator-guide/importing-and-exporting-data/exporting-data/3-exporting-all-databases.md) + [无权限角色导出数据](/administrator-guide/importing-and-exporting-data/exporting-data/4-data-export-by-a-user-without-required-permissions.md) + [升级指南](/administrator-guide/upgrade-guide.md) -+ 故障诊断 - + [常见故障定位手段](/common-faults-and-identification/common-fault-locating-methods.md) - + 常见故障定位案例 - + core问题定位 - + [磁盘满故障引起的core问题](/common-faults-and-identification/common-fault-locating-cases/1-core-fault-locating/1-core-dump-occurs-due-to-full-disk-space.md) - + [GUC参数log_directory设置不正确引起的core问题](/common-faults-and-identification/common-fault-locating-cases/1-core-fault-locating/2-core-dump-occurs-due-to-incorrect-settings-of-guc-parameter-log-directory.md) - + [开启RemoveIPC引起的core问题](/common-faults-and-identification/common-fault-locating-cases/1-core-fault-locating/3-core-dump-occurs-when-removeipc-is-enabled.md) - + [x86下安装完成后发生coredump](/common-faults-and-identification/common-fault-locating-cases/1-core-fault-locating/4-core-dump-occurs-after-installation-on-x86.md) - + 权限/会话/数据类型问题定位 - + [强制结束指定的问题会话](/common-faults-and-identification/common-fault-locating-cases/13-forcibly-terminating-a-session.md) - + [不同用户查询同表显示数据不同](/common-faults-and-identification/common-fault-locating-cases/19-different-data-is-displayed.md) - + [业务运行时整数转换错](/common-faults-and-identification/common-fault-locating-cases/22-an-error-occurs-during-integer-conversion.md) - + 服务/高可用/并发问题定位 - + [备机处于need repair(WAL)状态问题](/common-faults-and-identification/common-fault-locating-cases/3-standby-node-in-the-need-repair-state.md) - + [服务启动失败](/common-faults-and-identification/common-fault-locating-cases/5-service-startup-failure.md) - + [switchover操作时,主机降备卡住](/common-faults-and-identification/common-fault-locating-cases/9-primary-node-is-hung-in-demoting.md) - + [高并发报错”too many clients already”或无法创建线程](/common-faults-and-identification/common-fault-locating-cases/23-too-many-clients-already.md) - + 表/分区表问题定位 - + [VACUUM FULL一张表后,表文件大小无变化](/common-faults-and-identification/common-fault-locating-cases/17-table-size-does-not-change.md) - + [执行修改表分区操作时报错](/common-faults-and-identification/common-fault-locating-cases/18-an-error-is-reported-when-the-table-partition-is-modified.md) - + 文件系统/磁盘/内存问题定位 - + [在XFS文件系统中,使用du命令查询数据文件大小大于文件实际大小](/common-faults-and-identification/common-fault-locating-cases/7-after-you-run-the-du-command.md) - + [在XFS文件系统中,出现文件损坏](/common-faults-and-identification/common-fault-locating-cases/8-file-is-damaged-in-the-xfs-file-system.md) - + [内存不足问题](/common-faults-and-identification/common-fault-locating-cases/4-insufficient-memory.md) - + [出现“Error:No space left on device”提示](/common-faults-and-identification/common-fault-locating-cases/6-error-no-space-left-on-device-is-displayed.md) - + [TPCC运行时,注入磁盘满故障,TPCC卡住的问题](/common-faults-and-identification/common-fault-locating-cases/2-when-the-tpcc-is-running.md) - + [磁盘空间达到阈值,数据库只读](/common-faults-and-identification/common-fault-locating-cases/10-disk-space-usage-reaches-the-threshold.md) - + SQL问题定位 - + [执行 SQL 语句时,提示 Lock wait timeout](/common-faults-and-identification/common-fault-locating-cases/16-lock-wait-timeout-is-displayed.md) - + [分析查询语句是否被阻塞](/common-faults-and-identification/common-fault-locating-cases/14-analyzing-whether-a-query-statement-is-blocked.md) - + [分析查询效率异常降低的问题](/common-faults-and-identification/common-fault-locating-cases/15-low-query-efficiency.md) - + [分析查询语句长时间运行的问题](/common-faults-and-identification/common-fault-locating-cases/11-slow-response-to-a-query-statement.md) - + [分析查询语句运行状态](/common-faults-and-identification/common-fault-locating-cases/12-analyzing-the-status-of-a-query-statement.md) - + 索引问题定位 - + [修改索引时只调用索引名提示索引不存在](/common-faults-and-identification/common-fault-locating-cases/20-when-a-user-specifies-only-an-index-name.md) - + [重建索引失败](/common-faults-and-identification/common-fault-locating-cases/21-reindexing-fails.md) - + [btree 索引故障情况下应对策略](/common-faults-and-identification/common-fault-locating-cases/24-b-tree-index-faults.md) ++ [AI特性指南](/AI-features/1-AI-features-overview.md) + + [AI4DB:据库自治运维](/AI-features/ai4db/ai4db-autonomous-database-o&m.md) + + [DBMind模式说明](/AI-features/ai4db/dbmind-mode/dbmind-mode.md) + + [service子命令](/AI-features/ai4db/dbmind-mode/1-service.md) + + [component子命令](/AI-features/ai4db/dbmind-mode/2-component.md) + + [set子命令](/AI-features/ai4db/dbmind-mode/3-set.md) + + [DBMind的支持组件](/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md) + + Prometheus Exporter组件 + + [概述](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md) + + [环境部署](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md) + + [使用指导](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md) + + [获取帮助](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md) + + [常见问题处理](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md) + + DBMind的AI子功能 + + X-Tuner:参数调优与诊断 + + [概述](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md) + + [使用准备](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md) + + [使用示例](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md) + + [获取帮助](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md) + + [常见问题处理](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md) + + Index-advisor:索引推荐 + + [单query索引推荐](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md) + + [虚拟索引](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md) + + [workload级别索引推荐](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md) + + AI4DB: 慢SQL根因分析 + + [概述](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md) + + [环境部署](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md) + + [使用指导](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md) + + [获取帮助](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md) + + [常见问题处理](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md) + + AI4DB:趋势预测 + + [概述](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md) + + [环境部署](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md) + + [使用指导](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md) + + [获取帮助](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md) + + [常见问题处理](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md) + + SQLdiag:慢SQL发现 + + [概述](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md) + + [使用指导](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md) + + [获取帮助](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md) + + [常见问题处理](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md) + + [DB4AI:数据库驱动AI](/AI-features/db4ai/db4ai.md) + + [原生DB4AI引擎](/AI-features/db4ai/native-db4ai-engine.md) + + [全流程AI](/AI-features/db4ai/full-process-ai/full-process-ai.md) + + [PLPython Fenced模式](/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md) + + [DB4AI-Snapshots数据版本管理](/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md) + + AI in DB:数据库内AI功能 + + 智能Explain:SQL语句查询时间预测 + + [概述](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md) + + [环境部署](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md) + + [使用指导](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md) + + [最佳实践](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md) + + [常见问题处理](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md) + 安全指南 + 数据库安全管理 + [客户端接入认证](/security-guide/security/1-client-access-authentication.md) @@ -260,27 +281,6 @@ + [设置密态等值查询](/security-guide/security/4-setting-encrypted-equality-query.md) + [设置账本数据库](/security-guide/security/5-setting-a-ledger-database.md) + [设置透明数据加密(TDE)](/security-guide/security/6-transparent-data-encryption.md) -+ 性能优化指南 - + 系统优化指南 - + [操作系统参数调优](/performance-tuning/1-system/1-optimizing-os-parameters.md) - + [数据库系统参数调优](/performance-tuning/1-system/2-optimizing-database-parameters.md) - + [配置SMP](/performance-tuning/1-system/4-configuring-smp.md) - + [配置LLVM](/performance-tuning/1-system/3-configuring-llvm.md) - + SQL优化指南 - + [Query执行流程](/performance-tuning/2-sql/1-query-execution-process.md) - + [SQL执行计划介绍](/performance-tuning/2-sql/2-introduction-to-the-sql-execution-plan.md) - + [调优流程](/performance-tuning/2-sql/3-tuning-process.md) - + [更新统计信息](/performance-tuning/2-sql/4-updating-statistics.md) - + [审视和修改表定义](/performance-tuning/2-sql/5-reviewing-and-modifying-a-table-definition.md) - + [典型SQL调优点](/performance-tuning/2-sql/6-typical-sql-optimization-methods.md) - + [SQL语句改写规则](/performance-tuning/2-sql/7-experience-in-rewriting-sql-statements.md) - + [SQL调优关键参数调整](/performance-tuning/2-sql/8-resetting-key-parameters-during-sql-tuning.md) - + [使用Plan Hint进行调优](/performance-tuning/2-sql/9-hint-based-tuning.md) - + WDR解读指南 - + [WDR Snapshot Schema](/performance-tuning/3-wdr/wdr-snapshot-schema.md) - + [查看WDR报告](/performance-tuning/3-wdr/wdr-report.md) - + [使用向量化执行引擎进行调优](/performance-tuning/tuning-with-vector-engine.md) - + [TPCC性能优化指南](/performance-tuning/TPCC-performance-tuning-guide.md) + 开发者指南 + 应用程序开发教程 + [开发规范](/developer-guide/dev/1-development-specifications.md) @@ -473,64 +473,6 @@ + [概述](/developer-guide/materialized-view/3-incremental-materialized-view/1-incremental-materialized-view-overview.md) + [使用](/developer-guide/materialized-view/3-incremental-materialized-view/2-incremental-materialized-view-usage.md) + [支持和约束](/developer-guide/materialized-view/3-incremental-materialized-view/3-incremental-materialized-view-support-and-constraints.md) - + [AI特性](/developer-guide/AI-features/1-AI-features-overview.md) - + [AI4DB:据库自治运维](/developer-guide/AI-features/ai4db/ai4db-autonomous-database-o&m.md) - + [DBMind模式说明](/developer-guide/AI-features/ai4db/dbmind-mode/dbmind-mode.md) - + [service子命令](/developer-guide/AI-features/ai4db/dbmind-mode/1-service.md) - + [component子命令](/developer-guide/AI-features/ai4db/dbmind-mode/2-component.md) - + [set子命令](/developer-guide/AI-features/ai4db/dbmind-mode/3-set.md) - + [DBMind的支持组件](/developer-guide/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md) - + Prometheus Exporter组件 - + [概述](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md) - + [环境部署](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md) - + [使用指导](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md) - + [获取帮助](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md) - + DBMind的AI子功能 - + X-Tuner:参数调优与诊断 - + [概述](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md) - + [使用准备](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md) - + [使用示例](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md) - + [获取帮助](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md) - + Index-advisor:索引推荐 - + [单query索引推荐](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md) - + [虚拟索引](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md) - + [workload级别索引推荐](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md) - + AI4DB: 慢SQL根因分析 - + [概述](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md) - + [环境部署](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md) - + [使用指导](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md) - + [获取帮助](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md) - + AI4DB:趋势预测 - + [概述](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md) - + [环境部署](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md) - + [使用指导](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md) - + [获取帮助](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md) - + SQLdiag:慢SQL发现 - + [概述](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md) - + [使用指导](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md) - + [获取帮助](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md) - + [DB4AI:数据库驱动AI](/developer-guide/AI-features/db4ai/db4ai.md) - + [原生DB4AI引擎](/developer-guide/AI-features/db4ai/native-db4ai-engine.md) - + [全流程AI](/developer-guide/AI-features/db4ai/full-process-ai/full-process-ai.md) - + [PLPython Fenced模式](/developer-guide/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md) - + [DB4AI-Snapshots数据版本管理](/developer-guide/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md) - + AI in DB:数据库内AI功能 - + 智能Explain:SQL语句查询时间预测 - + [概述](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md) - + [环境部署](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md) - + [使用指导](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md) - + [最佳实践](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md) - + [常见问题处理](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md) + 资源负载管理 + [资源负载管理概述](/developer-guide/resource-load-management/resource-load-management-overview.md) + 资源管理准备 @@ -538,6 +480,27 @@ + [启动资源负载管理功能](/developer-guide/resource-load-management/resource-management-preparation/enabling-resource-load-management.md) + [设置控制组](/developer-guide/resource-load-management/resource-management-preparation/setting-a-cgroup.md) + [创建资源池](/developer-guide/resource-load-management/resource-management-preparation/creating-a-resource-pool.md) ++ 性能优化指南 + + 系统优化指南 + + [操作系统参数调优](/performance-tuning/1-system/1-optimizing-os-parameters.md) + + [数据库系统参数调优](/performance-tuning/1-system/2-optimizing-database-parameters.md) + + [配置SMP](/performance-tuning/1-system/4-configuring-smp.md) + + [配置LLVM](/performance-tuning/1-system/3-configuring-llvm.md) + + SQL优化指南 + + [Query执行流程](/performance-tuning/2-sql/1-query-execution-process.md) + + [SQL执行计划介绍](/performance-tuning/2-sql/2-introduction-to-the-sql-execution-plan.md) + + [调优流程](/performance-tuning/2-sql/3-tuning-process.md) + + [更新统计信息](/performance-tuning/2-sql/4-updating-statistics.md) + + [审视和修改表定义](/performance-tuning/2-sql/5-reviewing-and-modifying-a-table-definition.md) + + [典型SQL调优点](/performance-tuning/2-sql/6-typical-sql-optimization-methods.md) + + [SQL语句改写规则](/performance-tuning/2-sql/7-experience-in-rewriting-sql-statements.md) + + [SQL调优关键参数调整](/performance-tuning/2-sql/8-resetting-key-parameters-during-sql-tuning.md) + + [使用Plan Hint进行调优](/performance-tuning/2-sql/9-hint-based-tuning.md) + + WDR解读指南 + + [WDR Snapshot Schema](/performance-tuning/3-wdr/wdr-snapshot-schema.md) + + [查看WDR报告](/performance-tuning/3-wdr/wdr-report.md) + + [使用向量化执行引擎进行调优](/performance-tuning/tuning-with-vector-engine.md) + + [TPCC性能优化指南](/performance-tuning/TPCC-performance-tuning-guide.md) + 参考指南 + 系统表及系统视图 + [系统表和系统视图概述](/reference-guide/system-catalogs-and-system-views/overview-of-system-catalogs-and-system-views.md) @@ -1511,6 +1474,43 @@ + [GAUSS 53000 - GAUSS 53699](/reference-guide/error-code-reference/79-GAUSS-53000-GAUSS-53699.md) + 错误日志信息参考 + [内核错误信息](/reference-guide/error-log-reference/kernel-error-message.md) ++ 故障诊断指南 + + [常见故障定位手段](/common-faults-and-identification/common-fault-locating-methods.md) + + 常见故障定位案例 + + core问题定位 + + [磁盘满故障引起的core问题](/common-faults-and-identification/common-fault-locating-cases/1-core-fault-locating/1-core-dump-occurs-due-to-full-disk-space.md) + + [GUC参数log_directory设置不正确引起的core问题](/common-faults-and-identification/common-fault-locating-cases/1-core-fault-locating/2-core-dump-occurs-due-to-incorrect-settings-of-guc-parameter-log-directory.md) + + [开启RemoveIPC引起的core问题](/common-faults-and-identification/common-fault-locating-cases/1-core-fault-locating/3-core-dump-occurs-when-removeipc-is-enabled.md) + + [x86下安装完成后发生coredump](/common-faults-and-identification/common-fault-locating-cases/1-core-fault-locating/4-core-dump-occurs-after-installation-on-x86.md) + + 权限/会话/数据类型问题定位 + + [强制结束指定的问题会话](/common-faults-and-identification/common-fault-locating-cases/13-forcibly-terminating-a-session.md) + + [不同用户查询同表显示数据不同](/common-faults-and-identification/common-fault-locating-cases/19-different-data-is-displayed.md) + + [业务运行时整数转换错](/common-faults-and-identification/common-fault-locating-cases/22-an-error-occurs-during-integer-conversion.md) + + 服务/高可用/并发问题定位 + + [备机处于need repair(WAL)状态问题](/common-faults-and-identification/common-fault-locating-cases/3-standby-node-in-the-need-repair-state.md) + + [服务启动失败](/common-faults-and-identification/common-fault-locating-cases/5-service-startup-failure.md) + + [switchover操作时,主机降备卡住](/common-faults-and-identification/common-fault-locating-cases/9-primary-node-is-hung-in-demoting.md) + + [高并发报错”too many clients already”或无法创建线程](/common-faults-and-identification/common-fault-locating-cases/23-too-many-clients-already.md) + + 表/分区表问题定位 + + [VACUUM FULL一张表后,表文件大小无变化](/common-faults-and-identification/common-fault-locating-cases/17-table-size-does-not-change.md) + + [执行修改表分区操作时报错](/common-faults-and-identification/common-fault-locating-cases/18-an-error-is-reported-when-the-table-partition-is-modified.md) + + 文件系统/磁盘/内存问题定位 + + [在XFS文件系统中,使用du命令查询数据文件大小大于文件实际大小](/common-faults-and-identification/common-fault-locating-cases/7-after-you-run-the-du-command.md) + + [在XFS文件系统中,出现文件损坏](/common-faults-and-identification/common-fault-locating-cases/8-file-is-damaged-in-the-xfs-file-system.md) + + [内存不足问题](/common-faults-and-identification/common-fault-locating-cases/4-insufficient-memory.md) + + [出现“Error:No space left on device”提示](/common-faults-and-identification/common-fault-locating-cases/6-error-no-space-left-on-device-is-displayed.md) + + [TPCC运行时,注入磁盘满故障,TPCC卡住的问题](/common-faults-and-identification/common-fault-locating-cases/2-when-the-tpcc-is-running.md) + + [磁盘空间达到阈值,数据库只读](/common-faults-and-identification/common-fault-locating-cases/10-disk-space-usage-reaches-the-threshold.md) + + SQL问题定位 + + [执行 SQL 语句时,提示 Lock wait timeout](/common-faults-and-identification/common-fault-locating-cases/16-lock-wait-timeout-is-displayed.md) + + [分析查询语句是否被阻塞](/common-faults-and-identification/common-fault-locating-cases/14-analyzing-whether-a-query-statement-is-blocked.md) + + [分析查询效率异常降低的问题](/common-faults-and-identification/common-fault-locating-cases/15-low-query-efficiency.md) + + [分析查询语句长时间运行的问题](/common-faults-and-identification/common-fault-locating-cases/11-slow-response-to-a-query-statement.md) + + [分析查询语句运行状态](/common-faults-and-identification/common-fault-locating-cases/12-analyzing-the-status-of-a-query-statement.md) + + 索引问题定位 + + [修改索引时只调用索引名提示索引不存在](/common-faults-and-identification/common-fault-locating-cases/20-when-a-user-specifies-only-an-index-name.md) + + [重建索引失败](/common-faults-and-identification/common-fault-locating-cases/21-reindexing-fails.md) + + [btree 索引故障情况下应对策略](/common-faults-and-identification/common-fault-locating-cases/24-b-tree-index-faults.md) + [源码解析](/source-code-parsing.md) + 常见问题解答 (FAQs) + [产品FAQs](/faqs/product-faqs.md) diff --git a/product/zh/docs-mogdb/v3.0/toc_ai-features.md b/product/zh/docs-mogdb/v3.0/toc_ai-features.md new file mode 100644 index 00000000..df47134b --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/toc_ai-features.md @@ -0,0 +1,65 @@ + + + +# MogDB Documentation 3.0 + +## AI特性指南 + ++ [AI特性指南](/AI-features/1-AI-features-overview.md) + + [AI4DB:据库自治运维](/AI-features/ai4db/ai4db-autonomous-database-o&m.md) + + [DBMind模式说明](/AI-features/ai4db/dbmind-mode/dbmind-mode.md) + + [service子命令](/AI-features/ai4db/dbmind-mode/1-service.md) + + [component子命令](/AI-features/ai4db/dbmind-mode/2-component.md) + + [set子命令](/AI-features/ai4db/dbmind-mode/3-set.md) + + [DBMind的支持组件](/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md) + + Prometheus Exporter组件 + + [概述](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md) + + [环境部署](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md) + + [使用指导](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md) + + [获取帮助](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md) + + [常见问题处理](/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md) + + DBMind的AI子功能 + + X-Tuner:参数调优与诊断 + + [概述](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md) + + [使用准备](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md) + + [使用示例](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md) + + [获取帮助](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md) + + [常见问题处理](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md) + + Index-advisor:索引推荐 + + [单query索引推荐](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md) + + [虚拟索引](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md) + + [workload级别索引推荐](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md) + + AI4DB: 慢SQL根因分析 + + [概述](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md) + + [环境部署](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md) + + [使用指导](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md) + + [获取帮助](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md) + + [常见问题处理](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md) + + AI4DB:趋势预测 + + [概述](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md) + + [环境部署](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md) + + [使用指导](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md) + + [获取帮助](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md) + + [常见问题处理](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md) + + SQLdiag:慢SQL发现 + + [概述](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md) + + [使用指导](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md) + + [获取帮助](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md) + + [命令参考](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md) + + [常见问题处理](/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md) + + [DB4AI:数据库驱动AI](/AI-features/db4ai/db4ai.md) + + [原生DB4AI引擎](/AI-features/db4ai/native-db4ai-engine.md) + + [全流程AI](/AI-features/db4ai/full-process-ai/full-process-ai.md) + + [PLPython Fenced模式](/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md) + + [DB4AI-Snapshots数据版本管理](/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md) + + AI in DB:数据库内AI功能 + + 智能Explain:SQL语句查询时间预测 + + [概述](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md) + + [环境部署](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md) + + [使用指导](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md) + + [最佳实践](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md) + + [常见问题处理](/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md) \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/toc_dev.md b/product/zh/docs-mogdb/v3.0/toc_dev.md index 82f80d7f..561e646e 100644 --- a/product/zh/docs-mogdb/v3.0/toc_dev.md +++ b/product/zh/docs-mogdb/v3.0/toc_dev.md @@ -195,64 +195,6 @@ + [概述](/developer-guide/materialized-view/3-incremental-materialized-view/1-incremental-materialized-view-overview.md) + [使用](/developer-guide/materialized-view/3-incremental-materialized-view/2-incremental-materialized-view-usage.md) + [支持和约束](/developer-guide/materialized-view/3-incremental-materialized-view/3-incremental-materialized-view-support-and-constraints.md) -+ [AI特性](/developer-guide/AI-features/1-AI-features-overview.md) - + [AI4DB:据库自治运维](/developer-guide/AI-features/ai4db/ai4db-autonomous-database-o&m.md) - + [DBMind模式说明](/developer-guide/AI-features/ai4db/dbmind-mode/dbmind-mode.md) - + [service子命令](/developer-guide/AI-features/ai4db/dbmind-mode/1-service.md) - + [component子命令](/developer-guide/AI-features/ai4db/dbmind-mode/2-component.md) - + [set子命令](/developer-guide/AI-features/ai4db/dbmind-mode/3-set.md) - + [DBMind的支持组件](/developer-guide/AI-features/ai4db/components-that-support-dbmind/components-that-support-dbmind.md) - + Prometheus Exporter组件 - + [概述](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-overview.md) - + [环境部署](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-environment-deployment.md) - + [使用指导](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-usage-guide.md) - + [获取帮助](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/components-that-support-dbmind/prometheus-exporter/prometheus-exporter-troubleshooting.md) - + DBMind的AI子功能 - + X-Tuner:参数调优与诊断 - + [概述](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-1-x-tuner-overview.md) - + [使用准备](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-2-preparations.md) - + [使用示例](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-3-examples.md) - + [获取帮助](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-4-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-5-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/1-x-tuner-parameter-optimization-and-diagnosis/1-6-Troubleshooting.md) - + Index-advisor:索引推荐 - + [单query索引推荐](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-1-single-query-index-recommendation.md) - + [虚拟索引](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-2-virtual-index.md) - + [workload级别索引推荐](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/2-index-advisor-index-recommendation/2-3-workload-level-index-recommendation.md) - + AI4DB: 慢SQL根因分析 - + [概述](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-1-overview.md) - + [环境部署](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-2-environment-deployment.md) - + [使用指导](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-3-usage-guide.md) - + [获取帮助](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-4-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-5-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/3-ai4db-root-cause-analysis-for-slow-sql-statements/3-6-troubleshooting.md) - + AI4DB:趋势预测 - + [概述](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-1-overview.md) - + [环境部署](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-2-environment-deployment.md) - + [使用指导](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-3-usage-guide.md) - + [获取帮助](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-4-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-5-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/4-ai4db-trend-prediction/4-6-troubleshooting.md) - + SQLdiag:慢SQL发现 - + [概述](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-1-overview.md) - + [使用指导](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-2-usage-guide.md) - + [获取帮助](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-3-obtaining-help-information.md) - + [命令参考](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-4-command-reference.md) - + [常见问题处理](/developer-guide/AI-features/ai4db/ai-sub-functions-of-the-dbmind/5-sqldiag-slow-sql-discovery/5-5-troubleshooting.md) - + [DB4AI:数据库驱动AI](/developer-guide/AI-features/db4ai/db4ai.md) - + [原生DB4AI引擎](/developer-guide/AI-features/db4ai/native-db4ai-engine.md) - + [全流程AI](/developer-guide/AI-features/db4ai/full-process-ai/full-process-ai.md) - + [PLPython Fenced模式](/developer-guide/AI-features/db4ai/full-process-ai/plpython-fenced-mode.md) - + [DB4AI-Snapshots数据版本管理](/developer-guide/AI-features/db4ai/full-process-ai/db4ai-snapshots-for-data-version-management.md) - + AI in DB:数据库内AI功能 - + 智能Explain:SQL语句查询时间预测 - + [概述](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-overview.md) - + [环境部署](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-environment-deployment.md) - + [使用指导](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-user-guide.md) - + [最佳实践](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-best-practices.md) - + [常见问题处理](/developer-guide/AI-features/ai-in-db/intelligence-explain/intelligence-explain-faqs.md) + 资源负载管理 + [资源负载管理概述](/developer-guide/resource-load-management/resource-load-management-overview.md) + 资源管理准备 -- Gitee From 3e796095b55467fb8f841c10e947d04c5be79914 Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Fri, 13 May 2022 12:12:41 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update(mogdb):3.0=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E8=A1=A8=E5=92=8C=E7=B3=BB=E7=BB=9F=E8=A7=86=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system-catalogs/GS_ASP.md | 42 ++ .../system-catalogs/GS_AUDITING_POLICY.md | 2 +- .../GS_AUDITING_POLICY_ACCESS.md | 2 +- .../GS_AUDITING_POLICY_FILTERS.md | 2 +- .../GS_AUDITING_POLICY_PRIVILEGES.md | 2 +- .../system-catalogs/GS_DB_PRIVILEGE.md | 19 + .../system-catalogs/GS_GLOBAL_CHAIN.md | 1 - .../system-catalogs/GS_GLOBAL_CONFIG.md | 17 + .../system-catalogs/GS_MASKING_POLICY.md | 2 +- .../GS_MASKING_POLICY_ACTIONS.md | 2 +- .../GS_MASKING_POLICY_FILTERS.md | 2 +- .../system-catalogs/GS_MATVIEW.md | 2 +- .../system-catalogs/GS_MATVIEW_DEPENDENCY.md | 2 +- .../system-catalogs/GS_MODEL_WAREHOUSE.md | 38 ++ .../system-catalogs/GS_PACKAGE.md | 24 + .../system-catalogs/GS_POLICY_LABEL.md | 2 +- .../system-catalogs/GS_RECYCLEBIN.md | 2 +- .../system-catalogs/GS_UID.md | 17 + .../GS_WLM_SESSION_QUERY_INFO_ALL.md | 102 +++++ .../GS_WLM_USER_RESOURCE_HISTORY.md | 33 ++ .../system-catalogs/PGXC_CLASS.md | 25 ++ .../system-catalogs/PGXC_GROUP.md | 24 + .../system-catalogs/PGXC_NODE.md | 32 ++ .../system-catalogs/PGXC_SLICE.md | 30 ++ .../system-catalogs/PG_AM.md | 24 +- .../system-catalogs/PG_AMOP.md | 2 +- .../system-catalogs/PG_AMPROC.md | 2 +- .../PG_APP_WORKLOADGROUP_MAPPING.md | 2 +- .../system-catalogs/PG_ATTRDEF.md | 8 +- .../system-catalogs/PG_AUTHID.md | 32 +- .../system-catalogs/PG_AUTH_HISTORY.md | 2 +- .../system-catalogs/PG_CAST.md | 2 +- .../system-catalogs/PG_CLASS.md | 25 +- .../system-catalogs/PG_COLLATION.md | 2 +- .../system-catalogs/PG_CONSTRAINT.md | 18 +- .../system-catalogs/PG_CONVERSION.md | 4 +- .../system-catalogs/PG_DATABASE.md | 5 +- .../system-catalogs/PG_DEFAULT_ACL.md | 2 +- .../system-catalogs/PG_DIRECTORY.md | 2 +- .../system-catalogs/PG_ENUM.md | 2 +- .../PG_EXTENSION_DATA_SOURCE.md | 2 +- .../PG_FOREIGN_DATA_WRAPPER.md | 2 +- .../system-catalogs/PG_FOREIGN_SERVER.md | 2 +- .../system-catalogs/PG_HASHBUCKET.md | 21 + .../system-catalogs/PG_JOB.md | 6 +- .../system-catalogs/PG_JOB_PROC.md | 12 +- .../system-catalogs/PG_LANGUAGE.md | 2 +- .../PG_LARGEOBJECT_METADATA.md | 2 +- .../system-catalogs/PG_NAMESPACE.md | 2 +- .../system-catalogs/PG_OPCLASS.md | 4 +- .../system-catalogs/PG_OPERATOR.md | 2 +- .../system-catalogs/PG_OPFAMILY.md | 2 +- .../system-catalogs/PG_PARTITION.md | 7 +- .../system-catalogs/PG_PROC.md | 24 +- .../system-catalogs/PG_PUBLICATION.md | 21 + .../system-catalogs/PG_PUBLICATION_REL.md | 17 + .../system-catalogs/PG_REPLICATION_ORIGIN.md | 17 + .../system-catalogs/PG_RESOURCE_POOL.md | 2 +- .../system-catalogs/PG_REWRITE.md | 4 +- .../system-catalogs/PG_RLSPOLICY.md | 2 +- .../system-catalogs/PG_SHDEPEND.md | 4 + .../system-catalogs/PG_STATISTIC.md | 2 + .../system-catalogs/PG_STATISTIC_EXT.md | 2 + .../system-catalogs/PG_SUBSCRIPTION.md | 24 + .../system-catalogs/PG_TABLESPACE.md | 2 +- .../system-catalogs/PG_TRIGGER.md | 2 +- .../system-catalogs/PG_TS_CONFIG.md | 2 +- .../system-catalogs/PG_TS_DICT.md | 2 +- .../system-catalogs/PG_TS_PARSER.md | 2 +- .../system-catalogs/PG_TS_TEMPLATE.md | 2 +- .../system-catalogs/PG_TYPE.md | 10 +- .../system-catalogs/PG_USER_MAPPING.md | 2 +- .../system-catalogs/PG_WORKLOAD_GROUP.md | 2 +- .../system-views/DV_SESSIONS.md | 19 + .../system-views/DV_SESSION_LONGOPS.md | 19 + .../system-views/GS_AUDITING_PRIVILEGE.md | 2 + .../system-views/GS_DB_PRIVILEGES.md | 18 + .../system-views/GS_GSC_MEMORY_DETAIL.md | 19 + .../system-views/GS_LSC_MEMORY_DETAIL.md | 24 + .../GS_WLM_EC_OPERATOR_STATISTICS.md | 25 ++ .../system-views/GS_WLM_OPERATOR_HISTORY.md | 12 + .../GS_WLM_OPERATOR_STATISTICS.md | 38 ++ .../system-views/GS_WLM_SESSION_HISTORY.md | 83 ++++ .../system-views/GS_WLM_SESSION_INFO.md | 12 + .../system-views/GS_WLM_SESSION_INFO_ALL.md | 44 ++ .../system-views/GS_WLM_SESSION_STATISTICS.md | 64 +++ .../system-views/GS_WRITE_TERM_LOG.md | 10 + .../system-views/PGXC_PREPARED_XACTS.md | 16 + .../system-views/PG_COMM_STATUS.md | 30 +- .../system-views/PG_PUBLICATION_TABLES.md | 18 + .../PG_REPLICATION_ORIGIN_STATUS.md | 19 + .../system-views/PG_ROLES.md | 4 +- .../system-views/PG_RUNNING_XACTS.md | 25 ++ .../system-views/PG_SESSION_IOSTAT.md | 27 ++ .../system-views/PG_SESSION_WLMSTAT.md | 39 ++ .../system-views/PG_STAT_ACTIVITY.md | 4 +- .../system-views/PG_STAT_ACTIVITY_NG.md | 36 ++ .../system-views/PG_STAT_SUBSCRIPTION.md | 23 + .../system-views/PG_THREAD_WAIT_STATUS.md | 10 +- .../system-views/PG_WLM_STATISTICS.md | 24 + product/zh/docs-mogdb/v3.0/toc.md | 415 ++++++++++-------- .../v3.0/toc_system-catalogs-and-functions.md | 71 ++- 102 files changed, 1568 insertions(+), 353 deletions(-) create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ASP.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_DB_PRIVILEGE.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CONFIG.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MODEL_WAREHOUSE.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_PACKAGE.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_UID.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_SESSION_QUERY_INFO_ALL.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_USER_RESOURCE_HISTORY.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_CLASS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_GROUP.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_NODE.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_SLICE.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_HASHBUCKET.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION_REL.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REPLICATION_ORIGIN.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SUBSCRIPTION.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/DV_SESSIONS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/DV_SESSION_LONGOPS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_DB_PRIVILEGES.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_GSC_MEMORY_DETAIL.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_LSC_MEMORY_DETAIL.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_EC_OPERATOR_STATISTICS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_HISTORY.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_STATISTICS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_HISTORY.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO_ALL.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_STATISTICS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WRITE_TERM_LOG.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PGXC_PREPARED_XACTS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_PUBLICATION_TABLES.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_ORIGIN_STATUS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_RUNNING_XACTS.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_IOSTAT.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_WLMSTAT.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY_NG.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SUBSCRIPTION.md create mode 100644 product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_WLM_STATISTICS.md diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ASP.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ASP.md new file mode 100644 index 00000000..17d3c234 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ASP.md @@ -0,0 +1,42 @@ +--- +title: GS_ASP +summary: GS_ASP +author: Guo Huan +date: 2022-05-12 +--- + +# GS_ASP + +GS_ASP显示被持久化的ACTIVE SESSION PROFILE样本,该表只在系统库下查询,在用户库下查询无数据。 + +**表 1** GS_ASP字段 + +| 名称 | 类型 | 描述 | +| :---------------- | :----------------------- | :----------------------------------------------------------- | +| sampleid | bigint | 采样ID。 | +| sample_time | timestamp with time zone | 采样的时间。 | +| need_flush_sample | boolean | 该样本是否需要刷新到磁盘。
- t(true):表示需要。
- f(false):表示不需要。 | +| databaseid | oid | 数据库ID。 | +| thread_id | bigint | 线程的ID。 | +| sessionid | bigint | 会话的ID。 | +| start_time | timestamp with time zone | 会话的启动时间。 | +| event | text | 具体的事件名称。 | +| lwtid | integer | 当前线程的轻量级线程号。 | +| psessionid | bigint | streaming线程的父线程。 | +| tlevel | integer | streaming线程的层级。与执行计划的层级(id)相对应。 | +| smpid | integer | smp执行模式下并行线程的并行编号。 | +| userid | oid | session用户的id。 | +| application_name | text | 应用的名字。 | +| client_addr | inet | client端的地址。 | +| client_hostname | text | client端的名字。 | +| client_port | integer | 客户端用于与后端通讯的TCP端口号。 | +| query_id | bigint | debug query id。 | +| unique_query_id | bigint | unique query id。 | +| user_id | oid | unique query的key中的user_id。 | +| cn_id | integer | 表示下发该unique sql的节点id。unique query的key中的cn_id。 | +| unique_query | text | 规范化后的Unique SQL文本串。 | +| locktag | text | 会话等待锁信息,可通过locktag_decode解析。 | +| lockmode | text | 会话等待锁模式:
- LW_EXCLUSIVE:排他锁
- LW_SHARED:共享锁
- LW_WAIT_UNTIL_FREE:等待LW_EXCLUSIVE可用 | +| block_sessionid | bigint | 如果会话正在等待锁,阻塞该会话获取锁的会话标识。 | +| wait_status | text | 描述event列的更多详细信息。 | +| global_sessionid | text | 全局会话ID。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY.md index a71ab413..07d35777 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY.md @@ -13,7 +13,7 @@ GS_AUDITING_POLICY系统表记录统一审计的主体信息,每条记录对 | 名称 | 类型 | 描述 | | :---------- | :-------------------------- | :--------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | polname | name | 策略名称,需要唯一,不可重复。 | | polcomments | name | 策略描述字段,记录策略相关的描述信息,通过COMMENTS关键字体现。 | | modifydate | timestamp without time zone | 策略创建或修改的最新时间戳。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_ACCESS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_ACCESS.md index b0e0d079..8a9cfcb5 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_ACCESS.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_ACCESS.md @@ -13,7 +13,7 @@ GS_AUDITING_POLICY_ACCESS系统表记录与DML数据库相关操作的统一审 | 名称 | 类型 | 描述 | | :--------- | :-------------------------- | :---------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | accesstype | name | DML数据库操作相关类型。例如SELECT、INSERT、DELETE等。 | | labelname | name | 资源标签名称。对应系统表gs_auditing_policy中的polname字段。 | | policyoid | oid | 对应审计策略系统表GS_AUDITING_POLICY中的oid。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_FILTERS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_FILTERS.md index 74a8e79f..d11a9733 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_FILTERS.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_FILTERS.md @@ -13,7 +13,7 @@ GS_AUDITING_POLICY_FILTERS系统表记录统一审计相关的过滤策略相关 | 名称 | 类型 | 描述 | | :-------------- | :-------- | :------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | filtertype | name | 过滤类型。目前值仅为logical_expr。 | | labelname | name | 名称。目前值仅为logical_expr。 | | policyoid | oid | 所属审计策略的Oid,对应系统表GS_AUDITING_POLICY中的oid。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_PRIVILEGES.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_PRIVILEGES.md index f2eda33f..0da6441d 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_PRIVILEGES.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_PRIVILEGES.md @@ -13,7 +13,7 @@ GS_AUDITING_POLICY_PRIVILEGES系统表记录统一审计DDL数据库相关操作 | 名称 | 类型 | 描述 | | :------------ | :-------- | :---------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | privilegetype | name | DDL数据库操作相关类型。例如CREATE、ALTER、DROP等。 | | labelname | name | 资源标签名称。对应系统表gs_auditing_policy中的polname字段。 | | policyoid | oid | 对应审计策略系统表GS_AUDITING_POLICY中的oid。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_DB_PRIVILEGE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_DB_PRIVILEGE.md new file mode 100644 index 00000000..90aacce0 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_DB_PRIVILEGE.md @@ -0,0 +1,19 @@ +--- +title: GS_DB_PRIVILEGE +summary: GS_DB_PRIVILEGE +author: Guo Huan +date: 2022-05-12 +--- + +# GS_DB_PRIVILEGE + +GS_DB_PRIVILEGE系统表记录ANY权限的授予情况,每条记录对应一条授权信息。 + +**表 1** GS_DB_PRIVILEGE字段 + +| 名称 | 类型 | 描述 | +| :------------- | :------ | :----------------------------------------------------------- | +| oid | oid | 行标识符(隐含字段,必须明确选择)。 | +| roleid | oid | 用户标识。 | +| privilege_type | text | 用户拥有的ANY权限,取值参考[GRANT](108-GRANT)中的表1。 | +| admin_option | boolean | 是否具有privilege_type列记录的ANY权限的再授权权限。
- t:表示具有。
- f:表示不具有。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CHAIN.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CHAIN.md index a894dfbe..5519dc94 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CHAIN.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CHAIN.md @@ -13,7 +13,6 @@ GS_GLOBAL_CHAIN系统表记录用户对防篡改用户表的修改操作信息 | 名称 | 类型 | 描述 | | :--------- | :----------------------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | | blocknum | bigint | 区块号,当前用户操作在账本中记录的序号。 | | dbname | name | 数据库名称。被修改的防篡改用户表所属的database。 | | username | name | 用户名,执行用户表修改操作的用户名。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CONFIG.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CONFIG.md new file mode 100644 index 00000000..ac13799b --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CONFIG.md @@ -0,0 +1,17 @@ +--- +title: GS_GLOBAL_CONFIG +summary: GS_GLOBAL_CONFIG +author: Guo Huan +date: 2022-05-12 +--- + +# GS_GLOBAL_CONFIG + +GS_GLOBAL_CONFIG记录了数据库实例初始化时,用户指定的参数值。除此之外,还存放了用户设置的弱口令,支持数据库初始用户通过ALTER和DROP语法对系统表中的参数进行写入、修改和删除。 + +**表 1** GS_GLOBAL_CONFIG字段 + +| 名称 | 类型 | 描述 | +| :---- | :--- | :----------------------------------------------------------- | +| name | name | 数据库实例初始化时系统内置的指定参数名称。当前版本第一行默认为buckets_len,第二行起存放弱口令名称。 | +| value | text | 数据库实例初始化时系统内置的指定参数值。当前版本第一行默认为bucketmap长度;第二行起存放弱口令。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY.md index a9206a2f..68bd7ad3 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY.md @@ -13,7 +13,7 @@ GS_MASKING_POLICY系统表记录动态数据脱敏策略的主体信息,每条 | 名称 | 类型 | 描述 | | :---------- | :-------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | polname | name | 策略名称,唯一不可重复。 | | polcomments | name | 策略描述字段,记录策略相关的描述信息,通过COMMENTS关键字体现。 | | modifydate | timestamp | 策略创建或修改的最新时间戳。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_ACTIONS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_ACTIONS.md index 4915abd5..5ab918f2 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_ACTIONS.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_ACTIONS.md @@ -13,7 +13,7 @@ GS_MASKING_POLICY_ACTIONS系统表记录动态数据脱敏策略中相应的脱 | 名称 | 类型 | 描述 | | :----------- | :-------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | actiontype | name | 脱敏函数,标识脱敏策略使用的脱敏函数。 | | actparams | name | 向脱敏函数中传递的参数信息。 | | actlabelname | name | 被脱敏的label名称。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_FILTERS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_FILTERS.md index dcc9bf04..54cb2018 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_FILTERS.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_FILTERS.md @@ -13,7 +13,7 @@ GS_MASKING_POLICY_FILTERS系统表记录动态数据脱敏策略对应的用户 | 名称 | 类型 | 描述 | | :-------------- | :-------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | filtertype | name | 过滤类型。目前值仅为logical_expr。 | | filterlabelname | name | 过滤范围。目前值仅为logical_expr。 | | policyoid | oid | 该条用户过滤条件所属的脱敏策略oid,对应[GS_MASKING_POLICY](GS_MASKING_POLICY)中的oid。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW.md index ad6c573d..6c44b591 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW.md @@ -13,7 +13,7 @@ GS_MATVIEW系统表提供了关于数据库中每一个物化视图的信息。 | 名称 | 类型 | 描述 | | :---------- | :-------- | :---------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | matviewid | oid | 物化视图的oid。 | | mapid | oid | 物化视图map表的oid,map表为物化视图关联表,与物化视图一一对应。全量物化视图不存在对应的map表,该字段为0。 | | ivm | boolean | 物化视图的类型,t为增量物化视图,f为全量物化视图。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW_DEPENDENCY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW_DEPENDENCY.md index f33708d6..053de9ee 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW_DEPENDENCY.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW_DEPENDENCY.md @@ -13,7 +13,7 @@ GS_MATVIEW_DEPENDENCY系统表提供了关于数据库中每一个物化视图 | 名称 | 类型 | 描述 | | :-------- | :--- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | matviewid | oid | 物化视图的oid。 | | relid | oid | 物化视图基表的oid。 | | mlogid | oid | 物化视图mlog表的oid,mlog表为物化视图日志表,与基表一一对应。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MODEL_WAREHOUSE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MODEL_WAREHOUSE.md new file mode 100644 index 00000000..166379b9 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MODEL_WAREHOUSE.md @@ -0,0 +1,38 @@ +--- +title: GS_MODEL_WAREHOUSE +summary: GS_MODEL_WAREHOUSE +author: Guo Huan +date: 2022-05-12 +--- + +# GS_MODEL_WAREHOUSE + +GS_MODEL_WAREHOUSE系统表用于存储AI引擎训练模型,其中包含模型,训练过程的详细描述。 + +**表 1** GS_MODEL_WAREHOUSE字段 + +| 名称 | 数据类型 | 描述 | +| :-------------------- | :-------- | :-------------------------- | +| oid | oid | 隐含列。 | +| modelname | name | 唯一约束。 | +| modelowner | oid | 模型拥有者的OID。 | +| createtime | timestamp | 模型创建的时间。 | +| processedtuples | int | 训练涉及的元组数。 | +| discardedtuples | int | 未参加训练的不合格元组数。 | +| preprocesstime | real | 数据预处理时长。 | +| exectime | real | 训练时长。 | +| iterations | int | 迭代轮次。 | +| outputtype | oid | 模型输出的数据类型OID。 | +| modeltype | text | AI算子的类型名称。 | +| query | text | 创建模型所执行的query语句。 | +| modeldata | bytea | 保存的二进制模型信息。 | +| weight | real[] | 目前只适用于GD算子模型。 | +| hyperparametersnames | text[] | 涉及的超参名称。 | +| hyperparametersvalues | text[] | 超参所对应的取值。 | +| hyperparametersoids | oid[] | 超参对应的数据类型OID。 | +| coefnames | text[] | 模型参数名称。 | +| coefvalues | text[] | 模型参数对应的取值。 | +| coefoids | oid[] | 模型参数对应的数据类型OID。 | +| trainingscoresname | text[] | 度量模型性能方法的名称。 | +| trainingscoresvalue | real[] | 度量模型性能方法的数值。 | +| modeldescribe | text[] | 模型的描述信息。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_PACKAGE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_PACKAGE.md new file mode 100644 index 00000000..9fa56731 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_PACKAGE.md @@ -0,0 +1,24 @@ +--- +title: GS_PACKAGE +summary: GS_PACKAGE +author: Guo Huan +date: 2022-05-12 +--- + +# GS_PACKAGE + +GS_PACKAGE系统表记录PACKAGE内的信息。 + +**表 1** GS_PACKAGE字段 + +| 名称 | 类型 | 描述 | +| :------------- | :------ | :----------------------------------- | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | +| pkgnamespace | oid | package所属schema。 | +| pkgowner | oid | package的所属者。 | +| pkgname | name | package的名字。 | +| pkgspecsrc | text | package specification的内容。 | +| pkgbodydeclsrc | text | package body的内容。 | +| pkgbodyinitsrc | text | package init的内容。 | +| pkgacl | aclitem | 访问权限。 | +| pkgsecdef | boolean | package是否是定义者权限。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_POLICY_LABEL.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_POLICY_LABEL.md index df53824e..e99f616c 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_POLICY_LABEL.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_POLICY_LABEL.md @@ -15,7 +15,7 @@ FQDN(Fully Qualified Domain Name)标识了数据库资源所属的绝对路 | 名称 | 类型 | 描述 | | :------------ | :--- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | labelname | name | 资源标签名称。 | | labeltype | name | 资源标签类型,目前仅为RESOURCE。 | | fqdnnamespace | oid | 被标识的数据库资源所属的namespace oid。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_RECYCLEBIN.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_RECYCLEBIN.md index 507267c2..c3870a42 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_RECYCLEBIN.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_RECYCLEBIN.md @@ -20,7 +20,7 @@ gs_recyclebin描述了回收站对象的详细信息。 | rcyname | name | 回收站对象名称,格式`BIN$unique_id$oid$0`,其中unique_id为最多16字符唯一标识,oid为对象标识符。 | | rcyoriginname | name | 原始对象名称。 | | rcyoperation | “char” | 操作类型。
- d表示drop
- t表示truncate | -| rcytype | int | 对象类型。
- 0表示table。
- 1表示index。
- 2表示toast table。
- 3表示toast index。
- 4表示sequence,指serial、bigserial类型自动关联的序列对象。 | +| rcytype | int | 对象类型。
- 0表示table。
- 1表示index。
- 2表示toast table。
- 3表示toast index。
- 4表示sequence,指serial、bigserial、smallserial、largeserial类型自动关联的序列对象。
- 5表示partition。
- 6表示global index。 | | rcyrecyclecsn | bigint | 对象drop、truncate时csn。 | | rcyrecycletime | timestamptz | 对象drop、truncate时间。 | | rcycreatecsn | bigint | 对象创建时csn。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_UID.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_UID.md new file mode 100644 index 00000000..54c22016 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_UID.md @@ -0,0 +1,17 @@ +--- +title: GS_UID +summary: GS_UID +author: Guo Huan +date: 2022-05-12 +--- + +# GS_UID + +GS_UID系统表存储了数据库中使用hasuids属性表的唯一标识元信息。 + +**表 1** GS_UID字段 + +| 名称 | 类型 | 描述 | +| :--------- | :----- | :--------------------------------- | +| relid | oid | 表的oid信息。 | +| uid_backup | bigint | 当前可以为表分配唯一标识的最大值。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_SESSION_QUERY_INFO_ALL.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_SESSION_QUERY_INFO_ALL.md new file mode 100644 index 00000000..630c09c8 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_SESSION_QUERY_INFO_ALL.md @@ -0,0 +1,102 @@ +--- +title: GS_WLM_SESSION_QUERY_INFO_ALL +summary: GS_WLM_SESSION_QUERY_INFO_ALL +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_SESSION_QUERY_INFO_ALL + +GS_WLM_SESSION_QUERY_INFO_ALL系统表显示当前数据库实例执行作业结束后的负载管理记录。此数据是从内核中转储到系统表中的数据。当设置GUC参数enable_resource_record为on时,系统会定时(周期为3分钟)将内核中query信息导入GS_WLM_SESSION_QUERY_INFO_ALL系统表。查询该系统表需要sysadmin权限,且仅在数据库postgres下面查询时有数据。 + +**表 1** GS_WLM_SESSION_QUERY_INFO_ALL字段 + +| 名称 | 类型 | 描述 | +| :------------------ | :----------------------- | :----------------------------------------------------------- | +| datid | oid | 连接后端的数据库OID。 | +| dbname | text | 连接后端的数据库名称。 | +| schemaname | text | 模式的名称。 | +| nodename | text | 语句执行的数据库实例名称。 | +| username | text | 连接到后端的用户名。 | +| application_name | text | 连接到后端的应用名。 | +| client_addr | inet | 连接到后端的客户端的IP地址。 如果此字段是null,它表明通过服务器机器上UNIX套接字连接客户端或者这是内部进程,如autovacuum。 | +| client_hostname | text | 客户端的主机名,这个字段是通过client_addr的反向DNS查找得到。这个字段只有在启动log_hostname且使用IP连接时才非空。 | +| client_port | integer | 客户端用于与后端通讯的TCP端口号,如果使用Unix套接字,则为-1。 | +| query_band | text | 用于标示作业类型,可通过GUC参数query_band进行设置,默认为空字符串。 | +| block_time | bigint | 语句执行前的阻塞时间,包含语句解析和优化时间,单位ms。 | +| start_time | timestamp with time zone | 语句执行的开始时间。 | +| finish_time | timestamp with time zone | 语句执行的结束时间。 | +| duration | bigint | 语句实际执行的时间,单位ms。 | +| estimate_total_time | bigint | 语句预估执行时间,单位ms。 | +| status | text | 语句执行结束状态:正常为finished,异常为aborted。 | +| abort_info | text | 语句执行结束状态为aborted时显示异常信息。 | +| resource_pool | text | 用户使用的资源池。 | +| control_group | text | 语句所使用的Cgroup。 | +| estimate_memory | integer | 语句估算内存大小。 | +| min_peak_memory | integer | 语句在数据库实例上的最小内存峰值,单位MB。 | +| max_peak_memory | integer | 语句在数据库实例上的最大内存峰值,单位MB。 | +| average_peak_memory | integer | 语句执行过程中的内存使用平均值,单位MB。 | +| memory_skew_percent | integer | 语句数据库实例间的内存使用倾斜率。 | +| spill_info | text | 语句在数据库实例上的下盘信息:
- None:数据库实例均未下盘。
- All:数据库实例均下盘。
- [a:b]:数量为b个数据库实例中有a个数据库实例下盘。 | +| min_spill_size | integer | 若发生下盘,数据库实例上下盘的最小数据量,单位MB,默认为0。 | +| max_spill_size | integer | 若发生下盘,数据库实例上下盘的最大数据量,单位MB,默认为0。 | +| average_spill_size | integer | 若发生下盘,数据库实例上下盘的平均数据量,单位MB,默认为0。 | +| spill_skew_percent | integer | 若发生下盘,数据库实例间下盘倾斜率。 | +| min_dn_time | bigint | 语句在数据库实例上的最小执行时间,单位ms。 | +| max_dn_time | bigint | 语句在数据库实例上的最大执行时间,单位ms。 | +| average_dn_time | bigint | 语句在数据库实例上的平均执行时间,单位ms。 | +| dntime_skew_percent | integer | 语句在数据库实例间的执行时间倾斜率。 | +| min_cpu_time | bigint | 语句在数据库实例上的最小CPU时间,单位ms。 | +| max_cpu_time | bigint | 语句在数据库实例上的最大CPU时间,单位ms。 | +| total_cpu_time | bigint | 语句在数据库实例上的CPU总时间,单位ms。 | +| cpu_skew_percent | integer | 语句在数据库实例间的CPU时间倾斜率。 | +| min_peak_iops | integer | 语句在数据库实例上的每秒最小IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| max_peak_iops | integer | 语句在数据库实例上的每秒最大IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| average_peak_iops | integer | 语句在数据库实例上的每秒平均IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| iops_skew_percent | integer | 语句在数据库实例间的IO倾斜率。 | +| warning | text | 主要显示如下几类告警信息:
- Spill file size large than 256MB
- Broadcast size large than 100MB
- Early spill
- Spill times is greater than 3
- Spill on memory adaptive
- Hash table conflict | +| queryid | bigint | 语句执行使用的内部query id。 | +| query | text | 执行的语句。 | +| query_plan | text | 语句的执行计划。 | +| node_group | text | 语句所属用户对应的逻辑数据库实例。 | +| cpu_top1_node_name | text | cpu使用率第1的节点名称。 | +| cpu_top2_node_name | text | cpu使用率第2的节点名称。 | +| cpu_top3_node_name | text | cpu使用率第3的节点名称。 | +| cpu_top4_node_name | text | cpu使用率第4的节点名称。 | +| cpu_top5_node_name | text | cpu使用率第5的节点名称。 | +| mem_top1_node_name | text | 内存使用量第1的节点名称。 | +| mem_top2_node_name | text | 内存使用量第5的节点名称。 | +| mem_top3_node_name | text | 内存使用量第5的节点名称。 | +| mem_top4_node_name | text | 内存使用量第5的节点名称。 | +| mem_top5_node_name | text | 内存使用量第5的节点名称。 | +| cpu_top1_value | bigint | cpu使用率。 | +| cpu_top2_value | bigint | cpu使用率。 | +| cpu_top3_value | bigint | cpu使用率。 | +| cpu_top4_value | bigint | cpu使用率。 | +| cpu_top5_value | bigint | cpu使用率。 | +| mem_top1_value | bigint | 内存使用量。 | +| mem_top2_value | bigint | 内存使用量。 | +| mem_top3_value | bigint | 内存使用量。 | +| mem_top4_value | bigint | 内存使用量。 | +| mem_top5_value | bigint | 内存使用量。 | +| top_mem_dn | text | 内存使用量topN信息。 | +| top_cpu_dn | text | cpu使用量topN信息。 | +| n_returned_rows | bigint | Select返回的结果集行数。 | +| n_tuples_fetched | bigint | 随机扫描行数。 | +| n_tuples_returned | bigint | 顺序扫描行数。 | +| n_tuples_inserted | bigint | 插入行数。 | +| n_tuples_updated | bigint | 更新行数。 | +| n_tuples_deleted | bigint | 删除行数。 | +| n_blocks_fetched | bigint | Cache加载次数。 | +| n_blocks_hit | bigint | Cache命中数。 | +| db_time | bigint | 有效的DB时间花费,多线程将累加(单位:微秒)。 | +| cpu_time | bigint | CPU时间(单位:微秒)。 | +| execution_time | bigint | 执行器内执行时间(单位:微秒)。 | +| parse_time | bigint | SQL解析时间(单位:微秒)。 | +| plan_time | bigint | SQL生成计划时间(单位:微秒)。 | +| rewrite_time | bigint | SQL重写时间(单位:微秒)。 | +| pl_execution_time | bigint | plpgsql上的执行时间(单位:微秒)。 | +| pl_compilation_time | bigint | plpgsql上的编译时间(单位:微秒)。 | +| net_send_time | bigint | 网络上的时间花费(单位:微秒)。 | +| data_io_time | bigint | IO上的时间花费(单位:微秒)。 | +| is_slow_query | bigint | 标记是否为慢查询。
取值为1时表示其为慢查询。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_USER_RESOURCE_HISTORY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_USER_RESOURCE_HISTORY.md new file mode 100644 index 00000000..1a1b1086 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_USER_RESOURCE_HISTORY.md @@ -0,0 +1,33 @@ +--- +title: GS_WLM_USER_RESOURCE_HISTORY +summary: GS_WLM_USER_RESOURCE_HISTORY +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_USER_RESOURCE_HISTORY + +GS_WLM_USER_RESOURCE_HISTORY系统表存储与用户使用资源相关的信息。该系统表的每条记录都是对应时间点某用户的资源使用情况,包括:内存、CPU核数、存储空间、临时空间、算子落盘空间、逻辑IO流量、逻辑IO次数和逻辑IO速率信息。其中,内存、CPU、IO相关监控项仅记录用户复杂作业的资源使用情况。对于IO相关监控项,当参数enable_logical_io_statistics为on时才有效;当参数enable_user_metric_persistent为on时,才会开启用户监控数据保存功能。GS_WLM_USER_RESOURCE_HISTORY系统表的数据来源于PG_TOTAL_USER_RESOURCE_INFO视图。查询该系统表需要sysadmin权限,且仅在数据库postgres下面查询时有数据。 + +**表 1** GS_WLM_USER_RESOURCE_HISTORY + +| 名称 | 类型 | 描述 | +| :---------------- | :----------------------- | :----------------------------------------------------------- | +| username | text | 用户名 | +| timestamp | timestamp with time zone | 时间戳 | +| used_memory | integer | 正在使用的内存大小,单位MB。 | +| total_memory | integer | 可以使用的内存大小,单位为MB。值为0表示未限制最大可用内存,其限制取决于数据库最大可用内存。 | +| used_cpu | real | 正在使用的CPU核数。 | +| total_cpu | integer | 该机器节点上,用户关联控制组的CPU核数总和。 | +| used_space | bigint | 已使用的存储空间大小,单位KB。 | +| total_space | bigint | 可使用的存储空间大小,单位KB,值为-1表示未限制最大存储空间。 | +| used_temp_space | bigint | 已使用的临时存储空间大小,单位KB。 | +| total_temp_space | bigint | 可使用的临存储空间大小,单位KB,值为-1表示未限制最大临时存储空间。 | +| used_spill_space | bigint | 已使用的算子落盘存储空间大小,单位KB。 | +| total_spill_space | bigint | 可使用的算子落盘存储空间大小,单位KB,值为-1表示未限制最大算子落盘存储空间。 | +| read_kbytes | bigint | 监控周期内,读操作的字节流量,单位KB。 | +| write_kbytes | bigint | 监控周期内,写操作的字节流量,单位KB。 | +| read_counts | bigint | 监控周期内,读操作的次数,单位次。 | +| write_counts | bigint | 监控周期内,写操作的次数,单位次。 | +| read_speed | real | 监控周期内,读操作的字节速率,单位KB/s。 | +| write_speed | real | 监控周期内,写操作的字节速率,单位KB/s。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_CLASS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_CLASS.md new file mode 100644 index 00000000..be339121 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_CLASS.md @@ -0,0 +1,25 @@ +--- +title: PGXC_CLASS +summary: PGXC_CLASS +author: Guo Huan +date: 2022-05-13 +--- + +# PGXC_CLASS + +PGXC_CLASS系统表存储每张表的复制或分布信息。PGXC_CLASS系统表仅在分布式场景下有具体含义,openGauss只能查询表定义。 + +**表 1** PGXC_CLASS字段 + +| 名称 | 类型 | 描述 | +| :-------------- | :--------------- | :----------------------------------------------------------- | +| pcrelid | oid | 表的OID。 | +| pclocatortype | “char” | 定位器类型。
- H:hash
- G:Range
- L:List
- M:Modulo
- N:Round Robin
- R:Replication | +| pchashalgorithm | smallint | 使用哈希算法分布元组。 | +| pchashbuckets | smallint | 哈希容器的值。 | +| pgroup | name | 节点群的名称。 | +| redistributed | “char” | 表已经完成重分布。 | +| redis_order | integer | 重分布的顺序。该值等于0的表在本轮重分布过程中不进行重分布。 | +| pcattnum | int2vector | 用作分布键的列标号。 | +| nodeoids | oidvector_extend | 表分布的节点OID列表。 | +| options | text | 系统内部保留字段,存储扩展状态信息。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_GROUP.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_GROUP.md new file mode 100644 index 00000000..99506f2f --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_GROUP.md @@ -0,0 +1,24 @@ +--- +title: PGXC_GROUP +summary: PGXC_GROUP +author: Guo Huan +date: 2022-05-13 +--- + +# PGXC_GROUP + +PGXC_GROUP系统表存储节点组信息。PGXC_GROUP系统表仅在分布式场景下有具体含义,MogDB只能查询表定义。 + +**表 1** PGXC_GROUP字段 + +| 名称 | 类型 | 描述 | +| :---------------- | :--------------- | :----------------------------------------------------------- | +| oid | oid | 行标识符(隐含字段,必须明确选择)。 | +| group_name | name | 节点组名称。 | +| in_redistribution | “char” | 是否需要重分布。取值包括n,y,t。
- n:表示NodeGroup没有再进行重分布。
- y:表示NodeGroup是重分布过程中的源节点组。
- t:表示NodeGroup是重分布过程中的目的节点组。 | +| group_members | oidvector_extend | 节点组的节点OID列表。 | +| group_buckets | text | 分布数据桶的集合。 | +| is_installation | Boolean | 是否安装子集群。
- t(true):表示安装。
- f(false):表示不安装。 | +| group_acl | aclitem[] | 访问权限。 | +| group_kind | “char” | node group类型,取值包括i, n, v, e。
- i:表示installation node group。
- n:表示普通非逻辑集群node group。
- v:表示逻辑集群node group。
- e:表示弹性集群。 | +| group_parent | oid | 如果是子node group,该字段表示父node group的OID,如果是父node group,该字段值为空。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_NODE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_NODE.md new file mode 100644 index 00000000..e6ca29d3 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_NODE.md @@ -0,0 +1,32 @@ +--- +title: PGXC_NODE +summary: PGXC_NODE +author: Guo Huan +date: 2022-05-13 +--- + +# PGXC_NODE + +PGXC_NODE系统表存储集群节点信息。PGXC_NODE系统表仅在分布式场景下有具体含义,MogDB只能查询表定义。 + +**表 1** PGXC_NODE字段 + +| 名称 | 类型 | 描述 | +| :--------------- | :------ | :----------------------------------------------------------- | +| oid | oid | 行标识符(隐含字段,必须明确选择)。 | +| node_name | name | 节点名称。 | +| node_type | “char” | 节点类型。
- C:协调节点。
- D:数据节点。
- S:数据节点的备节点。 | +| node_port | integer | 节点的端口号。 | +| node_host | name | 节点的主机名称或者IP(如配置为虚拟IP,则为虚拟IP)。 | +| node_port1 | integer | 复制节点的端口号。 | +| node_host1 | name | 复制节点的主机名称或者IP(如配置为虚拟IP,则为虚拟IP)。 | +| hostis_primary | Boolean | 表明当前节点是否发生主备切换。
- t(true):表示发生。
- f(false):表示不发生。 | +| nodeis_primary | Boolean | 在replication表下,是否优选当前节点作为优先执行的节点进行非查询操作。
- t(true):表示优选。
- f(false):表示不优选。 | +| nodeis_preferred | Boolean | 在replication表下,是否优选当前节点作为首选的节点进行查询。
- t(true):表示优选。
- f(false):表示不优选。 | +| node_id | integer | 节点标志符。由node_name经过hash函数计算后得到。 | +| sctp_port | integer | 主节点使用TCP代理通信库或SCTP通信库的数据通道侦听端口。 | +| control_port | integer | 主节点使用TCP代理通信库或SCTP通信库的控制通道侦听端口。 | +| sctp_port1 | integer | 备节点使用TCP代理通信库或SCTP通信库的数据通道侦听端口。 | +| control_port1 | integer | 备节点使用TCP代理通信库或SCTP通信库的控制通道侦听端口。 | +| nodeis_central | Boolean | 表明当前节点是否为中心控制节点,只用于CN,对DN无效。
- t(true):表示是。
- f(false):表示不是。 | +| nodeis_active | Boolean | 表明当前节点是否是正常状态,用于标记CN是否被剔除,对DN无效。
- t(true):表示是。
- f(false):表示不是。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_SLICE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_SLICE.md new file mode 100644 index 00000000..868cfa4a --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_SLICE.md @@ -0,0 +1,30 @@ +--- +title: PGXC_SLICE +summary: PGXC_SLICE +author: Guo Huan +date: 2022-05-13 +--- + +# PGXC_SLICE + +PGXC_SLICE表是针对range范围分布和list分布创建的系统表,用来记录分布具体信息,当前不支持range interval自动扩展分片,不过在系统表中预留。 + +PGXC_SLICE系统表仅在分布式场景下有具体含义,MogDB只能查询表定义。 + +**表 1** PGXC_SLICE字段 + +| 名称 | 类型 | 描述 | +| :-------------- | :------ | :----------------------------------------------------------- | +| relname | name | 表名或者分片名,通过type区分 | +| type | char | 当为’t’时relname是表名,当为’s’时relname是分片的名字 | +| strategy | char | ‘r’:为range分布表
‘l’:为list分布表
后续interval分片会扩展该值 | +| relid | oid | 该tuple隶属的分布表oid | +| referenceoid | oid | 所参考分布表的oid,用于slice reference建表语法 | +| sindex | int | 当为list分布表时,表示当前boundary在某个分片内的位置 | +| interval | text[] | 预留字段 | +| transitboundary | text[] | 预留字段 | +| transitno | int | 预留字段 | +| nodeoid | oid | 当relname为分片名时,表示该分片的数据存放在哪个DN上,nodeoid表示这个DN的oid | +| boundaries | text[] | 当relname为分片名时,对应该分片的边界值 | +| specified | boolean | 当前分片对应的DN是否是用户在DDL中显示指定的 | +| sliceorder | int | 用户定义分片的顺序 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AM.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AM.md index ef9f13b5..9c13a7a5 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AM.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AM.md @@ -13,21 +13,21 @@ PG_AM系统表存储有关索引访问方法的信息。系统支持的每种索 | 名称 | 类型 | 引用 | 描述 | | :-------------- | :------- | :-------------- | :------------------ | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | amname | name | - | 访问方法的名称。 | | amstrategies | smallint | - | 访问方法的操作符策略个数,或者如果访问方法没有一个固定的操作符策略集则为0。 | | amsupport | smallint | - | 访问方法的支持过程个数。 | -| amcanorder | Boolean | - | 这种访问方式是否支持通过索引字段值的命令扫描排序。 | -| amcanorderbyop | Boolean | - | 这种访问方式是否支持通过索引字段上操作符的结果的命令扫描排序。 | -| amcanbackward | Boolean | - | 访问方式是否支持向后扫描。 | -| amcanunique | Boolean | - | 访问方式是否支持唯一索引。 | -| amcanmulticol | Boolean | - | 访问方式是否支持多字段索引。 | -| amoptionalkey | Boolean | - | 访问方式是否支持第一个索引字段上没有任何约束的扫描。 | -| amsearcharray | Boolean | - | 访问方式是否支持ScalarArrayOpExpr搜索。 | -| amsearchnulls | Boolean | - | 访问方式是否支持IS NULL/NOT NULL搜索。 | -| amstorage | Boolean | - | 允许索引存储的数据类型与列的数据类型是否不同。 | -| amclusterable | Boolean | - | 是否允许在一个这种类型的索引上聚簇。 | -| ampredlocks | Boolean | - | 是否允许这种类型的一个索引管理细粒度的谓词锁定。 | +| amcanorder | boolean | - | 这种访问方式是否支持通过索引字段值的命令扫描排序。 | +| amcanorderbyop | boolean | - | 这种访问方式是否支持通过索引字段上操作符的结果的命令扫描排序。 | +| amcanbackward | boolean | - | 访问方式是否支持向后扫描。 | +| amcanunique | boolean | - | 访问方式是否支持唯一索引。 | +| amcanmulticol | boolean | - | 访问方式是否支持多字段索引。 | +| amoptionalkey | boolean | - | 访问方式是否支持第一个索引字段上没有任何约束的扫描。 | +| amsearcharray | boolean | - | 访问方式是否支持ScalarArrayOpExpr搜索。 | +| amsearchnulls | boolean | - | 访问方式是否支持IS NULL/NOT NULL搜索。 | +| amstorage | boolean | - | 允许索引存储的数据类型与列的数据类型是否不同。 | +| amclusterable | boolean | - | 是否允许在一个这种类型的索引上聚簇。 | +| ampredlocks | boolean | - | 是否允许这种类型的一个索引管理细粒度的谓词锁定。 | | amkeytype | oid | PG_TYPE.oid | 存储在索引里数据的类型,如果不是一个固定的类型则为0。 | | aminsert | regproc | PG_PROC.proname | "插入这个行"函数。 | | ambeginscan | regproc | PG_PROC.proname | "准备索引扫描" 函数。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMOP.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMOP.md index 8c137488..8b906b37 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMOP.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMOP.md @@ -13,7 +13,7 @@ PG_AMOP系统表存储有关和访问方法操作符族关联的信息。如果 | 名称 | 类型 | 引用 | 描述 | | :------------- | :------- | :-------------- | :----------------------| -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | amopfamily | oid | PG_OPFAMILY.oid | 这个项的操作符族。 | | amoplefttype | oid | PG_TYPE.oid | 操作符的左输入类型。可能取值及其描述见于pg_type.h。 | | amoprighttype | oid | PG_TYPE.oid | 操作符的右输入类型。可能取值及其描述见于pg_type.h。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMPROC.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMPROC.md index a097f610..f2789e66 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMPROC.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMPROC.md @@ -13,7 +13,7 @@ PG_AMPROC系统表存储有关与访问方法操作符族相关联的支持过 | 名称 | 类型 | 引用 | 描述 | | :-------------- | :------- | :-------------- | :---------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | amprocfamily | oid | PG_OPFAMILY.oid | 该项的操作符族。 | | amproclefttype | oid | PG_TYPE.oid | 相关操作符的左输入数据类型。可能取值及其描述见于pg_type.h。 | | amprocrighttype | oid | PG_TYPE.oid | 相关操作符的右输入数据类型。可能取值及其描述见于pg_type.h。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_APP_WORKLOADGROUP_MAPPING.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_APP_WORKLOADGROUP_MAPPING.md index 8fd219f1..d55f85aa 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_APP_WORKLOADGROUP_MAPPING.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_APP_WORKLOADGROUP_MAPPING.md @@ -13,6 +13,6 @@ PG_APP_WORKLOADGROUP_MAPPING系统表提供了数据库负载映射组的信息 | 名称 | 类型 | 描述 | | :-------------- | :--- | :----------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | appname | name | 应用名称。 | | workload_gpname | name | 映射到的负载组名称。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRDEF.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRDEF.md index db3aa6e0..84ffe2d5 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRDEF.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRDEF.md @@ -11,11 +11,11 @@ PG_ATTRDEF系统表存储列的默认值。 **表 1** PG_ATTRDEF字段 -| 名称 | 类型 | 描述 | -| :------- | :----------- | :---------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| 名称 | 类型 | 描述 | +| :------- | :----------- | :----------------------------------------------------------- | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | adrelid | oid | 该列的所属表。 | | adnum | smallint | 该列的数目。 | | adbin | pg_node_tree | 字段缺省值或生成表达式的内部表现形式。 | | adsrc | text | 可读的缺省值或生成表达式的内部表现形式。 | -| adgencol | char | 标识该列是否为生成列。取值为's'表示该列为生成列,取值为'\0'表示该列为普通列,默认值为'\0'。 | +| adgencol | "char" | 标识该列是否为生成列。取值为's'表示该列为生成列,取值为'\0'表示该列为普通列,默认值为'\0'。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTHID.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTHID.md index 485e4e17..cf96ceee 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTHID.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTHID.md @@ -15,30 +15,30 @@ MogDB中只有一份pg_authid,不是每个数据库有一份。需要有系统 | 名称 | 类型 | 描述 | | :--------------- | :----------------------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | rolname | name | 角色名称。 | -| rolsuper | Boolean | 角色是否是拥有最高权限的初始系统管理员。
- t(true):表示是。
- f(false):表示不是。 | -| rolinherit | Boolean | 角色是否自动继承其所属角色的权限。
- t(true):表示自动继承。
- f(false):表示不自动继承。 | -| rolcreaterole | Boolean | 角色是否可以创建更多角色。
- t(true):表示可以。
- f(false):表示不可以。 | -| rolcreatedb | Boolean | 角色是否可以创建数据库。
- t(true):表示可以。
- f(false):表示不可以。 | -| rolcatupdate | Boolean | 角色是否可以直接更新系统表。只有usesysid=10的初始系统管理员拥有此权限。其他用户无法获得此权限。
- t(true):表示可以。
- f(false):表示不可以。 | -| rolcanlogin | Boolean | 角色是否可以登录,也就是说,这个角色可以给予会话认证标识符。
- t(true):表示可以。
- f(false):表示不可以。 | -| rolreplication | Boolean | 角色是否具有复制权限。
- t(true):表示有。
- f(false):表示没有。 | -| rolauditadmin | Boolean | 角色是否具有审计管理员权限:
- t(true):表示有。
- f(false):表示没有。 | -| rolsystemadmin | Boolean | 角色是否具有系统管理员权限:
- t(true):表示有。
- f(false):表示没有。 | +| rolsuper | boolean | 角色是否是拥有最高权限的初始系统管理员。
- t(true):表示是。
- f(false):表示不是。 | +| rolinherit | boolean | 角色是否自动继承其所属角色的权限。
- t(true):表示自动继承。
- f(false):表示不自动继承。 | +| rolcreaterole | boolean | 角色是否可以创建更多角色。
- t(true):表示可以。
- f(false):表示不可以。 | +| rolcreatedb | boolean | 角色是否可以创建数据库。
- t(true):表示可以。
- f(false):表示不可以。 | +| rolcatupdate | boolean | 角色是否可以直接更新系统表。只有usesysid=10的初始系统管理员拥有此权限。其他用户无法获得此权限。
- t(true):表示可以。
- f(false):表示不可以。 | +| rolcanlogin | boolean | 角色是否可以登录,也就是说,这个角色可以给予会话认证标识符。
- t(true):表示可以。
- f(false):表示不可以。 | +| rolreplication | boolean | 角色是否具有复制权限。
- t(true):表示有。
- f(false):表示没有。 | +| rolauditadmin | boolean | 角色是否具有审计管理员权限:
- t(true):表示有。
- f(false):表示没有。 | +| rolsystemadmin | boolean | 角色是否具有系统管理员权限:
- t(true):表示有。
- f(false):表示没有。 | | rolconnlimit | integer | 对于可以登录的角色,限制其最大并发连接数量。
-1 表示没有限制。 | | rolpassword | text | 口令(可能是加密的),如果没有口令,则为NULL。 | | rolvalidbegin | timestamp with time zone | 帐户的有效开始时间,如果没有开始时间,则为NULL。 | | rolvaliduntil | timestamp with time zone | 帐户的有效结束时间,如果没有结束时间,则为NULL。 | | rolrespool | name | 用户所能够使用的resource pool。 | -| roluseft | Boolean | 角色是否可以操作外表。
- t(true):表示可以。
- f(false):表示不可以。 | +| roluseft | boolean | 角色是否可以操作外表。
- t(true):表示可以。
- f(false):表示不可以。 | | rolparentid | oid | 用户所在组用户的OID。 | | roltabspace | text | 用户数据表的最大空间限额。 | | rolkind | char | 特殊用户种类,包括私有用户、普通用户。 | | rolnodegroup | oid | 该字段不支持。 | -| roltempspace | text | 用户临时表的最大空间限额,单位为K。 | -| rolspillspace | text | 用户执行作业时下盘数据的最大空间限额,单位为K。 | +| roltempspace | text | 用户临时表的最大空间限额,单位为KB。 | +| rolspillspace | text | 用户执行作业时下盘数据的最大空间限额,单位为KB。 | | rolexcpdata | text | 用户可以设置的查询规则(当前未使用)。 | -| rolmonitoradmin | Boolean | 角色是否具有监控管理员权限:
- t(true):表示有。
- f(false):表示没有。 | -| roloperatoradmin | Boolean | 角色是否具有运维管理员权限:
- t(true):表示有。
- f(false):表示没有。 | -| rolpolicyadmin | Boolean | 角色是否具有安全策略管理员权限:
- t(true):表示有。
- f(false):表示没有。 | +| rolmonitoradmin | boolean | 角色是否具有监控管理员权限:
- t(true):表示有。
- f(false):表示没有。 | +| roloperatoradmin | boolean | 角色是否具有运维管理员权限:
- t(true):表示有。
- f(false):表示没有。 | +| rolpolicyadmin | boolean | 角色是否具有安全策略管理员权限:
- t(true):表示有。
- f(false):表示没有。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_HISTORY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_HISTORY.md index 14a899f8..42ce147c 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_HISTORY.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_HISTORY.md @@ -13,7 +13,7 @@ PG_AUTH_HISTORY系统表记录了角色的认证历史。需要有系统管理 | 名称 | 类型 | 描述 | | :----------- | :----------------------- | :------------------------| -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | roloid | oid | 角色标识。 | | passwordtime | timestamp with time zone | 创建和修改密码的时间。 | | rolpassword | text | 角色密码密文,加密方式由GUC参数**password_encryption_type**确定。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CAST.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CAST.md index 0544f7c8..e9334eaf 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CAST.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CAST.md @@ -13,7 +13,7 @@ PG_CAST系统表存储数据类型之间的转化关系。 | 名称 | 类型 | 描述 | | :---------- | :----- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | castsource | oid | 源数据类型的OID。 | | casttarget | oid | 目标数据类型的OID。 | | castfunc | oid | 转化函数的OID。如果为零表明不需要转化函数。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CLASS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CLASS.md index e71917fd..f605e367 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CLASS.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CLASS.md @@ -13,7 +13,7 @@ PG_CLASS系统表存储数据库对象信息及其之间的关系。 | 名称 | 类型 | 描述 | | :--------------- | :--------------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | relname | name | 表、索引、视图等对象的名称。 | | relnamespace | oid | 包含这个关系的名称空间的OID。 | | reltype | oid | 对应这个表的行类型的数据类型(索引为零,因为索引没有pg_type记录)。 | @@ -31,27 +31,28 @@ PG_CLASS系统表存储数据库对象信息及其之间的关系。 | reldeltaidx | oid | Delta表的索引表OID。 | | relcudescrelid | oid | CU描述表的OID。
CU描述表(Desc表)附属于列存表。用于控制表目录中存储数据的可见性。 | | relcudescidx | oid | CU描述表的索引表OID。 | -| relhasindex | Boolean | 如果它是一个表而且至少有(或者最近有过)一个索引,则为真。
它是由CREATE INDEX设置的,但DROP INDEX不会立即将它清除。如果VACUUM进程检测一个表没有索引,将会把它将清理relhasindex字段,将值设置为假。 | -| relisshared | Boolean | 如果该表在MogDB中由所有数据库共享则为真。只有某些系统表(比如pg_database)是共享的。 | +| relhasindex | boolean | 如果它是一个表而且至少有(或者最近有过)一个索引,则为真。
它是由CREATE INDEX设置的,但DROP INDEX不会立即将它清除。如果VACUUM进程检测一个表没有索引,将会把它将清理relhasindex字段,将值设置为假。 | +| relisshared | boolean | 如果该表在MogDB中由所有数据库共享则为真。只有某些系统表(比如pg_database)是共享的。 | | relpersistence | "char" | - p: 表示永久表。
- u: 表示非日志表。
- g: 表示临时表。 | -| relkind | "char" | - r: 表示普通表。
- i: 表示索引。
- I: 表示分区表GLOBAL索引。
- S: 表示序列。
- L: 表示Large序列。
- v: 表示视图。
- c: 表示复合类型。
- t: 表示TOAST表。
- f: 表示外表。 | +| relkind | "char" | - r: 表示普通表。
- i: 表示索引。
- I: 表示分区表GLOBAL索引。
- S: 表示序列。
- L: 表示Large序列。
- v: 表示视图。
- c: 表示复合类型。
- t: 表示TOAST表。
- f: 表示外表。
- m: 表示物化视图。 | | relnatts | smallint | 关系中用户字段数目(除了系统字段以外)。在pg_attribute里肯定有相同数目对应行。 | | relchecks | smallint | 表里的检查约束的数目;参阅pg_constraint表。 | -| relhasoids | Boolean | 如果为关系中每行都生成一个OID则为真。 | -| relhaspkey | Boolean | 如果这个表有一个(或者曾经有一个)主键,则为真。 | -| relhasrules | Boolean | 如表有规则就为真。是否有规则可参考系统表PG_REWRITE。 | -| relhastriggers | Boolean | True表示表中有触发器,或者曾经有过触发器。系统表pg_trigger中记录了表和视图的触发器。 | -| relhassubclass | Boolean | 如果有(或者曾经有)任何继承的子表,为真。 | +| relhasoids | boolean | 如果为关系中每行都生成一个OID则为真。 | +| relhaspkey | boolean | 如果这个表有一个(或者曾经有一个)主键,则为真。 | +| relhasrules | boolean | 如表有规则就为真。是否有规则可参考系统表PG_REWRITE。 | +| relhastriggers | boolean | True表示表中有触发器,或者曾经有过触发器。系统表pg_trigger中记录了表和视图的触发器。 | +| relhassubclass | boolean | 如果有(或者曾经有)任何继承的子表,为真。 | | relcmprs | tinyint | 表示是否启用表的启用压缩特性。需要特别注意,当且仅当批量插入才会触发压缩,普通的CRUD并不能够触发压缩。
- 0表示其他不支持压缩的表(主要是指系统表,不支持压缩属性的修改操作)。
- 1表示表数据的压缩特性为NOCOMPRESS或者无指定关键字。
- 2表示表数据的压缩特性为COMPRESS。 | -| relhasclusterkey | Boolean | 是否有局部聚簇存储。 | -| relrowmovement | Boolean | 针对分区表进行update操作时,是否允许行迁移。
- true: 表示允许行迁移。
- false: 表示不允许行迁移。 | -| parttype | "char" | 表或者索引是否具有分区表的性质。
- p: 表示带有分区表性质。
- n: 表示没有分区表特性。
- v: 表示该表为HDFS的Value分区表。 | +| relhasclusterkey | boolean | 是否有局部聚簇存储。 | +| relrowmovement | boolean | 针对分区表进行update操作时,是否允许行迁移。
- true: 表示允许行迁移。
- false: 表示不允许行迁移。 | +| parttype | "char" | 表或者索引是否具有分区表的性质。
- p: 表示带有分区表性质。
- n: 表示没有分区表特性。
- v: 表示该表为HDFS的Value分区表。
- s:表示该表为二级分区表。 | | relfrozenxid | xid32 | 该表中所有在这个之前的事务ID已经被一个固定的("frozen")事务ID替换。该字段用于跟踪此表是否需要为了防止事务ID重叠(或者允许收缩pg_clog)而进行清理。如果该关系不是表则为零(InvalidTransactionId)。
为保持前向兼容,保留此字段,新增relfrozenxid64用于记录此信息。 | | relacl | aclitem[] | 访问权限。
查询的回显结果为以下形式:
`rolename=xxxx/yyyy -赋予一个角色的权限`
`=xxxx/yyyy -赋予public的权限`
xxxx表示赋予的权限,yyyy表示授予这个权限的角色。权限的参数说明请参见[表2](#表2权限的参数说明)。 | | relreplident | "char" | 逻辑解码中解码列的标识:
- d = 默认 (主键,如果存在)。
- n = 无。
- f = 所有列。
- i = 索引的indisreplident被设置或者为默认。 | | relfrozenxid64 | xid | 该表中所有在这个之前的事务ID已经被一个固定的("frozen")事务ID替换。该字段用于跟踪此表是否需要为了防止事务ID重叠(或者允许收缩pg_clog)而进行清理。如果该关系不是表则为零(InvalidTransactionId)。 | | relbucket | oid | pg_hashbucket中的桶信息。 | | relbucketkey | int2vector | 哈希分区列号。 | +| relminmxid | xid | 该表中所有在这个之前的多事务ID已经被一个事务ID替换。这用于跟踪该表是否需要为了防止多事务ID重叠或者允许收缩pg_clog而进行清理。如果该关系不是表则为零(InvalidTransactionId)。 | **表 2** 权限的参数说明 diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_COLLATION.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_COLLATION.md index 8e90b3a9..b0fa1e07 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_COLLATION.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_COLLATION.md @@ -13,7 +13,7 @@ PG_COLLATION系统表描述可用的排序规则,本质上从一个SQL名称 | 名称 | 类型 | 引用 | 描述 | | :------------ | :------ | :--------------- | :-------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | collname | name | - | 排序规则名(每个名称空间和编码唯一)。 | | collnamespace | oid | PG_NAMESPACE.oid | 包含这个排序规则的名称空间的OID。 | | collowner | oid | PG_AUTHID.oid | 排序规则的所有者。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONSTRAINT.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONSTRAINT.md index 733d9038..f5021b3d 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONSTRAINT.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONSTRAINT.md @@ -13,25 +13,25 @@ PG_CONSTRAINT系统表存储表上的检查约束、主键和唯一约束。 | 名称 | 类型 | 描述 | | :------------ | :----------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | conname | name | 约束名称(不一定是唯一的)。 | | connamespace | oid | 包含这个约束的名称空间的OID。 | | contype | "char" | - c = 检查约束
- p = 主键约束
- u = 唯一约束
- t = 触发器约束 | -| condeferrable | Boolean | 这个约束是否可以推迟。 | -| condeferred | Boolean | 缺省时这个约束是否可以推迟。 | -| convalidated | Boolean | 约束是否有效。目前,只有外键和CHECK约束可将其设置为FALSE。 | +| condeferrable | boolean | 这个约束是否可以推迟。 | +| condeferred | boolean | 缺省时这个约束是否可以推迟。 | +| convalidated | boolean | 约束是否有效。目前,只有外键和CHECK约束可将其设置为FALSE。 | | conrelid | oid | 这个约束所在的表;如果不是表约束则为0。 | | contypid | oid | 这个约束所在的域;如果不是一个域约束则为0。 | | conindid | oid | 与约束关联的索引ID。 | | confrelid | oid | 如果是外键,则为参考的表;否则为0。 | | confupdtype | "char" | 外键更新动作代码。
- a = 没动作
- r = 限制
- c = 级联
- n =设置为null
- d =设置为缺省 | | confdeltype | "char" | 外键删除动作代码。
- a = 没动作
- r = 限制
- c = 级联
- n =设置为null
- d =设置为缺省 | -| confmatchtype | "char" | 外键匹配类型。
- f = 全部
- p = 部分
- u = 简单(未指定) | -| conislocal | Boolean | 是否是为关系创建的本地约束。 | +| confmatchtype | "char" | 外键匹配类型。
- f = 全部
- p = 部分
- u = 未指定(在f的基础上允许匹配NULL值)。 | +| conislocal | boolean | 是否是为关系创建的本地约束。 | | coninhcount | integer | 约束直接继承父表的数目。继承父表数非零时,不能删除或重命名该约束。 | -| connoinherit | Boolean | 是否可以被继承。 | -| consoft | Boolean | 是否为信息约束(Informational Constraint)。 | -| conopt | Boolean | 是否使用信息约束优化执行计划。 | +| connoinherit | boolean | 是否可以被继承。 | +| consoft | boolean | 是否为信息约束(Informational Constraint)。 | +| conopt | boolean | 是否使用信息约束优化执行计划。 | | conkey | smallint[] | 如果是表约束,则是约束控制的字段列表。 | | confkey | smallint[] | 如果是一个外键,是参考的字段的列表。 | | conpfeqop | oid[] | 如果是一个外键,是做PK=FK比较的相等操作符ID的列表。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONVERSION.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONVERSION.md index 2c971c36..0652f386 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONVERSION.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONVERSION.md @@ -13,11 +13,11 @@ PG_CONVERSION系统表描述编码转换信息。 | 名称 | 类型 | 引用 | 描述 | | :------------- | :------ | :--------------- | :------------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | conname | name | - | 转换名称(在一个名称空间里是唯一的)。 | | connamespace | oid | PG_NAMESPACE.oid | 包含这个转换的名称空间的OID。 | | conowner | oid | PG_AUTHID.oid | 编码转换的属主。 | | conforencoding | integer | - | 源编码ID。 | | contoencoding | integer | - | 目的编码ID。 | | conproc | regproc | PG_PROC.proname | 转换过程。 | -| condefault | Boolean | - | 如果这是缺省转换则为真。 | +| condefault | boolean | - | 如果这是缺省转换则为真。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DATABASE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DATABASE.md index d118f9c8..71885233 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DATABASE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DATABASE.md @@ -13,7 +13,7 @@ PG_DATABASE系统表存储关于可用数据库的信息。 | 名称 | 类型 | 描述 | | :--------------- | :-------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | datname | name | 数据库名称。 | | datdba | oid | 数据库所有人,通常为其创建者。 | | encoding | integer | 数据库的字符编码方式。 | @@ -25,6 +25,7 @@ PG_DATABASE系统表存储关于可用数据库的信息。 | datlastsysoid | oid | 数据库里最后一个系统OID 。 | | datfrozenxid | xid32 | 用于跟踪该数据库是否需要为了防止事务ID重叠而进行清理。为保持前向兼容,保留此字段,新增datfrozenxid64用于记录此信息。 | | dattablespace | oid | 数据库的缺省表空间。 | -| datcompatibility | name | 数据库兼容模式,当前支持四种兼容模式:A、B、C、PG,分别表示兼容O、MY、TD和POSTGRES。 | +| datcompatibility | name | 数据库兼容模式,当前支持四种兼容模式:A、B、PG,分别表示兼容O、MY和POSTGRES。 | | datacl | aclitem[] | 访问权限。 | | datfrozenxid64 | xid | 用于跟踪该数据库是否需要为了防止事务ID重叠而进行清理。 | +| datminmxid | xid | 该数据库中所有在这个之前的多事务ID已经被一个事务ID替换。用于跟踪该数据库是否需要为了防止事务ID重叠或者允许收缩pg_clog而进行清理。它是此数据库中所有表的pg_class.relminmxid中的最小值。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DEFAULT_ACL.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DEFAULT_ACL.md index 9e584b03..b4bd297d 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DEFAULT_ACL.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DEFAULT_ACL.md @@ -13,7 +13,7 @@ PG_DEFAULT_ACL系统表存储为新建对象设置的初始权限。 | 名称 | 类型 | 描述 | | :-------------- | :-------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | defaclrole | oid | 与此权限相关的角色ID。 | | defaclnamespace | oid | 与此权限相关的名称空间,如果没有,则为0。 | | defaclobjtype | "char" | 此权限的对象类型。
- r表示表或视图。
- S表示序列。
- f表示函数。
- T表示类型。
- K表示客户端主密钥。
- k表示列加密密钥。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DIRECTORY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DIRECTORY.md index c9d8e2bb..1f9f7952 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DIRECTORY.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DIRECTORY.md @@ -13,7 +13,7 @@ PG_DIRECTORY系统表用于保存用户添加的directory对象可以通过CREAT | 名称 | 类型 | 描述 | | :------ | :-------- | :----------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | dirname | name | 目录对象的名称。 | | owner | oid | 目录对象的所有者。 | | dirpath | text | 目录路径。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ENUM.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ENUM.md index 55a29275..c6c4770d 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ENUM.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ENUM.md @@ -13,7 +13,7 @@ PG_ENUM系统表包含显示每个枚举类型值和标签的记录。给定枚 | 名称 | 类型 | 引用 | 描述 | | :------------ | :--- | :---------- | :------------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | enumtypid | oid | PG_TYPE.oid | 拥有这个枚举值的pg_type记录的OID。 | | enumsortorder | real | - | 这个枚举值在它的枚举类型中的排序位置。 | | enumlabel | name | - | 这个枚举值的文本标签。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_EXTENSION_DATA_SOURCE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_EXTENSION_DATA_SOURCE.md index 0e55a3da..4eeaa612 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_EXTENSION_DATA_SOURCE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_EXTENSION_DATA_SOURCE.md @@ -13,7 +13,7 @@ PG_EXTENSION_DATA_SOURCE系统表存储外部数据源对象的信息。一个 | 名称 | 类型 | 引用 | 描述 | | :--------- | :-------- | :------------ | :---------------------------------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | srcname | name | - | 外部数据源对象的名称。 | | srcowner | oid | PG_AUTHID.oid | 外部数据源对象的所有者。 | | srctype | text | - | 外部数据源对象的类型,缺省为空。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_DATA_WRAPPER.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_DATA_WRAPPER.md index b5655934..faf403d8 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_DATA_WRAPPER.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_DATA_WRAPPER.md @@ -13,7 +13,7 @@ PG_FOREIGN_DATA_WRAPPER系统表存储外部数据封装器定义。一个外部 | 名称 | 类型 | 引用 | 描述 | | :----------- | :-------- | :------------ | :----------------------------------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | fdwname | name | - | 外部数据封装器名。 | | fdwowner | oid | PG_AUTHID.oid | 外部数据封装器的所有者。 | | fdwhandler | oid | PG_PROC.oid | 引用一个负责为外部数据封装器提供扩展例程的处理函数。如果没有提供处理函数则为零。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_SERVER.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_SERVER.md index c28a1e0f..935b2486 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_SERVER.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_SERVER.md @@ -13,7 +13,7 @@ PG_FOREIGN_SERVER系统表存储外部服务器定义。一个外部服务器描 | 名称 | 类型 | 引用 | 描述 | | :--------- | :-------- | :-------------------------- | :---------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | srvname | name | - | 外部服务器名。 | | srvowner | oid | PG_AUTHID.oid | 外部服务器的所有者。 | | srvfdw | oid | PG_FOREIGN_DATA_WRAPPER.oid | 这个外部服务器的外部数据封装器的OID。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_HASHBUCKET.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_HASHBUCKET.md new file mode 100644 index 00000000..d2acd4cd --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_HASHBUCKET.md @@ -0,0 +1,21 @@ +--- +title: PG_HASHBUCKET +summary: PG_HASHBUCKET +author: Guo Huan +date: 2022-05-13 +--- + +# PG_HASHBUCKET + +PG_HASHBUCKET系统表存储hash bucket信息。 + +**表 1** PG_HASHBUCKET字段 + +| 名称 | 类型 | 描述 | +| :------------ | :--------------- | :----------------------------------------------------------- | +| oid | oid | 行标识符(隐含字段,必须明确选择)。 | +| bucketid | oid | 对bucketvector计算的hash值,通过hash值可以加速对bucketvector的查找。 | +| bucketcnt | integer | 包含分片的个数。 | +| bucketmapsize | integer | 所有DN上包含的分片总数。 | +| bucketref | integer | 预留字段,默认值为1。 | +| bucketvector | oidvector_extend | 记录此行bucket信息包含的所有bucket的id,在此列上建立唯一索引,具有相同bucketid信息的表共享同一行pg_hashbucket数据。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB.md index ef586833..2f54b2bd 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB.md @@ -13,7 +13,7 @@ PG_JOB系统表存储用户创建的定时任务的任务详细信息,定时 | 名称 | 类型 | 描述 | | :------------------- | :-------------------------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | job_id | bigint | 作业ID,主键,是唯一的(有唯一索引) | | current_postgres_pid | bigint | 如果当前任务已被执行,那么此处记录运行此任务的postgres线程ID。默认为 -1,表示此任务未被执行过。 | | log_user | name | 创建者的UserName | @@ -30,3 +30,7 @@ PG_JOB系统表存储用户创建的定时任务的任务详细信息,定时 | last_suc_date | timestamp without time zone | 上次成功运行的开始时间,时间精确到毫秒。 | | this_run_date | timestamp without time zone | 正在运行任务的开始时间,时间精确到毫秒。 | | nspname | name | 标识作业执行时的schema的名称。 | +| job_name | text | DBE_SCHEDULER定时任务专用,定时任务名称。 | +| end_date | timestamp without time zone | DBE_SCHEDULER定时任务专用,定时任务失效时间,时间精确到毫秒。 | +| enable | boolean | DBE_SCHEDULER定时任务专用,定时任务启用状态:
- true:启用
- false:未启用 | +| failure_msg | text | 最新一次执行任务报错信息。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB_PROC.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB_PROC.md index 748f88ec..eaafe16f 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB_PROC.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB_PROC.md @@ -11,9 +11,9 @@ PG_JOB_PROC系统表对应PG_JOB表中每个任务的作业内容(包括: PL/S **表 1** PG_JOB_PROC字段 -| 名称 | 类型 | 描述 | -| :------- | :------ | :----------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | -| job_oid | integer | 外键,关联pg_job表中的job_id。 | -| what | text | 作业内容。 | -| job_name | text | 作业名称。 | +| 名称 | 类型 | 描述 | +| :------- | :------ | :---------------------------------------------- | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | +| job_id | integer | 外键,关联pg_job表中的job_id。 | +| what | text | 作业内容,DBE_SCHEDULER定时任务中的程序内容。 | +| job_name | text | DBE_SCHEDULER定时任务专用,定时任务或程序名称。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LANGUAGE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LANGUAGE.md index 8c43dcb4..8588463a 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LANGUAGE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LANGUAGE.md @@ -13,7 +13,7 @@ PG_LANGUAGE系统表登记编程语言,用户可以用这些语言或接口写 | 名称 | 类型 | 引用 | 描述 | | :------------ | :-------- | :------------ | :----------------------------------------------------------- | -| oid | oid | - | 行标识符(隐藏属性;必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性;必须明确选择)。 | | lanname | name | - | 语言的名称。 | | lanowner | oid | PG_AUTHID.oid | 语言的所有者。 | | lanispl | Boolean | - | 对于内部语言而言是假(比如SQL),对于用户定义的语言则是真。目前,gs_dump仍然使用这个东西判断哪种语言需要转储,但是这些可能在将来被其它机制取代。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LARGEOBJECT_METADATA.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LARGEOBJECT_METADATA.md index ba2c6921..f6acc6fd 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LARGEOBJECT_METADATA.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LARGEOBJECT_METADATA.md @@ -13,6 +13,6 @@ PG_LARGEOBJECT_METADATA系统表存储与大数据相关的元数据。实际的 | 名称 | 类型 | 引用 | 描述 | | :------- | :-------- | :------------ | :----------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | lomowner | oid | PG_AUTHID.oid | 大对象的所有者。 | | lomacl | aclitem[] | - | 访问权限。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_NAMESPACE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_NAMESPACE.md index 633f5378..c89353d2 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_NAMESPACE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_NAMESPACE.md @@ -13,7 +13,7 @@ PG_NAMESPACE系统表存储名称空间,即存储schema相关的信息。 | 名称 | 类型 | 描述 | | :---------------- | :-------- | :---------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | nspname | name | 名称空间的名称。 | | nspowner | oid | 名称空间的所有者。 | | nsptimeline | bigint | 在数据库节点上创建此命名空间时的时间线。此字段为内部使用,仅在数据库节点上有效。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPCLASS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPCLASS.md index 6584031e..acc7a39a 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPCLASS.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPCLASS.md @@ -15,14 +15,14 @@ PG_OPCLASS系统表定义索引访问方法操作符类。 | 名称 | 类型 | 引用 | 描述 | | :----------- | :------ | :--------------- | :------------------------------------------ | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | opcmethod | oid | PG_AM.oid | 操作符类所服务的索引访问方法。 | | opcname | name | - | 这个操作符类的名称。 | | opcnamespace | oid | PG_NAMESPACE.oid | 这个操作符类的名称空间。 | | opcowner | oid | PG_AUTHID.oid | 操作符类属主。 | | opcfamily | oid | PG_OPFAMILY.oid | 包含该操作符类的操作符族。 | | opcintype | oid | PG_TYPE.oid | 操作符类索引的数据类型。 | -| opcdefault | Boolean | - | 如果操作符类是opcintype的缺省,则为真。 | +| opcdefault | boolean | - | 如果操作符类是opcintype的缺省,则为真。 | | opckeytype | oid | PG_TYPE.oid | 索引数据的类型,如果和opcintype相同则为零。 | 一个操作符类的opcmethod必须匹配包含它的操作符族的opfmethod。 diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPERATOR.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPERATOR.md index 99fba746..ee13d349 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPERATOR.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPERATOR.md @@ -13,7 +13,7 @@ PG_OPERATOR系统表存储有关操作符的信息。 | 名称 | 类型 | 引用 | 描述 | | :----------- | :------ | :--------------- | :---------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | oprname | name | - | 操作符的名称。 | | oprnamespace | oid | PG_NAMESPACE.oid | 包含此操作符的名称空间的OID。 | | oprowner | oid | PG_AUTHID.oid | 操作符所有者。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPFAMILY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPFAMILY.md index 718c3276..48920676 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPFAMILY.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPFAMILY.md @@ -15,7 +15,7 @@ PG_OPFAMILY系统表定义操作符族。 | 名称 | 类型 | 引用 | 描述 | | :----------- | :--- | :--------------- | :----------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | opfmethod | oid | PG_AM.oid | 操作符族使用的索引方法。 | | opfname | name | - | 这个操作符族的名称。 | | opfnamespace | oid | PG_NAMESPACE.oid | 这个操作符的名称空间。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PARTITION.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PARTITION.md index 76f7ec09..a2e9a00a 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PARTITION.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PARTITION.md @@ -13,9 +13,9 @@ PG_PARTITION系统表存储数据库内所有分区表(partitioned table)、 | 名称 | 类型 | 描述 | | :----------------- | :--------------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | relname | name | 分区表、分区、分区上toast表和分区索引的名称。 | -| parttype | "char" | 对象类型:
- 'r': partitioned table
- 'p': table partition
- 'x': index partition
- 't': toast table | +| parttype | "char" | 对象类型:
- 'r': partitioned table
- 'p': table partition
- 's':table subpartition。
- 'x': index partition
- 't': toast table | | parentid | oid | 当对象为分区表或分区时,此字段表示分区表在PG_CLASS中的OID。当对象为index partition时,此字段表示所属分区表索引(partitioned index)的OID。 | | rangenum | integer | 保留字段。 | | intervalnum | integer | 保留字段。 | @@ -28,7 +28,7 @@ PG_PARTITION系统表存储数据库内所有分区表(partitioned table)、 | reltoastrelid | oid | table partition所对应toast表的OID。 | | reltoastidxid | oid | table partition所对应toast表的索引的OID。 | | indextblid | oid | index partition对应table partition的OID。 | -| indisusable | Boolean | 分区索引是否可用。 | +| indisusable | boolean | 分区索引是否可用。 | | reldeltarelid | oid | Delta表的OID。 | | reldeltaidx | oid | Delta表的索引表的OID。 | | relcudescrelid | oid | CU描述表的OID。 | @@ -42,3 +42,4 @@ PG_PARTITION系统表存储数据库内所有分区表(partitioned table)、 | transit | text[] | 间隔分区的跳转点。 | | reloptions | text[] | 设置partition的存储属性,与pg_class.reloptions的形态一样,用"keyword=value"格式的字符串来表示 ,目前用于在线扩容的信息搜集。 | | relfrozenxid64 | xid | 冻结事务ID号。 | +| relminmxid | xid | 冻结多事务ID号。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PROC.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PROC.md index ddc20b27..ab2feefc 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PROC.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PROC.md @@ -13,7 +13,7 @@ PG_PROC系统表存储函数或过程的信息。 | 名称 | 类型 | 描述 | | :------------------ | :---------------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | proname | name | 函数名称。 | | pronamespace | oid | 包含该函数名称空间的OID。 | | proowner | oid | 函数的所有者。 | @@ -22,12 +22,12 @@ PG_PROC系统表存储函数或过程的信息。 | prorows | real | 估算的影响行的数目。 | | provariadic | oid | 参数元素的数据类型。 | | protransform | regproc | 此函数的简化调用方式。 | -| proisagg | Boolean | 函数是聚集函数。
- t(true):表示是。
- f(false):表示不是。 | -| proiswindow | Boolean | 函数是窗口函数。
- t(true):表示是。
- f(false):表示不是。 | -| prosecdef | Boolean | 函数是一个安全定义器(也就是一个“setuid”函数)。
- t(true):表示是。
- f(false):表示不是。 | -| proleakproof | Boolean | 函数没副作用。如果函数没有对参数进行防泄露处理,则会抛出错误。
- t(true):表示没副作用。
- f(false):表示有副作用。 | -| proisstrict | Boolean | 如果任何调用参数是空,则函数返回空。这时函数实际上连调用都不调用。不是“strict”的函数必须准备处理空输入。 | -| proretset | Boolean | 函数返回一个集合(也就是说,指定数据类型的多个数值)。 | +| proisagg | boolean | 函数是聚集函数。
- t(true):表示是。
- f(false):表示不是。 | +| proiswindow | boolean | 函数是窗口函数。
- t(true):表示是。
- f(false):表示不是。 | +| prosecdef | boolean | 函数是一个安全定义器(也就是一个“setuid”函数)。
- t(true):表示是。
- f(false):表示不是。 | +| proleakproof | boolean | 函数没副作用。如果函数没有对参数进行防泄露处理,则会抛出错误。
- t(true):表示没副作用。
- f(false):表示有副作用。 | +| proisstrict | boolean | 如果任何调用参数是空,则函数返回空。这时函数实际上连调用都不调用。不是“strict”的函数必须准备处理空输入。 | +| proretset | boolean | 函数返回一个集合(也就是说,指定数据类型的多个数值)。 | | provolatile | “char” | 告诉该函数的结果是否只依赖于它的输入参数,或者还会被外界因素影响。
- i:“不可变的”(immutable)函数,这样的函数对于相同的输入总是产生相同的结果。
- s:稳定的”(stable)函数它是s,(对于固定输入)其结果在一次扫描里不变。
- v:“易变”(volatile)函数它是v,其结果可能在任何时候变化v也用于那些有副作用的函数,因此调用它们无法得到优化。 | | pronargs | smallint | 参数数目。 | | pronargdefaults | smallint | 有默认值的参数数目。 | @@ -42,12 +42,14 @@ PG_PROC系统表存储函数或过程的信息。 | proconfig | text[] | 函数针对运行时配置变量的本地设置。 | | proacl | aclitem[] | 访问权限。具体请参见GRANT和REVOKE。 | | prodefaultargpos | int2vector | 函数具有默认值的入参的位置。 | -| fencedmode | Boolean | 函数的执行模式,表示函数是在fence还是not fence模式下执行。如果是fence执行模式,函数的执行会在重新fork的进程中执行。
用户创建的C函数,fencedmode字段默认值均为true,即fence模式;系统内建函数,fencedmode字段均为false,即not fence模式。 | -| proshippable | Boolean | 表示该函数是否可以下推到数据库节点上执行,默认值是false。
- 对于IMMUTABLE类型的函数,函数始终可以下推到数据库节点上执行。
- 对于STABLE/VOLATILE类型的函数,仅当函数的属性是SHIPPABLE的时候,函数可以下推到数据库节点执行。 | -| propackage | Boolean | 表示该函数是否支持重载,默认值是false。
- t(true):表示支持。
- f(false):表示不支持。 | +| fencedmode | boolean | 函数的执行模式,表示函数是在fence还是not fence模式下执行。如果是fence执行模式,函数的执行会在重新fork的进程中执行。
用户创建的C函数,fencedmode字段默认值均为true,即fence模式;系统内建函数,fencedmode字段均为false,即not fence模式。 | +| proshippable | boolean | 表示该函数是否可以下推到数据库节点上执行,默认值是false。
- 对于IMMUTABLE类型的函数,函数始终可以下推到数据库节点上执行。
- 对于STABLE/VOLATILE类型的函数,仅当函数的属性是SHIPPABLE的时候,函数可以下推到数据库节点执行。 | +| propackage | boolean | 表示该函数是否支持重载,默认值是false。
- t(true):表示支持。
- f(false):表示不支持。 | | prokind | “char” | 表示该对象为函数还是存储过程:
- 值为'f'表示该对象为函数。
- 值为'p'表示该对象为存储过程。 | | proargsrc | text | 描述兼容oracle语法定义的函数或存储过程的参数输入字符串,包括参数注释。默认值为NULL。 | -| proisprivate | Boolean | 描述函数是否是PACKAGE内的私有函数,默认为false。 | +| proisprivate | boolean | 描述函数是否是PACKAGE内的私有函数,默认为false。 | | propackageid | oid | 函数所属的package oid,如果不在package内,则为0。 | | proargtypesext | oidvector_extend | 当函数参数较多时,用来存放函数参数的数据类型的数组。数组里只包括输入参数(包括INOUT参数)此代表该函数的调用签名(接口)。 | | prodefaultargposext | int2vector_extend | 当函数参数较多时,函数具有默认值的入参的位置。 | +| allargtypes | oidvector | 不区分参数类型,包含存储过程所有参数(包含入参、出参、INOUT参数)。 | +| allargtypesext | oidvector_extend | 当函数参数较多时,用来存放函数参数的数据类型的数组。数组里包含所有参数(包含入参、出参、INOUT参数)。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION.md new file mode 100644 index 00000000..a6497df3 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION.md @@ -0,0 +1,21 @@ +--- +title: PG_PUBLICATION +summary: PG_PUBLICATION +author: Guo Huan +date: 2022-05-12 +--- + +# PG_PUBLICATION + +系统表pg_publication包含当前数据库中创建的所有publication。 + +**表 1** PG_PUBLICATION字段 + +| 名称 | 类型 | 描述 | +| :----------- | :--- | :----------------------------------------------------------- | +| pubname | text | publication的名称。 | +| pubowner | oid | publication的拥有者。 | +| puballtables | bool | 如果为真,这个publication自动包括数据库中的所有表,包括未来将会创建的任何表。 | +| pubinsert | bool | 如果为真,为publication中的表复制INSERT操作。 | +| pubupdate | bool | 如果为真,为publication中的表复制UPDATE操作。 | +| pubdelete | bool | 如果为真,为publication中的表复制DELETE操作。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION_REL.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION_REL.md new file mode 100644 index 00000000..d4b52b4f --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION_REL.md @@ -0,0 +1,17 @@ +--- +title: PG_PUBLICATION_REL +summary: PG_PUBLICATION_REL +author: Guo Huan +date: 2022-05-12 +--- + +# PG_PUBLICATION_REL + +系统表PG_PUBLICATION_REL包含当前数据库中的表和publication之间的映射,这是一种多对多映射。 + +**表 1** PG_PUBLICATION_REL字段 + +| 名称 | 类型 | 引用 | 描述 | +| :------ | :--- | :--- | :-------------------- | +| prpubid | oid | - | 对publication的引用。 | +| prrelid | oid | - | 对表的引用。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REPLICATION_ORIGIN.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REPLICATION_ORIGIN.md new file mode 100644 index 00000000..4dcb6c1f --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REPLICATION_ORIGIN.md @@ -0,0 +1,17 @@ +--- +title: PG_REPLICATION_ORIGIN +summary: PG_REPLICATION_ORIGIN +author: Guo Huan +date: 2022-05-12 +--- + +# PG_REPLICATION_ORIGIN + +PG_REPLICATION_ORIGIN系统表包含所有已创建的复制源,该表为全局共享表,即在每个节点上只有一份pg_replication_origin,而不是每个数据库一份。 + +**表 1** PG_REPLICATION_ORIGIN字段 + +| 名称 | 类型 | 描述 | +| :------ | :--- | :--------------------------------- | +| roident | oid | 一个集群范围内唯一的复制源标识符。 | +| roname | text | 外部的由用户定义的复制源名称。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RESOURCE_POOL.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RESOURCE_POOL.md index 11d8b938..46a8ad6e 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RESOURCE_POOL.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RESOURCE_POOL.md @@ -13,7 +13,7 @@ PG_RESOURCE_POOL系统表提供了数据库资源池的信息。 | 名称 | 类型 | 描述 | | :---------------- | :------ | :----------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | respool_name | name | 资源池名称。 | | mem_percent | integer | 内存配置的百分比。 | | cpu_affinity | bigint | CPU绑定core的数值。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REWRITE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REWRITE.md index af349b4e..2b47a0b9 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REWRITE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REWRITE.md @@ -13,12 +13,12 @@ PG_REWRITE系统表存储为表和视图定义的重写规则。 | 名称 | 类型 | 描述 | | :--------- | :----------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | rulename | name | 规则名称。 | | ev_class | oid | 使用这条规则的表名称。 | | ev_attr | smallint | 这条规则适用的字段(目前总是为零,表示整个表)。 | | ev_type | "char" | 规则适用的事件类型:
- 1 = SELECT
- 2 = UPDATE
- 3 = INSERT
- 4 = DELETE | | ev_enabled | "char" | 用于控制复制的触发。
- O ="origin"和"local"模式时触发。
- D =禁用触发。
- R ="replica"时触发。
- A =任何模式是都会触发。 | -| is_instead | Boolean | 如果该规则是INSTEAD规则,则为真。 | +| is_instead | boolean | 如果该规则是INSTEAD规则,则为真。 | | ev_qual | pg_node_tree | 规则的资格条件的表达式树(以nodeToString() 形式存在)。 | | ev_action | pg_node_tree | 规则动作的查询树(以nodeToString() 形式存在)。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RLSPOLICY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RLSPOLICY.md index 6e9d4992..2bcb30b4 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RLSPOLICY.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RLSPOLICY.md @@ -13,7 +13,7 @@ PG_RLSPOLICY系统表存储行级访问控制策略。 | 名称 | 类型 | 描述 | | :------------ | :----------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | polname | name | 行级访问控制策略的名称。 | | polrelid | oid | 行级访问控制策略作用的表对象oid。 | | polcmd | "char" | 行级访问控制策略影响的SQL操作。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHDEPEND.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHDEPEND.md index 8e507582..350a3602 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHDEPEND.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHDEPEND.md @@ -39,3 +39,7 @@ PG_DEPEND的作用类似,只是它是用于在一个数据库内部的对象 - SHARED_DEPENDENCY_PIN (p) 没有依赖对象;这类记录标识系统自身依赖于该被依赖对象,因此这样的对象绝对不能被删除。这种类型的记录只是由initdb创建。这样的依赖对象的字段都是零。 + +- SHARED_DEPENDENCY_ DBPRIV(d) + + 被引用的对象(必须是一个角色)具有依赖对象所对应的ANY权限(指定的依赖对象的OID对应的是系统表gs_db_privilege中一行)。 diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC.md index 1c624735..c66c7a8a 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC.md @@ -26,3 +26,5 @@ PG_STATISTIC系统表存储有关该数据库中表和索引列的统计数据 | stavaluesN | anyarray | 第n个"槽位"类型的字段数据值,如果该槽位类型不存储任何数据值,则就是NULL。每个数组的元素值实际上都是指定字段的数据类型,因此,除了把这些字段的类型定义成anyarray之外,没有更好的办法。
n的取值范围: 1~5 | | stadndistinct | real | 标识dn1上字段里唯一的非NULL数据值的数目。
- 一个大于零的数值是独立数值的实际数目。
- 一个小于零的数值是表中行数的分数的负数(比如,一个字段的数值平均出现概率为两次,则可以表示为stadistinct=-0.5)。
- 零值表示独立数值的数目未知。 | | staextinfo | text | 统计信息的扩展信息。预留字段。 | + +> **须知:** PG_STATISTIC系统表存储了统计对象的一些敏感信息,如高频值MCV。系统管理员和授权后的其他用户可以通过访问PG_STATISTIC系统表查询到统计对象的这些敏感信息。 diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC_EXT.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC_EXT.md index 71c025da..16f06d82 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC_EXT.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC_EXT.md @@ -26,3 +26,5 @@ PG_STATISTIC_EXT系统表存储有关该数据库中表的扩展统计数据, | stanumbersN | real[] | 第n个"槽位"的相关类型的数值类型统计,如果该槽位和数值类型没有关系,则就是NULL。
n的取值范围: 1~5 | | stavaluesN | anyarray | 第n个"槽位"类型的字段数据值,如果该槽位类型不存储任何数据值,则就是NULL。每个数组的元素值实际上都是指定字段的数据类型,因此,除了把这些字段的类型定义成anyarray之外,没有更好的办法。
n的取值范围: 1~5 | | staexprs | pg_node_tree | 扩展统计信息对应的表达式。 | + +> **须知:** PG_STATISTIC_EXT系统表存储了统计对象的一些敏感信息,如高频值MCV。系统管理员和授权后的其他用户可以通过访问PG_STATISTIC_EXT系统表查询到统计对象的这些敏感信息。 diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SUBSCRIPTION.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SUBSCRIPTION.md new file mode 100644 index 00000000..f60f9a9f --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SUBSCRIPTION.md @@ -0,0 +1,24 @@ +--- +title: PG_SUBSCRIPTION +summary: PG_SUBSCRIPTION +author: Guo Huan +date: 2022-05-12 +--- + +# PG_SUBSCRIPTION + +系统表PG_SUBSCRIPTION包含所有现有的逻辑复制订阅。需要有系统管理员权限才可以访问此系统表。 + +和大部分系统表不同,pg_subscription在数据库实例的所有数据库之间共享,即在每个节点上有只有一份pg_replication_origin,而不是每个数据库一份。 + +**表 1** PG_SUBSCRIPTION字段 + +| 名称 | 类型 | 描述 | +| :-------------- | :----- | :----------------------------------------------------------- | +| subdbid | oid | 订阅所在的数据库的OID。 | +| subname | text | 订阅的名称。 | +| subowner | oid | 订阅的拥有者。 | +| subenabled | bool | 如果为真,订阅被启用并且应该被复制。 | +| subconninfo | text | 到发布端数据库的连接信息。 | +| subslotname | text | 发布端数据库中复制槽的名称。空表示为NONE。 | +| subpublications | text[] | 被订阅的publication名称的数组。这些引用的是发布者服务器上的publication。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TABLESPACE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TABLESPACE.md index 9ced9980..3fe685b0 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TABLESPACE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TABLESPACE.md @@ -13,7 +13,7 @@ PG_TABLESPACE系统表存储表空间信息。 | 名称 | 类型 | 描述 | | :--------- | :-------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | spcname | name | 表空间名称。 | | spcowner | oid | 表空间的所有者,通常是创建它的人。 | | spcacl | aclitem[] | 访问权限。具体请参见[GRANT](108-GRANT)和[REVOKE](120-REVOKE)。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TRIGGER.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TRIGGER.md index 160b8e41..e67ef92f 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TRIGGER.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TRIGGER.md @@ -13,7 +13,7 @@ PG_TRIGGER系统表存储触发器信息。 | 名称 | 类型 | 描述 | | :------------- | :----------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | tgrelid | oid | 触发器所在表的OID。 | | tgname | name | 触发器名。 | | tgfoid | oid | 要被触发器调用的函数。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_CONFIG.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_CONFIG.md index 560aa9e5..46d7d659 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_CONFIG.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_CONFIG.md @@ -15,7 +15,7 @@ PG_TS_CONFIG系统表包含表示文本搜索配置的记录。一个配置指 | 名称 | 类型 | 引用 | 描述 | | :----------- | :----- | :--------------- | :----------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | cfgname | name | - | 文本搜索配置名。 | | cfgnamespace | oid | PG_NAMESPACE.oid | 包含这个配置的名称空间的OID。 | | cfgowner | oid | PG_AUTHID.oid | 配置的所有者。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_DICT.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_DICT.md index 3ba943e0..362adb6c 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_DICT.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_DICT.md @@ -15,7 +15,7 @@ PG_TS_DICT系统表包含定义文本搜索字典的记录。字典取决于文 | 名称 | 类型 | 引用 | 描述 | | :------------- | :--- | :----------------- | :----------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | dictname | name | - | 文本搜索字典名。 | | dictnamespace | oid | PG_NAMESPACE.oid | 包含这个字典的名称空间的OID。 | | dictowner | oid | PG_AUTHID.oid | 字典的所有者。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_PARSER.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_PARSER.md index dd3a3c6e..19973d6f 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_PARSER.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_PARSER.md @@ -13,7 +13,7 @@ PG_TS_PARSER系统表包含定义文本解析器的记录。解析器负责分 | 名称 | 类型 | 引用 | 描述 | | :----------- | :------ | :--------------- | :----------------------------------- | -| oid | oid | - | 行标识符(隐藏属性;必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性;必须明确选择)。 | | prsname | name | - | 文本搜索解析器名。 | | prsnamespace | oid | PG_NAMESPACE.oid | 包含这个解析器的名称空间的OID。 | | prsstart | regproc | PG_PROC.proname | 解析器的启动函数名。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_TEMPLATE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_TEMPLATE.md index 6c36a8cf..bdb89724 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_TEMPLATE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_TEMPLATE.md @@ -13,7 +13,7 @@ PG_TS_TEMPLATE系统表包含定义文本搜索模板的记录。模板是文本 | 名称 | 类型 | 引用 | 描述 | | :------------ | :------ | :--------------- | :----------------------------------- | -| oid | oid | - | 行标识符(隐藏属性;必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性;必须明确选择)。 | | tmplname | name | - | 文本搜索模板名。 | | tmplnamespace | oid | PG_NAMESPACE.oid | 包含这个模板的名称空间的OID。 | | tmplinit | regproc | PG_PROC.proname | 模板的初始化函数名。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TYPE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TYPE.md index e915c235..a36e4a10 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TYPE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TYPE.md @@ -13,16 +13,16 @@ PG_TYPE系统表存储数据类型的相关信息。 | 名称 | 类型 | 描述 | | :------------- | :----------- | :----------------------------------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | typname | name | 数据类型名称。 | | typnamespace | oid | 包含这个类型的名称空间的OID。 | | typowner | oid | 该类型的所有者。 | | typlen | smallint | 对于定长类型是该类型内部表现形式的字节数目。对于变长类型是负数。
-1表示一种"变长"(有长度字属性的数据)。
-2表示这是一个NULL结尾的C字符串。 | -| typbyval | Boolean | 指定内部传递这个类型的数值时是传值(该值为true)还是传引用(该值为false)。如果该类型的TYPLEN不是1,2,4,8, TYPBYVAL最好为false。变长类型通常是传引用。即使TYPLEN允许传值,TYPBYVAL也可以为false。 | +| typbyval | boolean | 指定内部传递这个类型的数值时是传值(该值为true)还是传引用(该值为false)。如果该类型的TYPLEN不是1,2,4,8, TYPBYVAL最好为false。变长类型通常是传引用。即使TYPLEN允许传值,TYPBYVAL也可以为false。 | | typtype | "char" | - 对于基础类型是b。
- 对于复合类型是c(比如,一个表的行类型)。
- 对于域类型是d。
- 对于伪类型是p。
参见typrelid和typbasetype。 | | typcategory | "char" | 是数据类型的模糊分类,可用于解析器做为数据转换的依据。 | -| typispreferred | Boolean | 如果为真,则数据符合TYPCATEGORY所指定的转换规则时进行转换。 | -| typisdefined | Boolean | 如果定义了类型则为真,如果是一种尚未定义的类型的占位符则为假。如果为假,则除了该类型名称,名称空间和OID之外没有可靠的信息。 | +| typispreferred | boolean | 如果为真,则数据符合TYPCATEGORY所指定的转换规则时进行转换。 | +| typisdefined | boolean | 如果定义了类型则为真,如果是一种尚未定义的类型的占位符则为假。如果为假,则除了该类型名称,名称空间和OID之外没有可靠的信息。 | | typdelim | "char" | 当分析数组输入时,分隔两个此类型数值的字符请注意该分隔符是与数组元素数据类型相关联的,而不是和数组数据类型关联。 | | typrelid | oid | 如果是复合类型(请参见typtype),则这个字段指向pg_class中定义该表的行。对于自由存在的复合类型,pg_class记录并不表示一个表,但是总需要它来查找该类型连接的pg_attribute记录。对于非复合类型为零。 | | typelem | oid | 如果不为0,则它标识pg_type里面的另外一行。当前类型可以当做一个产生类型为typelem的数组来描述。一个"真正的"数组类型是变长的(typlen= -1),但是一些定长的(typlen > 0)类型也拥有非零的typelem(比如name和point)。如果一个定长类型拥有一个typelem ,则他的内部形式必须是typelem数据类型的某个数目的个数值,不能有其他数据。变长数组类型有一个该数组子过程定义的头(文件)。 | @@ -36,7 +36,7 @@ PG_TYPE系统表存储数据类型的相关信息。 | typanalyze | regproc | 自定义的ANALYZE函数,如果使用标准函数,则为0。 | | typalign | "char" | 当存储此类型的数值时要求的对齐性质。它应用于磁盘存储以及该值在PostgreSQL内部的大多数形式。如果数值是连续存放的,比如在磁盘上以完全的裸数据的形式存放时,则先在此类型的数据前填充空白,这样它就可以按照要求的界限存储。对齐引用是该序列中第一个数据的开头。可能的值包含:
- c = char对齐,也就是不需要对齐。
- s = short对齐(在大多数机器上是2字节)
- i = int对齐(在大多数机器上是4字节)
- d = double对齐(在大多数机器上是8字节,但不一定是全部)
须知:
对于在系统表里使用的类型,在pg_type里定义的尺寸和对齐必须和编译器在一个表示表的一行的结构里的布局一样。 | | typstorage | "char" | 指明一个变长类型(那些有typlen = -1)是否准备好应付非常规值,以及对这种属性的类型的缺省策略是什么。可能的值包含:
- p: 数值总是以简单方式存储。
- e: 数值可以存储在一个"次要"关系中(如果该关系有这么一个,请参见pg_class.reltoastrelid)。
- m: 数值可以以内联的压缩方式存储。
- x: 数值可以以内联的压缩方式或者在"次要"表里存储。
须知:
m域也可以移到从属表里存储,但只是最后的解决方法(e和x域先移走)。 | -| typenotnull | Boolean | 该类型是否存在NOTNULL约束。目前只用于域。 | +| typenotnull | boolean | 该类型是否存在NOTNULL约束。目前只用于域。 | | typbasetype | oid | 如果这是一个衍生类型(请参见typtype),则该标识作为这个类型的基础的类型。如果不是衍生类型则为零。 | | typtypmod | integer | 域使用typtypmod记录要作用到它们的基础类型上的typmod(如果基础类型不使用typmod则为-1)。如果这种类型不是域,则为-1。 | | typndims | integer | 如果一个域是数组,则typndims是数组维数的数值(也就是说,typbasetype是一个数组类型;域的typelem将匹配基本类型的typelem)。非域非数组域为零。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_MAPPING.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_MAPPING.md index 3cad12fc..aca5d62c 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_MAPPING.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_MAPPING.md @@ -15,7 +15,7 @@ PG_USER_MAPPING系统表存储从本地用户到远程的映射。 | 名称 | 类型 | 引用 | 描述 | | :-------- | :----- | :-------------------- | :-------------------------------------------------- | -| oid | oid | - | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | - | 行标识符(隐含属性,必须明确选择)。 | | umuser | oid | PG_AUTHID.oid | 被映射的本地用户的OID,如果用户映射是公共的则为0。 | | umserver | oid | PG_FOREIGN_SERVER.oid | 包含这个映射的外部服务器的OID。 | | umoptions | text[] | - | 用户映射指定选项,使用"keyword=value"格式的字符串。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_WORKLOAD_GROUP.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_WORKLOAD_GROUP.md index da35ed62..27c37c20 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_WORKLOAD_GROUP.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_WORKLOAD_GROUP.md @@ -13,7 +13,7 @@ PG_WORKLOAD_GROUP系统表提供了数据库负载组的信息。 | 名称 | 类型 | 描述 | | :-------------- | :------ | :----------------------------------- | -| oid | oid | 行标识符(隐藏属性,必须明确选择)。 | +| oid | oid | 行标识符(隐含属性,必须明确选择)。 | | workload_gpname | name | 负载组名称。 | | respool_oid | oid | 绑定到的资源池的id。 | | act_statements | integer | 负载组内最大的活跃语句数。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/DV_SESSIONS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/DV_SESSIONS.md new file mode 100644 index 00000000..0251a695 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/DV_SESSIONS.md @@ -0,0 +1,19 @@ +--- +title: DV_SESSIONS +summary: DV_SESSIONS +author: Guo Huan +date: 2022-05-12 +--- + +# DV_SESSIONS + +DV_SESSIONS视图存储当前会话的所有会话信息。默认只有系统管理员权限才可以访问此系统表,普通用户需要授权才可以访问。 + +**表 1** DV_SESSIONS字段 + +| 名称 | 类型 | 描述 | +| :------- | :------ | :----------------------------------------------------------- | +| sid | bigint | 当前活动的后台线程的OID。 | +| serial# | integer | 当前活动的后台线程的序号,在MogDB中为0。 | +| user# | oid | 登录此后台线程的用户的OID。oid 为0表示此后台线程为全局辅助线程(auxiliary)。 | +| username | name | 登录此后台线程的用户名。username为空表示此后台线程为全局辅助线程(auxiliary)。
可以通过和pg_stat_get_activity() 关联查询,识别出application_name。
例如:
`select s.*,a.application_name from DV_SESSIONS as s left join pg_stat_get_activity(NULL) as a on s.sid=a.sessionid;` | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/DV_SESSION_LONGOPS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/DV_SESSION_LONGOPS.md new file mode 100644 index 00000000..9ba35dda --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/DV_SESSION_LONGOPS.md @@ -0,0 +1,19 @@ +--- +title: DV_SESSION_LONGOPS +summary: DV_SESSION_LONGOPS +author: Guo Huan +date: 2022-05-12 +--- + +# DV_SESSION_LONGOPS + +DV_SESSION_LONGOPS视图存储当前正在执行的操作的进度。该视图需要授权访问。 + +**表 1** DV_SESSION_LONGOPS字段 + +| 名称 | 类型 | 描述 | +| :-------- | :------ | :------------------------------------------- | +| sid | bigint | 当前正在执行的后台进程的OID。 | +| serial# | integer | 当前正在执行的后台进程的序号,在MogDB中为0。 | +| sofar | integer | 目前完成的工作量,在MogDB中为空。 | +| totalwork | integer | 工作总量,在MogDB中为空。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_PRIVILEGE.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_PRIVILEGE.md index d6a29132..8ed4d9d4 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_PRIVILEGE.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_PRIVILEGE.md @@ -9,6 +9,8 @@ date: 2021-06-07 GS_AUDITING_PRIVILEGE视图显示对数据库DDL相关操作的所有审计信息。需要有系统管理员或安全策略管理员权限才可以访问此视图。 +**表 1** GS_AUDITING_PRIVILEGE字段 + | 名称 | 类型 | 描述 | | :---------- | :------ | :---------------------------------------------------------- | | polname | name | 策略名称,需要唯一,不可重复。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_DB_PRIVILEGES.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_DB_PRIVILEGES.md new file mode 100644 index 00000000..dd23ac35 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_DB_PRIVILEGES.md @@ -0,0 +1,18 @@ +--- +title: GS_DB_PRIVILEGES +summary: GS_DB_PRIVILEGES +author: Guo Huan +date: 2022-05-12 +--- + +# GS_DB_PRIVILEGES + +GS_DB_PRIVILEGES系统视图记录ANY权限的授予情况,每条记录对应一条授权信息。 + +**表 1** GS_DB_PRIVILEGES字段 + +| 名称 | 类型 | 描述 | +| :------------- | :------ | :----------------------------------------------------------- | +| rolename | name | 用户名。 | +| privilege_type | text | 用户拥有的ANY权限,取值参考[GRANT](108-GRANT)中的表1。 | +| admin_option | boolean | 是否具有privilege_type列记录的ANY权限的再授权权限。
- yes:表示具有。
- no:表示不具有。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_GSC_MEMORY_DETAIL.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_GSC_MEMORY_DETAIL.md new file mode 100644 index 00000000..f5146c17 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_GSC_MEMORY_DETAIL.md @@ -0,0 +1,19 @@ +--- +title: GS_GSC_MEMORY_DETAIL +summary: GS_GSC_MEMORY_DETAIL +author: Guo Huan +date: 2022-05-12 +--- + +# GS_GSC_MEMORY_DETAIL + +GS_GSC_MEMORY_DETAIL视图描述当前节点当前进程的全局SysCache的内存占用情况,仅在开启GSC的模式下有数据。需要注意的是,这个查询由于是以数据库内存上下文分隔的,因此会缺少一部分内存的统计,缺失的内存统计对应的内存上下文名称为GlobalSysDBCache。 + +**表 1** GS_GSC_MEMORY_DETAIL字段 + +| 名称 | 类型 | 描述 | +| :-------- | :------ | :--------------------------- | +| db_id | integer | 数据库id。 | +| totalsize | bigint | 共享内存总大小,单位Byte。 | +| freesize | bigint | 共享内存剩余大小,单位Byte。 | +| usedsize | bigint | 共享内存使用大小,单位Byte。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_LSC_MEMORY_DETAIL.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_LSC_MEMORY_DETAIL.md new file mode 100644 index 00000000..e7e1c772 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_LSC_MEMORY_DETAIL.md @@ -0,0 +1,24 @@ +--- +title: GS_LSC_MEMORY_DETAIL +summary: GS_LSC_MEMORY_DETAIL +author: Guo Huan +date: 2022-05-12 +--- + +# GS_LSC_MEMORY_DETAIL + +GS_LSC_MEMORY_DETAIL视图统计所有的线程的本地SysCache内存使用情况,以MemoryContext节点来统计,仅在开启GSC的模式下有数据。 + +**表 1** GS_LSC_MEMORY_DETAIL字段 + +| 名称 | 类型 | 描述 | +| :---------- | :------- | :----------------------------------------------------------- | +| threadid | text | 线程启动时间+线程标识(字符串信息为timestamp.sessionid)。 | +| tid | bigint | 线程标识。 | +| thrdtype | text | 线程类型。可以是系统内存在的任何线程类型,如postgresql、wlmmonitor等。 | +| contextname | text | 内存上下文名称。 | +| level | smallint | 当前上下文在整体内存上下文中的层级。 | +| parent | text | 父内存上下文名称。 | +| totalsize | bigint | 当前内存上下文的内存总数,单位Byte。 | +| freesize | bigint | 当前内存上下文中已释放的内存总数,单位Byte。 | +| usedsize | bigint | 当前内存上下文中已使用的内存总数,单位Byte。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_EC_OPERATOR_STATISTICS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_EC_OPERATOR_STATISTICS.md new file mode 100644 index 00000000..b49376bc --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_EC_OPERATOR_STATISTICS.md @@ -0,0 +1,25 @@ +--- +title: GS_WLM_EC_OPERATOR_STATISTICS +summary: GS_WLM_EC_OPERATOR_STATISTICS +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_EC_OPERATOR_STATISTICS + +GS_WLM_EC_OPERATOR_STATISTICS视图显示当前用户正在执行的EC(Extension Connector)作业的算子相关信息。查询该视图需要sysadmin权限。 + +**表 1** GS_WLM_EC_OPERATOR_STATISTICS的字段 + +| 名称 | 类型 | 描述 | +| :------------------ | :----------------------- | :----------------------------------------------------------- | +| queryid | bigint | EC语句执行使用的内部query_id。 | +| plan_node_id | integer | EC算子对应的执行计划的plan node id。 | +| start_time | timestamp with time zone | EC算子处理第一条数据的开始时间。 | +| ec_status | text | EC作业的执行状态。
- EC_STATUS_INIT:初始化。
- EC_STATUS_CONNECTED:已连接。
- EC_STATUS_EXECUTED:已执行。
- EC_STATUS_FETCHING:获取中。
- EC_STATUS_END:已结束。 | +| ec_execute_datanode | text | 执行EC作业的DN名称。 | +| ec_dsn | text | EC作业所使用的DSN。 | +| ec_username | text | EC作业访问远端数据库实例的USERNAME(远端集群为SPARK类型时该值为空)。 | +| ec_query | text | EC作业发送给远端数据库实例执行的语句。 | +| ec_libodbc_type | text | EC作业使用的unixODBC驱动类型。
- 类型1:对应 libodbc.so.1。
- 类型2:对应 libodbc.so.2。 | +| ec_fetch_count | bigint | EC作业当前处理的数据条数。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_HISTORY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_HISTORY.md new file mode 100644 index 00000000..81aab77a --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_HISTORY.md @@ -0,0 +1,12 @@ +--- +title: GS_WLM_OPERATOR_HISTORY +summary: GS_WLM_OPERATOR_HISTORY +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_OPERATOR_HISTORY + +GS_WLM_OPERATOR_HISTORY视图显示的是当前用户当前数据库主节点上执行作业结束后的算子的相关记录。查询该视图需要sysadmin权限。 + +记录的数据同[GS_WLM_OPERATOR_INFO](GS_WLM_OPERATOR_INFO)表1。 \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_STATISTICS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_STATISTICS.md new file mode 100644 index 00000000..906207d6 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_STATISTICS.md @@ -0,0 +1,38 @@ +--- +title: GS_WLM_OPERATOR_STATISTICS +summary: GS_WLM_OPERATOR_STATISTICS +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_OPERATOR_STATISTICS + +GS_WLM_OPERATOR_STATISTICS视图显示当前用户正在执行的作业的算子相关信息。查询该视图需要sysadmin权限。 + +**表 1** GS_WLM_OPERATOR_STATISTICS的字段 + +| 名称 | 类型 | 描述 | +| :------------------ | :----------------------- | :----------------------------------------------------------- | +| queryid | bigint | 语句执行使用的内部query_id。 | +| pid | bigint | 后端线程id。 | +| plan_node_id | integer | 查询对应的执行计划的plan node id。 | +| plan_node_name | text | 对应于plan_node_id的算子的名称。 | +| start_time | timestamp with time zone | 该算子处理第一条数据的开始时间。 | +| duration | bigint | 该算子到结束时候总的执行时间(ms)。 | +| status | text | 当前算子的执行状态,包括finished和running。 | +| query_dop | integer | 当前算子执行时的并行度。 | +| estimated_rows | bigint | 优化器估算的行数信息。 | +| tuple_processed | bigint | 当前算子返回的元素个数。 | +| min_peak_memory | integer | 当前算子在数据库实例上的最小内存峰值(MB)。 | +| max_peak_memory | integer | 当前算子在数据库实例上的最大内存峰值(MB)。 | +| average_peak_memory | integer | 当前算子在数据库实例上的平均内存峰值(MB)。 | +| memory_skew_percent | integer | 当前算子在数据库实例间的内存使用倾斜率。 | +| min_spill_size | integer | 若发生下盘,数据库实例上下盘的最小数据量(MB),默认为0。 | +| max_spill_size | integer | 若发生下盘,数据库实例上下盘的最大数据量(MB),默认为0。 | +| average_spill_size | integer | 若发生下盘,数据库实例上下盘的平均数据量(MB),默认为0。 | +| spill_skew_percent | integer | 若发生下盘,数据库实例间下盘倾斜率。 | +| min_cpu_time | bigint | 该算子在数据库实例上的最小执行时间(ms)。 | +| max_cpu_time | bigint | 该算子在数据库实例上的最大执行时间(ms)。 | +| total_cpu_time | bigint | 该算子在数据库实例上的总执行时间(ms)。 | +| cpu_skew_percent | integer | 数据库实例间执行时间的倾斜率。 | +| warning | text | 主要显示如下几类告警信息:
- Sort/SetOp/HashAgg/HashJoin spill
- Spill file size large than 256MB
- Broadcast size large than 100MB
- Early spill
- Spill times is greater than 3
- Spill on memory adaptive
- Hash table conflict | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_HISTORY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_HISTORY.md new file mode 100644 index 00000000..810de460 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_HISTORY.md @@ -0,0 +1,83 @@ +--- +title: GS_WLM_SESSION_HISTORY +summary: GS_WLM_SESSION_HISTORY +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_SESSION_HISTORY + +GS_WLM_SESSION_HISTORY视图显示当前用户在数据库实例上执行作业结束后的负载管理记录。查询该视图需要sysadmin或者monitor admin权限。 + +**表 1** GS_WLM_SESSION_HISTORY的字段 + +| 名称 | 类型 | 描述 | +| :------------------ | :----------------------- | :----------------------------------------------------------- | +| datid | oid | 连接后端的数据库OID。 | +| dbname | text | 连接后端的数据库名称。 | +| schemaname | text | 模式的名称。 | +| nodename | text | 语句执行的数据库实例名称。 | +| username | text | 连接到后端的用户名。 | +| application_name | text | 连接到后端的应用名。 | +| client_addr | inet | 连接到后端的客户端的IP地址。 如果此字段是null,它表明通过服务器机器上UNIX套接字连接客户端或者这是内部进程,如autovacuum。 | +| client_hostname | text | 客户端的主机名,这个字段是通过client_addr的反向DNS查找得到。这个字段只有在启动log_hostname且使用IP连接时才非空。 | +| client_port | integer | 客户端用于与后端通讯的TCP端口号,如果使用Unix套接字,则为-1。 | +| query_band | text | 用于标示作业类型,可通过GUC参数query_band进行设置,默认为空字符串。 | +| block_time | bigint | 语句执行前的阻塞时间,包含语句解析和优化时间,单位ms。 | +| start_time | timestamp with time zone | 语句执行的开始时间。 | +| finish_time | timestamp with time zone | 语句执行的结束时间。 | +| duration | bigint | 语句实际执行的时间,单位ms。 | +| estimate_total_time | bigint | 语句预估执行时间,单位ms。 | +| status | text | 语句执行结束状态:正常为finished,异常为aborted。 | +| abort_info | text | 语句执行结束状态为aborted时显示异常信息。 | +| resource_pool | text | 用户使用的资源池。 | +| control_group | text | 语句所使用的Cgroup。 | +| estimate_memory | integer | 语句估算内存大小。 | +| min_peak_memory | integer | 语句在数据库实例上的最小内存峰值,单位MB。 | +| max_peak_memory | integer | 语句在数据库实例上的最大内存峰值,单位MB。 | +| average_peak_memory | integer | 语句执行过程中的内存使用平均值,单位MB。 | +| memory_skew_percent | integer | 语句数据库实例间的内存使用倾斜率。 | +| spill_info | text | 语句在数据库实例上的下盘信息:
- None:数据库实例均未下盘。
- All:数据库实例均下盘。
- [a:b]:数量为b个数据库实例中有a个数据库实例下盘。 | +| min_spill_size | integer | 若发生下盘,数据库实例上下盘的最小数据量,单位MB,默认为0。 | +| max_spill_size | integer | 若发生下盘,数据库实例上下盘的最大数据量,单位MB,默认为0。 | +| average_spill_size | integer | 若发生下盘,数据库实例上下盘的平均数据量,单位MB,默认为0。 | +| spill_skew_percent | integer | 若发生下盘,数据库实例间下盘倾斜率。 | +| min_dn_time | bigint | 语句在数据库实例上的最小执行时间,单位ms。 | +| max_dn_time | bigint | 语句在数据库实例上的最大执行时间,单位ms。 | +| average_dn_time | bigint | 语句在数据库实例上的平均执行时间,单位ms。 | +| dntime_skew_percent | integer | 语句在数据库实例间的执行时间倾斜率。 | +| min_cpu_time | bigint | 语句在数据库实例上的最小CPU时间,单位ms。 | +| max_cpu_time | bigint | 语句在数据库实例上的最大CPU时间,单位ms。 | +| total_cpu_time | bigint | 语句在数据库实例上的CPU总时间,单位ms。 | +| cpu_skew_percent | integer | 语句在数据库实例间的CPU时间倾斜率。 | +| min_peak_iops | integer | 语句在数据库实例上的每秒最小IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| max_peak_iops | integer | 语句在数据库实例上的每秒最大IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| average_peak_iops | integer | 语句在数据库实例上的每秒平均IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| iops_skew_percent | integer | 语句在数据库实例间的IO倾斜率。 | +| warning | text | 主要显示如下几类告警信息:
- Spill file size large than 256MB
- Broadcast size large than 100MB
- Early spill
- Spill times is greater than 3
- Spill on memory adaptive
- Hash table conflict | +| queryid | bigint | 语句执行使用的内部query id。 | +| query | text | 执行的语句。 | +| query_plan | text | 语句的执行计划。 | +| node_group | text | 语句所属用户对应的逻辑数据库实例。 | +| cpu_top1_node_name | text | cpu使用率第1的节点名称。 | +| cpu_top2_node_name | text | cpu使用率第2的节点名称。 | +| cpu_top3_node_name | text | cpu使用率第3的节点名称。 | +| cpu_top4_node_name | text | cpu使用率第4的节点名称。 | +| cpu_top5_node_name | text | cpu使用率第5的节点名称。 | +| mem_top1_node_name | text | 内存使用量第1的节点名称。 | +| mem_top2_node_name | text | 内存使用量第2的节点名称。 | +| mem_top3_node_name | text | 内存使用量第3的节点名称。 | +| mem_top4_node_name | text | 内存使用量第4的节点名称。 | +| mem_top5_node_name | text | 内存使用量第5的节点名称。 | +| cpu_top1_value | bigint | cpu使用率。 | +| cpu_top2_value | bigint | cpu使用率。 | +| cpu_top3_value | bigint | cpu使用率。 | +| cpu_top4_value | bigint | cpu使用率。 | +| cpu_top5_value | bigint | cpu使用率。 | +| mem_top1_value | bigint | 内存使用量。 | +| mem_top2_value | bigint | 内存使用量。 | +| mem_top3_value | bigint | 内存使用量。 | +| mem_top4_value | bigint | 内存使用量。 | +| mem_top5_value | bigint | 内存使用量。 | +| top_mem_dn | text | 内存使用量topN信息。 | +| top_cpu_dn | text | cpu使用量topN信息。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO.md new file mode 100644 index 00000000..7a109c2d --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO.md @@ -0,0 +1,12 @@ +--- +title: GS_WLM_SESSION_INFO +summary: GS_WLM_SESSION_INFO +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_SESSION_INFO + +GS_WLM_SESSION_INFO视图显示数据库实例执行作业结束后的负载管理记录。查询该视图需要sysadmin权限。 + +具体的字段请参考[GS_WLM_SESSION_HISTORY](GS_WLM_SESSION_HISTORY)表1字段中的信息。 \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO_ALL.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO_ALL.md new file mode 100644 index 00000000..9cbffe82 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO_ALL.md @@ -0,0 +1,44 @@ +--- +title: GS_WLM_SESSION_INFO_ALL +summary: GS_WLM_SESSION_INFO_ALL +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_SESSION_INFO_ALL + +GS_WLM_SESSION_INFO_ALL视图显示在数据库实例上执行作业结束后的负载管理记录。查询该视图需要sysadmin或者monitor admin权限。 + +**表 1** GS_WLM_SESSION_INFO_ALL的字段 + +| 名称 | 类型 | 描述 | +| :------------------ | :------- | :--------------------------------------------- | +| userid | oid | 用户OID。 | +| username | name | 用户名。 | +| sysadmin | boolean | 是否是管理员用户。 | +| rpoid | oid | 关联的资源池的OID。 | +| respool | name | 关联的资源池的名称。 | +| parentid | oid | 用户组的OID。 | +| totalspace | bigint | 用户的可用空间上限。 | +| spacelimit | bigint | 用户表空间限制。 | +| childcount | interger | 子用户的个数。 | +| childlist | text | 子用户列表。 | +| n_returned_rows | bigint | SELECT返回的结果集行数。 | +| n_tuples_fetched | bigint | 随机扫描行。 | +| n_tuples_returned | bigint | 顺序扫描行。 | +| n_tuples_inserted | bigint | 插入行。 | +| n_tuples_updated | bigint | 更新行。 | +| n_tuples_deleted | bigint | 删除行。 | +| n_blocks_fetched | bigint | buffer的块访问次数。 | +| n_blocks_hit | bigint | buffer的块命中次数。 | +| db_time | bigint | 有效的DB时间花费,多线程将累加(单位:微秒)。 | +| cpu_time | bigint | CPU时间(单位:微秒)。 | +| execution_time | bigint | 执行器内执行时间(单位:微秒)。 | +| parse_time | bigint | SQL解析时间(单位:微秒)。 | +| plan_time | bigint | SQL生成计划时间(单位:微秒)。 | +| rewrite_time | bigint | SQL重写时间(单位:微秒)。 | +| pl_execution_time | bigint | plpgsql上的执行时间(单位:微秒)。 | +| pl_compilation_time | bigint | plpgsql上的编译时间(单位:微秒)。 | +| net_send_time | bigint | 网络上的时间花费(单位:微秒)。 | +| data_io_time | bigint | IO上的时间花费(单位:微秒)。 | +| is_slow_query | bigint | 是否是慢SQL记录。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_STATISTICS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_STATISTICS.md new file mode 100644 index 00000000..2c946ffb --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_STATISTICS.md @@ -0,0 +1,64 @@ +--- +title: GS_WLM_SESSION_STATISTICS +summary: GS_WLM_SESSION_STATISTICS +author: Guo Huan +date: 2022-05-13 +--- + +# GS_WLM_SESSION_STATISTICS + +GS_WLM_SESSION_STATISTICS视图显示当前用户在数据库实例上正在执行的作业的负载管理记录。查询该视图需要sysadmin权限。 + +**表 1** GS_WLM_SESSION_STATISTICS的字段 + +| 名称 | 类型 | 描述 | +| :------------------ | :----------------------- | :----------------------------------------------------------- | +| datid | oid | 连接后端的数据OID。 | +| dbname | name | 连接后端的数据库名称。 | +| schemaname | text | 模式的名称。 | +| nodename | text | 语句执行的数据库实例名称。 | +| username | name | 连接到后端的用户名。 | +| application_name | text | 连接到后端的应用名。 | +| client_addr | inet | 连接到后端的客户端的IP地址。如果此字段是null,它表明通过服务器机器上UNIX套接字连接客户端或者这是内部进程,如autovacuum。 | +| client_hostname | text | 客户端的主机名,这个字段是通过client_addr的反向DNS查找得到。这个字段只有在启动log_hostname且使用IP连接时才非空。 | +| client_port | integer | 客户端用于与后端通讯的TCP端口号,如果使用Unix套接字,则为-1。 | +| query_band | text | 用于标示作业类型,可通过GUC参数query_band进行设置,默认为空字符串。 | +| pid | bigint | 后端线程ID。 | +| sessionid | bigint | 会话ID。 | +| block_time | bigint | 语句执行前的阻塞时间,单位ms。 | +| start_time | timestamp with time zone | 语句执行的开始时间。 | +| duration | bigint | 语句已经执行的时间,单位ms。 | +| estimate_total_time | bigint | 语句执行预估总时间,单位ms。 | +| estimate_left_time | bigint | 语句执行预估剩余时间,单位ms。 | +| enqueue | text | 工作负载管理资源状态。 | +| resource_pool | name | 用户使用的资源池。 | +| control_group | text | 语句所使用的Cgroup。 | +| estimate_memory | integer | 语句预估使用内存,单位MB。 | +| min_peak_memory | integer | 语句在数据库实例上的最小内存峰值,单位MB。 | +| max_peak_memory | integer | 语句在数据库实例上的最大内存峰值,单位MB。 | +| average_peak_memory | integer | 语句执行过程中的内存使用平均值,单位MB。 | +| memory_skew_percent | integer | 语句在数据库实例间的内存使用倾斜率。 | +| spill_info | text | 语句在数据库实例上的下盘信息:
- None:数据库实例均未下盘。
- All:数据库实例均下盘。
- [a:b]:数量为b个数据库实例中有a个数据库实例下盘。 | +| min_spill_size | integer | 若发生下盘,数据库实例上下盘的最小数据量,单位MB,默认为0。 | +| max_spill_size | integer | 若发生下盘,数据库实例上下盘的最大数据量,单位MB,默认为0。 | +| average_spill_size | integer | 若发生下盘,数据库实例上下盘的平均数据量,单位MB,默认为0。 | +| spill_skew_percent | integer | 若发生下盘,数据库实例间下盘倾斜率。 | +| min_dn_time | bigint | 语句在数据库实例上的最小执行时间,单位ms。 | +| max_dn_time | bigint | 语句在数据库实例上的最大执行时间,单位ms。 | +| average_dn_time | bigint | 语句在数据库实例上的平均执行时间,单位ms。 | +| dntime_skew_percent | integer | 语句在数据库实例间的执行时间倾斜率。 | +| min_cpu_time | bigint | 语句在数据库实例上的最小CPU时间,单位ms。 | +| max_cpu_time | bigint | 语句在数据库实例上的最大CPU时间,单位ms。 | +| total_cpu_time | bigint | 语句在数据库实例上的CPU总时间,单位ms。 | +| cpu_skew_percent | integer | 语句在数据库实例间的CPU时间倾斜率。 | +| min_peak_iops | integer | 语句在数据库实例上的每秒最小IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| max_peak_iops | integer | 语句在数据库实例上的每秒最大IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| average_peak_iops | integer | 语句在数据库实例上的每秒平均IO峰值(列存单位是次/s,行存单位是万次/s)。 | +| iops_skew_percent | integer | 语句在数据库实例间的IO倾斜率。 | +| warning | text | 主要显示如下几类告警信息:
- Spill file size large than 256MB
- Broadcast size large than 100MB
- Early spill
- Spill times is greater than 3
- Spill on memory adaptive
- Hash table conflict | +| queryid | bigint | 语句执行使用的内部query id。 | +| query | text | 正在执行的语句。 | +| query_plan | text | 语句的执行计划。 | +| node_group | text | 语句所属用户对应的逻辑数据库实例。 | +| top_cpu_dn | text | cpu使用量topN信息。 | +| top_mem_dn | text | 内存使用量topN信息。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WRITE_TERM_LOG.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WRITE_TERM_LOG.md new file mode 100644 index 00000000..91a8bff1 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/GS_WRITE_TERM_LOG.md @@ -0,0 +1,10 @@ +--- +title: GS_WRITE_TERM_LOG +summary: GS_WRITE_TERM_LOG +author: Guo Huan +date: 2022-05-12 +--- + +# GS_WRITE_TERM_LOG + +写入一条日志记录DN当前的term值。备DN返回false,主DN写入成功后返回true。 \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PGXC_PREPARED_XACTS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PGXC_PREPARED_XACTS.md new file mode 100644 index 00000000..38c07333 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PGXC_PREPARED_XACTS.md @@ -0,0 +1,16 @@ +--- +title: PGXC_PREPARED_XACTS +summary: PGXC_PREPARED_XACTS +author: Guo Huan +date: 2022-05-13 +--- + +# PGXC_PREPARED_XACTS + +PGXC_PREPARED_XACTS视图显示当前处于prepared阶段的两阶段事务。只有system admin和monitor admin用户有权限查看。 + +**表 1** PGXC_PREPARED_XACTS字段 + +| 名称 | 类型 | 描述 | +| :----------------- | :--- | :------------------------------------- | +| pgxc_prepared_xact | text | 查看当前处于prepared阶段的两阶段事务。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_STATUS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_STATUS.md index d4961a5d..275c0508 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_STATUS.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_STATUS.md @@ -11,18 +11,18 @@ PG_COMM_STATUS视图展示节点的通信库状态。 **表 1** PG_COMM_STATUS字段 -| 名称 | 类型 | 描述 | -| :------------ | :------ | :------------------------------------------ | -| node_name | text | 节点名称。 | -| rxpck_rate | integer | 节点通信库接收速率,单位Byte/s。 | -| txpck_rate | integer | 节点通信库发送速率,单位Byte/s。 | -| rxkB_rate | bigint | bigint节点通信库接收速率,单位KByte/s。 | -| txkB_rate | bigint | bigint节点通信库发送速率,单位KByte/s。 | -| buffer | bigint | cmailbox的buffer大小。 | -| memKB_libcomm | bigint | libcomm进程通信内存大小,单位Byte。 | -| memKB_libpq | bigint | libpq进程通信内存大小,单位Byte。 | -| used_PM | integer | postmaster线程实时使用率。 | -| used_sflow | integer | gs_sender_flow_controller线程实时使用率。 | -| used_rflow | integer | gs_receiver_flow_controller线程实时使用率。 | -| used_rloop | integer | 多个gs_receivers_loop线程中高的实时使用率。 | -| stream | integer | 当前使用的逻辑连接总数。 | +| 名称 | 类型 | 描述 | +| :--------------- | :------ | :------------------------------------------ | +| node_name | text | 节点名称。 | +| rxpck_rate | integer | 节点通信库接收速率,单位Byte/s。 | +| txpck_rate | integer | 节点通信库发送速率,单位Byte/s。 | +| rxkbyte_rate | bigint | bigint节点通信库接收速率,单位KByte/s。 | +| txkbyte_rate | bigint | bigint节点通信库发送速率,单位KByte/s。 | +| buffer | bigint | cmailbox的buffer大小。 | +| memkbyte_libcomm | bigint | libcomm进程通信内存大小,单位Byte。 | +| memkbyte_libpq | bigint | libpq进程通信内存大小,单位Byte。 | +| used_pm | integer | postmaster线程实时使用率。 | +| used_sflow | integer | gs_sender_flow_controller线程实时使用率。 | +| used_rflow | integer | gs_receiver_flow_controller线程实时使用率。 | +| used_rloop | integer | 多个gs_receivers_loop线程中高的实时使用率。 | +| stream | integer | 当前使用的逻辑连接总数。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_PUBLICATION_TABLES.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_PUBLICATION_TABLES.md new file mode 100644 index 00000000..21d96956 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_PUBLICATION_TABLES.md @@ -0,0 +1,18 @@ +--- +title: PG_PUBLICATION_TABLES +summary: PG_PUBLICATION_TABLES +author: Guo Huan +date: 2022-05-12 +--- + +# PG_PUBLICATION_TABLES + +视图PG_PUBLICATION_TABLES提供publication与其所发布的表之间的映射信息。和底层的系统表pg_publication_rel不同,这个视图展开了定义为FOR ALL TABLES的publication,这样对这类publication来说,每一个合格的表都有一行。 + +**表 1** PG_PUBLICATION_TABLES字段 + +| 名称 | 类型 | 描述 | +| :--------- | :--- | :----------------- | +| pubname | name | 发布的名称。 | +| schemaname | name | 包含表的模式名称。 | +| tablename | name | 表的名称。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_ORIGIN_STATUS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_ORIGIN_STATUS.md new file mode 100644 index 00000000..8fccbf15 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_ORIGIN_STATUS.md @@ -0,0 +1,19 @@ +--- +title: PG_REPLICATION_ORIGIN_STATUS +summary: PG_REPLICATION_ORIGIN_STATUS +author: Guo Huan +date: 2022-05-12 +--- + +# PG_REPLICATION_ORIGIN_STATUS + +获取复制源的复制状态。 + +**表 1** PG_REPLICATION_ORIGIN_STATUS字段 + +| 名称 | 类型 | 描述 | +| :---------- | :--- | :---------------- | +| local_id | oid | 复制源ID。 | +| external_id | text | 复制源名称。 | +| remote_lsn | LSN | 复制源的lsn位置。 | +| local_lsn | LSN | 本地的lsn位置。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_ROLES.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_ROLES.md index d7f30efd..7d36a1dc 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_ROLES.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_ROLES.md @@ -30,8 +30,8 @@ PG_ROLES视图提供访问数据库角色的相关信息,初始化用户和具 | rolrespool | name | - | 用户所能够使用的resource pool。 | | rolparentid | oid | PG_AUTHID.rolparentid | 用户所在组用户的OID。 | | roltabspace | text | - | 用户永久表存储空间限额。 | -| roltempspace | text | - | 用户临时表存储空间限额。 | -| rolspillspace | text | - | 用户算子落盘空间限额。 | +| roltempspace | text | - | 用户临时表存储空间限额,单位为KB。 | +| rolspillspace | text | - | 用户算子落盘空间限额,单位为KB。 | | rolconfig | text[] | - | 运行时配置变量的会话缺省。 | | oid | oid | PG_AUTHID.oid | 角色的ID。 | | roluseft | Boolean | PG_AUTHID.roluseft | 角色是否可以操作外表。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_RUNNING_XACTS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_RUNNING_XACTS.md new file mode 100644 index 00000000..e80dd48e --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_RUNNING_XACTS.md @@ -0,0 +1,25 @@ +--- +title: PG_RUNNING_XACTS +summary: PG_RUNNING_XACTS +author: Guo Huan +date: 2022-05-13 +--- + +# PG_RUNNING_XACTS + +PG_RUNNING_XACTS视图主要功能是显示当前节点运行事务的信息。 + +**表 1** PG_RUNNING_XACTS字段 + +| 名称 | 类型 | 描述 | +| :---------- | :------ | :----------------------------------------------------------- | +| handle | integer | 事务对应的事务管理器中的槽位句柄,该值恒为-1。 | +| gxid | xid | 事务id号。 | +| state | tinyint | 事务状态(3:prepared或者0:starting)。 | +| node | text | 节点名称。 | +| xmin | xid | 节点上当前数据涉及的最小事务号xmin。 | +| vacuum | Boolean | 标志当前事务是否是lazy vacuum事务。
- t(true):表示是。
- f(false):表示否。 | +| timeline | bigint | 标志数据库重启次数。 | +| prepare_xid | xid | 处于prepared状态的事务的id号,若不在prepared状态,值为0。 | +| pid | bigint | 事务对应的线程id。 | +| next_xid | xid | 其余节点发送给当前节点的事务id,该值恒为0。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_IOSTAT.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_IOSTAT.md new file mode 100644 index 00000000..8447fcd5 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_IOSTAT.md @@ -0,0 +1,27 @@ +--- +title: PG_SESSION_IOSTAT +summary: PG_SESSION_IOSTAT +author: Guo Huan +date: 2022-05-13 +--- + +# PG_SESSION_IOSTAT + +PG_SESSION_IOSTAT视图显示当前用户执行作业正在运行时的IO负载管理相关信息。查询该视图需要sysadmin权限或者monitor admin权限。 + +以下涉及到iops,对于行存,均以万次/s为单位,对于列存,均以次/s为单位。 + +**表 1** PG_SESSION_IOSTAT字段 + +| 名称 | 类型 | 描述 | +| :------------- | :------ | :----------------------------------------------- | +| query_id | bigint | 作业id。 | +| mincurriops | integer | 该作业当前io在数据库实例中的最小值。 | +| maxcurriops | integer | 该作业当前io在数据库实例中的最大值。 | +| minpeakiops | integer | 在作业运行时,作业io峰值中,数据库实例的最小值。 | +| maxpeakiops | integer | 在作业运行时,作业io峰值中,数据库实例的最大值。 | +| io_limits | integer | 该作业所设GUC参数io_limits。 | +| io_priority | text | 该作业所设GUC参数io_priority。 | +| query | text | 作业。 | +| node_group | text | 该字段不支持。 | +| curr_io_limits | integer | 使用io_priority管控io时的实时io_limits值。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_WLMSTAT.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_WLMSTAT.md new file mode 100644 index 00000000..5d4018f4 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_WLMSTAT.md @@ -0,0 +1,39 @@ +--- +title: PG_SESSION_WLMSTAT +summary: PG_SESSION_WLMSTAT +author: Guo Huan +date: 2022-05-13 +--- + +# PG_SESSION_WLMSTAT + +PG_SESSION_WLMSTAT视图显示当前用户执行作业正在运行时的负载管理相关信息。查询该视图需要sysadmin权限。 + +**表 1** PG_SESSION_WLMSTAT字段 + +| 名称 | 类型 | 描述 | +| :--------------- | :------ | :----------------------------------------------------------- | +| datid | oid | 连接后端的数据库OID。 | +| datname | name | 连接后端的数据库名称。 | +| threadid | bigint | 后端线程ID。 | +| sessionid | bigint | 会话ID。 | +| processid | integer | 后端线程的pid。 | +| usesysid | oid | 登录后端的用户OID。 | +| appname | text | 连接到后端的应用名。 | +| usename | name | 登录到该后端的用户名。 | +| priority | bigint | 语句所在Cgroups的优先级。 | +| attribute | text | 语句的属性:
- Ordinary:语句发送到数据库后被解析前的默认属性。
- Simple:简单语句。
- Complicated:复杂语句。
- Internal:数据库内部语句。
- Unknown:未知。 | +| block_time | bigint | 语句当前为止的pending的时间,单位s。 | +| elapsed_time | bigint | 语句当前为止的实际执行时间,单位s。 | +| total_cpu_time | bigint | 语句在上一时间周期内的数据库实例上CPU使用的总时间,单位s。 | +| cpu_skew_percent | integer | 语句在上一时间周期内的数据库实例上CPU使用的倾斜率。 | +| statement_mem | integer | 语句执行使用的statement_mem,预留字段。 | +| active_points | integer | 语句占用的资源池并发点数。 | +| dop_value | integer | 语句的从资源池中获取的dop值。 | +| control_group | text | 该字段不支持。 | +| status | text | 语句当前的状态,包括:
- pending:执行前状态。
- running:执行进行状态。
- finished:执行正常结束。(当enqueue字段为StoredProc或Transaction时,仅代表语句中的部分作业已经执行完毕,该状态会持续到该语句完全执行完毕。)
- aborted:执行异常终止。
- active:非以上四种状态外的正常状态。
- unknown:未知状态。 | +| enqueue | text | 该字段不支持。 | +| resource_pool | name | 语句当前所在的资源池。 | +| query | text | 该后端的最新查询。如果state状态是active(活的),此字段显示当前正在执行的查询。所有其他情况表示上一个查询。 | +| is_plana | boolean | 该字段不支持。 | +| node_group | text | 该字段不支持。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY.md index 503ee5f8..3ab1dbbb 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY.md @@ -27,10 +27,12 @@ PG_STAT_ACTIVITY视图显示和当前用户查询相关的信息,字段保存 | xact_start | timestamp with time zone | 启动当前事务的时间,如果没有事务是活跃的,则为null。如果当前查询是首个事务,则这列等同于query_start列。 | | query_start | timestamp with time zone | 开始当前活跃查询的时间, 如果state的值不是active,则这个值是上一个查询的开始时间。 | | state_change | timestamp with time zone | 上次状态改变的时间。 | -| waiting | Boolean | 如果后台当前正等待锁则为true。 | +| waiting | boolean | 如果后台当前正等待锁则为true。 | | enqueue | text | 该字段不支持。 | | state | text | 该后台当前总体状态。可能值是:
- active: 后台正在执行一个查询。
- idle: 后台正在等待一个新的客户端命令。
- idle in transaction: 后台在事务中,但事务中没有语句在执行。
- idle in transaction (aborted): 后台在事务中,但事务中有语句执行失败。
- fastpath function call: 后台正在执行一个fast-path函数。
- disabled: 如果后台禁用track_activities,则报告这个状态。
说明:
普通用户只能查看到自己帐户所对应的会话状态。即其他帐户的state信息为空。例如以judy用户连接数据库后,在pg_stat_activity中查看到的普通用户joe及初始用户omm的state信息为空:
`SELECT datname, usename, usesysid, state,pid FROM pg_stat_activity;`

datname \| usename \| usesysid \| state \| pid
----------+---------+----------+-------+----------------
postgres \| omm \| 10 \| \| 139968752121616
postgres \| omm \| 10 \| \| 139968903116560
db_tpcc \| judy \| 16398 \| active \| 139968391403280
postgres \| omm \| 10 \| \| 139968643069712
postgres \| omm \| 10 \| \| 139968680818448
postgres \| joe \| 16390 \| \| 139968563377936
(6 rows) | | resource_pool | name | 用户使用的资源池。 | | query_id | bigint | 查询语句的ID。 | | query | text | 该后台的最新查询。如果state状态是active(活跃的),此字段显示当前正在执行的查询。所有其他情况表示上一个查询。 | | connection_info | text | json格式字符串,记录当前连接数据库的驱动类型、驱动版本号、当前驱动的部署路径、进程属主用户等信息。 | +| unique_sql_id | bigint | 语句的unique sql id。 | +| trace_id | text | 驱动传入的trace id,与应用的一次请求相关联。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY_NG.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY_NG.md new file mode 100644 index 00000000..b5479a66 --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY_NG.md @@ -0,0 +1,36 @@ +--- +title: PG_STAT_ACTIVITY_NG +summary: PG_STAT_ACTIVITY_NG +author: Guo Huan +date: 2022-05-12 +--- + +# PG_STAT_ACTIVITY_NG + +PG_STAT_ACTIVITY_NG视图显示在当前用户所属的逻辑数据库实例下,所有查询的相关信息。 + +**表 1** PG_STAT_ACTIVITY_NG字段 + +| 名称 | 类型 | 描述 | +| :--------------- | :----------------------- | :----------------------------------------------------------- | +| datid | oid | 用户会话在后台连接到的数据库OID。 | +| datname | name | 用户会话在后台连接到的数据库名称。 | +| pid | bigint | 后台线程ID。 | +| sessionid | bigint | 会话ID。 | +| usesysid | oid | 登录该后台的用户OID。 | +| usename | name | 登录该后台的用户名。 | +| application_name | text | 连接到该后台的应用名。 | +| client_addr | inet | 连接到该后台的客户端的IP地址。如果此字段是null,它表明通过服务器机器上UNIX套接字连接客户端或者这是内部进程,如autovacuum。 | +| client_hostname | text | 客户端的主机名,这个字段是通过client_addr的反向DNS查找得到。这个字段只有在启动log_hostname且使用IP连接时才非空。 | +| client_port | integer | 客户端用于与后台通讯的TCP端口号,如果使用Unix套接字,则为-1。 | +| backend_start | timestamp with time zone | 该过程开始的时间,即当客户端连接服务器时。 | +| xact_start | timestamp with time zone | 启动当前事务的时间,如果没有事务是活跃的,则为null。如果当前查询是首个事务,则这列等同于query_start列。 | +| query_start | timestamp with time zone | 开始当前活跃查询的时间,如果state的值不是active,则这个值是上一个查询的开始时间。 | +| state_change | timestamp with time zone | 上次状态改变的时间。 | +| waiting | boolean | 如果后台当前正等待锁则为true。否则为false。 | +| enqueue | text | 语句当前排队状态。可能值是:
- waiting in queue:表示语句在排队中。
- 空:表示语句正在运行。 | +| state | text | 该后台当前总体状态。可能值是:
- active:后台正在执行一个查询。
- idle:后台正在等待一个新的客户端命令。
- idle in transaction:后台在事务中,但事务中没有语句在执行。
- idle in transaction (aborted):后台在事务中,但事务中有语句执行失败。
- fastpath function call:后台正在执行一个fast-path函数。
- disabled:如果后台禁用track_activities,则报告这个状态。
说明:
普通用户只能查看到自己帐户所对应的会话状态。即其他帐户的state信息为空。例如以judy用户连接数据库后,在pg_stat_activity中查看到的普通用户joe及初始用户omm的state信息为空:
- `SELECT datname, usename, usesysid, state,pid FROM pg_stat_activity_ng;`
datname \| usename \| usesysid \| state \| pid
———-+———+———-+——–+—————–
postgres \| omm \| 10 \| \| 139968752121616
postgres \| omm \| 10 \| \| 139968903116560
db_tpcds \| judy \| 16398 \| active \| 139968391403280
postgres \| omm \| 10 \| \| 139968643069712
postgres \| omm \| 10 \| \| 139968680818448
postgres \| joe \| 16390 \| \| 139968563377936
(6 rows) | +| resource_pool | name | 用户使用的资源池。 | +| query_id | bigint | 查询语句的ID。 | +| query | text | 该后台的最新查询。如果state状态是active(活跃的),此字段显示当前正在执行的查询。所有其他情况表示上一个查询。 | +| node_group | text | 语句所属用户对应的逻辑数据库实例。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SUBSCRIPTION.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SUBSCRIPTION.md new file mode 100644 index 00000000..65402a3d --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SUBSCRIPTION.md @@ -0,0 +1,23 @@ +--- +title: PG_STAT_SUBSCRIPTION +summary: PG_STAT_SUBSCRIPTION +author: Guo Huan +date: 2022-05-12 +--- + +# PG_STAT_SUBSCRIPTION + +获取订阅的详细同步信息。 + +**表 1** PG_STAT_SUBSCRIPTION字段 + +| 名称 | 类型 | 描述 | +| :-------------------- | :-------- | :---------------------------------- | +| subid | oid | 订阅的OID。 | +| subname | name | 订阅的名称。 | +| pid | thread_id | 后台apply线程的thread id。 | +| received_lsn | LSN | 从发布端接收到的最近的lsn。 | +| last_msg_send_time | timestamp | 最近发布端发送消息的时间。 | +| last_msg_receipt_time | timestamp | 最新订阅端收到消息的时间。 | +| latest_end_lsn | LSN | 最近一次收到保活消息时发布端的lsn。 | +| latest_end_time | timestamp | 最近一次收到保活消息的时间。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_THREAD_WAIT_STATUS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_THREAD_WAIT_STATUS.md index b6a3696a..c80500f9 100644 --- a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_THREAD_WAIT_STATUS.md +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_THREAD_WAIT_STATUS.md @@ -64,11 +64,11 @@ wait_status列的等待状态有以下状态。 | vacuum: [relname], [phase] | 当前正在对表relname执行vacuum。如果状态包含phase信息,则为autovacuum,表示是数据库自动开启AutoVacuum线程执行的vacuum清理操作。 | | vacuum full: [relname] | 当前正在对表relname执行vacuum full清理。 | | create index | 当前正在创建索引。 | -| HashJoin - [ build hash | write file ] | 当前是HashJoin算子,主要关注耗时的执行阶段。
- build hash: 表示当前HashJoin算子正在建立哈希表。
- write file: 表示当前HashJoin算子正在将数据写入磁盘。 | -| HashAgg - [ build hash | write file ] | 当前是HashAgg算子,主要关注耗时的执行阶段。
- build hash: 表示当前HashAgg算子正在建立哈希表。
- write file: 表示当前HashAgg算子正在将数据写入磁盘。 | -| HashSetop - [build hash | write file ] | 当前是HashSetop算子,主要关注耗时的执行阶段。
- build hash: 表示当前HashSetop算子正在建立哈希表。
- write file: 表示当前HashSetop算子正在将数据写入磁盘。 | -| Sort | Sort - write file | 当前是Sort算子做排序,write file表示Sort算子正在将数据写入磁盘。 | -| Material | Material - write file | 当前是Material算子,write file表示Material算子正在将数据写入磁盘。 | +| HashJoin - [ build hash \|write file ] | 当前是HashJoin算子,主要关注耗时的执行阶段。
- build hash:表示当前HashJoin算子正在建立哈希表。
- write file:表示当前HashJoin算子正在将数据写入磁盘。 | +| HashAgg - [ build hash \|write file ] | 当前是HashAgg算子,主要关注耗时的执行阶段。
- build hash:表示当前HashAgg算子正在建立哈希表。
- write file:表示当前HashAgg算子正在将数据写入磁盘。 | +| HashSetop - [ build hash \|write file ] | 当前是HashSetop算子,主要关注耗时的执行阶段。
- build hash:表示当前HashSetop算子正在建立哈希表。
- write file:表示当前HashSetop算子正在将数据写入磁盘。 | +| Sort \| Sort - [fetch tuple \| write file] | 当前是Sort算子做排序,fetch tuple表示Sort算子正在获取tuple,write file表示Sort算子正在将数据写入磁盘。 | +| Material \| Material - write file | 当前是Material算子,write file表示Material算子正在将数据写入磁盘。 | | NestLoop | 当前是NestLoop算子。 | | wait memory | 等待内存获取。 | | wait sync consumer next step | Stream算子等待消费者执行。 | diff --git a/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_WLM_STATISTICS.md b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_WLM_STATISTICS.md new file mode 100644 index 00000000..8feed15d --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/reference-guide/system-catalogs-and-system-views/system-views/PG_WLM_STATISTICS.md @@ -0,0 +1,24 @@ +--- +title: PG_WLM_STATISTICS +summary: PG_WLM_STATISTICS +author: Guo Huan +date: 2022-05-13 +--- + +# PG_WLM_STATISTICS + +PG_WLM_STATISTICS视图显示作业结束后或已被处理异常后的负载管理相关信息。查询该视图需要sysadmin权限。 + +**表 1** PG_WLM_STATISTICS字段 + +| 名称 | 类型 | 描述 | +| :----------------- | :------ | :----------------------------------------------------------- | +| statement | text | 执行了异常处理的语句。 | +| block_time | bigint | 语句执行前的阻塞时间。 | +| elapsed_time | bigint | 语句的实际执行时间。 | +| total_cpu_time | bigint | 语句执行异常处理时数据库实例上CPU使用的总时间。 | +| qualification_time | bigint | 语句检查倾斜率的时间周期。 | +| cpu_skew_percent | integer | 语句在执行异常处理时数据库实例上CPU使用的倾斜率。 | +| control_group | text | 语句执行异常处理时所使用的Cgroups。 | +| status | text | 语句执行异常处理后的状态,包括:
- pending:执行前预备状态。
- running:执行进行状态。
- finished:执行正常结束。
- abort:执行异常终止。 | +| action | text | 语句执行的异常处理动作,包括:
- abort:执行终止操作。
- adjust:执行Cgroups调整操作,目前只有降级操作。
- finish:正常结束。 | diff --git a/product/zh/docs-mogdb/v3.0/toc.md b/product/zh/docs-mogdb/v3.0/toc.md index 47862a2e..5f56df17 100644 --- a/product/zh/docs-mogdb/v3.0/toc.md +++ b/product/zh/docs-mogdb/v3.0/toc.md @@ -505,195 +505,234 @@ + 系统表及系统视图 + [系统表和系统视图概述](/reference-guide/system-catalogs-and-system-views/overview-of-system-catalogs-and-system-views.md) + 系统表 - + [GS_AUDITING_POLICY](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY.md) - + [GS_AUDITING_POLICY_ACCESS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_ACCESS.md) - + [GS_AUDITING_POLICY_FILTERS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_FILTERS.md) - + [GS_AUDITING_POLICY_PRIVILEGES](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_PRIVILEGES.md) - + [GS_CLIENT_GLOBAL_KEYS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_CLIENT_GLOBAL_KEYS.md) - + [GS_CLIENT_GLOBAL_KEYS_ARGS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_CLIENT_GLOBAL_KEYS_ARGS.md) - + [GS_COLUMN_KEYS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_COLUMN_KEYS.md) - + [GS_COLUMN_KEYS_ARGS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_COLUMN_KEYS_ARGS.md) - + [GS_ENCRYPTED_COLUMNS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ENCRYPTED_COLUMNS.md) - + [GS_ENCRYPTED_PROC](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ENCRYPTED_PROC.md) - + [GS_GLOBAL_CHAIN](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CHAIN.md) - + [GS_MASKING_POLICY](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY.md) - + [GS_MASKING_POLICY_ACTIONS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_ACTIONS.md) - + [GS_MASKING_POLICY_FILTERS](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_FILTERS.md) - + [GS_MATVIEW](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW.md) - + [GS_MATVIEW_DEPENDENCY](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW_DEPENDENCY.md) - + [GS_OPT_MODEL](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_OPT_MODEL.md) - + [GS_POLICY_LABEL](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_POLICY_LABEL.md) - + [GS_RECYCLEBIN](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_RECYCLEBIN.md) - + [GS_TXN_SNAPSHOT](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_TXN_SNAPSHOT.md) - + [GS_WLM_INSTANCE_HISTORY](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_INSTANCE_HISTORY.md) - + [GS_WLM_OPERATOR_INFO](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_OPERATOR_INFO.md) - + [GS_WLM_PLAN_ENCODING_TABLE](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_PLAN_ENCODING_TABLE.md) - + [GS_WLM_PLAN_OPERATOR_INFO](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_PLAN_OPERATOR_INFO.md) - + [GS_WLM_EC_OPERATOR_INFO](/reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_EC_OPERATOR_INFO.md) - + [PG_AGGREGATE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AGGREGATE.md) - + [PG_AM](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AM.md) - + [PG_AMOP](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMOP.md) - + [PG_AMPROC](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMPROC.md) - + [PG_APP_WORKLOADGROUP_MAPPING](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_APP_WORKLOADGROUP_MAPPING.md) - + [PG_ATTRDEF](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRDEF.md) - + [PG_ATTRIBUTE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRIBUTE.md) - + [PG_AUTHID](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTHID.md) - + [PG_AUTH_HISTORY](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_HISTORY.md) - + [PG_AUTH_MEMBERS](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_MEMBERS.md) - + [PG_CAST](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CAST.md) - + [PG_CLASS](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CLASS.md) - + [PG_COLLATION](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_COLLATION.md) - + [PG_CONSTRAINT](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONSTRAINT.md) - + [PG_CONVERSION](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONVERSION.md) - + [PG_DATABASE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DATABASE.md) - + [PG_DB_ROLE_SETTING](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DB_ROLE_SETTING.md) - + [PG_DEFAULT_ACL](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DEFAULT_ACL.md) - + [PG_DEPEND](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DEPEND.md) - + [PG_DESCRIPTION](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DESCRIPTION.md) - + [PG_DIRECTORY](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DIRECTORY.md) - + [PG_ENUM](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ENUM.md) - + [PG_EXTENSION](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_EXTENSION.md) - + [PG_EXTENSION_DATA_SOURCE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_EXTENSION_DATA_SOURCE.md) - + [PG_FOREIGN_DATA_WRAPPER](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_DATA_WRAPPER.md) - + [PG_FOREIGN_SERVER](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_SERVER.md) - + [PG_FOREIGN_TABLE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_TABLE.md) - + [PG_INDEX](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_INDEX.md) - + [PG_INHERITS](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_INHERITS.md) - + [PG_JOB](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB.md) - + [PG_JOB_PROC](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB_PROC.md) - + [PG_LANGUAGE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LANGUAGE.md) - + [PG_LARGEOBJECT](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LARGEOBJECT.md) - + [PG_LARGEOBJECT_METADATA](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LARGEOBJECT_METADATA.md) - + [PG_NAMESPACE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_NAMESPACE.md) - + [PG_OBJECT](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OBJECT.md) - + [PG_OPCLASS](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPCLASS.md) - + [PG_OPERATOR](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPERATOR.md) - + [PG_OPFAMILY](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPFAMILY.md) - + [PG_PARTITION](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PARTITION.md) - + [PG_PLTEMPLATE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PLTEMPLATE.md) - + [PG_PROC](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PROC.md) - + [PG_RANGE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RANGE.md) - + [PG_RESOURCE_POOL](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RESOURCE_POOL.md) - + [PG_REWRITE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REWRITE.md) - + [PG_RLSPOLICY](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RLSPOLICY.md) - + [PG_SECLABEL](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SECLABEL.md) - + [PG_SHDEPEND](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHDEPEND.md) - + [PG_SHDESCRIPTION](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHDESCRIPTION.md) - + [PG_SHSECLABEL](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHSECLABEL.md) - + [PG_STATISTIC](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC.md) - + [PG_STATISTIC_EXT](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC_EXT.md) - + [PG_SYNONYM](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SYNONYM.md) - + [PG_TABLESPACE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TABLESPACE.md) - + [PG_TRIGGER](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TRIGGER.md) - + [PG_TS_CONFIG](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_CONFIG.md) - + [PG_TS_CONFIG_MAP](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_CONFIG_MAP.md) - + [PG_TS_DICT](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_DICT.md) - + [PG_TS_PARSER](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_PARSER.md) - + [PG_TS_TEMPLATE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_TEMPLATE.md) - + [PG_TYPE](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TYPE.md) - + [PG_USER_MAPPING](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_MAPPING.md) - + [PG_USER_STATUS](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_STATUS.md) - + [PG_WORKLOAD_GROUP](/reference-guide/system-catalogs-and-system-views/system-catalogs/PG_WORKLOAD_GROUP.md) - + [PLAN_TABLE_DATA](/reference-guide/system-catalogs-and-system-views/system-catalogs/PLAN_TABLE_DATA.md) - + [STATEMENT_HISTORY](/reference-guide/system-catalogs-and-system-views/system-catalogs/STATEMENT_HISTORY.md) + + [GS_ASP](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ASP.md) + + [GS_AUDITING_POLICY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY.md) + + [GS_AUDITING_POLICY_ACCESS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_ACCESS.md) + + [GS_AUDITING_POLICY_FILTERS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_FILTERS.md) + + [GS_AUDITING_POLICY_PRIVILEGES](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_PRIVILEGES.md) + + [GS_CLIENT_GLOBAL_KEYS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_CLIENT_GLOBAL_KEYS.md) + + [GS_CLIENT_GLOBAL_KEYS_ARGS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_CLIENT_GLOBAL_KEYS_ARGS.md) + + [GS_COLUMN_KEYS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_COLUMN_KEYS.md) + + [GS_COLUMN_KEYS_ARGS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_COLUMN_KEYS_ARGS.md) + + [GS_DB_PRIVILEGE](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_DB_PRIVILEGE.md) + + [GS_ENCRYPTED_COLUMNS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ENCRYPTED_COLUMNS.md) + + [GS_ENCRYPTED_PROC](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ENCRYPTED_PROC.md) + + [GS_GLOBAL_CHAIN](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CHAIN.md) + + [GS_GLOBAL_CONFIG](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CONFIG.md) + + [GS_MASKING_POLICY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY.md) + + [GS_MASKING_POLICY_ACTIONS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_ACTIONS.md) + + [GS_MASKING_POLICY_FILTERS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_FILTERS.md) + + [GS_MATVIEW](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW.md) + + [GS_MATVIEW_DEPENDENCY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW_DEPENDENCY.md) + + [GS_MODEL_WAREHOUSE](./reference-guide/system-catalogs-and-system-views/system-catalogs/.md) + + [GS_OPT_MODEL](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_OPT_MODEL.md) + + [GS_PACKAGE](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_PACKAGE.md) + + [GS_POLICY_LABEL](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_POLICY_LABEL.md) + + [GS_RECYCLEBIN](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_RECYCLEBIN.md) + + [GS_TXN_SNAPSHOT](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_TXN_SNAPSHOT.md) + + [GS_UID](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_UID.md) + + [GS_WLM_EC_OPERATOR_INFO](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_EC_OPERATOR_INFO.md) + + [GS_WLM_INSTANCE_HISTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_INSTANCE_HISTORY.md) + + [GS_WLM_OPERATOR_INFO](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_OPERATOR_INFO.md) + + [GS_WLM_PLAN_ENCODING_TABLE](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_PLAN_ENCODING_TABLE.md) + + [GS_WLM_PLAN_OPERATOR_INFO](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_PLAN_OPERATOR_INFO.md) + + [GS_WLM_SESSION_QUERY_INFO_ALL](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_SESSION_QUERY_INFO_ALL.md) + + [GS_WLM_USER_RESOURCE_HISTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_USER_RESOURCE_HISTORY.md) + + [PG_AGGREGATE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AGGREGATE.md) + + [PG_AM](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AM.md) + + [PG_AMOP](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMOP.md) + + [PG_AMPROC](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMPROC.md) + + [PG_APP_WORKLOADGROUP_MAPPING](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_APP_WORKLOADGROUP_MAPPING.md) + + [PG_ATTRDEF](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRDEF.md) + + [PG_ATTRIBUTE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRIBUTE.md) + + [PG_AUTH_HISTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_HISTORY.md) + + [PG_AUTH_MEMBERS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_MEMBERS.md) + + [PG_AUTHID](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTHID.md) + + [PG_CAST](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CAST.md) + + [PG_CLASS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CLASS.md) + + [PG_COLLATION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_COLLATION.md) + + [PG_CONSTRAINT](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONSTRAINT.md) + + [PG_CONVERSION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CONVERSION.md) + + [PG_DATABASE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DATABASE.md) + + [PG_DB_ROLE_SETTING](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DB_ROLE_SETTING.md) + + [PG_DEFAULT_ACL](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DEFAULT_ACL.md) + + [PG_DEPEND](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DEPEND.md) + + [PG_DESCRIPTION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DESCRIPTION.md) + + [PG_DIRECTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_DIRECTORY.md) + + [PG_ENUM](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ENUM.md) + + [PG_EXTENSION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_EXTENSION.md) + + [PG_EXTENSION_DATA_SOURCE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_EXTENSION_DATA_SOURCE.md) + + [PG_FOREIGN_DATA_WRAPPER](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_DATA_WRAPPER.md) + + [PG_FOREIGN_SERVER](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_SERVER.md) + + [PG_FOREIGN_TABLE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_TABLE.md) + + [PG_HASHBUCKET](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_HASHBUCKET.md) + + [PG_INDEX](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_INDEX.md) + + [PG_INHERITS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_INHERITS.md) + + [PG_JOB](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB.md) + + [PG_JOB_PROC](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB_PROC.md) + + [PG_LANGUAGE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LANGUAGE.md) + + [PG_LARGEOBJECT](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LARGEOBJECT.md) + + [PG_LARGEOBJECT_METADATA](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_LARGEOBJECT_METADATA.md) + + [PG_NAMESPACE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_NAMESPACE.md) + + [PG_OBJECT](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OBJECT.md) + + [PG_OPCLASS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPCLASS.md) + + [PG_OPERATOR](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPERATOR.md) + + [PG_OPFAMILY](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_OPFAMILY.md) + + [PG_PARTITION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PARTITION.md) + + [PG_PLTEMPLATE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PLTEMPLATE.md) + + [PG_PROC](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PROC.md) + + [PG_PUBLICATION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION.md) + + [PG_PUBLICATION_REL](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION_REL.md) + + [PG_RANGE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RANGE.md) + + [PG_REPLICATION_ORIGIN](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REPLICATION_ORIGIN.md) + + [PG_RESOURCE_POOL](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RESOURCE_POOL.md) + + [PG_REWRITE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REWRITE.md) + + [PG_RLSPOLICY](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RLSPOLICY.md) + + [PG_SECLABEL](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SECLABEL.md) + + [PG_SHDEPEND](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHDEPEND.md) + + [PG_SHDESCRIPTION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHDESCRIPTION.md) + + [PG_SHSECLABEL](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHSECLABEL.md) + + [PG_STATISTIC](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC.md) + + [PG_STATISTIC_EXT](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC_EXT.md) + + [PG_SUBSCRIPTION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SUBSCRIPTION.md) + + [PG_SYNONYM](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SYNONYM.md) + + [PG_TABLESPACE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TABLESPACE.md) + + [PG_TRIGGER](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TRIGGER.md) + + [PG_TS_CONFIG](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_CONFIG.md) + + [PG_TS_CONFIG_MAP](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_CONFIG_MAP.md) + + [PG_TS_DICT](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_DICT.md) + + [PG_TS_PARSER](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_PARSER.md) + + [PG_TS_TEMPLATE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TS_TEMPLATE.md) + + [PG_TYPE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TYPE.md) + + [PG_USER_MAPPING](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_MAPPING.md) + + [PG_USER_STATUS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_STATUS.md) + + [PG_WORKLOAD_GROUP](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_WORKLOAD_GROUP.md) + + [PGXC_CLASS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_CLASS.md) + + [PGXC_GROUP](./reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_GROUP.md) + + [PGXC_NODE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_NODE.md) + + [PGXC_SLICE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_SLICE.md) + + [PLAN_TABLE_DATA](./reference-guide/system-catalogs-and-system-views/system-catalogs/PLAN_TABLE_DATA.md) + + [STATEMENT_HISTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/STATEMENT_HISTORY.md) + 系统视图 - + [GET_GLOBAL_PREPARED_XACTS(废弃)](/reference-guide/system-catalogs-and-system-views/system-views/GET_GLOBAL_PREPARED_XACTS.md) - + [GS_AUDITING](/reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING.md) - + [GS_AUDITING_ACCESS](/reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_ACCESS.md) - + [GS_AUDITING_PRIVILEGE](/reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_PRIVILEGE.md) - + [GS_CLUSTER_RESOURCE_INFO](/reference-guide/system-catalogs-and-system-views/system-views/GS_CLUSTER_RESOURCE_INFO.md) - + [GS_INSTANCE_TIME](/reference-guide/system-catalogs-and-system-views/system-views/GS_INSTANCE_TIME.md) - + [GS_LABELS](/reference-guide/system-catalogs-and-system-views/system-views/GS_LABELS.md) - + [GS_MASKING](/reference-guide/system-catalogs-and-system-views/system-views/GS_MASKING.md) - + [GS_MATVIEWS](/reference-guide/system-catalogs-and-system-views/system-views/GS_MATVIEWS.md) - + [GS_SESSION_MEMORY](/reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY.md) - + [GS_SESSION_CPU_STATISTICS](/reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_CPU_STATISTICS.md) - + [GS_SESSION_MEMORY_CONTEXT](/reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_CONTEXT.md) - + [GS_SESSION_MEMORY_DETAIL](/reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_DETAIL.md) - + [GS_SESSION_MEMORY_STATISTICS](/reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_STATISTICS.md) - + [GS_SQL_COUNT](/reference-guide/system-catalogs-and-system-views/system-views/GS_SQL_COUNT.md) - + [GS_WLM_CGROUP_INFO](/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_CGROUP_INFO.md) - + [GS_WLM_PLAN_OPERATOR_HISTORY](/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_PLAN_OPERATOR_HISTORY.md) - + [GS_WLM_REBUILD_USER_RESOURCE_POOL](/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_REBUILD_USER_RESOURCE_POOL.md) - + [GS_WLM_RESOURCE_POOL](/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_RESOURCE_POOL.md) - + [GS_WLM_USER_INFO](/reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_USER_INFO.md) - + [GS_STAT_SESSION_CU](/reference-guide/system-catalogs-and-system-views/system-views/GS_STAT_SESSION_CU.md) - + [GS_TOTAL_MEMORY_DETAIL](/reference-guide/system-catalogs-and-system-views/system-views/GS_TOTAL_MEMORY_DETAIL.md) - + [MPP_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/MPP_TABLES.md) - + [PG_AVAILABLE_EXTENSION_VERSIONS](/reference-guide/system-catalogs-and-system-views/system-views/PG_AVAILABLE_EXTENSION_VERSIONS.md) - + [PG_AVAILABLE_EXTENSIONS](/reference-guide/system-catalogs-and-system-views/system-views/PG_AVAILABLE_EXTENSIONS.md) - + [PG_COMM_DELAY](/reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_DELAY.md) - + [PG_COMM_RECV_STREAM](/reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_RECV_STREAM.md) - + [PG_COMM_SEND_STREAM](/reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_SEND_STREAM.md) - + [PG_COMM_STATUS](/reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_STATUS.md) - + [PG_CONTROL_GROUP_CONFIG](/reference-guide/system-catalogs-and-system-views/system-views/PG_CONTROL_GROUP_CONFIG.md) - + [PG_CURSORS](/reference-guide/system-catalogs-and-system-views/system-views/PG_CURSORS.md) - + [PG_EXT_STATS](/reference-guide/system-catalogs-and-system-views/system-views/PG_EXT_STATS.md) - + [PG_GET_INVALID_BACKENDS](/reference-guide/system-catalogs-and-system-views/system-views/PG_GET_INVALID_BACKENDS.md) - + [PG_GET_SENDERS_CATCHUP_TIME](/reference-guide/system-catalogs-and-system-views/system-views/PG_GET_SENDERS_CATCHUP_TIME.md) - + [PG_GROUP](/reference-guide/system-catalogs-and-system-views/system-views/PG_GROUP.md) - + [PG_GTT_RELSTATS](/reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_RELSTATS.md) - + [PG_GTT_STATS](/reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_STATS.md) - + [PG_GTT_ATTACHED_PIDS](/reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_ATTACHED_PIDS.md) - + [PG_INDEXES](/reference-guide/system-catalogs-and-system-views/system-views/PG_INDEXES.md) - + [PG_LOCKS](/reference-guide/system-catalogs-and-system-views/system-views/PG_LOCKS.md) - + [PG_NODE_ENV](/reference-guide/system-catalogs-and-system-views/system-views/PG_NODE_ENV.md) - + [PG_OS_THREADS](/reference-guide/system-catalogs-and-system-views/system-views/PG_OS_THREADS.md) - + [PG_PREPARED_STATEMENTS](/reference-guide/system-catalogs-and-system-views/system-views/PG_PREPARED_STATEMENTS.md) - + [PG_PREPARED_XACTS](/reference-guide/system-catalogs-and-system-views/system-views/PG_PREPARED_XACTS.md) - + [PG_REPLICATION_SLOTS](/reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_SLOTS.md) - + [PG_RLSPOLICIES](/reference-guide/system-catalogs-and-system-views/system-views/PG_RLSPOLICIES.md) - + [PG_ROLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_ROLES.md) - + [PG_RULES](/reference-guide/system-catalogs-and-system-views/system-views/PG_RULES.md) - + [PG_SECLABELS](/reference-guide/system-catalogs-and-system-views/system-views/PG_SECLABELS.md) - + [PG_SETTINGS](/reference-guide/system-catalogs-and-system-views/system-views/PG_SETTINGS.md) - + [PG_SHADOW](/reference-guide/system-catalogs-and-system-views/system-views/PG_SHADOW.md) - + [PG_STATS](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATS.md) - + [PG_STAT_ACTIVITY](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY.md) - + [PG_STAT_ALL_INDEXES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_INDEXES.md) - + [PG_STAT_ALL_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md) - + [PG_STAT_BAD_BLOCK](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_BAD_BLOCK.md) - + [PG_STAT_BGWRITER](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_BGWRITER.md) - + [PG_STAT_DATABASE](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_DATABASE.md) - + [PG_STAT_DATABASE_CONFLICTS](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_DATABASE_CONFLICTS.md) - + [PG_STAT_USER_FUNCTIONS](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_FUNCTIONS.md) - + [PG_STAT_USER_INDEXES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_INDEXES.md) - + [PG_STAT_USER_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_TABLES.md) - + [PG_STAT_REPLICATION](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_REPLICATION.md) - + [PG_STAT_SYS_INDEXES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SYS_INDEXES.md) - + [PG_STAT_SYS_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SYS_TABLES.md) - + [PG_STAT_XACT_ALL_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_ALL_TABLES.md) - + [PG_STAT_XACT_SYS_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_SYS_TABLES.md) - + [PG_STAT_XACT_USER_FUNCTIONS](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_USER_FUNCTIONS.md) - + [PG_STAT_XACT_USER_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_USER_TABLES.md) - + [PG_STATIO_ALL_INDEXES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_ALL_INDEXES.md) - + [PG_STATIO_ALL_SEQUENCES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_ALL_SEQUENCES.md) - + [PG_STATIO_ALL_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_ALL_TABLES.md) - + [PG_STATIO_SYS_INDEXES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_SYS_INDEXES.md) - + [PG_STATIO_SYS_SEQUENCES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_SYS_SEQUENCES.md) - + [PG_STATIO_SYS_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_SYS_TABLES.md) - + [PG_STATIO_USER_INDEXES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_INDEXES.md) - + [PG_STATIO_USER_SEQUENCES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_SEQUENCES.md) - + [PG_STATIO_USER_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_TABLES.md) - + [PG_TABLES](/reference-guide/system-catalogs-and-system-views/system-views/PG_TABLES.md) - + [PG_TDE_INFO](/reference-guide/system-catalogs-and-system-views/system-views/PG_TDE_INFO.md) - + [PG_THREAD_WAIT_STATUS](/reference-guide/system-catalogs-and-system-views/system-views/PG_THREAD_WAIT_STATUS.md) - + [PG_TIMEZONE_ABBREVS](/reference-guide/system-catalogs-and-system-views/system-views/PG_TIMEZONE_ABBREVS.md) - + [PG_TIMEZONE_NAMES](/reference-guide/system-catalogs-and-system-views/system-views/PG_TIMEZONE_NAMES.md) - + [PG_TOTAL_MEMORY_DETAIL](/reference-guide/system-catalogs-and-system-views/system-views/PG_TOTAL_MEMORY_DETAIL.md) - + [PG_TOTAL_USER_RESOURCE_INFO](/reference-guide/system-catalogs-and-system-views/system-views/PG_TOTAL_USER_RESOURCE_INFO.md) - + [PG_TOTAL_USER_RESOURCE_INFO_OID](/reference-guide/system-catalogs-and-system-views/system-views/PG_TOTAL_USER_RESOURCE_INFO_OID.md) - + [PG_USER](/reference-guide/system-catalogs-and-system-views/system-views/PG_USER.md) - + [PG_USER_MAPPINGS](/reference-guide/system-catalogs-and-system-views/system-views/PG_USER_MAPPINGS.md) - + [PG_VARIABLE_INFO](/reference-guide/system-catalogs-and-system-views/system-views/PG_VARIABLE_INFO.md) - + [PG_VIEWS](/reference-guide/system-catalogs-and-system-views/system-views/PG_VIEWS.md) - + [PLAN_TABLE](/reference-guide/system-catalogs-and-system-views/system-views/PLAN_TABLE.md) - + [GS_FILE_STAT](/reference-guide/system-catalogs-and-system-views/system-views/GS_FILE_STAT.md) - + [GS_OS_RUN_INFO](/reference-guide/system-catalogs-and-system-views/system-views/GS_OS_RUN_INFO.md) - + [GS_REDO_STAT](/reference-guide/system-catalogs-and-system-views/system-views/GS_REDO_STAT.md) - + [GS_SESSION_STAT](/reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_STAT.md) - + [GS_SESSION_TIME](/reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_TIME.md) - + [GS_THREAD_MEMORY_CONTEXT](/reference-guide/system-catalogs-and-system-views/system-views/GS_THREAD_MEMORY_CONTEXT.md) + + [DV_SESSION_LONGOPS](./reference-guide/system-catalogs-and-system-views/system-views/DV_SESSION_LONGOPS.md) + + [DV_SESSIONS](./reference-guide/system-catalogs-and-system-views/system-views/DV_SESSIONS.md) + + [GET_GLOBAL_PREPARED_XACTS(废弃)](./reference-guide/system-catalogs-and-system-views/system-views/GET_GLOBAL_PREPARED_XACTS.md) + + [GS_AUDITING](./reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING.md) + + [GS_AUDITING_ACCESS](./reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_ACCESS.md) + + [GS_AUDITING_PRIVILEGE](./reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_PRIVILEGE.md) + + [GS_CLUSTER_RESOURCE_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_CLUSTER_RESOURCE_INFO.md) + + [GS_DB_PRIVILEGES](./reference-guide/system-catalogs-and-system-views/system-views/GS_DB_PRIVILEGES.md) + + [GS_FILE_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_FILE_STAT.md) + + [GS_GSC_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_GSC_MEMORY_DETAIL.md) + + [GS_INSTANCE_TIME](./reference-guide/system-catalogs-and-system-views/system-views/GS_INSTANCE_TIME.md) + + [GS_LABELS](./reference-guide/system-catalogs-and-system-views/system-views/GS_LABELS.md) + + [GS_LSC_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_LSC_MEMORY_DETAIL.md) + + [GS_MASKING](./reference-guide/system-catalogs-and-system-views/system-views/GS_MASKING.md) + + [GS_MATVIEWS](./reference-guide/system-catalogs-and-system-views/system-views/GS_MATVIEWS.md) + + [GS_OS_RUN_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_OS_RUN_INFO.md) + + [GS_REDO_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_REDO_STAT.md) + + [GS_SESSION_CPU_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_CPU_STATISTICS.md) + + [GS_SESSION_MEMORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY.md) + + [GS_SESSION_MEMORY_CONTEXT](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_CONTEXT.md) + + [GS_SESSION_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_DETAIL.md) + + [GS_SESSION_MEMORY_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_STATISTICS.md) + + [GS_SESSION_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_STAT.md) + + [GS_SESSION_TIME](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_TIME.md) + + [GS_SQL_COUNT](./reference-guide/system-catalogs-and-system-views/system-views/GS_SQL_COUNT.md) + + [GS_STAT_SESSION_CU](./reference-guide/system-catalogs-and-system-views/system-views/GS_STAT_SESSION_CU.md) + + [GS_THREAD_MEMORY_CONTEXT](./reference-guide/system-catalogs-and-system-views/system-views/GS_THREAD_MEMORY_CONTEXT.md) + + [GS_TOTAL_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_TOTAL_MEMORY_DETAIL.md) + + [GS_WLM_CGROUP_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_CGROUP_INFO.md) + + [GS_WLM_EC_OPERATOR_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_EC_OPERATOR_STATISTICS.md) + + [GS_WLM_OPERATOR_HISTORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_HISTORY.md) + + [GS_WLM_OPERATOR_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_STATISTICS.md) + + [GS_WLM_PLAN_OPERATOR_HISTORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_PLAN_OPERATOR_HISTORY.md) + + [GS_WLM_REBUILD_USER_RESOURCE_POOL](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_REBUILD_USER_RESOURCE_POOL.md) + + [GS_WLM_RESOURCE_POOL](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_RESOURCE_POOL.md) + + [GS_WLM_SESSION_HISTORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_HISTORY.md) + + [GS_WLM_SESSION_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO.md) + + [GS_WLM_SESSION_INFO_ALL](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO_ALL.md) + + [GS_WLM_SESSION_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_STATISTICS.md) + + [GS_WLM_USER_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_USER_INFO.md) + + [GS_WRITE_TERM_LOG](./reference-guide/system-catalogs-and-system-views/system-views/GS_WRITE_TERM_LOG.md) + + [MPP_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/MPP_TABLES.md) + + [PG_AVAILABLE_EXTENSION_VERSIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_AVAILABLE_EXTENSION_VERSIONS.md) + + [PG_AVAILABLE_EXTENSIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_AVAILABLE_EXTENSIONS.md) + + [PG_COMM_DELAY](./reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_DELAY.md) + + [PG_COMM_RECV_STREAM](./reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_RECV_STREAM.md) + + [PG_COMM_SEND_STREAM](./reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_SEND_STREAM.md) + + [PG_COMM_STATUS](./reference-guide/system-catalogs-and-system-views/system-views/PG_COMM_STATUS.md) + + [PG_CONTROL_GROUP_CONFIG](./reference-guide/system-catalogs-and-system-views/system-views/PG_CONTROL_GROUP_CONFIG.md) + + [PG_CURSORS](./reference-guide/system-catalogs-and-system-views/system-views/PG_CURSORS.md) + + [PG_EXT_STATS](./reference-guide/system-catalogs-and-system-views/system-views/PG_EXT_STATS.md) + + [PG_GET_INVALID_BACKENDS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GET_INVALID_BACKENDS.md) + + [PG_GET_SENDERS_CATCHUP_TIME](./reference-guide/system-catalogs-and-system-views/system-views/PG_GET_SENDERS_CATCHUP_TIME.md) + + [PG_GROUP](./reference-guide/system-catalogs-and-system-views/system-views/PG_GROUP.md) + + [PG_GTT_ATTACHED_PIDS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_ATTACHED_PIDS.md) + + [PG_GTT_RELSTATS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_RELSTATS.md) + + [PG_GTT_STATS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_STATS.md) + + [PG_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_INDEXES.md) + + [PG_LOCKS](./reference-guide/system-catalogs-and-system-views/system-views/PG_LOCKS.md) + + [PG_NODE_ENV](./reference-guide/system-catalogs-and-system-views/system-views/PG_NODE_ENV.md) + + [PG_OS_THREADS](./reference-guide/system-catalogs-and-system-views/system-views/PG_OS_THREADS.md) + + [PG_PREPARED_STATEMENTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_PREPARED_STATEMENTS.md) + + [PG_PREPARED_XACTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_PREPARED_XACTS.md) + + [PG_PUBLICATION_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_PUBLICATION_TABLES.md) + + [PG_REPLICATION_ORIGIN_STATUS](./reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_ORIGIN_STATUS.md) + + [PG_REPLICATION_SLOTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_SLOTS.md) + + [PG_RLSPOLICIES](./reference-guide/system-catalogs-and-system-views/system-views/PG_RLSPOLICIES.md) + + [PG_ROLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_ROLES.md) + + [PG_RULES](./reference-guide/system-catalogs-and-system-views/system-views/PG_RULES.md) + + [PG_RUNNING_XACTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_RUNNING_XACTS.md) + + [PG_SECLABELS](./reference-guide/system-catalogs-and-system-views/system-views/PG_SECLABELS.md) + + [PG_SESSION_IOSTAT](./reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_IOSTAT.md) + + [PG_SESSION_WLMSTAT](./reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_WLMSTAT.md) + + [PG_SETTINGS](./reference-guide/system-catalogs-and-system-views/system-views/PG_SETTINGS.md) + + [PG_SHADOW](./reference-guide/system-catalogs-and-system-views/system-views/PG_SHADOW.md) + + [PG_STAT_ACTIVITY](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY.md) + + [PG_STAT_ACTIVITY_NG](./reference-guide/system-catalogs-and-system-views/system-views/.md) + + [PG_STAT_ALL_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_INDEXES.md) + + [PG_STAT_ALL_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md) + + [PG_STAT_BAD_BLOCK](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_BAD_BLOCK.md) + + [PG_STAT_BGWRITER](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_BGWRITER.md) + + [PG_STAT_DATABASE](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_DATABASE.md) + + [PG_STAT_DATABASE_CONFLICTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_DATABASE_CONFLICTS.md) + + [PG_STAT_REPLICATION](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_REPLICATION.md) + + [PG_STAT_SUBSCRIPTION](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SUBSCRIPTION.md) + + [PG_STAT_SYS_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SYS_INDEXES.md) + + [PG_STAT_SYS_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SYS_TABLES.md) + + [PG_STAT_USER_FUNCTIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_FUNCTIONS.md) + + [PG_STAT_USER_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_INDEXES.md) + + [PG_STAT_USER_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_TABLES.md) + + [PG_STAT_XACT_ALL_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_ALL_TABLES.md) + + [PG_STAT_XACT_SYS_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_SYS_TABLES.md) + + [PG_STAT_XACT_USER_FUNCTIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_USER_FUNCTIONS.md) + + [PG_STAT_XACT_USER_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_USER_TABLES.md) + + [PG_STATIO_ALL_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_ALL_INDEXES.md) + + [PG_STATIO_ALL_SEQUENCES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_ALL_SEQUENCES.md) + + [PG_STATIO_ALL_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_ALL_TABLES.md) + + [PG_STATIO_SYS_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_SYS_INDEXES.md) + + [PG_STATIO_SYS_SEQUENCES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_SYS_SEQUENCES.md) + + [PG_STATIO_SYS_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_SYS_TABLES.md) + + [PG_STATIO_USER_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_INDEXES.md) + + [PG_STATIO_USER_SEQUENCES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_SEQUENCES.md) + + [PG_STATIO_USER_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_TABLES.md) + + [PG_STATS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATS.md) + + [PG_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_TABLES.md) + + [PG_TDE_INFO](./reference-guide/system-catalogs-and-system-views/system-views/PG_TDE_INFO.md) + + [PG_THREAD_WAIT_STATUS](./reference-guide/system-catalogs-and-system-views/system-views/PG_THREAD_WAIT_STATUS.md) + + [PG_TIMEZONE_ABBREVS](./reference-guide/system-catalogs-and-system-views/system-views/PG_TIMEZONE_ABBREVS.md) + + [PG_TIMEZONE_NAMES](./reference-guide/system-catalogs-and-system-views/system-views/PG_TIMEZONE_NAMES.md) + + [PG_TOTAL_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/PG_TOTAL_MEMORY_DETAIL.md) + + [PG_TOTAL_USER_RESOURCE_INFO](./reference-guide/system-catalogs-and-system-views/system-views/PG_TOTAL_USER_RESOURCE_INFO.md) + + [PG_TOTAL_USER_RESOURCE_INFO_OID](./reference-guide/system-catalogs-and-system-views/system-views/PG_TOTAL_USER_RESOURCE_INFO_OID.md) + + [PG_USER](./reference-guide/system-catalogs-and-system-views/system-views/PG_USER.md) + + [PG_USER_MAPPINGS](./reference-guide/system-catalogs-and-system-views/system-views/PG_USER_MAPPINGS.md) + + [PG_VARIABLE_INFO](./reference-guide/system-catalogs-and-system-views/system-views/PG_VARIABLE_INFO.md) + + [PG_VIEWS](./reference-guide/system-catalogs-and-system-views/system-views/PG_VIEWS.md) + + [PG_WLM_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/PG_WLM_STATISTICS.md) + + [PGXC_PREPARED_XACTS](./reference-guide/system-catalogs-and-system-views/system-views/PGXC_PREPARED_XACTS.md) + + [PLAN_TABLE](./reference-guide/system-catalogs-and-system-views/system-views/PLAN_TABLE.md) + 系统函数 + [逻辑操作符](/reference-guide/functions-and-operators/1-logical-operators.md) + [比较操作符](/reference-guide/functions-and-operators/2-comparison-operators.md) diff --git a/product/zh/docs-mogdb/v3.0/toc_system-catalogs-and-functions.md b/product/zh/docs-mogdb/v3.0/toc_system-catalogs-and-functions.md index bc0eaf36..8f6d1765 100644 --- a/product/zh/docs-mogdb/v3.0/toc_system-catalogs-and-functions.md +++ b/product/zh/docs-mogdb/v3.0/toc_system-catalogs-and-functions.md @@ -8,6 +8,7 @@ + 系统表及系统视图 + [系统表和系统视图概述](./reference-guide/system-catalogs-and-system-views/overview-of-system-catalogs-and-system-views.md) + 系统表 + + [GS_ASP](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ASP.md) + [GS_AUDITING_POLICY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY.md) + [GS_AUDITING_POLICY_ACCESS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_ACCESS.md) + [GS_AUDITING_POLICY_FILTERS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_AUDITING_POLICY_FILTERS.md) @@ -16,23 +17,30 @@ + [GS_CLIENT_GLOBAL_KEYS_ARGS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_CLIENT_GLOBAL_KEYS_ARGS.md) + [GS_COLUMN_KEYS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_COLUMN_KEYS.md) + [GS_COLUMN_KEYS_ARGS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_COLUMN_KEYS_ARGS.md) + + [GS_DB_PRIVILEGE](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_DB_PRIVILEGE.md) + [GS_ENCRYPTED_COLUMNS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ENCRYPTED_COLUMNS.md) + [GS_ENCRYPTED_PROC](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_ENCRYPTED_PROC.md) + [GS_GLOBAL_CHAIN](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CHAIN.md) + + [GS_GLOBAL_CONFIG](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_GLOBAL_CONFIG.md) + [GS_MASKING_POLICY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY.md) + [GS_MASKING_POLICY_ACTIONS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_ACTIONS.md) + [GS_MASKING_POLICY_FILTERS](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MASKING_POLICY_FILTERS.md) + [GS_MATVIEW](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW.md) + [GS_MATVIEW_DEPENDENCY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_MATVIEW_DEPENDENCY.md) + + [GS_MODEL_WAREHOUSE](./reference-guide/system-catalogs-and-system-views/system-catalogs/.md) + [GS_OPT_MODEL](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_OPT_MODEL.md) + + [GS_PACKAGE](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_PACKAGE.md) + [GS_POLICY_LABEL](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_POLICY_LABEL.md) + [GS_RECYCLEBIN](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_RECYCLEBIN.md) + [GS_TXN_SNAPSHOT](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_TXN_SNAPSHOT.md) + + [GS_UID](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_UID.md) + + [GS_WLM_EC_OPERATOR_INFO](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_EC_OPERATOR_INFO.md) + [GS_WLM_INSTANCE_HISTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_INSTANCE_HISTORY.md) + [GS_WLM_OPERATOR_INFO](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_OPERATOR_INFO.md) + [GS_WLM_PLAN_ENCODING_TABLE](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_PLAN_ENCODING_TABLE.md) + [GS_WLM_PLAN_OPERATOR_INFO](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_PLAN_OPERATOR_INFO.md) - + [GS_WLM_EC_OPERATOR_INFO](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_EC_OPERATOR_INFO.md) + + [GS_WLM_SESSION_QUERY_INFO_ALL](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_SESSION_QUERY_INFO_ALL.md) + + [GS_WLM_USER_RESOURCE_HISTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/GS_WLM_USER_RESOURCE_HISTORY.md) + [PG_AGGREGATE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AGGREGATE.md) + [PG_AM](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AM.md) + [PG_AMOP](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AMOP.md) @@ -40,9 +48,9 @@ + [PG_APP_WORKLOADGROUP_MAPPING](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_APP_WORKLOADGROUP_MAPPING.md) + [PG_ATTRDEF](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRDEF.md) + [PG_ATTRIBUTE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_ATTRIBUTE.md) - + [PG_AUTHID](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTHID.md) + [PG_AUTH_HISTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_HISTORY.md) + [PG_AUTH_MEMBERS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTH_MEMBERS.md) + + [PG_AUTHID](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_AUTHID.md) + [PG_CAST](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CAST.md) + [PG_CLASS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_CLASS.md) + [PG_COLLATION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_COLLATION.md) @@ -60,6 +68,7 @@ + [PG_FOREIGN_DATA_WRAPPER](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_DATA_WRAPPER.md) + [PG_FOREIGN_SERVER](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_SERVER.md) + [PG_FOREIGN_TABLE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_FOREIGN_TABLE.md) + + [PG_HASHBUCKET](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_HASHBUCKET.md) + [PG_INDEX](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_INDEX.md) + [PG_INHERITS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_INHERITS.md) + [PG_JOB](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_JOB.md) @@ -75,7 +84,10 @@ + [PG_PARTITION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PARTITION.md) + [PG_PLTEMPLATE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PLTEMPLATE.md) + [PG_PROC](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PROC.md) + + [PG_PUBLICATION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION.md) + + [PG_PUBLICATION_REL](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_PUBLICATION_REL.md) + [PG_RANGE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RANGE.md) + + [PG_REPLICATION_ORIGIN](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REPLICATION_ORIGIN.md) + [PG_RESOURCE_POOL](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RESOURCE_POOL.md) + [PG_REWRITE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_REWRITE.md) + [PG_RLSPOLICY](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_RLSPOLICY.md) @@ -85,6 +97,7 @@ + [PG_SHSECLABEL](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SHSECLABEL.md) + [PG_STATISTIC](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC.md) + [PG_STATISTIC_EXT](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_STATISTIC_EXT.md) + + [PG_SUBSCRIPTION](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SUBSCRIPTION.md) + [PG_SYNONYM](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_SYNONYM.md) + [PG_TABLESPACE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TABLESPACE.md) + [PG_TRIGGER](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_TRIGGER.md) @@ -97,31 +110,54 @@ + [PG_USER_MAPPING](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_MAPPING.md) + [PG_USER_STATUS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_USER_STATUS.md) + [PG_WORKLOAD_GROUP](./reference-guide/system-catalogs-and-system-views/system-catalogs/PG_WORKLOAD_GROUP.md) + + [PGXC_CLASS](./reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_CLASS.md) + + [PGXC_GROUP](./reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_GROUP.md) + + [PGXC_NODE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_NODE.md) + + [PGXC_SLICE](./reference-guide/system-catalogs-and-system-views/system-catalogs/PGXC_SLICE.md) + [PLAN_TABLE_DATA](./reference-guide/system-catalogs-and-system-views/system-catalogs/PLAN_TABLE_DATA.md) + [STATEMENT_HISTORY](./reference-guide/system-catalogs-and-system-views/system-catalogs/STATEMENT_HISTORY.md) + 系统视图 + + [DV_SESSION_LONGOPS](./reference-guide/system-catalogs-and-system-views/system-views/DV_SESSION_LONGOPS.md) + + [DV_SESSIONS](./reference-guide/system-catalogs-and-system-views/system-views/DV_SESSIONS.md) + [GET_GLOBAL_PREPARED_XACTS(废弃)](./reference-guide/system-catalogs-and-system-views/system-views/GET_GLOBAL_PREPARED_XACTS.md) + [GS_AUDITING](./reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING.md) + [GS_AUDITING_ACCESS](./reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_ACCESS.md) + [GS_AUDITING_PRIVILEGE](./reference-guide/system-catalogs-and-system-views/system-views/GS_AUDITING_PRIVILEGE.md) + [GS_CLUSTER_RESOURCE_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_CLUSTER_RESOURCE_INFO.md) + + [GS_DB_PRIVILEGES](./reference-guide/system-catalogs-and-system-views/system-views/GS_DB_PRIVILEGES.md) + + [GS_FILE_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_FILE_STAT.md) + + [GS_GSC_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_GSC_MEMORY_DETAIL.md) + [GS_INSTANCE_TIME](./reference-guide/system-catalogs-and-system-views/system-views/GS_INSTANCE_TIME.md) + [GS_LABELS](./reference-guide/system-catalogs-and-system-views/system-views/GS_LABELS.md) + + [GS_LSC_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_LSC_MEMORY_DETAIL.md) + [GS_MASKING](./reference-guide/system-catalogs-and-system-views/system-views/GS_MASKING.md) + [GS_MATVIEWS](./reference-guide/system-catalogs-and-system-views/system-views/GS_MATVIEWS.md) - + [GS_SESSION_MEMORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY.md) + + [GS_OS_RUN_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_OS_RUN_INFO.md) + + [GS_REDO_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_REDO_STAT.md) + [GS_SESSION_CPU_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_CPU_STATISTICS.md) + + [GS_SESSION_MEMORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY.md) + [GS_SESSION_MEMORY_CONTEXT](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_CONTEXT.md) + [GS_SESSION_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_DETAIL.md) + [GS_SESSION_MEMORY_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_MEMORY_STATISTICS.md) + + [GS_SESSION_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_STAT.md) + + [GS_SESSION_TIME](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_TIME.md) + [GS_SQL_COUNT](./reference-guide/system-catalogs-and-system-views/system-views/GS_SQL_COUNT.md) + + [GS_STAT_SESSION_CU](./reference-guide/system-catalogs-and-system-views/system-views/GS_STAT_SESSION_CU.md) + + [GS_THREAD_MEMORY_CONTEXT](./reference-guide/system-catalogs-and-system-views/system-views/GS_THREAD_MEMORY_CONTEXT.md) + + [GS_TOTAL_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_TOTAL_MEMORY_DETAIL.md) + [GS_WLM_CGROUP_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_CGROUP_INFO.md) + + [GS_WLM_EC_OPERATOR_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_EC_OPERATOR_STATISTICS.md) + + [GS_WLM_OPERATOR_HISTORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_HISTORY.md) + + [GS_WLM_OPERATOR_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_OPERATOR_STATISTICS.md) + [GS_WLM_PLAN_OPERATOR_HISTORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_PLAN_OPERATOR_HISTORY.md) + [GS_WLM_REBUILD_USER_RESOURCE_POOL](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_REBUILD_USER_RESOURCE_POOL.md) + [GS_WLM_RESOURCE_POOL](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_RESOURCE_POOL.md) + + [GS_WLM_SESSION_HISTORY](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_HISTORY.md) + + [GS_WLM_SESSION_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO.md) + + [GS_WLM_SESSION_INFO_ALL](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_INFO_ALL.md) + + [GS_WLM_SESSION_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_SESSION_STATISTICS.md) + [GS_WLM_USER_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_WLM_USER_INFO.md) - + [GS_STAT_SESSION_CU](./reference-guide/system-catalogs-and-system-views/system-views/GS_STAT_SESSION_CU.md) - + [GS_TOTAL_MEMORY_DETAIL](./reference-guide/system-catalogs-and-system-views/system-views/GS_TOTAL_MEMORY_DETAIL.md) + + [GS_WRITE_TERM_LOG](./reference-guide/system-catalogs-and-system-views/system-views/GS_WRITE_TERM_LOG.md) + [MPP_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/MPP_TABLES.md) + [PG_AVAILABLE_EXTENSION_VERSIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_AVAILABLE_EXTENSION_VERSIONS.md) + [PG_AVAILABLE_EXTENSIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_AVAILABLE_EXTENSIONS.md) @@ -135,36 +171,42 @@ + [PG_GET_INVALID_BACKENDS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GET_INVALID_BACKENDS.md) + [PG_GET_SENDERS_CATCHUP_TIME](./reference-guide/system-catalogs-and-system-views/system-views/PG_GET_SENDERS_CATCHUP_TIME.md) + [PG_GROUP](./reference-guide/system-catalogs-and-system-views/system-views/PG_GROUP.md) + + [PG_GTT_ATTACHED_PIDS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_ATTACHED_PIDS.md) + [PG_GTT_RELSTATS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_RELSTATS.md) + [PG_GTT_STATS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_STATS.md) - + [PG_GTT_ATTACHED_PIDS](./reference-guide/system-catalogs-and-system-views/system-views/PG_GTT_ATTACHED_PIDS.md) + [PG_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_INDEXES.md) + [PG_LOCKS](./reference-guide/system-catalogs-and-system-views/system-views/PG_LOCKS.md) + [PG_NODE_ENV](./reference-guide/system-catalogs-and-system-views/system-views/PG_NODE_ENV.md) + [PG_OS_THREADS](./reference-guide/system-catalogs-and-system-views/system-views/PG_OS_THREADS.md) + [PG_PREPARED_STATEMENTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_PREPARED_STATEMENTS.md) + [PG_PREPARED_XACTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_PREPARED_XACTS.md) + + [PG_PUBLICATION_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_PUBLICATION_TABLES.md) + + [PG_REPLICATION_ORIGIN_STATUS](./reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_ORIGIN_STATUS.md) + [PG_REPLICATION_SLOTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_REPLICATION_SLOTS.md) + [PG_RLSPOLICIES](./reference-guide/system-catalogs-and-system-views/system-views/PG_RLSPOLICIES.md) + [PG_ROLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_ROLES.md) + [PG_RULES](./reference-guide/system-catalogs-and-system-views/system-views/PG_RULES.md) + + [PG_RUNNING_XACTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_RUNNING_XACTS.md) + [PG_SECLABELS](./reference-guide/system-catalogs-and-system-views/system-views/PG_SECLABELS.md) + + [PG_SESSION_IOSTAT](./reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_IOSTAT.md) + + [PG_SESSION_WLMSTAT](./reference-guide/system-catalogs-and-system-views/system-views/PG_SESSION_WLMSTAT.md) + [PG_SETTINGS](./reference-guide/system-catalogs-and-system-views/system-views/PG_SETTINGS.md) + [PG_SHADOW](./reference-guide/system-catalogs-and-system-views/system-views/PG_SHADOW.md) - + [PG_STATS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATS.md) + [PG_STAT_ACTIVITY](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ACTIVITY.md) + + [PG_STAT_ACTIVITY_NG](./reference-guide/system-catalogs-and-system-views/system-views/.md) + [PG_STAT_ALL_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_INDEXES.md) + [PG_STAT_ALL_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md) + [PG_STAT_BAD_BLOCK](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_BAD_BLOCK.md) + [PG_STAT_BGWRITER](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_BGWRITER.md) + [PG_STAT_DATABASE](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_DATABASE.md) + [PG_STAT_DATABASE_CONFLICTS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_DATABASE_CONFLICTS.md) - + [PG_STAT_USER_FUNCTIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_FUNCTIONS.md) - + [PG_STAT_USER_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_INDEXES.md) - + [PG_STAT_USER_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_TABLES.md) + [PG_STAT_REPLICATION](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_REPLICATION.md) + + [PG_STAT_SUBSCRIPTION](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SUBSCRIPTION.md) + [PG_STAT_SYS_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SYS_INDEXES.md) + [PG_STAT_SYS_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_SYS_TABLES.md) + + [PG_STAT_USER_FUNCTIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_FUNCTIONS.md) + + [PG_STAT_USER_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_INDEXES.md) + + [PG_STAT_USER_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_TABLES.md) + [PG_STAT_XACT_ALL_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_ALL_TABLES.md) + [PG_STAT_XACT_SYS_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_SYS_TABLES.md) + [PG_STAT_XACT_USER_FUNCTIONS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_XACT_USER_FUNCTIONS.md) @@ -178,6 +220,7 @@ + [PG_STATIO_USER_INDEXES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_INDEXES.md) + [PG_STATIO_USER_SEQUENCES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_SEQUENCES.md) + [PG_STATIO_USER_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATIO_USER_TABLES.md) + + [PG_STATS](./reference-guide/system-catalogs-and-system-views/system-views/PG_STATS.md) + [PG_TABLES](./reference-guide/system-catalogs-and-system-views/system-views/PG_TABLES.md) + [PG_TDE_INFO](./reference-guide/system-catalogs-and-system-views/system-views/PG_TDE_INFO.md) + [PG_THREAD_WAIT_STATUS](./reference-guide/system-catalogs-and-system-views/system-views/PG_THREAD_WAIT_STATUS.md) @@ -190,13 +233,9 @@ + [PG_USER_MAPPINGS](./reference-guide/system-catalogs-and-system-views/system-views/PG_USER_MAPPINGS.md) + [PG_VARIABLE_INFO](./reference-guide/system-catalogs-and-system-views/system-views/PG_VARIABLE_INFO.md) + [PG_VIEWS](./reference-guide/system-catalogs-and-system-views/system-views/PG_VIEWS.md) + + [PG_WLM_STATISTICS](./reference-guide/system-catalogs-and-system-views/system-views/PG_WLM_STATISTICS.md) + + [PGXC_PREPARED_XACTS](./reference-guide/system-catalogs-and-system-views/system-views/PGXC_PREPARED_XACTS.md) + [PLAN_TABLE](./reference-guide/system-catalogs-and-system-views/system-views/PLAN_TABLE.md) - + [GS_FILE_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_FILE_STAT.md) - + [GS_OS_RUN_INFO](./reference-guide/system-catalogs-and-system-views/system-views/GS_OS_RUN_INFO.md) - + [GS_REDO_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_REDO_STAT.md) - + [GS_SESSION_STAT](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_STAT.md) - + [GS_SESSION_TIME](./reference-guide/system-catalogs-and-system-views/system-views/GS_SESSION_TIME.md) - + [GS_THREAD_MEMORY_CONTEXT](./reference-guide/system-catalogs-and-system-views/system-views/GS_THREAD_MEMORY_CONTEXT.md) + 系统函数 + [逻辑操作符](./reference-guide/functions-and-operators/1-logical-operators.md) + [比较操作符](./reference-guide/functions-and-operators/2-comparison-operators.md) -- Gitee