asp.net - Datatable Archival SQL Server 2008 -


i have database 54 gb in size, of tables have loads of rows in them.

now querying these tables eats performance , takes ages queries execute.

have created indexes , stuff, planning archive records in tables , query them when user wants to.

for example, let's have table called transaction , don't need rows of older 3 months.

now want store rows of transaction table more 3 months old other table , query table when user in ui says view archived transactions.

options can think of:

  1. creating archivedtransaction in same database, problem size of database keep growing , @ point have start deleting rows.

  2. moving rows different database altogether in case how manage database request, there lot of change required, not sure of performance when 1 says view archived rows

  3. adding column archived tables , checking flag when needed, size issue still same , performance doesn't improve extent.

i not sure way go, sure there better way handle not aware of.

any ideas way go? there way can suggest.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -