Quantcast
Channel: Will Rebuild and Reorganize improve Database Migration Script performance execution? - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 2

Will Rebuild and Reorganize improve Database Migration Script performance execution?

0
0

I would like to know if a Database Schema Migration Script (generated by Visual Studio 2008 or greater) will run faster if my target database got indexes rebuilt and/or reorganized.

Note: For all tables, when index fragmentation level is between 5% and 30% I reorganize the index. When index index fragmentation level is above 30% I rebuild the index.

Note 2: Database schema migration script generated by Visual Studio has a lot of commands to alter table structure, add constraints, foreing keys and indexes in order to keep target database structure updated/syncronized with files contained in our Database project (.dbproj file).


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images