OCP-1Z0-052-V8.02-13题

AI权益加码!Claude Code、Cursor等20+工具免费用! 购周边限时加赠Coding Plan Lite,畅享主流AI工具!学习进阶更高效! 阅读详情

13. You have executed this command to change the size of the database buffer cache:

SQL> ALTER SYSTEM SET DB_CACHE_SIZE=2516582;

System altered.

To verify the change in size, you executed this command:

SQL> SHOW PARAMETER DB_CACHE_SIZE

NAME TYPE VALUE

------------------- ----------- ------------------

db_cache_size big integer 4194304 4M

Why is the value set to 4194304 and not to 2516582?

A.because 4194304 is the granule size

B.because 4194304 is the standard block size

C.because 4194304 is the largest nonstandard block size defined in the database

D.because 4194304 is the total size of data already available in the database buffer cache

Answer: A
答案解析:
sys@TEST0924> select 2516582/1024/1024 from dual;
2516582/1024/1024
-----------------
2.39999962
sys@TEST0924> select 4194304/1024/1024 from dual;
4194304/1024/1024
-----------------
4
All SGA components allocate and deallocate space in units of granules . Oracle Database tracks SGA memory use in internal numbers of granules for each SGA component.

The memory for dynamic components in the SGA is allocated in the unit of granules. The granule size is determined by the amount of SGA memory requested when the instance starts. Specifically, the granule size is based on the value of the SGA_MAX_SIZE initialization parameter. Table 6-1shows the granule size for different amounts of SGA memory.

Table 6-1 Granule Size

SGA Memory AmountGranule Size

Less than or equal to 1 GB

4 MB

Greater than 1 GB and less than or equal to 8 GB

16 MB

Greater than 8 GB and less than or equal to 16 GB

32 MB

Greater than 16 GB and less than or equal to 32 GB

64 MB

Greater than 32 GB and less than or equal to 64 GB

128 MB

Greater than 64 GB and less than or equal to 128 GB

256 MB

Greater than 128 GB

512 MB

You can query the V$SGAINFO view to see the granule size that is being used by an instance. The same granule size is used for all components in the SGA.

If you specify a size for a component that is not a multiple of granule size, Oracle Database rounds the specified size up to the nearest multiple. For example, if the granule size is 4 MB and you specify DB_CACHE_SIZE as 10 MB, the database actually allocates 12 MB.

如果指定的size不是granule size的整数倍,则rounds到整数倍,例如,如果granule size为4M,指定DB_CACHE_SIZE as 10 MB,不是4的整数倍,则实际上DB_CACHE_SIZE as 为12M。

一下是我的环境,因为我的sga大于1G,故granule size为16M。

sys@TEST0924> desc V$SGAINFO
Name Null? Type
----------------------------------------------------- -------- ------------------------------------
NAME VARCHAR2(32)
BYTES NUMBER
RESIZEABLE VARCHAR2(3)
sys@TEST0924> select * from V$SGAINFO ;
NAME BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size 2230952 No
Redo Buffers 20078592 No
Buffer Cache Size 1862270976 Yes
Shared Pool Size 570425344 Yes
Large Pool Size 16777216 Yes
Java Pool Size 16777216 Yes
Streams Pool Size 16777216 Yes
Shared IO Pool Size 0 Yes
Granule Size 16777216 No
Maximum SGA Size 2505338880 No
Startup overhead in Shared Pool 117947968 No
Free SGA Memory Available 0
12 rows selected.
备份oracle错误12546,解决了ORACLE数据备份出现Message 206错误 备份数据库,出现如下的错误信息:Message 206 not found; No message file for product=RDBMS,facility=EXP: Release 10.1.0.2.0 - Production on Mon Dec 1010:49:52 2012Copyright (c) 1982, 2004, OracInvalid format of Export ... 阅读详情

相关推荐

exp、imp命令连接Oracle数据库报错

今天在使用exp、imp命令连接数据库的时候报错,具体操作步骤如下:开始---运行----cmd;输入exp或imp,报错:Invaild format of Import utility name Verify that ORACLE_HOME is properly set  截图如下:  问分析:记得以前安装的时候好像有问,但没有什么大的影响,看了

ipioneer的专栏 8174

Failed to read the request form. Form value length limit 4194304 exceeded.

