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:
creating
archivedtransaction
in same database, problem size of database keep growing , @ point have start deleting rows.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
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
Post a Comment