Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/pg_test_timing.md
Original file line number Diff line number Diff line change
@@ -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"
30 changes: 30 additions & 0 deletions i18n/zh/docusaurus-plugin-content-docs/current/pg_test_timing.md
Original file line number Diff line number Diff line change
@@ -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"