Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7829687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:52:45+00:00 2026-06-02T10:52:45+00:00

I installed SQL Server 2012, and attached a database originally generated by SQL Server

  • 0

I installed SQL Server 2012, and attached a database originally generated by SQL Server 2008 R2.

Everything appeared to work perfectly, with one problem: merges dropped from 1000 per second to 10 per second (a 100x slowdown).

I’m surmising that its because I am accessing a SQL Server 2008 R2 database from SQL Server 2012. Is there some way to convert the database to SQL Server 2012 format? Or is there something else thats going on that might explain the 100x slowdown in performance?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:52:47+00:00Added an answer on June 2, 2026 at 10:52 am

    Please make sure that you set the compatibility mode of the database to 110, and update statistics.

    ALTER DATABASE MyDatabase SET COMPATIBILITY_LEVEL = 110;
    
    DECLARE @sql NVARCHAR(MAX) = N'';
    
    SELECT @sql += CHAR(13) + CHAR(10) + 'UPDATE STATISTICS '
      + QUOTENAME(SCHEMA_NAME(schema_id)) 
      + '.' + QUOTENAME(name) + ' WITH FULLSCAN;'
      FROM sys.tables;
    
    PRINT @sql;
    --EXEC sp_executesql @sql;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had SQL Server Express 2008, 2008 R2, and 2012 RC0 installed when I
I just installed SQL Server Management Studio 2008, to work with SQL-Compact. So I
I installed SQL Server 2008 R2 the other day to work with Visual Studio
They have installed SQL Server 2008 R2 on my work machine. Connecting to (local)
I installed VS 11 beta and SQL Server 2012 on my development machine and
I installed SQL Server 2008 R2 to my local machine. But, I can't create
i just installed sql server 2008 express in order to learn microsoft sql. why
I've just installed SQL Server 2008 Developer edition and I'm trying to connect using
I have just installed SQL Server 2008 including Reporting Services on Windows Server 2003.
I have installed SQL Server 2008 R2 Express on Windows 7. When I run

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.