# Config.idb backup size

**URL:** <https://forum.inductiveautomation.com/t/config-idb-backup-size/69762>\
**Category:** Ignition\
**Created:** [February 13, 2023, 8:45am UTC](https://forum.inductiveautomation.com/t/config-idb-backup-size/69762 "2023-02-13T08:45:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deville\_Xavier](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@Deville\_Xavier](https://forum.inductiveautomation.com/u/Deville_Xavier)\
**Post date:** [February 13, 2023, 8:45am UTC](https://forum.inductiveautomation.com/t/config-idb-backup-size/69762/1 "2023-02-13T08:45:46Z")

</div>

The config.idb backup of my project is ~ 1.8Go. Any idea why this is so big ? We have about 10 000 tags and use v 8.1.24.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 13, 2023, 1:09pm UTC](https://forum.inductiveautomation.com/t/config-idb-backup-size/69762/2 "2023-02-13T13:09:00Z")

</div>

Did you convert from v7.9? There are left-over project resources that might need to be cleaned out. You should have support look over your shoulder in this case.

Are you storing large documents or datasets in memory tags? Those get placed in the internal DB.  
Consider not doing that.

---

<div class="post-metadata">

**Author:** ![Deville\_Xavier](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@Deville\_Xavier](https://forum.inductiveautomation.com/u/Deville_Xavier)\
**Post date:** [February 13, 2023, 1:49pm UTC](https://forum.inductiveautomation.com/t/config-idb-backup-size/69762/3 "2023-02-13T13:49:31Z")

</div>

I did not convert from 7.9, I read this thread : [Purging the config.idb after splitting frontend/backend](https://forum.inductiveautomation.com/t/purging-the-config-idb-after-splitting-frontend-backend/52702) and both PROJECT\_CHANGES and PROJECT\_RESOURCES tables are empty.

> [@pturmel](#):
>
> Are you storing large documents or datasets in memory tags?

I don't, I removed all the tag providers and the size of the backup did not change.

I found that the culprit was the TAGCONFIG table. After pruning this table, the size of the config.idb went down from 1.8Go to 4Mo. Do you know the potential side effect of deleting this table ?

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [February 13, 2023, 3:40pm UTC](https://forum.inductiveautomation.com/t/config-idb-backup-size/69762/4 "2023-02-13T15:40:53Z")

</div>

FWIW, 8.1.23 introduced automatic cleanup of older project-related tables (which migrated outside of the config.idb with 8.x) and auto-pruning on gateway startup. In that same release, opt-in functionality was added to prune old SQLTAG tables from the config.idb, activated via the system property `ignition.tags.cleanupLegacyTagTables=true`. Note that `TAGCONFIG` is still an active table and contains your UDT and tag definition data--not something you want to manually edit/purge by hand in most cases.
