oracle rac refers to Oracle Real-time Application Cluster, which is a cluster database with a shared cache architecture. It overcomes the limitations of the traditional shared nothing method and shared disk method, and provides a user-friendly solution for all business applications. A highly scalable and available database solution.
The operating environment of this tutorial: Windows 7 system, Oracle 11g version, Dell G3 computer.
What is Oracle RAC
Oracle RAC (real application clusters, "real-time application clusters") is a cluster database with a shared cache architecture , which overcomes the limitations of traditional shared-nothing and shared-disk approaches, providing a highly scalable and available database solution for all your business applications. Oracle RAC is a key component of Oracle Private Cloud architecture.
Oracle RAC can eliminate the single point of failure problem of the database server, thereby providing customers with excellent database availability. In a clustered server environment, the database itself is shared across the server pool, which means that if any server in the pool fails, the database will continue to run on the healthy server. Oracle RAC not only allows customers to continue handling database workloads in the event of a server failure, but it also helps reduce downtime costs by reducing planned offline maintenance of the database.
Oracle RAC supports transparent deployment of Oracle databases on clustered server pools. This allows customers to easily redeploy Oracle Database on a single server to a cluster of database servers, taking advantage of the consolidated memory capacity and processing power provided by clustered database servers.
Oracle RAC provides all the necessary software components to allow you to easily deploy Oracle Database on a server pool and take full advantage of the performance, scalability and availability provided by the cluster. Oracle RAC leverages Oracle Grid Infrastructure as the foundation for the Oracle RAC database system. Oracle Grid Infrastructure includes Oracle Clusterware and Oracle Automatic Storage Management (ASM) to efficiently share server and storage resources in a highly available and scalable database cloud environment.
Advantages:
Oracle RAC mainly supports Oracle9i, 10g, 11g, and 12C versions, and can support 24 x 7 effective database application systems. Build a high-availability database system on low-cost servers and deploy applications freely without modifying the code.
In the Oracle RAC environment, Oracle integration provides cluster software and storage management software, reducing application costs for users. When the application scale needs to be expanded, users can expand the system as needed to ensure system performance.
(1) Multi-node load balancing;
(2) Provide high availability: fault tolerance and seamless switching functions to minimize the impact of hardware and software errors;
(3) Improve transaction response time through parallel execution technology--usually used for data analysis systems;
(4) Increase the number of transactions and connections per second through horizontal expansion--usually for Online transaction system;
(5) Save hardware costs, you can use multiple cheap PC servers to replace expensive minicomputers or mainframes, while saving corresponding maintenance costs;
(6) Expandable It has good performance and can easily add and delete nodes and expand hardware resources.
Disadvantages:
(1) Compared with a single machine, the management is more complex and the requirements are higher;
(2) When the system planning and design is poor, the performance may not even be as good as a single node;
(3) It may increase the software cost (if you use a high-configuration PC server, Oracle generally charges based on the number of CPUs).
Before Oracle9i, the name of RAC was OPS (Oracle parallel Server). A big difference between RAC and OPS is that RAC uses Cache Fusion (cache merging) technology. In OPS, data requests between nodes require the data to be written to disk before the requesting node can read the data. When using Cache fusion, the data buffers of each RAC node transmit data blocks through the high-speed, low-latency internal network.
What problem does rac solve
1. High availability: automatic switching, load balancing
2. High performance: multiple instances, more connections, concurrent execution
3. High expansion: expand nodes without downtime.
RAC architecture
Recommended tutorial: "Oracle Tutorial"
The above is the detailed content of what is oraclerac. For more information, please follow other related articles on the PHP Chinese website!

方法:1、利用“select*from user_indexes where table_name=表名”语句查询表中索引;2、利用“select*from all_indexes where table_name=表名”语句查询所有索引。

oracle asm指的是“自动存储管理”,是一种卷管理器,可自动管理磁盘组并提供有效的数据冗余功能;它是做为单独的Oracle实例实施和部署。asm的优势:1、配置简单、可最大化推动数据库合并的存储资源利用;2、支持BIGFILE文件等。

在oracle中,可以利用“TO_SINGLE_BYTE(String)”将全角转换为半角;“TO_SINGLE_BYTE”函数可以将参数中所有多字节字符都替换为等价的单字节字符,只有当数据库字符集同时包含多字节和单字节字符的时候有效。

在Oracle中,可利用lsnrctl命令查询端口号,该命令是Oracle的监听命令;在启动、关闭或重启oracle监听器之前可使用该命令检查oracle监听器的状态,语法为“lsnrctl status”,结果PORT后的内容就是端口号。

在oracle中,可以利用“drop sequence sequence名”来删除sequence;sequence是自动增加数字序列的意思,也就是序列号,序列号自动增加不能重置,因此需要利用drop sequence语句来删除序列。

在oracle中,可以利用“select ... From all_tab_columns where table_name=upper('表名') AND owner=upper('数据库登录用户名');”语句查询数据库表的数据类型。

方法:1、利用“LOWER(字段值)”将字段转为小写,或者利用“UPPER(字段值)”将字段转为大写;2、利用“REGEXP_LIKE(字符串,正则表达式,'i')”,当参数设置为“i”时,说明进行匹配不区分大小写。

方法:1、利用“alter system set sessions=修改后的数值 scope=spfile”语句修改session参数;2、修改参数之后利用“shutdown immediate – startup”语句重启服务器即可生效。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1
Easy-to-use and free code editor

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
