---
title: "Run the tool"
slug: "run-the-tool"
abstract: ""
---
# Run the tool

You run the *Sitecore Xdb Collection Update* tool from a Windows Command Prompt.

You can also run this tool before using the shard keys *functionality*.

> [!note]
> We recommended that you run this tool on offline databases.

If it is impossible to take the database offline, we recommend that you [turn off change tracking](https://docs.microsoft.com/en-us/sql/relational-databases/track-changes/enable-and-disable-change-tracking-sql-server?view=sql-server-2017) for the tables whose shards are updated - *Contacts*, *Interactions*, *InteractionFacets*.

> [!important]
> Do not turn off change tracking at database level.