前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【OCP最新题库解析(052)--题29】 For which requirement should you config

【OCP最新题库解析(052)--题29】 For which requirement should you config

作者头像
AiDBA宝典
发布2019-09-29 16:40:33
3210
发布2019-09-29 16:40:33
举报
文章被收录于专栏:小麦苗的DB宝专栏

Q

题目

For which requirement should you configure shared servers?

A. accommodating an increasing number of users who run short-duration, infrequent queries in an OLTP environment with limited memory.

B. using Recovery Manager(RMAN) to recover a database.

C. submitting backup jobs at regular, 24-hour intervals in an OLTP environment with limited memory.

D. accommodating an increasing number of users who run analytical queries in a DSS environment with limited memory.

E. performing bulk-load operations in a DSS environment with limited memory.

A

答案

Answer:A

使用连接共享功能,数据库服务器可以使空闲会话超时,从而使用其连接为活动会话提供服务。空闲会话逻辑上仍处于打开状态,当该会话下次发出请求时会自动重新建立物理连接。因此,Web应用程序可使用现有硬件来满足大量并发用户的需求。连接共享是通过共享服务器进行配置的。

Oracle共享服务器体系结构是一个有效的进程和内存使用模型,但是并不适用于所有的连接。由于存在公共请求队列,并且大量用户会共享分派程序响应队列,所以当存在必须处理大批数据的操作时共享服务器的性能并不是很好,如处理仓库查询或执行批处理时。使用Oracle Recovery Manager进行备份和恢复会话时,也会处理大量的数据集,因此也必须使用专用连接。

许多管理任务不能(无法)使用共享服务器连接执行,其中包括启动和关闭实例、创建表空间和数据文件、维护索引和表、分析统计信息,以及通常由DBA执行的其它多个任务。

所有DBA会话都必须选择专用服务器。

Using shared servers reduces the number of processes and the amount of memory consumed on the database host. Shared servers are beneficial for databases where there are many OLTP users performing intermittent transactions.

Using shared servers rather than dedicated servers is also generally better for systems that have a high connection rate to the database. With shared servers, when a connect request is received, a dispatcher is available to handle concurrent connection requests. With dedicated servers, however, a connection-specific dedicated server is sequentially initialized for each connection request.

Performance of certain database features can improve when a shared server architecture is used, and performance of certain database features can degrade slightly when a shared server architecture is used. For example, a session can be prevented from migrating to another shared server while parallel execution is active.

A session can remain nonmigratable even after a request from the client has been processed, because not all the user information has been stored in the UGA. If a server were to process the request from the client, then the part of the user state that was not stored in the UGA would be inaccessible. To avoid this situation, individual shared servers often need to remain bound to a user session.

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2018-07-02,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 DB宝 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • For which requirement should you configure shared servers?
相关产品与服务
数据库
云数据库为企业提供了完善的关系型数据库、非关系型数据库、分析型数据库和数据库生态工具。您可以通过产品选择和组合搭建,轻松实现高可靠、高可用性、高性能等数据库需求。云数据库服务也可大幅减少您的运维工作量,更专注于业务发展,让企业一站式享受数据上云及分布式架构的技术红利!
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档