Table extension

concept australia Updated Mar 12, 2026 1 min read table-extension.md
Raw file servicenow.com

Partition and preserve data sets for extended periods without overwriting.

Table extension is based around a base table and a number of shards. The shards are given a duration which determines the period of time across which data is written to each shard. Shards in a table extension don't rotate. Instead of the oldest shard being truncated and re-used, an extension creates new shards indefinitely. This way, data remains logically separated across shards due to creation date and no data is ever deleted.

Advantages

Table extension partitions data across tables, which allows you to archive data while ensuring that tables stay reasonably-sized. The working set of data is reduced when queries include date-range filters that limit results to specific shards.

Disadvantages

Table extension requires a union query when you query for a time range that spans multiple tables. Union queries are less efficient than queries against a single table. Improperly configured table extensions can cause the system to query across multiple extension tables unnecessarily, resulting in slower query performance and higher database load.

Parent Topic:Applying database rotation techniques

Related topics

Activate database rotation

Table rotation

Keywords table extensiondatabase rotationtable shardsdata partitioning
Search documentation
Search document titles and file paths on the australia branch