`

logical read vs physical read

 
阅读更多

 

Introduction

  • Normally, When we request a data for a query(i.e: SELECT), The Database engine fetches the data page(s) from the physical disk and loads into the Buffer Cache called "Physical Read".
  • "Physical Reads" occurrs only when data pages are not there in "Buffer cache".
  • Then , The data page(s) are retrived from the Buffer cache called "Logical Read"
  • If the data pages already there in Buffer Cache then, "Logical Reads" will be performed directly, no Physical read will be there. 
  • So, Disk IO reduced by using the "Logical Read", Because, The data pages retrived from Buffer Cache, not from Physical Disk .

 

http://www.dotnetfunda.com/articles/article1343-logical-and-physical-reads-how-it39s-working-and-how-to-manage.aspx

分享到:
评论

相关推荐

    Python库 | lvm_read-1.1.1.zip

    1. **查询LVM信息**:可以获取LVM系统的总体信息,如卷组(Volume Group, VG)、逻辑卷(Logical Volume, LV)和物理卷(Physical Volume, PV)的状态和配置。 2. **读取LVM元数据**:库提供了访问LVM元数据的能力,...

    数据库性能监控

    session logical reads db block changes execute count user commits Concurrent Trans redo size redo writes parse count (total) parse count (hard) 指标项: #IO Latency db file sequential read(ms) log ...

    Data.Modeling.Made.Simple.with.Embarcadero.ERStudio

    Be able to apply techniques such as indexing, transforms, and forward engineering to turn a logical data model into an efficient physical design Improve data model quality and impact analysis results ...

    Adabas Natural Basic Knowledge

    在本文中,我们将深入探讨Adabas Natural的基本知识,特别是它提供的几种访问语句,包括READ PHYSICAL、READ BY ISN和READ LOGICAL,以及FIND命令。 1. **READ PHYSICAL**: 这是最基础的访问方式,适用于读取文件...

    藏经阁-AliSQL 内核定制方案.pdf

    在 IO 统计中,AliSQL 内核提供了三个参数:Logical_read、Physical_sync_read 和 Physical_async_read。Logical_read 用于监控逻辑读取的次数,Physical_sync_read 用于监控同步读取的次数,Physical_async_read ...

    AliSQL数据库开源功能特性.pptx

    IO限速功能允许根据统计信息(如Logical_read、Physical_sync_read和Physical_async_read)动态调整SQL的物理I/O限制,确保系统资源的合理分配。 然而,AliSQL目前尚不支持Windows平台和嵌入式部署,这可能会限制一...

    WinHex_14.2_SR-3_SC

    Usually it is preferable to open a logical drive instead of a physical disk, because more features are provided in this case. For example, "clusters" are defined by the file system, the allocation of ...

    Intel_PDK_Devices

    Rfid Reader -- This object represents devices that read and write Rfid tags. NetworkAdapter &endash; This object represents the physical network adapters within the system. A network adapter may ...

    A Delphi Developers Guide for 4K Displays

    A pixel, however, was still a pixel and a logical pixel corresponded to a physical dot on the screen. This was possible, because the physical display size grew at about the same rate as the ...

    C++ PPT && HW

    Regardless of differences in physical appearance, computers can be envisioned as divided into various logical units or sections: Input unit: This “receiving” section obtains information (data and ...

    微软内部资料-SQL性能优化2

    A 32-bit process is normally limited to addressing 2 gigabytes (GB) of memory, or 3 GB if the system was booted using the /3G boot switch even if there is more physical memory available. By leveraging...

    STATSPACK report

    - **% Blocks changed per Read**: 0.36 - **Recursive Call %**: 12.53 - **Rollback per transaction %**: 0.07 - **Rows per Sort**: 46.02 ### 5. **实例效率百分比** - **Buffer Nowait %**: 99.47 - **...

    oracle优化

    2. **逻辑读取**(Logical reads):每秒40,718.26次,这代表从缓冲区缓存中读取的数据块数量。如果过高,可能需要优化查询以减少数据访问。 3. **物理读取**(Physical reads):每秒1,673.37次,这代表从磁盘直接...

    第5课 Oracle数据结构(一).pdf

    在读取数据时,Oracle区分逻辑读(logical reads)和物理读(physical reads)。逻辑读是指从缓存(比如数据缓冲区高速缓存)中读取数据块,包括current reads(DB block gets)和consistent reads。物理读则涉及从...

    oracle动态性能表

    公式:1-((physical reads-physical reads direct-physical reads direct (lob)) / session logical reads) 执行: select 1-((a.value-b.value-c.value)/d.value) from v$sysstat a,v$sysstat b,v$sysstat c,v$...

    LVM扩容.txt

    Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 ``` 可见,新硬盘尚未被分区。 2. **使用`fdisk`创建分区**: ```...

    6-苗青利-TiDB 应用开发实践(二)1

    6. Logical Optimizer、Physical Optimizer、Execute Plan 7. 根据对应的执行计划,最底层的 Executor 会根据这条 SQL 处理的 Key 范围构建出多个要下发到 TiKV 的请求,并通过 distsql 的 API 将这些请求分发到 ...

    linux-redhat

    - **Objects**菜单下有Adapter、Logical Drive、Physical Drive、SCSI Channel和Battery Back等子选项,分别对应RAID卡、逻辑驱动器、物理驱动器、SCSI通道和电池备份信息。 - **Rebuild**是重建RAID卷的过程,通常...

    OracleAWR报告分析实例讲解.pdf

    3. **Load Profile**: 这部分展示了数据库的负载概况,包括每秒和每事务的Redo size、Logical reads、Block changes、Physical reads和writes、User calls、Parses、Hard parses、Sorts、Logons以及Executes。...

    windows系统监视器.doc

    4. **磁盘I/O监控**:Logical Disk计数器如Disk Read Bytes/sec和Disk Write Bytes/sec,可以揭示哪些磁盘活动导致了负载增加,帮助定位问题。Page Reads/sec计数器显示由于页错误而从硬盘读取页面的次数,数值过高...

Global site tag (gtag.js) - Google Analytics