December 18, 2012 at 1:31 am
Comments posted to this topic are about the item Find memory used by particular Database
December 18, 2012 at 1:33 am
I am very surprised to find in experts forum scripts that are in sql2005 BOL:-)
December 18, 2012 at 2:16 am
Hi Rahul,
I executed the first query and my DB has retured value 486763 on cached_count_pages. We have allocated 6.5 GB memory for the DB. so as per this result how i would i know the allocated memory is sufficient or not?
Regards,
Kasi
December 18, 2012 at 3:33 am
I think each page = 8KB, so you could add a calculation to the SELECT clause:
SELECT
COUNT(*)AS cached_pages_count,
COUNT(*)/128.0 AS Cached_MB
December 18, 2012 at 4:18 am
I got it..Thanks Orestes 🙂
--Kasi
December 18, 2012 at 9:19 am
A good sql query.
Thanks
December 18, 2012 at 11:36 am
I also found this on BOL. Would have been more helpful if contained some additional information.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply