# Ignition built in history limited to two days

**URL:** <https://forum.inductiveautomation.com/t/ignition-built-in-history-limited-to-two-days/58299>\
**Category:** Ignition\
**Created:** [April 11, 2022, 2:58pm UTC](https://forum.inductiveautomation.com/t/ignition-built-in-history-limited-to-two-days/58299 "2022-04-11T14:58:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Heiting](https://avatars.discourse-cdn.com/v4/letter/n/8797f3/32.png) [@Nick\_Heiting](https://forum.inductiveautomation.com/u/Nick_Heiting)\
**Post date:** [April 11, 2022, 2:58pm UTC](https://forum.inductiveautomation.com/t/ignition-built-in-history-limited-to-two-days/58299/1 "2022-04-11T14:58:33Z")

</div>

I’m new to Ignition and our company first started using it this year. I recently setup a number of tags to be tracked in the BuiltIn History storage provider. The tracking works great for the last 2-3 days of data but when I try to lookup anything older it will be zero.

I have about 2500 tags that I am tracking across various equipment. Most are setup to sample Mode - On Change with a Min Time of 1 second and max time 0 hours (default settings).

Is there a limit to how much data the built in history can store? Is there a way to change this parameter?

I’ve attempted to upload a picture of a powerchart showing the problem. You can see the total products made each shift, resetting at the end of each shift. This equipment runs everyday and shows zero’s for all data before a certain point. If I run this chart an hour from now the first hour of data on the chart is lost.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/6/f6b4bfdd6aad4639a3207113e267393a593c9ca3.png)

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [April 11, 2022, 3:15pm UTC](https://forum.inductiveautomation.com/t/ignition-built-in-history-limited-to-two-days/58299/2 "2022-04-11T15:15:05Z")

</div>

Two quick questions:

1. Is this an Ignition Edge gateway? Edge has a limited historian, but I think it’s longer than 2 days.
2. Does your history provider have pruning enabled at 2 days? [Docs on history provider configuration](https://docs.inductiveautomation.com/display/DOC81/Tag+History+Providers)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0c954895a348dd9337835c6587e7052cb2e51226.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Heiting](https://avatars.discourse-cdn.com/v4/letter/n/8797f3/32.png) [@Nick\_Heiting](https://forum.inductiveautomation.com/u/Nick_Heiting)\
**Post date:** [April 11, 2022, 3:54pm UTC](https://forum.inductiveautomation.com/t/ignition-built-in-history-limited-to-two-days/58299/3 "2022-04-11T15:54:13Z")

</div>

Thank you for your response.

It is not an Ignition Edge Gateway.

I followed the documentation per your link. Under the Tags - History section we have Time Limit Enabled set to 1 year and point limited to 10 million points. If I’m viewing ~2500 records and half of them are storing each second it would start pruning records after 66 hours which appears to be what I’m seeing. I’ll need to reexamine if all my tags need to be logged as frequently as they are currently needed.

Is there any suggestions on point limit size? It says the default is 10 million points. Do we start to see any type of performance decrease if this is too large or is there just storage space concerns? Is there any type of translation between points and storage space?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 11, 2022, 4:01pm UTC](https://forum.inductiveautomation.com/t/ignition-built-in-history-limited-to-two-days/58299/4 "2022-04-11T16:01:29Z")

</div>

Have you set your analog deadbands to sensible values? When you do you get huge data compression.

See [Configuring Tag History - Ignition User Manual 8.0 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC80/Configuring+Tag+History#ConfiguringTagHistory-DeadbandandAnalogCompression).

---

<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:** [April 11, 2022, 4:09pm UTC](https://forum.inductiveautomation.com/t/ignition-built-in-history-limited-to-two-days/58299/5 "2022-04-11T16:09:53Z")

</div>

> [@Nick\_Heiting](#):
>
> It is not an Ignition Edge Gateway.

You probably should be using a proper database. The defaults for the internal provider reflect its light-duty nature.

---

<div class="post-metadata">

**Author:** ![Nick\_Heiting](https://avatars.discourse-cdn.com/v4/letter/n/8797f3/32.png) [@Nick\_Heiting](https://forum.inductiveautomation.com/u/Nick_Heiting)\
**Post date:** [April 11, 2022, 4:11pm UTC](https://forum.inductiveautomation.com/t/ignition-built-in-history-limited-to-two-days/58299/6 "2022-04-11T16:11:10Z")

</div>

I left it on the default deadbands. I’ll make a pass through that at the same time I change the sampling. I’m really glad I setup everything as UDTs
