Upsizing Analysis
Posted: Sun Nov 17, 2024 8:40 am
I wrote an upsizing program that stores info in a table named DBFUPSIZE.DBF.
It stores the number of seconds it takes to upsize each table.
It becomes obvious that the number of records is not important, but instead the size of the DBF and FPT files.
I'm going to try to figure out a logarithmic calculation based on the data, but unfortunately, the DbfUpsize() function does not make calls to the logger during the actual data importing.
I can only determine the full amount of time (in seconds) for each table.
I am hoping that the PostGreSQL server can provide some of this information in it's own logs.
My goal is to give an estimate of how long it will take for any table to be upsized depending on it's size, so the user can be aware.
II want to figure out an equation to estimate the upsizing time of a complete set of tables before the user starts the process.
The Upsizing program I wrote gives a list of each table and allows the user to tag tables from the list to upsize.
It stores the number of seconds it takes to upsize each table.
It becomes obvious that the number of records is not important, but instead the size of the DBF and FPT files.
I'm going to try to figure out a logarithmic calculation based on the data, but unfortunately, the DbfUpsize() function does not make calls to the logger during the actual data importing.
I can only determine the full amount of time (in seconds) for each table.
I am hoping that the PostGreSQL server can provide some of this information in it's own logs.
My goal is to give an estimate of how long it will take for any table to be upsized depending on it's size, so the user can be aware.
II want to figure out an equation to estimate the upsizing time of a complete set of tables before the user starts the process.
The Upsizing program I wrote gives a list of each table and allows the user to tag tables from the list to upsize.