> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Modifying store configurations

Adding an index on the `TradeAttributes` store in the `PnL` schema. Setting a global config for the chunksize, overridden by the `TradeAttributes` configuration:

```Java theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
IMutableStore config = new MutableStoreConfig();
    config
        .withIndexOn("InstrumentClass", "AsOfDate");
    config
        .withChunkSize(2048);

IMutableStore globalConfig = new MutableStoreConfig();
    globalConfig
        .withChunkSize(1024);

configurator.addConfiguration("PnL", "TradeAttributes", config);
configurator.addConfiguration(ConfigurationConstants.ALL_STORES, globalConfig);
```
