> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 数据建模概览

> 数据建模概览

本节介绍 ClickHouse 中的数据建模，包含以下主题：

<CardGroup cols={2}>
  <Card title="Schema 设计" icon="pen-ruler" href="/docs/zh/guides/clickhouse/data-modelling/schema-design">
    面向最佳性能的 ClickHouse schema 设计，需要综合考虑查询、数据更新、延迟和数据量等因素。
  </Card>

  <Card title="稀疏主索引" icon="key" href="/docs/zh/guides/clickhouse/data-modelling/sparse-primary-indexes">
    实用介绍 ClickHouse 中的主索引。
  </Card>

  <Card title="数据反规范化" icon="table-list" href="/docs/zh/guides/clickhouse/data-modelling/denormalization">
    通过将相关数据存储在单个表中来提升查询性能的数据反规范化方法。
  </Card>

  <Card title="数据回填" icon="clock-rotate-left" href="/docs/zh/guides/clickhouse/data-modelling/backfilling">
    高效向 ClickHouse 表回填数据的方法。
  </Card>

  <Card title="Merge 表函数" icon="code-merge" href="/docs/zh/guides/clickhouse/data-modelling/merge-table-function">
    使用 `merge` 表函数将多个表作为一个表来查询。
  </Card>

  <Card title="存储过程和预处理语句" icon="database" href="/docs/zh/guides/clickhouse/data-modelling/stored-procedures-and-prepared-statements">
    ClickHouse 中的存储过程和查询参数。
  </Card>

  <Card title="生成测试数据" icon="flask" href="/docs/zh/guides/clickhouse/data-modelling/generating-test-data">
    如何在 ClickHouse 中生成随机测试数据。
  </Card>

  <Card title="数据压缩" icon="file-zipper" href="/docs/zh/guides/clickhouse/data-modelling/compression/compression-in-clickhouse">
    ClickHouse 中的压缩、可用的压缩模式，以及如何为数据类型和工作负载选择合适的模式。
  </Card>

  <Card title="使用数组" icon="list-ol" href="/docs/zh/guides/clickhouse/working-with-arrays">
    在 ClickHouse 中使用数组。
  </Card>

  <Card title="使用 JOIN" icon="link" href="/docs/zh/guides/clickhouse/working-with-joins">
    在 ClickHouse 中使用 JOIN。
  </Card>
</CardGroup>
