Oracle Dataguard Fundamentals

The principle of  1 and Dataguard is dataguard by establishing a primary and standby group to establish its reference relationship. Once  standby is created, Dataguard passes the redo of the primary database (PRIMARY) to the standby database and

Mysql,sqlserver,oracle settings for auto-growth of primary keys

1. Define the primary key as the auto-grow identifier typeMysqlIn MySQL, if the primary key of the table is set to the auto_increment type, the database is automatically assigned a value for the primary key. For example: Customers (ID auto_increment,

Oracle character Split function, returns the result set

Oracle cannot support directly returning a table type like MSSQL, so create a custom type first. This is used for nested tables (Nested table).--Nested tablecreate or replace TYPE split_str is TABLE of VARCHAR,/--functioncreate or replace FUNCTION

Oracle Hint Usage

The correct syntax is:Select /*+ Index (x idx_t) */ * from T X where x.object_id=123/*+ * * and comments like, more than comments a "+", this is hintThe above hint means that Oracle is forced to take the index when executing this SQL.If the syntax

Randomly fetch any row of data in the Oracle database (rownum)

Recently read Oracle data, understand the concept of rownum, previously only known to the database table simple additions and deletions; After seeing the concept of rownum, I suddenly thought that a lot of business scenarios should be applicable,

rhel-6.5_x86-64 Installing Oracle-11.0.2.4 system settings

1. System Kernel parameter setting Cat >>/etc/sysctl.conf RHEL 6 Shmall and Shmmax are configured to use the default settings, Shmmax is generally set to half of the system memory, 4195057664=4GB After modification, the Execute command takes effect:

ORACLE-to-date conversion between milliseconds

Milliseconds converted to dateSELECT To_char (1406538765000/(+ *) + to_date (' 1970-01-01 08:00:00 ', ' yyyy-mm-dd HH:MI:SS '), ' yyyy-mm -dd HH24:MI:SS ') as CDATE Date conversion millisecondsSELECT To_number (to_date (' 2014-07-2

X. Common functions of Oracle

One, character functionsThe character function is the most commonly used function in Oracle, so let's see what the character functions are:Lower (char): Converts a string to a lowercase format.Upper (char): Converts a string to an uppercase

19. Introduction to Oracle PL/SQL

I. What is PL/SQL?PL/SQL (procedural language/sql) is an extension of Oracle in the standard SQL language.PL/SQL not only allows the embedding of the language, but also defines variables and constants, allows the use of conditional and circular

Oracle OS authentication and password file authentication methods

OS authentication1. In Sqlnet.ora (located in the $oracle_home/network/admin directory) file, use VI Edit to comment out the #sqlnet. Authentication_services = (NONE) the row. 2. Check whether the current OS user belongs to the DBA group.3. Execute

How to get Oracle Labs to improve performance when not experimenting--win7 example

How to get Oracle Labs to improve performance when not experimenting--win7 exampleModel: ThinkPad E431System: WIN7When the notebook used by the experiment does not use the database, it is recommended that Oracle be shut down so that it frees up the

Export import tables and data in Oracle

Oracle data import and export imp/exp is equivalent to Oracle data restore and backup. The EXP command can export data from a remote database server to a local DMP file, and the IMP command can import the DMP file from a local to a distant database

Oracle stored procedure function syntax and cases

CreateOrReplacefunction F01_sx03_sum (statdateVarchar2, codeVarchar2, paraVarchar2)RETURNNumberIsV_meNumber; V_mbNumber;BeginIf para=‘Me‘ThenSelect NVL (Sum (NVL (Me),0)),0)/10000IntoV_meFromSx03_gl_accass Twhere T.ccodeLike (code||‘%‘)and T.iyeriod=

Second, Oracle Sql*plus common commands

the SYS user and system user Oracle installation automatically generates SYS users and system users (1), sys user is superuser, has the highest privileges, has the SYSDBA role, has the permission to create database, the user's default password is

Oralce archive log enabling and disabling example, oralce Archive

Oralce archive log enabling and disabling example, oralce Archive Check whether the oracle database is in archive ModeSQL> select name, log_mode from V $ database; NAME LOG_MODE------------------------------------------TEST NOARCHIVELOG SQL> archive

Batch Data insertion in oracle

Batch Data insertion in oracle Once a function was developed, tens of thousands of pieces of data provided by others need to be imported, There are about 80 thousand pieces of data in a *. SQL file. Insert into testtable (id, name) values (1, '1')

Oracle Database Password Reset, Import and Export command example application, oracle Import and Export

Oracle Database Password Reset, Import and Export command example application, oracle Import and Export The reset method is as follows: Open the CMD command prompt and enter the following command to reset: Enter sqlplus/nolog, and press ENTER SQL>

OracleDBA user management, oracledba user management

OracleDBA user management, oracledba user management I would like to share with you the management of users in Oracle. The following are my Oracle learning notes stored on the database. I will share them with you today. For more information, see the

Dba_hist_ SQL _plan is an important view for querying the execution plan of oraclesql.

Dba_hist_ SQL _plan is an important view for querying the execution plan of oraclesql. I would like to express my gratitude for the help of elders who have prepared this article. The applicable oracle database version is oracle 10 Gb or later. This

Notes for writing high-performance SQL statements, high-performance SQL statements

Notes for writing high-performance SQL statements, high-performance SQL statements 1. is null and IS NOT NULLNull cannot be used as an index. Any column containing null values will not be included in the index. Even ifIf there are multiple columns

Total Pages: 2147 1 .... 1088 1089 1090 1091 1092 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.