I am running a scheduled task which checks the value of an attribute at a set time every night. My plan is to build up a frontend based on the values returned.
At the moment, I am returning over 800 rows in my database a night since there is such an amount of data to return.
One of these columns is the date that the query was ran on – it’s struck me that this is redundant since, for every group of attributes (ie every night the scheduled task is ran) this dateTime value will be the same.
What’s the best approach to remove this redundant/repeated date from my database?
At the moment I have colmn headings of :
Id -- Name -- AttributeIMeasure -- dateRan
Thanks for the help!
I’d be tempted to create a separate table,
RunInformation, with a primary key column,Id, and aRunDatecolumn:You could then replace the
dateRancolumn from your table with a reference to theRunInformationtable. This will allow you to store additional information about the run in future, if the needs arises.