Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
210 views
in Technique[技术] by (71.8m points)

Oracle database reads monitor or counter

I'm not very familiar with Oracle DB. Is there a way to see all of the record reads on all tables across the DB? A tool/utility of some sort maybe, or somehow built into Oracle Sql Developer?

I'm doing this to see if there's any inefficient queries in the application, or to see who's the biggest "hog" of DB reads across the application.

question from:https://stackoverflow.com/questions/65851736/oracle-database-reads-monitor-or-counter

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

There are a lot of different possibilities here depending on how detailed (and pretty) you want to get, your licensing, what infrastructure you have in place, etc.

The simplest, lowest common denominator option from within SQL Developer would be to open the Reports menu (View | Reports), go to All Reports | Data Dictionary Reports | Database Administration | Top SQL and select one of the reports there. Probably Top SQL by Buffer Gets or Top SQL by CPU. Those will open a report that will show the top SQL by logical I/O or CPU that is currently in the plan cache.

Screen Shot of SQL Developer Reports view


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...