Solved

sys.dm_exec_requests read vs logical_reads columns

Posted on 2010-09-05
3
1,493 Views
Last Modified: 2012-05-10
If we  looked at sys.dm_exec_requests dmv, can someone tell me what the difference on read,writes and logical_reads column ?
Is that means logical_reads are reads from memory whereas reads are read from disk and write are write to disk ?
0
Comment
Question by:motioneye
  • 2
3 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 33609097
>> Is that means logical_reads are reads from memory whereas reads are read from disk and write are write to disk ?

Yes, Logical reads are the ones read from Memory - Buffer cache to be exact.
And Reads are from Physical Disk or MDF or Data File.

And Logical Writes are the ones done to LDF or log files and the Writes are the ones done to MDF or data file.
0
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 33628624
>> And Logical Writes are the ones done to LDF or log files and the Writes are the ones done to MDF or data file. <<

Are you sure about that?

I thought Logical Writes are those done to buffers (i.e., in memory only), and presumaby Writes are physical writes.
0
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 33634050
>> I thought Logical Writes are those done to buffers (i.e., in memory only), and presumaby Writes are physical writes.

Yes, got confused and thanks for correcting it..

From BOL:
"A logical write occurs when data is modified in a page in the buffer cache. A physical write occurs when the page is written from the buffer cache to disk."
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql Stored Procedure field variable 17 27
I Need a T-SQL Query (Union or Intersect, or...?) 6 39
cannot connect to sqlserver 8 25
Sql server insert 13 26
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now