The company I work for is building a data mart that wants 7 years of data maintained within it. Unfortunately, one table is well over 1 billion records.
My question is this: what would be the best way to keep this table current? (Daily update or quicker)
I know the MERGE
statement is quite beneficial for this but I'm hoping to not have to parse through 1 billion records for each MERGE
. Table partitioning is out as we do not have the Enterprise edition of SQL Server.
Any direction would be greatly appreciated :)