Quantcast
Channel: alter table alter column causes huge log and data file growth - Database Administrators Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Jonathan Fite for alter table alter column causes huge log and data...

minimum storage for a VARCHAR is 4 bytes, I think, so you did change the size of the column from 1 byte to at least 4 bytes, causing (as you have observed) large amounts of data movement as the column...

View Article


alter table alter column causes huge log and data file growth

I have a table with 2.6B rows in it and I need to change a column from Char(1) to Varchar(64). the table is over 300GB with a few indexes. The column in nullable, so the transaction i'm running...

View Article

Browsing latest articles
Browse All 2 View Live


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