多多色-多人伦交性欧美在线观看-多人伦精品一区二区三区视频-多色视频-免费黄色视屏网站-免费黄色在线

國內最全IT社區平臺 聯系我們 | 收藏本站
阿里云優惠2
您當前位置:首頁 > 互聯網 > Optimizing Oracle RAC

Optimizing Oracle RAC

來源:程序員人生   發布時間:2014-09-20 03:26:31 閱讀次數:3080次

Oracle Real Application Clusters (RAC) databases form an increasing proportion of Oracle database systems. RAC was introduced in 2001 as part of Oracle 9i and was based on Oracle’s earlier Oracle Parallel Server architecture. RAC is almost unique as a mature implementation of a shared disk database clustering system: it is the basis for Oracle’s Exadata database machine, and allows for economical scalability and high availability.

All the usual principles of database performance tuning apply to RAC. However, the RAC architecture provides some additional challenges and opportunities.

The key principles in RAC performance management are:

  • Maintaining high speed communications between the instances in the cluster.
  • Eliminating unnecessary inter-instance traffic.
  • Balancing workload between the instances in the cluster.

RAC architecture

RAC is a shared disk clustered databases: every instance in the cluster has equal access to the database’s data on disk. This is in contrast to the shared nothing architecture employed by other RDBMS clusters.   In a shared nothing architecture, each instance is responsible for a certain subset of data. Whenever a session needs that data, then the appropriate instance must be involved in serving up the data.  

Shared nothing database clusters have their advantages, but transparent and rapid scalability is not one of them.   The shared nothing architecture requires that data be distributed across the instances in the cluster. When a new instance is added to the cluster, data needs to be redistributed across the cluster in order to maintain a reasonable balance of load. In contrast, a new instance can be added to a RAC cluster without any data rebalancing being required: the new instance has immediate and independent access to all the data in the database.

It is this ability to rapidly add or remove instances from RAC clusters that justifies the “G for Grid” in the Oracle 10g and 11g naming convention: RAC has the ability to rapidly scale database clusters by adding or removing instances: that capability is required (but perhaps not sufficient) to create a truly grid-enabled database.

The main challenge in the shared disk architecture is to establish a global memory cache across all the instances in the cluster: otherwise the clustered database becomes IO bound. Oracle establishes this shared cache via a high-speed private network referred to as the cluster interconnect.

All the instances in a RAC cluster share access to datafiles on shared disk, though each have private redo logs and undo segments.   Each instance has its own SGA and background processes and each session that connects to the cluster database connects to a specific instance in the cluster.


Figure 1 RAC architecture

Global Cache Requests

Understanding how instances in the cluster communicate is critical to understanding RAC performance.   As with single-instance Oracle, we want to avoid disk IO whenever possible

生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 亚洲春色综合另类网蜜桃 | 激情综合色综合久久综合 | 美女网站视频免费 | 九九爱精品视频 | 欧美成人亚洲高清在线观看 | 亚洲福利一区 | 午夜男人网| 欧美精欧美乱码一二三四区 | 国产午夜亚洲精品久久999 | 国产成人精品高清不卡在线 | 99热这里只精品99re66 | 18到20岁女人一级毛片 | 欧美真人视频一级毛片 | 欧美一区亚洲二区 | aa一级黄色片 | 中文字幕在线免费视频 | 三浦惠理子中文字幕在线一区二区 | 久久久国产一区二区三区 | 免费黄色网址大全 | 老司机午夜在线视频免费观 | 精品国产福利第一区二区三区 | 日朝欧美亚洲精品 | 九色av99久久 | 久久精品国产主播一区二区 | 免费网站在线观看高清版 | 五月婷婷亚洲综合 | 久久性网 | 国产一区二区三区亚洲欧美 | 宅男看片午夜大片啪啪mv | 国产福利第一页 | 久久成人乱小说 | 国产午夜a理论毛片在线影院 | 春色视频www免费视频观看 | 色综合小说网 | 一区二区三区在线视频播放 | 国产精品成人免费 | 欧美又粗又硬又黄又爽视频 | 亚洲欧洲一区二区 | 夜夜爽爽| 日本a一级片 | 亚洲成年人在线 |