---
title: "Configure the batch size for the GetMappingsForIdFromDbCommand requests"
slug: "configure-the-batch-size-for-the-getmappingsforidfromdbcommand-requests"
abstract: "How to configure the number of deterministic Sitecore item IDs to include in a batch."
---
# Configure the batch size for the GetMappingsForIdFromDbCommand requests

The `GetMappingsForIdFromDbCommand` method fetches catalog mapping entries in batches. The batch size is configurable and is set to 20 by default.

To change the batch size of Sitecore IDs to fetch in a `GetMappingsForIdFromDbCommand` request:

1. Open the `App_Config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config` file.
2. Change the value of the `getCatalogMappingsForIdsBatchSize` to the desired number of deterministic Sitecore item IDs to include in a batch.