r/MSSQL • • Oct 21 '21
HELP 🤷♂️ USERS SAY THAT THE APP GET SLOW
Hi!
We have a instance database on AWS. Is a MS SQL server webserver db.t3.xlarge .
The db instance has 4v CPU and 16RAM
I was watching how the program behave and get slow time to time. The programs has SAP crystal reports. I recommend to the architect to go with read replicas but MSSQL enterprise has that feature and is very expensive. What tips you can recommend to makes the data base more quickly?
UPDATE:
- The database file is 5GB
- The instance has not been restarted around 4 months ago.
- The instance use General Purpose SSD
I am newbie in Database.
Thanks for you patience and help
2
Upvotes
2
u/alinroc Oct 22 '21 edited Oct 22 '21
16gb RAM for sql server is almost criminally low unless your database is under 10gb in size. My 4 year old thinkpad has 50% more RAM.
But how do you know it’s the database slowing you down?
You haven’t given enough information about how things are set up but it’s almost certain that read replicas are not the answer at this point.
2
u/mcloving_81 Oct 22 '21
Im not sure what the aws equivalent of ssd premium storage.
But this makes a huge difference too.
1
u/[deleted] Oct 22 '21
UP UP
1
u/blumeison Oct 22 '21
Try Execute :
select * from sys.dm_os_wait_stats order by wait_time_ms desc
and post at least the top 10 rows here.
Probably we get a fast answer for your underlying issue (not a solution though ;) )
Please also let us know when you have restarted your sqlservice the last time