Solved

logical vs physical reads

Posted on 2006-11-16
6
921 Views
Last Modified: 2008-03-17
what is the difference between logical reads and physical reads?
0
Comment
Question by:yanci1179
  • 2
  • 2
  • 2
6 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 300 total points
ID: 17959845
physical reads means the data has been read from disk into memory
logical reads means the the data was already in memory

1 logical reads means 1 page of data, ie 8KB
0
 

Author Comment

by:yanci1179
ID: 17959911
i read that in books online....but it didn't really mean much.  Ideally which one should be lower?
0
 
LVL 32

Assisted Solution

by:bhess1
bhess1 earned 200 total points
ID: 17959980
In a perfect world, physical reads would be equal to the number of data blocks in your database, and all other reads would be logical.  So, by preference logical reads should be the higher of the two.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17960495
perfectly, the physical reads should be 0. also, logical reads as low as possible.
0
 

Author Comment

by:yanci1179
ID: 17960572
let me see if I understand this logical data read from what is already in cache.  if it's not there then it has to read the physical tables and retrieve the data?
0
 
LVL 32

Expert Comment

by:bhess1
ID: 17962141
Absolutely correct.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

910 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

20 Experts available now in Live!

Get 1:1 Help Now