PxPlus User Forum

Main Board => Discussions => Language => Topic started by: michaelgreer on October 02, 2019, 04:20:27 PM

Title: File performance
Post by: michaelgreer on October 02, 2019, 04:20:27 PM
I have a customer whose history files have years (10+) of history.  Will this degrade overall performance. I process that they run daily is now taking a good deal longer than it used to and we are looking at ways to resolve this.
Title: Re: File performance
Post by: Mike King on October 02, 2019, 05:12:54 PM
Obviously larger files take longer to read thru -- so depending on your logic larger files could increase the run time for some of your processing.

There are however a number of ways to improve performance.


Lastly, make sure you processes attempts to use keys to filter the data.  I have seen instances where nightly processing simply reads through ALL records and then filters by date as opposed to reading using an alternate key that is based on the date required.

Now if all else fails, try to make sure the system is using SSD disc drives as these tend to run faster.