VG008
Senior Member
Hi Guys
We receive a csv file, daily (8am) with around ~5 million records that needs to be loaded into our database. The file has sensitive data in it, so we need to encrypt certain columns. The data needs to be appended to the existing data in the table.
This data is queried by our dispute department via a website and needs to be available as soon as possible.
Currently the data takes ~1 hour to load, but it takes 4 mins to load the data into a non-indexed table.
So the problem seems to be with the indexes which slows the load.
We were thinking of disabling the indexes, load the data, and them rebuild the index (all takes 15mins), however people are querying this table and will be unusable via the website.
Any ideas on how to improve the load speed?
Tech used:
MS SQL Server 2012
SSIS
Thanks!
We receive a csv file, daily (8am) with around ~5 million records that needs to be loaded into our database. The file has sensitive data in it, so we need to encrypt certain columns. The data needs to be appended to the existing data in the table.
This data is queried by our dispute department via a website and needs to be available as soon as possible.
Currently the data takes ~1 hour to load, but it takes 4 mins to load the data into a non-indexed table.
So the problem seems to be with the indexes which slows the load.
We were thinking of disabling the indexes, load the data, and them rebuild the index (all takes 15mins), however people are querying this table and will be unusable via the website.
Any ideas on how to improve the load speed?
Tech used:
MS SQL Server 2012
SSIS
Thanks!