ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Sizing a Server and Disks - SQL VM

    IT Discussion
    esxi host vmware sql server virtual machine
    11
    112
    10.5k
    Loading More Posts
    • 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.
    • DashrenderD
      Dashrender @scottalanmiller
      last edited by

      @scottalanmiller said in Sizing a Server and Disks - SQL VM:

      @dafyre said in Sizing a Server and Disks - SQL VM:

      For the host, OBR10 almost always. If you have an exception to this rule of thumb you'd know it (somebody here would likely say it, ha ha). 😄

      I would also do one big VMDKfor the SQL server VM, and partition the disk.... Use a 2TB disk (just throwing a number out there)...

      256 GB = C:\ -- OS / Applications
      1024 GB = D:\ -- SQL Server Data
      512 GB = E:\ -- SQL Translogs / BAK files
      256GB = F:\ -- SQL TempDB

      Definitely not. You should "never" partition today. If you want partitions, that means that you actually wanted volumes. Partitions are effectively a dead technology - an "after the fact" kludge that exists for cases where voluming wasn't an option - which should never be the case today as this is solved universally. Partitions are fragile and difficult to manage and have many fewer options and less flexibility. They have no benefits, which is why they are a dead technology.

      Partitions exist today only for physical Windows installs, where there is no hypervisor and no enterprise volume manager to do the work - in essence, they are for "never".

      While I hadn't seen/read anything definitive on this, I was kinda wondering if this was the case today.

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @Dashrender
        last edited by

        @dashrender time for a video, I guess.

        dafyreD 1 Reply Last reply Reply Quote 1
        • dafyreD
          dafyre @scottalanmiller
          last edited by

          @scottalanmiller said in Sizing a Server and Disks - SQL VM:

          @dashrender time for a video, I guess.

          After mulling over your comments and talking it over with someone else, I see the benefits of using several smaller disks rather than one big one. Especially when you can grow a disk relatively easily. That is something I hadn't considered until now.

          DashrenderD 1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @dafyre
            last edited by

            @dafyre said in Sizing a Server and Disks - SQL VM:

            @scottalanmiller said in Sizing a Server and Disks - SQL VM:

            @dashrender time for a video, I guess.

            After mulling over your comments and talking it over with someone else, I see the benefits of using several smaller disks rather than one big one. Especially when you can grow a disk relatively easily. That is something I hadn't considered until now.

            But why not just use one large disk? then you can expand that as much as you want?

            DustinB3403D dafyreD 2 Replies Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403 @Dashrender
              last edited by

              @dashrender said in Sizing a Server and Disks - SQL VM:

              @dafyre said in Sizing a Server and Disks - SQL VM:

              @scottalanmiller said in Sizing a Server and Disks - SQL VM:

              @dashrender time for a video, I guess.

              After mulling over your comments and talking it over with someone else, I see the benefits of using several smaller disks rather than one big one. Especially when you can grow a disk relatively easily. That is something I hadn't considered until now.

              But why not just use one large disk? then you can expand that as much as you want?

              Because you have to manage moving the partitions around. This is a huge pain in the ass compared to just expanding it.

              DashrenderD 1 Reply Last reply Reply Quote 1
              • dafyreD
                dafyre @Dashrender
                last edited by

                @dashrender said in Sizing a Server and Disks - SQL VM:

                @dafyre said in Sizing a Server and Disks - SQL VM:

                @scottalanmiller said in Sizing a Server and Disks - SQL VM:

                @dashrender time for a video, I guess.

                After mulling over your comments and talking it over with someone else, I see the benefits of using several smaller disks rather than one big one. Especially when you can grow a disk relatively easily. That is something I hadn't considered until now.

                But why not just use one large disk? then you can expand that as much as you want?

                What happens if you have to resize a partition that is between C and E? The default Windows utilities (as far as I'm aware) won't let you do this.

                Splitting it up into separate VMDKs eliminates that issue.

                coliverC DashrenderD 2 Replies Last reply Reply Quote 1
                • DashrenderD
                  Dashrender @DustinB3403
                  last edited by

                  @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                  @dashrender said in Sizing a Server and Disks - SQL VM:

                  @dafyre said in Sizing a Server and Disks - SQL VM:

                  @scottalanmiller said in Sizing a Server and Disks - SQL VM:

                  @dashrender time for a video, I guess.

                  After mulling over your comments and talking it over with someone else, I see the benefits of using several smaller disks rather than one big one. Especially when you can grow a disk relatively easily. That is something I hadn't considered until now.

                  But why not just use one large disk? then you can expand that as much as you want?

                  Because you have to manage moving the partitions around. This is a huge pain in the ass compared to just expanding it.

                  You missed the topic change - we're talking one partition per disk now. Scott says Partitions are done - over - pointless.

                  coliverC 1 Reply Last reply Reply Quote 0
                  • coliverC
                    coliver @dafyre
                    last edited by

                    @dafyre said in Sizing a Server and Disks - SQL VM:

                    @dashrender said in Sizing a Server and Disks - SQL VM:

                    @dafyre said in Sizing a Server and Disks - SQL VM:

                    @scottalanmiller said in Sizing a Server and Disks - SQL VM:

                    @dashrender time for a video, I guess.

                    After mulling over your comments and talking it over with someone else, I see the benefits of using several smaller disks rather than one big one. Especially when you can grow a disk relatively easily. That is something I hadn't considered until now.

                    But why not just use one large disk? then you can expand that as much as you want?

                    What happens if you have to resize a partition that is between C and E? The default Windows utilities (as far as I'm aware) won't let you do this.

                    Splitting it up into separate VMDKs eliminates that issue.

                    Nope, just easier to use a VMDKs for everything. It's also faster to recover and easier to manage then a single large VMDK.

                    1 Reply Last reply Reply Quote 0
                    • coliverC
                      coliver @Dashrender
                      last edited by

                      @dashrender said in Sizing a Server and Disks - SQL VM:

                      @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                      @dashrender said in Sizing a Server and Disks - SQL VM:

                      @dafyre said in Sizing a Server and Disks - SQL VM:

                      @scottalanmiller said in Sizing a Server and Disks - SQL VM:

                      @dashrender time for a video, I guess.

                      After mulling over your comments and talking it over with someone else, I see the benefits of using several smaller disks rather than one big one. Especially when you can grow a disk relatively easily. That is something I hadn't considered until now.

                      But why not just use one large disk? then you can expand that as much as you want?

                      Because you have to manage moving the partitions around. This is a huge pain in the ass compared to just expanding it.

                      You missed the topic change - we're talking one partition per disk now. Scott says Partitions are done - over - pointless.

                      100% are.

                      1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @dafyre
                        last edited by

                        @dafyre said in Sizing a Server and Disks - SQL VM:

                        @dashrender said in Sizing a Server and Disks - SQL VM:

                        @dafyre said in Sizing a Server and Disks - SQL VM:

                        @scottalanmiller said in Sizing a Server and Disks - SQL VM:

                        @dashrender time for a video, I guess.

                        After mulling over your comments and talking it over with someone else, I see the benefits of using several smaller disks rather than one big one. Especially when you can grow a disk relatively easily. That is something I hadn't considered until now.

                        But why not just use one large disk? then you can expand that as much as you want?

                        What happens if you have to resize a partition that is between C and E? The default Windows utilities (as far as I'm aware) won't let you do this.

                        Splitting it up into separate VMDKs eliminates that issue.

                        Right - so don't have a d and e any more - Only have D.. put all data on D. splitting partitions gives you nothing.

                        1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender
                          last edited by

                          There might be a situation specific reason to have each something on it's own space, OK fine.. I guess in that case, assign one partition per drive and move on.

                          But my point was - if you don't need a different partition for a very specific reason, then why have more than one VMDK with one partition.

                          Now a reason to split might be to put the SQL VMDK onto SSD, while putting data VMDK on spinning rust.

                          1 Reply Last reply Reply Quote 1
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            The OS still needs to assign a letter to use the drive. . .

                            DashrenderD 1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender @DustinB3403
                              last edited by Dashrender

                              @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                              The OS still needs to assign a letter to use the drive. . .

                              Sure - but so?

                              Oh and that's not true. Windows has supported mount points for a while now. I know I did it as a test more than 5 years ago.. hell, maybe more than 10.

                              DustinB3403D coliverC 2 Replies Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @Dashrender
                                last edited by

                                @dashrender hrm. . . I might need to do some digging on that.

                                DashrenderD 1 Reply Last reply Reply Quote 0
                                • coliverC
                                  coliver @Dashrender
                                  last edited by

                                  @dashrender said in Sizing a Server and Disks - SQL VM:

                                  @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                                  The OS still needs to assign a letter to use the drive. . .

                                  Sure - but so?

                                  Oh and that's not true. Windows has supported mount points for a while now. I know I did it as a test more than 5 years ago.. hell, maybe more than 10.

                                  It's been around since Server 2012 IIRC. They didn't work well in 2012 but have been working really well in R2 and 2016.

                                  1 Reply Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @DustinB3403
                                    last edited by

                                    @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                                    @dashrender hrm. . . I might need to do some digging on that.

                                    https://i.imgur.com/rzELNM7.png

                                    1 Reply Last reply Reply Quote 2
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by

                                      I've never heard that, wow I feel bad now.

                                      Good to know for the future.

                                      1 Reply Last reply Reply Quote 2
                                      • ObsolesceO
                                        Obsolesce
                                        last edited by Obsolesce

                                        We have a Hyper-V host with two tiers of storage: an all SSD RAID, and an all HDD RAID.

                                        WHen I set up the MS SQL server (mainly for MS Dynamics purposes, but it also serves some other critical business functions), I had to do it according to what the Dynamics consultant suggested:

                                        • MS SQL VM: (virtual disk (os drive letter))
                                          • serv-SQL.vhdx (C:)
                                          • serv-SQL-DATA.vhdx (D:)
                                          • serv-SQL-LOG.vhdx (E:)
                                          • serv-SQL-BACKUP.vhdx (F:)

                                        The D and E virtual disks are located on the SSD RAID on the physical host, the other two are on the HDD RAID.

                                        The stuff needing to be fast like the TempDB, Log, main DB, etc is all on SSD... while the backups and the OS are on the HDD RAID.

                                        I do have SSD caching for the HDD RAID, so the other stuff is actually sped up, though not 100% of the time. Most writes are anyways.

                                        Reid CooperR hobbit666H 2 Replies Last reply Reply Quote 1
                                        • hobbit666H
                                          hobbit666
                                          last edited by

                                          Sorry peeps got a bit crazy in work and busy with house stuff.
                                          Will try and go through the thread in the morning and answer what I can.

                                          I will say the guide I linked doesn't seem to be geared to virtualization.

                                          Tim_g is what I was thinking with the split arrays and separate vmdk

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @hobbit666
                                            last edited by

                                            @hobbit666 said in Sizing a Server and Disks - SQL VM:

                                            I will say the guide I linked doesn't seem to be geared to virtualization.

                                            Wouldn't need to be. There is no case where you should have a physical database in a VERY long time, databases are among the first workloads to have gone 100% virtual. And even so, the storage considerations for a database are not impacted by physical vs. virtual, it's always the same.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 3 / 6
                                            • First post
                                              Last post