Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

SQL Upgrade 2008 to 2012

Hi,

We are currently in progress of upgrading our new web-apps to take advantage of .net 4.5
As it stands we can just mount our current sql 2008r2 databases into SQL 2012 and all will work fine after our tests. The question is, should we also rebuild the database directly in 2012 rather then 're-moun' the old ones? Are there any differences to building it fresh in 2012?

Performance? Optimisations? Features?

or is it just a waste of time and go ahead and mount the 'older' 2008 r2 databases?

Thanks!
0
dqnet
Asked:
dqnet
  • 4
  • 3
1 Solution
 
strivoliCommented:
Just to avoid misunderstandings: you have one server (call it 1st) with SQL2008R2 and another server (call it 2nd) with SQL2012. Correct?
If this is it, I would mount the DBs into SQL2012. I see no need to "rebuild".
Take care of the compatibility level of each DB.
0
 
dqnetAuthor Commented:
Yes that's correct.
My developers were saying that just mounting it may not bring all the optimization a that rebuilding it in SQL 2012 would do.. I'm not too sure about databases but they have no problems just mounting it. It was just advice that it would probably be better in the long run to have it built straight up using 2012.

Is this true?
0
 
strivoliCommented:
I don't think this is true. I believe the mount is enough. You might also run a Job after mounting it on SQL2012:
a. Check DB Integrity,
b. Rebuild+Reorganize Index,
c. Update Statistics.

Once you have run these tasks, you should be more than OK.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
dqnetAuthor Commented:
Do you have any links that may help?
I've searched but can't find anything of any real substance.
0
 
dqnetAuthor Commented:
?
0
 
strivoliCommented:
I apologize fro the delay...

Your question "Do you have any links that may help?":

My answers:
a. If you search for links suggesting a rebuild instead of a mount, I don't have any and you probably won't find any official documents suggesting you to run a rebuild since the mount is fully supported by MS.
b. If you search for links about the DB Integrity, Index, and Statistics, the SQL Books Online are the best source and you'll find almost any useful information.
0
 
dqnetAuthor Commented:
Sorry for the delay! Points awarded! :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now