Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Wow! SQL Server 2019 is so much quicker than 2012.

Wow! SQL Server 2019 is so much quicker than 2012.

Scheduled Pinned Locked Moved The Lounge
databasesql-servercomsysadminhosting
12 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #1

    Due to one thing and another, I've upgraded from SQL Server Express 2012 for my dev system to SQL Server Developer Edition 2019 (I like to keep the DB engine at the same version as the production server - it means I don't use features that aren't available, and the hosting service was running 2012 until recently). And once I'd unpicked what the Data Migration Assistant wanted me to do (why is it that complicated, given you'll probably use it once or twice a decade?) my dev DB's moved over nicely. Fortunately, I did this a while ago: Instance Storage - A Simple Way to Share Configuration Data among Applications[^] so changing to the new Server instance was a single location change and all my apps switch over. So I test them ... and blow me but it's quick! The apps load maybe ten times faster? Almost immediately, instead of a couple of seconds delay while they sort out the initial data. Impressive stuff!

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    C M O K Richard DeemingR 6 Replies Last reply
    0
    • OriginalGriffO OriginalGriff

      Due to one thing and another, I've upgraded from SQL Server Express 2012 for my dev system to SQL Server Developer Edition 2019 (I like to keep the DB engine at the same version as the production server - it means I don't use features that aren't available, and the hosting service was running 2012 until recently). And once I'd unpicked what the Data Migration Assistant wanted me to do (why is it that complicated, given you'll probably use it once or twice a decade?) my dev DB's moved over nicely. Fortunately, I did this a while ago: Instance Storage - A Simple Way to Share Configuration Data among Applications[^] so changing to the new Server instance was a single location change and all my apps switch over. So I test them ... and blow me but it's quick! The apps load maybe ten times faster? Almost immediately, instead of a couple of seconds delay while they sort out the initial data. Impressive stuff!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      I think I need to add a head-slap reaction ;) SQL has indeed come a long way in 10 years. I'm trying hard to ween myself off it but it's too powerful a drug.

      cheers Chris Maunder

      J 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        Due to one thing and another, I've upgraded from SQL Server Express 2012 for my dev system to SQL Server Developer Edition 2019 (I like to keep the DB engine at the same version as the production server - it means I don't use features that aren't available, and the hosting service was running 2012 until recently). And once I'd unpicked what the Data Migration Assistant wanted me to do (why is it that complicated, given you'll probably use it once or twice a decade?) my dev DB's moved over nicely. Fortunately, I did this a while ago: Instance Storage - A Simple Way to Share Configuration Data among Applications[^] so changing to the new Server instance was a single location change and all my apps switch over. So I test them ... and blow me but it's quick! The apps load maybe ten times faster? Almost immediately, instead of a couple of seconds delay while they sort out the initial data. Impressive stuff!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #3

        OriginalGriff wrote:

        The apps load maybe ten times faster?

        Give it a few days. :laugh:

        Latest Article:
        Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Due to one thing and another, I've upgraded from SQL Server Express 2012 for my dev system to SQL Server Developer Edition 2019 (I like to keep the DB engine at the same version as the production server - it means I don't use features that aren't available, and the hosting service was running 2012 until recently). And once I'd unpicked what the Data Migration Assistant wanted me to do (why is it that complicated, given you'll probably use it once or twice a decade?) my dev DB's moved over nicely. Fortunately, I did this a while ago: Instance Storage - A Simple Way to Share Configuration Data among Applications[^] so changing to the new Server instance was a single location change and all my apps switch over. So I test them ... and blow me but it's quick! The apps load maybe ten times faster? Almost immediately, instead of a couple of seconds delay while they sort out the initial data. Impressive stuff!

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

          O Offline
          O Offline
          obermd
          wrote on last edited by
          #4

          There are some major differences between the two that result in the bulk of the performance improvements: 1) SQL Server Express 2012 is limited to using 1 GB of RAM and is single threaded 2) SQL Server Developer 2019 is the full blown SQL Server Enterprise 2019 with a developer only license and will use all memory and performs SQL Server specific thread management. 3) SQL Server Express (all versions) doesn't attempt to optimize queries before execution; SQL Server Professional and Enterprise have a rather good query optimizer. You would have seen similar performance enhancements moving from SQL Express 2012 to SQL Enterprise 2012. The remaining performance improvements are the result of Microsoft improving SQL Server's performance in general. Also, Microsoft did a ground up rewrite of SQL Server 2019 to make it run on Linux as well as Windows and in the process eliminated a lot of internal performance bottlenecks.

          OriginalGriffO 1 Reply Last reply
          0
          • O obermd

            There are some major differences between the two that result in the bulk of the performance improvements: 1) SQL Server Express 2012 is limited to using 1 GB of RAM and is single threaded 2) SQL Server Developer 2019 is the full blown SQL Server Enterprise 2019 with a developer only license and will use all memory and performs SQL Server specific thread management. 3) SQL Server Express (all versions) doesn't attempt to optimize queries before execution; SQL Server Professional and Enterprise have a rather good query optimizer. You would have seen similar performance enhancements moving from SQL Express 2012 to SQL Enterprise 2012. The remaining performance improvements are the result of Microsoft improving SQL Server's performance in general. Also, Microsoft did a ground up rewrite of SQL Server 2019 to make it run on Linux as well as Windows and in the process eliminated a lot of internal performance bottlenecks.

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #5

            Nice to know I'm not imagining it.

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Due to one thing and another, I've upgraded from SQL Server Express 2012 for my dev system to SQL Server Developer Edition 2019 (I like to keep the DB engine at the same version as the production server - it means I don't use features that aren't available, and the hosting service was running 2012 until recently). And once I'd unpicked what the Data Migration Assistant wanted me to do (why is it that complicated, given you'll probably use it once or twice a decade?) my dev DB's moved over nicely. Fortunately, I did this a while ago: Instance Storage - A Simple Way to Share Configuration Data among Applications[^] so changing to the new Server instance was a single location change and all my apps switch over. So I test them ... and blow me but it's quick! The apps load maybe ten times faster? Almost immediately, instead of a couple of seconds delay while they sort out the initial data. Impressive stuff!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

              K Offline
              K Offline
              kmoorevs
              wrote on last edited by
              #6

              OriginalGriff wrote:

              The apps load maybe ten times faster?

              I've been using it (2019 Dev) for a couple of years now in prod and never noticed performance gains over previous versions. I'll run some tests and get back to you on that. :thumbsup: I've been putting off installing a 2019 instance on my main dev system due to low disk space. This may be the determination of how soon I replace this non-upgradable tower and join the rest of you on 11.

              "Go forth into the source" - Neal Morse "Hope is contagious"

              H 1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                Due to one thing and another, I've upgraded from SQL Server Express 2012 for my dev system to SQL Server Developer Edition 2019 (I like to keep the DB engine at the same version as the production server - it means I don't use features that aren't available, and the hosting service was running 2012 until recently). And once I'd unpicked what the Data Migration Assistant wanted me to do (why is it that complicated, given you'll probably use it once or twice a decade?) my dev DB's moved over nicely. Fortunately, I did this a while ago: Instance Storage - A Simple Way to Share Configuration Data among Applications[^] so changing to the new Server instance was a single location change and all my apps switch over. So I test them ... and blow me but it's quick! The apps load maybe ten times faster? Almost immediately, instead of a couple of seconds delay while they sort out the initial data. Impressive stuff!

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                Richard DeemingR Offline
                Richard DeemingR Offline
                Richard Deeming
                wrote on last edited by
                #7

                OriginalGriff wrote:

                changing to the new Server instance was a single location change and all my apps switch over

                That's why I tend to use an alias[^]. :) (Although it technically requires two changes, since there's a separate list of aliases for x86 and x64.)


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                1 Reply Last reply
                0
                • K kmoorevs

                  OriginalGriff wrote:

                  The apps load maybe ten times faster?

                  I've been using it (2019 Dev) for a couple of years now in prod and never noticed performance gains over previous versions. I'll run some tests and get back to you on that. :thumbsup: I've been putting off installing a 2019 instance on my main dev system due to low disk space. This may be the determination of how soon I replace this non-upgradable tower and join the rest of you on 11.

                  "Go forth into the source" - Neal Morse "Hope is contagious"

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #8

                  See obermd's response. I guess the earlier editions of Express were single threaded and only used 10MB of RAM whereas the new ones do not have that limitation. You were probably running commercial servers and so you were not subject to that limitation.

                  To err is human. Fortune favors the monsters.

                  O 1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Due to one thing and another, I've upgraded from SQL Server Express 2012 for my dev system to SQL Server Developer Edition 2019 (I like to keep the DB engine at the same version as the production server - it means I don't use features that aren't available, and the hosting service was running 2012 until recently). And once I'd unpicked what the Data Migration Assistant wanted me to do (why is it that complicated, given you'll probably use it once or twice a decade?) my dev DB's moved over nicely. Fortunately, I did this a while ago: Instance Storage - A Simple Way to Share Configuration Data among Applications[^] so changing to the new Server instance was a single location change and all my apps switch over. So I test them ... and blow me but it's quick! The apps load maybe ten times faster? Almost immediately, instead of a couple of seconds delay while they sort out the initial data. Impressive stuff!

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                    P Offline
                    P Offline
                    Peter Moore Chicago
                    wrote on last edited by
                    #9

                    Doesn't express have memory and cpu core limitations that dev and the commercial editions don't? That would almost certainly explain it. Personally I like testing on low memory, low cpu SQL because it forces me to optimize performance.

                    1 Reply Last reply
                    0
                    • C Chris Maunder

                      I think I need to add a head-slap reaction ;) SQL has indeed come a long way in 10 years. I'm trying hard to ween myself off it but it's too powerful a drug.

                      cheers Chris Maunder

                      J Offline
                      J Offline
                      Jorgen Andersson
                      wrote on last edited by
                      #10

                      Chris Maunder wrote:

                      I'm trying hard to ween myself off

                      Why? :)

                      Wrong is evil and must be defeated. - Jeff Ello

                      1 Reply Last reply
                      0
                      • H honey the codewitch

                        See obermd's response. I guess the earlier editions of Express were single threaded and only used 10MB of RAM whereas the new ones do not have that limitation. You were probably running commercial servers and so you were not subject to that limitation.

                        To err is human. Fortune favors the monsters.

                        O Offline
                        O Offline
                        obermd
                        wrote on last edited by
                        #11

                        Good catch - SQL Server Express was limited to 1 GB RAM. I've updated the post. For SQL Server Express 2019: 16 cores (threads) 64 GB RAM max SQL Server Express 2019 is far more powerful than 2012 was but still doesn't have the performance enhancements of SQL Server 2019 Standard or Enterprise.

                        H 1 Reply Last reply
                        0
                        • O obermd

                          Good catch - SQL Server Express was limited to 1 GB RAM. I've updated the post. For SQL Server Express 2019: 16 cores (threads) 64 GB RAM max SQL Server Express 2019 is far more powerful than 2012 was but still doesn't have the performance enhancements of SQL Server 2019 Standard or Enterprise.

                          H Offline
                          H Offline
                          honey the codewitch
                          wrote on last edited by
                          #12

                          I thought 10MB seemed small, but these days anything in the MB range seems generous to me so I didn't question it. ;P

                          To err is human. Fortune favors the monsters.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups