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

    SQL Server Express Edition Ram upgrade - suggestion.

    Scheduled Pinned Locked Moved IT Discussion
    16 Posts 5 Posters 1.4k Views
    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.
    • B
      bhautik.shah
      last edited by bhautik.shah

      HI ,

      Currently setup sql server express edition 2012 R2 with O.S. installed 2008 r2 std.

      I am aware about express edition database size limit is 10 GB, Constrained to a single CPU , and Maximum memory utilized by SQL Server Database Engine is 1GB .

      As of now 8 GB of ram installed and customer wants to increase ram on server.

      From SQL instance we have set the default allocation for memory like it's use maximum.

      Sometime when work loads, memory utilization on server was 80-90% and its only used by SQL server. at that time slowness issue occurred.

      So my question is if i am increase the ram on server that may be helpful on express edition. Performance will increase on server or not ?

      Thanks,
      Bhautik Shah

      1 Reply Last reply Reply Quote 1
      • iroalI
        iroal
        last edited by

        Try to upgrade the I/O with Ssd for the Sql Server Data and Log.

        You'll improve a lot the perfomance.

        1 Reply Last reply Reply Quote 2
        • scottalanmillerS
          scottalanmiller
          last edited by

          If the memory is really becoming exhausted on the server, then yes, you'd expect to see some performance increase by increasing it. Will it be much? That's very hard to say.

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

            Updating to a newer version of SQL Server should help as well. Each new version gets faster and faster.

            1 Reply Last reply Reply Quote 1
            • thwrT
              thwr
              last edited by thwr

              You already know about the memory limit, each instance won't use more than 1GB of RAM.

              @iroal made a good suggestion: Move your DB, logs, OS and swap files to SSDs to gain some performance. Or buy licenses (and CALs) for SQL Server Standard Edition.

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

                @thwr said in SQL Server Express Edition Ram upgrade - suggestion.:

                Or buy licenses (and CALs) for SQL Server Standard Edition.

                Or move to PostgreSQL 🙂

                thwrT 1 Reply Last reply Reply Quote 1
                • thwrT
                  thwr @scottalanmiller
                  last edited by

                  @scottalanmiller said in SQL Server Express Edition Ram upgrade - suggestion.:

                  @thwr said in SQL Server Express Edition Ram upgrade - suggestion.:

                  Or buy licenses (and CALs) for SQL Server Standard Edition.

                  Or move to PostgreSQL 🙂

                  Not that difficult, but could require them to update their application.

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

                    @thwr said in SQL Server Express Edition Ram upgrade - suggestion.:

                    @scottalanmiller said in SQL Server Express Edition Ram upgrade - suggestion.:

                    @thwr said in SQL Server Express Edition Ram upgrade - suggestion.:

                    Or buy licenses (and CALs) for SQL Server Standard Edition.

                    Or move to PostgreSQL 🙂

                    Not that difficult, but could require them to update their application.

                    Often well worth it when overrunning SQL Express.

                    1 Reply Last reply Reply Quote 0
                    • B
                      bhautik.shah
                      last edited by

                      HI ,

                      if the instance taking Maximum memory utilized by SQL Server Database Engine is 1GB then why its utilized 6 to 7 gb on actual.

                      scottalanmillerS 1 Reply Last reply Reply Quote 1
                      • scottalanmillerS
                        scottalanmiller @bhautik.shah
                        last edited by

                        @bhautik.shah said in SQL Server Express Edition Ram upgrade - suggestion.:

                        HI ,

                        if the instance taking Maximum memory utilized by SQL Server Database Engine is 1GB then why its utilized 6 to 7 gb on actual.

                        Likely a caching mechanism.

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

                          Bump up the memory a little, give it another GB or two and see if it uses that too. Your hypervisor isn't out of memory, right?

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

                            Standard practice for any server is to give exactly the memory that is needed. You start a little high and then tune down as you can. Big round numbers like 8GB are okay as starting points, but should be adjusted right away. This makes everything faster and your servers more dense. So bump this up a bit, run for a month, and tune down if the memory is not used.

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

                              @scottalanmiller said in SQL Server Express Edition Ram upgrade - suggestion.:

                              @bhautik.shah said in SQL Server Express Edition Ram upgrade - suggestion.:

                              HI ,

                              if the instance taking Maximum memory utilized by SQL Server Database Engine is 1GB then why its utilized 6 to 7 gb on actual.

                              Likely a caching mechanism.

                              Can you explain this a bit more? To the uninitiated it seems odd that if the program has a hard limit 1 GB, that some other facet of that same program could spiral to 6+ times that amount.

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

                                @Dashrender said in SQL Server Express Edition Ram upgrade - suggestion.:

                                @scottalanmiller said in SQL Server Express Edition Ram upgrade - suggestion.:

                                @bhautik.shah said in SQL Server Express Edition Ram upgrade - suggestion.:

                                HI ,

                                if the instance taking Maximum memory utilized by SQL Server Database Engine is 1GB then why its utilized 6 to 7 gb on actual.

                                Likely a caching mechanism.

                                Can you explain this a bit more? To the uninitiated it seems odd that if the program has a hard limit 1 GB, that some other facet of that same program could spiral to 6+ times that amount.

                                No facet of that program. Just the operating system components doing their normal caching. SQL Server does not further cripple the OS underneath.

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

                                  OK - I'll go down the rabbit hole.

                                  Educational request time.

                                  Let's assume we have a Windows 2008 R2 Server running SQL Express 2012 R2 and nothing else. The application that accesses the DB is remote.

                                  Where does the above mentioned caching come in?

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

                                    @Dashrender said in SQL Server Express Edition Ram upgrade - suggestion.:

                                    Where does the above mentioned caching come in?

                                    The two biggest places are disk caches and application caches. For example, does all of SQL Server get moved into memory or only part of it? Does all of the database get moved into memory, or only part of it? (That last part is the part that gets capped at 1GB.) Do all of the OS components get loaded into memory, or loaded from disk as needed? Do the log files stay in memory?

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    • First post
                                      Last post