> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8a08bda2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 性能与优化

> ClickHouse 性能与优化功能概览

本节介绍如何借助 ClickHouse 的各项功能和技术提升查询与摄取性能。建议先阅读
[核心概念](/zh/concepts/core-concepts/parts)，了解这些指南所依托的基础知识。

<CardGroup cols={2}>
  <Card title="PREWHERE 优化" icon="filter" href="/zh/concepts/features/performance/prewhere">
    了解 `PREWHERE` 如何在读取非过滤列之前先过滤数据，从而减少 I/O，以及如何监控其效果。
  </Card>

  <Card title="分配分析" icon="chart-line" href="/zh/concepts/features/performance/allocation-profiling">
    分析内存分配，以诊断内存压力并优化 ClickHouse 中的资源使用。
  </Card>

  <Card title="缓存" icon="bolt" href="/zh/concepts/features/performance/caches/caches">
    查询缓存、查询条件缓存和用户态页缓存，可用于加速重复工作负载。
  </Card>

  <Card title="跳过索引" icon="forward" href="/zh/concepts/features/performance/skip-indexes/skipping-indexes">
    使用二级跳过索引裁剪无关的数据块，加快带过滤条件的查询。
  </Card>

  <Card title="惰性物化" icon="clock" href="/zh/concepts/features/performance/lazy-materialization">
    将列读取延后到实际需要时再执行，以减少选择性查询的 I/O。
  </Card>

  <Card title="故障排查" icon="bug" href="/zh/concepts/features/performance/troubleshoot/sampling-query-profiler">
    采样查询分析器、硬件基准测试，以及内存问题调试。
  </Card>
</CardGroup>
