I’m having an issue on my instance page life expectancy would drop to a few seconds.
I know this is due bad code, and I’m trying to find out which object pages are in the buffer cache. That would lead me to what causes the problem. Kind of v$bh equivalent in Oracle.
Edit
I came across this great article which talk about the issue I got with pagelife expectancy. And how to find the buffer content.
Thanks,
This link should provide you with the queries to use for this: http://www.mssqltips.com/sqlservertip/2393/determine-sql-server-memory-use-by-database-and-object/
Note: You didnt’ say which version of SQL Server you are using, but this will only work on 2005 and up boxes