Super D to the B to the A – AKA Script for reducing the size of a database

Posted by: Fervent Coder, on 14 Dec 2012 | View original | Bookmarked: 0 time(s)

The following is a script that I used to help me clean up a database and reduce the size of it from 95MB down to 3MB so we could use it for a development backup. I will note that we also removed some of the data out. I shared this with a friend recently and he used this to go from 70GB to 7GB! So what does it do? It gives you a report of what tables are taking up the most space. It allows you to specify those tables for cleaning. Gives you that same report of space used up by tables...

Category: SQL | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 291 | Hits: 13

Similar Posts

  • Running development from a RAM disk options and products more
  • Variable Scoping in Anonymous Delegates in C# more
  • Embedding ASP.NET Server Variables in Client JavaScript more
  • Optimizing Web.UI Client Script Deployment more
  • [tip] Use the Database Publishing Wizard to script your table data more
  • ASP.NET AJAX RC and ScriptControls more
  • Batch files to check SQL 2005 (MDF) files in and out of Subversion source control more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD