Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

sql database server very slow, pages/sec very high

Posted on 2013-05-28
6
364 Views
Last Modified: 2013-06-23
We run 3 virtual servers running windows server 2008 on our hp server that runs xenserver 5.6.   All workstations are actually on a workgroup but we run active directory on same vm as sql.  Application server on 2nd vm. 3rd vm is the terminal server.
We run one application in that rdp session.  We have 2 cisco small business smart switch one 48port and one 50 port with poe.  I have reset both configs.  We have Avg business 2013 installed and have it on every vm, saying up to date and no infections. We are having random freezing or slowness but all rdp sessions stay connected.

 After i have done some performance monitor on our sql server, that seems to be the issue. it has pages/sec as high as 1100.  we have about 50 computers rdp into the ts then they open the application that pulls from the sql server.  
the picture i took was off hours, i will be taking one during hours. the virtual machine has 40gb of memory and 33gb sql keeps taking from the system. the page file is around 35gb and everyone is complaining about slowness.  what can i do to improve this?
counters.gif
0
Comment
Question by:bowlerman25
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:rlog
ID: 39203730
You can constrain the amount of memory SQL Server takes. Look in properties on the sql server object and select memory from the left meny. Set Maximum server memory to 16384 mb (16x1024mb) as a start.

In case it's not SQL that grabs the memory you should monitor which process consumes most memory. I have seen sql server doing very little but grabs lots of memory.

SQL Server often grabs as much memory as can and doesn't release it until the server needs it "badly".

All workstations are actually on a workgroup but we run active directory on same vm as sql.
This is NOT recommended.
0
 

Author Comment

by:bowlerman25
ID: 39205489
why is "All workstations are actually on a workgroup but we run active directory on same vm as sql.
This is NOT recommended. "

why is this not recommended? i have this setup at a couple places and it works great.

also with all users on the server up 3000pages/sec for memory, page faults as high at 6000-10000 but mostly around 3000 or less. processor interrupts are as high as 12000. are any of these an issue?  do i need to post different counters so someone can help?
0
 
LVL 4

Expert Comment

by:rlog
ID: 39205937
Read this

SQL has a habit of sucking up lots of memory and when running combined with a dc lots of stuff happends when memory is in shortage. Not sure if you've experience this in terminal servers?

Did you constrain max memory setting btw?
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:bowlerman25
ID: 39209536
can you tell me where exactly it is to limit the memory?

To improve performance i was thinking about doing this. also we are running sql and AD on same vm. I will make the 2nd vm be a dc then i read i have to uninstall sql then demote the original dc then reinstall sql? is that correct?
0
 

Accepted Solution

by:
bowlerman25 earned 0 total points
ID: 39257897
the whole problem is not solved but i think i know what it is. i call citrix and got support, they made me change the management nic to a different nic then the traffic nic, somehow is makes a difference.
0
 

Author Closing Comment

by:bowlerman25
ID: 39269115
both answers are good, we did not solve issue yet
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question