之前文件上传都是文件流的形式上传,这次在用post表单方式上报99张转换成base64的图片(大小13M)时,出现了这个错误,--Failed to read the request form. Form value length limit 4194304 exceeded.表单post提交的长度限制为4194304 ,经过一番倒腾,发现是后台对post请求参数的长度做了限制,这里是限制了长度不能超过4194304,最后后台改了一下配置,把长度改成了最大。问完美解决。如下图所示: 其...

u013023845的博客 3343

oracle数据库备份表报错,oracle数据库备份常遇问

oracle数据库备份常遇问(2012-04-13 15:39:45)标签:oracleexp杂谈分类:数据库1、/home/oracle/product/10.2.0/db_1/bin目录下执行./exp报错:[root@test216 bin]# ./expMessage 206 not found; No message file for product=RDBMS,facility=EX...

weixin_35346265的博客 1431

Invalid format of Import utility nameVerify that ORACLE_HOME is properly oracle11.2g 无法imp,dmp

1、环境变量 ORACLE_HOME 设置了没  D:\app\product\11.2.0\client_1 2、环境变量 ORACLE_SID  设置为orcl   上面是网上流行的解决方案,然而博主遇到的不是这个样子的 原因是安装了简洁版的 oracle客户端 ,缺失了4个文件 oracle安装路径\rdbms\mesg下面的文件expus.msb,expzhs.msb,impus...

weixin_33739627的博客 4580

OCP-1Z0-052-V8 02-13

OCP-1Z0-052-V8 02-13

sdfsdkk的博客 170

OCP-1Z0-052-V8.02-82

82. You are managing an Oracle Database 11g database with the following backup strategy: 1) On Sunday, an incremental level 0 tape backup is performed. 2) Monday through Saturday, a cumulative i

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-91

91. View the Exhibit to examine the error that occurred during the database startup. You opened an RMAN session for the database. To repair the failure, you executed the following command as the

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-92

92. You executed the following commands in an RMAN session for your database instance that has failures: RMAN> LIST FAILURE; After some time, you executed the following command in the same sess

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-58

58. View the Exhibit and examine the parameters.  User A executes the following command to update the TRANS table: SQL> UPDATE B.trans SET tr_amt=tr_amt+500 WHERE c_code='C005'; Before user A iss

一抹曦阳-Oracle 9314

OCP-1Z0-052-V8 02-80

OCP-1Z0-052-V8 02-80

sdfsdkk的博客 194

OCP-1Z0-052-V8 02-92

OCP-1Z0-052-V8 02-92

sdfsdkk的博客 611

OCP-1Z0-052-V8.02-80

80. You perform differential incremental level 1 backups of your database on each working day and level 0 backup on Sundays, to tape.  Which two statements are true about differential incremental

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8 02-91

OCP-1Z0-052-V8 02-91

sdfsdkk的博客 323

OCP-1Z0-052-V8.02-24

24. Which two statements correctly describe the relation between a data file and the logical database structures? (Choose two.) A.An extent cannot spread across data files. B.A segment cannot sprea

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-113

113. You are working on a new Oracle Database 11g server, where only the software is installed and no database is created. You plan to create a database on this server using the Database Configuratio

一抹曦阳-Oracle 9353

OCP11g 参考图书 库及错误答案释疑

参考图书1OCP11g官方教材by20131227(考试的前一天,官方邮件发过来的)http://pan.baidu.com/s/1sjPL5fv2、OCA认证考试指南IZ0-0473、OCA认证考试指南IZ0-051http://pan.baidu.com/s/1i3v9EN74、OCA认证考试指南IZ0-052http://pan...

weixin_34034261的博客 113

【DBA充电宝】和【Python充电宝】DBA充电宝和Python充电宝微信群已建立,可加我微信(lhrbestxh)入群...

好消息,【DBA充电宝●微信群】和【Python学习微信群】都已建立,人数过多,不能扫码加入。想加入的新朋友可以加我微信(lhrbestxh,添加好...

小麦苗DBA宝典 855

C 语言学习笔记

B站up Micro_Frank C语言大师系列课程笔记

g_c_m_g的博客 1130
上一篇: OCP-1Z0-052-V8.02-12题
下一篇: OCP-1Z0-052-V8.02-16题
Riveore
博客等级 码龄19年 1801粉丝 1432原创
评论 4
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值