From 5b0645c522b7823142c59f22c30eb9f7764f619b Mon Sep 17 00:00:00 2001 From: Serena Date: Sun, 2 Mar 2025 10:06:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20Add=20markdown=E6=96=87=E6=A1=A3=20?= =?UTF-8?q?documentation=20(EN=20&=20ZH)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...61\346\226\207\346\226\207\346\241\243.md" | 26 ++++++++++++++++ ...55\346\226\207\346\226\207\346\241\243.md" | 30 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 "docs/\350\213\261\346\226\207\346\226\207\346\241\243.md" create mode 100644 "i18n/zh/docusaurus-plugin-content-docs/current/\344\270\255\346\226\207\346\226\207\346\241\243.md" diff --git "a/docs/\350\213\261\346\226\207\346\226\207\346\241\243.md" "b/docs/\350\213\261\346\226\207\346\226\207\346\241\243.md" new file mode 100644 index 00000000000..d6884b3060b --- /dev/null +++ "b/docs/\350\213\261\346\226\207\346\226\207\346\241\243.md" @@ -0,0 +1,26 @@ + + + + +# pg_test_timing Documentation + +## Overview + +`pg_test_timing` is a utility tool provided by Cloudberry for testing the timing behavior of PostgreSQL database operations. It helps in identifying performance bottlenecks and optimizing database operations. + +## Features + +- Measures execution time of SQL queries +- Supports multiple query execution modes +- Provides detailed timing reports + +## Usage + +To use `pg_test_timing`, follow these steps: + +1. Install `pg_test_timing` if not already installed. +2. Run the tool with the necessary parameters. + +Example command: +```bash +pg_test_timing -d your_database -c "SELECT * FROM your_table" \ No newline at end of file diff --git "a/i18n/zh/docusaurus-plugin-content-docs/current/\344\270\255\346\226\207\346\226\207\346\241\243.md" "b/i18n/zh/docusaurus-plugin-content-docs/current/\344\270\255\346\226\207\346\226\207\346\241\243.md" new file mode 100644 index 00000000000..f31cd942ee2 --- /dev/null +++ "b/i18n/zh/docusaurus-plugin-content-docs/current/\344\270\255\346\226\207\346\226\207\346\241\243.md" @@ -0,0 +1,30 @@ + + + + + +## 中文技术文档:pg_test_timing 文档 + +```markdown +# pg_test_timing 文档 + +## 概述 + +`pg_test_timing` 是 Cloudberry 提供的一个实用工具,用于测试 PostgreSQL 数据库操作的时间行为。它有助于识别性能瓶颈并优化数据库操作。 + +## 功能 + +- 测量 SQL 查询的执行时间 +- 支持多种查询执行模式 +- 提供详细的时间报告 + +## 使用方法 + +要使用 `pg_test_timing`,请按照以下步骤操作: + +1. 如果尚未安装,请安装 `pg_test_timing`。 +2. 使用必要的参数运行工具。 + +示例命令: +```bash +pg_test_timing -d your_database -c "SELECT * FROM your_table" \ No newline at end of file From d44b5151773d479bc66fd1047c2dbca783fe82c8 Mon Sep 17 00:00:00 2001 From: Serena Date: Sun, 2 Mar 2025 10:11:41 +0800 Subject: [PATCH 2/2] docs: Add pg_test_timing documentation (EN & ZH) --- .../pg_test_timing.md | 0 .../zh/docusaurus-plugin-content-docs/current/pg_test_timing.md | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename "docs/\350\213\261\346\226\207\346\226\207\346\241\243.md" => docs/pg_test_timing.md (100%) rename "i18n/zh/docusaurus-plugin-content-docs/current/\344\270\255\346\226\207\346\226\207\346\241\243.md" => i18n/zh/docusaurus-plugin-content-docs/current/pg_test_timing.md (100%) diff --git "a/docs/\350\213\261\346\226\207\346\226\207\346\241\243.md" b/docs/pg_test_timing.md similarity index 100% rename from "docs/\350\213\261\346\226\207\346\226\207\346\241\243.md" rename to docs/pg_test_timing.md diff --git "a/i18n/zh/docusaurus-plugin-content-docs/current/\344\270\255\346\226\207\346\226\207\346\241\243.md" b/i18n/zh/docusaurus-plugin-content-docs/current/pg_test_timing.md similarity index 100% rename from "i18n/zh/docusaurus-plugin-content-docs/current/\344\270\255\346\226\207\346\226\207\346\241\243.md" rename to i18n/zh/docusaurus-plugin-content-docs/current/pg_test_timing.md