# Query data from Old Partitioned table

**URL:** <https://forum.inductiveautomation.com/t/query-data-from-old-partitioned-table/37175>\
**Category:** Ignition\
**Created:** [July 29, 2020, 3:47am UTC](https://forum.inductiveautomation.com/t/query-data-from-old-partitioned-table/37175 "2020-07-29T03:47:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arulwilliam](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@Arulwilliam](https://forum.inductiveautomation.com/u/Arulwilliam)\
**Post date:** [July 29, 2020, 3:47am UTC](https://forum.inductiveautomation.com/t/query-data-from-old-partitioned-table/37175/1 "2020-07-29T03:47:43Z")

</div>

Hi All,  
Due to data growth in the tag history table.I have configured Partition length as 2 weeks.  
Now if i query data using system.tag.queryTagHistory() and passing stat time parameter which is in old table and End time is in new table,Im getting the following error  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/b/4b60d748c5e7403584c8d33e545427593d3a94f9.png) .

Please help to resolve this
