Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Truncate command

$
0
0

Hi All,

We are planning to purge data from one of our database.

As the record counts are in millions, we are planning to create temporary tables and import only the last 6 month data and then drop the original tables. And later rename the temporary table.

My concern is we are having a mirroring setup.

What would be the effect of the above operation on the mirror server. If we drop a table in principal server, will that get dropped in mirror as well?

Also whats the effect of dropping table in tlog? If I am going to delete the rows, as the rowcount is huge it would flood the tlog. What about dropping table?

Thank You!


Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>