How to Patch SQL Server 2019

Sdílet
Vložit
  • čas přidán 4. 09. 2024

Komentáře • 20

  • @huskesh
    @huskesh Před rokem +3

    Sir loved your channel, the views may be less but we love your of explaining thing ❤❤❤❤

  • @kishortala2950
    @kishortala2950 Před rokem +2

    Great video Glenn. Very helpful tutorial. Cheers to Chorizo ❤

  • @DB-sf1hy
    @DB-sf1hy Před rokem +3

    Another idea: How to make SSMS start up faster on corporate workstation? Sometimes it takes me several minutes to start up SSMS. I noticed your SSMS was ready immediately

    • @GlennBerrySQL
      @GlennBerrySQL  Před rokem +2

      You want to make sure you are using SSMS 19.1 rather than any earlier version. Microsoft made some performance optimizations in 19.1 (and in 19.0) that help cold startup performance. SSMS 19.1 is about 15-25% faster for cold startup performance than SSMS 18.12.1.
      glennsqlperformance.com/2023/05/30/ssms-19-1-performance-improvements/
      SSMS is CPU-bound during cold startup. The real way to make SSMS startup more quickly is to have a faster CPU, with more cores. I realize that you don't have much control over this with a corporate workstation...

  • @pankaj2443
    @pankaj2443 Před rokem +3

    Pls make video on HA server patching .

  • @smf00027
    @smf00027 Před 2 měsíci +1

    Sir no need to stop all sql services?

    • @GlennBerrySQL
      @GlennBerrySQL  Před 2 měsíci +1

      The CU setup program automatically shuts down the SQL Server Service during the installation.

  • @fabioantonioberti
    @fabioantonioberti Před 4 měsíci

    Thanks for the video. I have a question, for an environment that has a Cluster of 2 VMs with Always ON, what care should I take when patching? Which VM is recommended to start, primary or secondary? If I start with the primary, should I force manual failover to the secondary VM?

    • @GlennBerrySQL
      @GlennBerrySQL  Před 4 měsíci +3

      With an AG, you should always patch the Secondary replica first. Then, after it is done and all the databases in the AG are Synchronized, you can do a Manual Failover to the original Secondary and repeat the process on the other node. Then, after it is done and all the databases in the AG are Synchronized, you can do a Manual Failover back to the original Primary.

    • @fabioantonioberti
      @fabioantonioberti Před 4 měsíci

      @@GlennBerrySQL Thanks for the answer.

  • @sackos6573
    @sackos6573 Před rokem

    Great video! Can I install CU on top of GDR build?

  • @RadekGaska
    @RadekGaska Před rokem

    Hello Glenn, Could you please advise rollback plan for patching? Is it necessary to take VM's snapshots, SQL backups etc or it does not make any sense for patching activities?

    • @ChorizoBerry
      @ChorizoBerry Před rokem +1

      You can uninstall a SQL Server Cumulative Update. If you wanted to be more thorough, you could take VM snapshots, backup all of your databases, script out logins and other instance-level objects, etc.

    • @GlennBerrySQL
      @GlennBerrySQL  Před rokem +1

      You can uninstall a SQL Server CU.

    • @roblochon1276
      @roblochon1276 Před 7 měsíci

      @@GlennBerrySQL Sure . .but on my machine an update of sql2016 destroy the master database i don't know why .. sql server doesn't start again ... The only solution is to rebuild systems database .. it's not so easy and i can't imagine on a production database at the end of the night .

    • @GlennBerrySQL
      @GlennBerrySQL  Před 7 měsíci

      @@roblochon1276 I'm sorry that happened to you. There is always a chance that a software update will break something, but it does not happen very often with SQL Server. Being careful and being prepared for a worst-case scenario is always a good idea. OTOH, never updating SQL Server because it might cause a problem is not the solution either.