> For the complete documentation index, see [llms.txt](https://docs.mediarithmics.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mediarithmics.io/audience-and-activation/build-your-audiences/segment-reference/segment-types/partition-segment.md).

# Partition segment

The random, mutually exclusive split of your datamart into parts of roughly equal size.

## What it is

Partitioning your datamart means dividing your collection of users into **Partition segments** of roughly equal size. Every user is randomly attributed to one, and only one, partition segment within a partition.

{% hint style="info" %}
By default, your datamart comes with a partition of 100 partition segments - so each one holds roughly 1% of your users, and a group built from 10 of them is roughly a 10% sample.
{% endhint %}

## Why they exist

Partitions are the platform's source of unbiased random samples, which makes them the substrate for two things:

* **A/B testing.** Expose some partition segments to a campaign, hold the others back, and compare conversion rates. Simple randomisation in an [experiment](/audience-and-activation/build-your-audiences/segment-reference/segment-types/experiment-groups-segment.md) works exactly this way, and the permanent control group configured at datamart level is built from partitions too - both are documented in the **Measurement & Attribution** section, under *Set up an A/B test*.
* **Lookalike work.** A partition can be used as the starting point for building a larger audience.

## Creating a partition

Partitions are managed in datamart settings, under **Settings > Datamart > Partitions**, where existing partitions are also listed.

{% stepper %}
{% step %}

### Create the partition

Click **New Partition**, then **Random Split**.
{% endstep %}

{% step %}

### Size it

Define a **Partition Name** and a **Part Count**, from 0 to 100.
{% endstep %}

{% step %}

### Save

Save the partition. It is displayed alongside any partitions created earlier.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
A partition is **dynamic** by nature: users are liable to move in and out of it over time. Anything built on partitions inherits that, which is why a group drawn from them is never a frozen list.
{% endhint %}

## Related pages

<table data-view="cards" data-search="false"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Experiment groups segment</strong></td><td>What simple randomisation builds out of partitions.</td><td><a href="/audience-and-activation/build-your-audiences/segment-reference/segment-types/experiment-groups-segment.md">Experiment groups segment</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mediarithmics.io/audience-and-activation/build-your-audiences/segment-reference/segment-types/partition-segment.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
