更多“如何增加buffer cache的命中率?”相关问题
  • 第1题:

    下列因素中,与Cache的命中率无关的是()。

    A.主存的存取时间
    B.块的大小
    C.Cache的组织方式
    D.Cache的容量

    答案:A
    解析:
    主存的存取时间和Cache的命中率无关,Cache块的大小和组织方式会影响到Cache命中率,Cache容量越大,命中率会越高。

  • 第2题:

    以下关于Cache的叙述中,正确的是( )。

    A.在容量确定的情况下,替换算法的时间复杂度是影响Cache命中率的关键因素
    B.Cache的设计思想是在合理的成本下提高命中率
    C.Cache的设计目标是容量尽可能与主存容量相等
    D.CPU中的Cache容量应大于CPU之外的Cache容量

    答案:B
    解析:
    Cache是介于CPU与内存之间的一种高速缓存。这种存储器速度比内存快了很多倍,利用到局部性原理,只需要少量的Cache,便能使整个机器访问内存数据得到极大的提升。所以Cache是一种应用非常普遍的技术,Cache在实际应用中,可以分多级,如1级Cache,2级Cache。1级Cache往往位于CPU中,其容量比在主板上的2级Cache小,但速度比2级Cache快。
    影响Cache命中率的因素包括高速存储器的容量、存储单元组的大小、组数多少、地址联想比较方法、替换算法、写操作处理方法和程序特性等,这些因素相互影响,没有关键影响因素。

  • 第3题:

    Cache的主要作用是什么,它与Buffer有何区别?


    正确答案: Cache即是高速缓冲存储器,Cache是一个高速小容量的临时存储器,可以用高速的静态存储器芯片实现,或者集成到CPU芯片内部,存储CPU最经常访问的指令或者操作数据Buffer与Cache操作的对象不一样。Buffer(缓冲)是为了提高内存和硬盘(或其他I/0设备)之间的数据交换的速度而设计的。Cache(缓存)是为了提高cpu和内存之间的数据交换速度而设计,也就是平常见到的一级缓存、二级缓存、三级缓存等。
    嵌入式DSP处理器(EmbeddedDigitalSignalProcessor,EDSP)对系统结构和指令进行了特殊设计,使其适合于执行DSP算法,编译效率较高,指令执行速度也较高。在数字滤波、FFT、谱分析等方面DSP算法正在大量进入嵌入式领域,DSP应用正从在通用单片机中以普通指令实现DSP功能,过渡到采用嵌入式DSP处理器。嵌入式DSP处理器有两个发展来源,一是DSP处理器经过单片化、EMC改造、增加片上外设成为嵌入式DSP处理器,TI的TMS320C2000/C5000等属于此范畴;二是在通用单片机或SOC中增加DSP协处理器,例如Intel的MCS-296和Infineon(Siemens)的TriCore。

  • 第4题:

    Cache的容量对命中率的影响,以下说法正确的是()。

    • A、Cache容量越大,命中率增加的越大。
    • B、Cache容量很小时,命中率随容量的增加不太明显。
    • C、当Cache容量由很小开始增加时命中率增加的比较明显,当容量达到一定程度,容量增加命中率改善的并不大。
    • D、Cache容量越大,命中率增加的越小。

    正确答案:C

  • 第5题:

    在关于主存与cache地址映射方式中,叙述()是正确的。

    • A、全相联映射方式适用于大容量cache
    • B、直接映射是一对一的映射关系,组相联映射是多对一的映射关系
    • C、在cache容量相等条件下,直接映射方式的命中率比组相联方式有更高的命中率
    • D、在cache容量相等条件下,组相联方式的命中率比直接映射方式有更高的命中率

    正确答案:D

  • 第6题:

    Which is the correct description of a pinned buffer in the database buffer cache()

    • A、The buffer is currently being accessed.
    • B、The buffer is empty and has not been used.
    • C、The contents of the buffer have changed and must be flushed to the disk by the DBWn process. 
    • D、The buffer is a candidate for immediate aging out and its contents are synchronized with the block contents on the disk.

    正确答案:A

  • 第7题:

    Automatic Shared Memory Management (ASMM) has been enabled for your database instance.  Theinitialization parameters for the components that are managed by ASMM are not set. After observing theeffects of ASSM, you executed the following command: SQL> ALTER SYSTEM SET DB_CACHE_SIZE = 100M;  Which statement is true in this scenario()

    • A、The minimum memory size for the database buffer cache is set to 100 mb.
    • B、The maximum memory size that can be obtained by the database buffer cache during ASMM is set to100 mb
    • C、The minimum memory size allocated for a server process in the database buffer cache in dedicatedmode is set to 100 mb.
    • D、The maximum memory size from the database buffer cache that can be released for dynamicdistribution during ASMM is set to 100 mb

    正确答案:A

  • 第8题:

    Which component of the SGA stores parsed SQL statements is used for process sharing?()

    • A、Buffer cache 
    • B、Redo log buffer 
    • C、Private SQL area 
    • D、Library cache 
    • E、Row cache 

    正确答案:C

  • 第9题:

    单选题
    Cache的容量对命中率的影响,以下说法正确的是()。
    A

    Cache容量越大,命中率增加的越大。

    B

    Cache容量很小时,命中率随容量的增加不太明显。

    C

    当Cache容量由很小开始增加时命中率增加的比较明显,当容量达到一定程度,容量增加命中率改善的并不大。

    D

    Cache容量越大,命中率增加的越小。


    正确答案: D
    解析: 暂无解析

  • 第10题:

    单选题
    组相联映像、LRU替换的Cache存储器,不影响Cache命中率的是()。
    A

    增加Cache中的块数

    B

    增大组的大小

    C

    增大主存容量

    D

    增大块的大小


    正确答案: D
    解析: 暂无解析

  • 第11题:

    填空题
    执行()命令可以察看informix数据库的Buffer Cache命中率。

    正确答案: onstat-p或onstat-a
    解析: 暂无解析

  • 第12题:

    单选题
    An application accesses a small lookup table frequently. You notice that the required data blocks are getting aged out of the default buffer cache. How would you guarantee that the blocks for the table never age out?()
    A

    Configure the KEEP buffer pool and alter the table with the corresponding storage clause.

    B

    Increase the database buffer cache size.

    C

    Configure the RECYCLE buffer pool and alter the table with the corresponding storage clause.

    D

    Configure Automata Shared Memory Management.

    E

    Configure Automatic Memory Management


    正确答案: D
    解析: 暂无解析

  • 第13题:

    以下关于Cache的叙述中,正确的是()。

    A.Cache的设计目标是容量尽可能与主存容量相等
    B.在容量确定的情况下,替换算法的时间复杂度是影响Cache命中率的关键因素
    C.Cache的设计思想是在合理成本下提高命中率
    D.CPU中的Cache容量应大于CPU之外的Cache容量

    答案:C
    解析:
    Cache是一个高速小容量的临时存储器,可以用高速的静态存储器(SRAM)芯片实现,可以集成到CPU芯片内部,或者设置在CPU与内存之间,用于存储CPU最经常访问的指令或者操作数据。Cache的出现是基于两种因素:首先是由于CPU的速度和性能提高很快而主存速度较低且价格高,其次是程序执行的局部性特点。因此,才将速度比较快而容量有限的SRAM构成Cache,目的在于尽可能发挥CPU的高速度。很显然,要尽可能发挥CPU的高速度,就必须用硬件实现其全部功能。

  • 第14题:

    组相联映像、LRU替换的Cache存储器,不影响Cache命中率的是()。

    • A、增加Cache中的块数
    • B、增大组的大小
    • C、增大主存容量
    • D、增大块的大小

    正确答案:C

  • 第15题:

    对于采用组相联映像、LRU替换算法的cache存储器来说,不影响cache命中率的是()

    • A、增加cache中的块数
    • B、增大组的大小
    • C、增大主存容量
    • D、增大块的大小

    正确答案:C

  • 第16题:

    Cache的命中率是指命中Cache的次数与访问Cache的次数之比。


    正确答案:正确

  • 第17题:

    执行()命令可以察看informix数据库的Buffer Cache命中率。


    正确答案:onstat-p或onstat-a

  • 第18题:

    You observe that database performance has degraded over a period of time. While investigating the reason, you find that the size of the database buffer cache is not large enough to cache all the needed data blocks.  Which advisory component would you refer to, in order to determine the required size of the database buffer cache?() 

    • A、Memory Advisor
    • B、Segment Advisor
    • C、SQL Tuning Advisor
    • D、SQL Access Advisor
    • E、Automatic Database Diagnostic Monitor (ADDM)

    正确答案:A

  • 第19题:

    Records from the data dictionary information are stored in which of the following database memory areas?()

    • A、Library cache 
    • B、Row cache 
    • C、Session UGA 
    • D、Buffer cache

    正确答案:B

  • 第20题:

    问答题
    Cache的主要作用是什么,它与Buffer有何区别?

    正确答案: Cache即是高速缓冲存储器,Cache是一个高速小容量的临时存储器,可以用高速的静态存储器芯片实现,或者集成到CPU芯片内部,存储CPU最经常访问的指令或者操作数据Buffer与Cache操作的对象不一样。Buffer(缓冲)是为了提高内存和硬盘(或其他I/0设备)之间的数据交换的速度而设计的。Cache(缓存)是为了提高cpu和内存之间的数据交换速度而设计,也就是平常见到的一级缓存、二级缓存、三级缓存等。
    嵌入式DSP处理器(EmbeddedDigitalSignalProcessor,EDSP)对系统结构和指令进行了特殊设计,使其适合于执行DSP算法,编译效率较高,指令执行速度也较高。在数字滤波、FFT、谱分析等方面DSP算法正在大量进入嵌入式领域,DSP应用正从在通用单片机中以普通指令实现DSP功能,过渡到采用嵌入式DSP处理器。嵌入式DSP处理器有两个发展来源,一是DSP处理器经过单片化、EMC改造、增加片上外设成为嵌入式DSP处理器,TI的TMS320C2000/C5000等属于此范畴;二是在通用单片机或SOC中增加DSP协处理器,例如Intel的MCS-296和Infineon(Siemens)的TriCore。
    解析: 暂无解析

  • 第21题:

    单选题
    Which component of the SGA stores parsed SQL statements is used for process sharing?()
    A

    Buffer cache 

    B

    Redo log buffer 

    C

    Private SQL area 

    D

    Library cache 

    E

    Row cache 


    正确答案: D
    解析: 暂无解析

  • 第22题:

    单选题
    Which is the correct description of a pinned buffer in the database buffer cache()
    A

    The buffer is currently being accessed.

    B

    The buffer is empty and has not been used.

    C

    The contents of the buffer have changed and must be flushed to the disk by the DBWn process. 

    D

    The buffer is a candidate for immediate aging out and its contents are synchronized with the block contents on the disk.


    正确答案: C
    解析: Every buffer has an access mode:pinnedorfree(unpinned). A buffer is "pinned" in the cache so that it does not age out of memory while a user session accesses it. Multiple sessions cannot modify a pinned buffer at the same time.

  • 第23题:

    判断题
    Cache的命中率是指命中Cache的次数与访问Cache的次数之比。
    A

    B


    正确答案:
    解析: 暂无解析