content/influxdb3/clustered/install/optimize-cluster/design-schema.md
Schema design can have a significant impact on both write and query performance in your InfluxDB cluster. The items below cover high-level considerations and recommendation. For detailed recommendations, see Schema design recommendations.
In the InfluxDB data structure, there are three main "categories" of information--timestamps, tags, and fields. Understanding the difference between what should be a tag and what should be a field is important when designing your schema.
Use the following guidelines to determine what should be tags versus fields:
For more information, see Tags versus fields.
InfluxDB enforces the following schema restrictions:
For more information, see InfluxDB schema restrictions.
The following guidelines help to ensure write and query performance:
{{% caption %}} Follow the links below for more detailed information. {{% /caption %}}
The following guidelines help to ensure that, when querying data, the schema makes it easy to write queries:
{{% caption %}} Follow the links below for more detailed information. {{% /caption %}}
{{< page-nav prev="/influxdb3/clustered/install/optimize-cluster/" prevText="Optimize your cluster" next="/influxdb3/clustered/install/optimize-cluster/write-methods/" nextText="Identify write methods" >}}