# Pre-processing previously recorded data

**URL:** <https://forum.inductiveautomation.com/t/pre-processing-previously-recorded-data/69335>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 2, 2023, 12:05pm UTC](https://forum.inductiveautomation.com/t/pre-processing-previously-recorded-data/69335 "2023-02-02T12:05:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henrique\_Starosky](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/henrique_starosky/32/81725_2.png) [@Henrique\_Starosky](https://forum.inductiveautomation.com/u/Henrique_Starosky)\
**Post date:** [February 2, 2023, 12:05pm UTC](https://forum.inductiveautomation.com/t/pre-processing-previously-recorded-data/69335/1 "2023-02-02T12:05:13Z")

</div>

Hello!

I'm using Ignition 8.1 to create a SCADA system, and I'm having troubles with my datasets. We currently record data on change \> 0.01, and with at least 15s between every entry, but our client only needs data in 5-5 minute intervals.

The querying and time intervals for the data is fine, except for how slow it currently is going. So, I found out about the pre-processing feature of this software. And it has (mostly) solved my slow queries.

Now, here is my _actual_ problem: The previous year of data is **not** optimized in this manner, and so if we try to query older data the query speed tanks again.

So, is there any way other than writing a third party script that I can apply this optimization retroactively?
