Skip to content

Commit 0177e53

Browse files
committed
minor formatting changes
1 parent 28816fa commit 0177e53

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docs/guides/generating-test-data.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ title: 'Generating random test data in ClickHouse'
44
slug: /guides/generating-test-data
55
description: 'Learn about Generating Random Test Data in ClickHouse'
66
show_related_blogs: true
7+
doc_type: 'guide'
8+
keywords: ['random data', 'test data']
79
---
810

9-
# Generating Random Test Data in ClickHouse
11+
# Generating random test data in ClickHouse
1012

11-
Generating random data is useful when testing new use cases or benchmarking your implementation. ClickHouse has a [wide range of functions for generating random data](/sql-reference/functions/random-functions) that, in many cases, avoid the need for an external data generator.
13+
Generating random data is useful when testing new use cases or benchmarking your implementation.
14+
ClickHouse has a [wide range of functions for generating random data](/sql-reference/functions/random-functions) that, in many cases, avoid the need for an external data generator.
1215

1316
This guide provides several examples of how to generate random datasets in ClickHouse with different randomness requirements.
1417

15-
## Simple Uniform Dataset
18+
## Simple uniform dataset {#simple-uniform-dataset}
1619

1720
**Use-case**: Generate a quick dataset of user events with random timestamps and event types.
1821

@@ -40,7 +43,7 @@ FROM numbers(1000000);
4043

4144
---
4245

43-
## Exponential Distribution
46+
## Exponential distribution {#exponential-distribution}
4447

4548
**Use-case**: Simulate purchase amounts where most values are low, but a few are high.
4649

@@ -65,7 +68,7 @@ FROM numbers(500000);
6568

6669
---
6770

68-
## Time-Distributed Events (Poisson)
71+
## Time-distributed events (Poisson) {#poisson-distribution}
6972

7073
**Use-case**: Simulate event arrivals that cluster around a specific period (e.g., peak hour).
7174

@@ -88,7 +91,7 @@ FROM numbers(200000);
8891

8992
---
9093

91-
## Time-Varying Normal Distribution
94+
## Time-varying normal distribution {#time-varying-normal-distribution}
9295

9396
**Use-case**: Emulate system metrics (e.g., CPU usage) that vary over time.
9497

@@ -115,7 +118,7 @@ FROM numbers(10000);
115118

116119
---
117120

118-
## Categorical & Nested Data
121+
## Categorical and nested data {#categorical-and-nested-data}
119122

120123
**Use-case**: Create user profiles with multi-valued interests.
121124

0 commit comments

Comments
 (0)