In some cases, because it is the C/s architecture, from the previous stand-alone system to the current 11.2 of the RAC, if the client IP address to modify the workload is too large, but also unrealistic, generally recommended directly modify the
When you configure ADG or use the HA for cluster management applications of Oracle (such as OGG), we may want to use a different network to avoid the impact of ADG transmission logs on the primary production network.Starting with 11.2, we can use
Basic syntax for Oracle stored procedures
1. Basic structureCREATE OR REPLACE PROCEDURE Stored procedure name(Parameter 1 in number,Parameter 2 in number) isVariable 1 INTEGER: = 0;Variable 2 DATE;BEGIN
End Stored Procedure name
2.SELECT into
Oracle inversion inversion function Oracle provides a reverse inversion function reverse, but this function cannot be grouped upside down, this article provides a function that can be grouped upside down, as follows: CREATE OR REPLACE FUNCTION
When we use a database, we always want the contents of the database to be reliable and correct, but because of the calculation
Failure of the machine system (including machine failure, media failure, misoperation, etc.), the database may sometimes
Oracle text (Full-text search)
View database Tutorials Related Information select * from Nls_database_parameters1. Simple Application1.1 If you want to use Full-text search, the current Oracle user must have the Ctxapp role
--Create a user--create
Union operates on two result sets, excluding duplicate rows, while ordering the default rules;
UNION all sets up and does a set of two result sets, including repeating rows, not sorting
Union ALL is much faster than union, so if you can confirm
Online database backup
Once the database runs in Archivelog mode, it can be backed up when it is open and available to the user. This feature allows the continuous operation of the database to be archived and to ensure its recoverability. Online
First, Trigger
1. Triggers are stored as separate objects in the database,
2. Triggers do not need to be invoked, it is triggered by an event to run
3. Triggers cannot receive parameters
--Application of Trigger
For example: NET, net, Facebook,
In the SQL statement optimization process, we often use hint, and now summarize the use of Oracle hint in the SQL optimization process:
1./*+all_rows*/
It is shown that the cost-based optimization method is chosen for the statement block, and the
The Oracle tutorial you are looking at is: Automatically backing up Oracle databases. It is believed that a large number of system administrators are doing the same job every day-backing up the data. Once a day of negligence, and this day the system
The Oracle tutorial being looked at is: Oracle Database Security Policy Analysis (ii).
Security for the SQL*DBA command:
If you do not have a sql*plus application, you can also use SQL*DBA to do SQL check permissions, which can only be assigned to
The Oracle tutorial you are looking at is: Oracle SQL Performance Tuning Series Learning Ii.
4. Select the most efficient table name order (valid only in the Rule-based optimizer)
The Oracle parser processes the table names in the FROM clause in
The Oracle tutorial is looking at the power of multiple CPUs with Oracle parallel queries. Parameters
Let's take a closer look at how the number of CPUs affects these parameters.
Parameter Fast_start_parallel_rollback
One exciting thing about
The Oracle 11g listening and warning logs are both in the/u01/oracle/diag/tnslsnr/oracle/listener directory and the/u01/oracle/diag/rdbms/db1/ The DB1 directory has the following names, respectively, listener directories and DB1 directories. Both
In MySQL, we usually use limit to complete the paging operation of DataSet acquisition, while in the Oracle database, there is no such convenient way to implement paging, so we usually finish paging directly in SQL statement, limit. With the help of
Brief introduction and application of TNS
The complete definition of TNS in Oracle: Transparence network substrate transparent network bottom, listening service is an important part of it, not all, do not treat TNS as just a listener.
TNS is part
What is a combined multiline string (connection string), for example:
sql> desc test;
Name Type Nullable Default Comments
------- ------------ -------- ------- --------
COUNTRY VARCHAR2 (Y)
City VARCHAR2 Y
Sql> select * from test;
COUNTRY City
---
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service