How to obtain the number of UPDATE rows and INSERT rows in the MERGE operation

When performing the MERGE operation, how do I obtain the number of updated rows and the number of inserted rows? First, create a test table as follows:Create table emp_sourceSELECT * FROM emp; -- 14 rows Create table emp_targetSELECT * FROM

Troubleshooting of ORA-04068

Today I received a strange fault and found that some packets are running normally on NODE1, and then the execution on NODE2 reported a ORA-04068 error. however, check whether the STATUS of DBA_INVALIED_OBJECTS is normal. (because some packages in

Data File deleted by rm can be restored without the rman Tool

Introduction: My friend used rm for a moment. I deleted the Oracle data file and asked for help. When I was helping my friend restore the database, When I encountered a recover, if an error is reported, the archive log no. 28739 cannot be found, so

MySQL service failed to start (1067)

There are many online posts and comments about the failure of MySQL Service Startup (1067). It is difficult to tell the true or false, or whether it is the same as your own errors. With the lessons learned, it is necessary to declare in advance

Oracle tablespace monitoring

Now all business systems are deployed with various types of monitoring for various aspects, so Oracle is no exception. We also need to monitor oracle, such as the instance survival status, the survival status of the listener and the running status

ORA-00911 errors and Solutions

I encountered a problem during development and was troubled to find time. This is the case, Because our current system database uses Oracle, and I like The related statements are tested in pl/SQL developer before being written into the program. In

Understanding the principles of redo (7) oracle redo Parallel Mechanism

In the previous article, Understanding the basic concepts of redo log (1) Media recovery and instance recoveryUnderstanding redo (2) redo content: change vector and redo entriesUnderstanding redo (3) explain an update processUnderstanding redo (4)

Oracle 11g password failure

Oracle system cannot log on. My own problems are summarized as follows: First, access sqlpuls as SYS DBA Enable sqlpuls SQL-> enter the User name: sys as sysdba SQL-> password (old password ): Query the DBA user status after successful logon.

The redo log in the current status is not backed up.

SQL> select * from v $ log;   GROUP # THREAD # SEQUENCE # bytes members arc status FIRST_CHANGE # FIRST_TIM ------------------------------------------------------------------------------------------- 1 1 2 52428800 1 yes active 464602 07-SEP-12 2 1 3

Oracle 10 Gb Database Backup Summary

1. Enable archivelog SQL> shutdown immediate;SQL> startup mount;SQL> alter system set log_archive_dest_1 = 'location = d:/arc' scope = both;SQL> alter database archivelog;SQL> alter database open; 2. Backup Control File 2.1 generate the controlfile

Use Keepalived to build highly available MySQL

Company Daniel asked keepalived to build high-availability MySQL. He saw a complete article on the Internet, so he followed the footsteps of his predecessors and added his own supplement. The environment topology is as follows: MySQL-VIP: 192.168.1.1

MySQL command to clear the cache

As a test, in order to eliminate the impact of the cache, it is clear that the cache is a common thing, so the command to clear the cache must still be remembered. below is the FLUSH parameter of my mobile phone from other websites. Flush_option can

Modify the SPFILE File Location of the database in Oracle 11gR2 RAC

Modifying the DATABASE spfile file in Oracle 11GR2 RAC is not the original $ ORACLE_HOME/dbs/init . ora file. If we manually modify this file, it will still take effect when SQL plus is used to manually start the database, but if we use srvctl or

Some ddl statements for Oracle operations

Recently, the program needs to generate DDL statements to modify the database table of the Oracle database. Therefore, I have summarized the situation of modifying the database table of the Oracle database as follows: 1. ADD a column: alter table

CentOS6 10 Gb Oracle Installation Error

Oracle 10g is installed in CentOS6 for the first time. The following error occurs:INFO: Generating base orasdk library... INFO: Creating/u01/oracle/10g/product/10.2.0/db_1/lib/liborasdkbase. so.10.2 INFO: gcc:INFO:/usr/lib/libstdc ++. so.5: No

Disable Automatic Data Collection for Oracle 11 GB

Database ErrorGATHER_STATS_JOB encountered errors. Check the trace file.Errors in file/opt/Oracle/diag/rdbms/dbserver1/dbserver1/trace/dbserver1_j003_10544.trc:ORA-20011: Approximate Newcastle failed: ORA-01476: divisor is equal to

Oracle 10g RAC dual-node time not synchronized under AIX Solution

1. receive service requests A customer's dual-node RAC is not synchronized at two nodes. Ii. problem diagnosis 1. Check service status: Command crs_stat-t 2. Check time: the date node is two minutes faster than the second time of the node. 3. Check

MySQL semi-synchronous replication Mode

Mysql replication is completed asynchronously by default. The semi-Sync Mode is a patch developed by google for mysql. This function has been integrated in Mysql 5.5 or later versions. Semi-sync means that the MASTER only needs to receive the

Use RMAN to build a Data Guard environment (maximize performance)

Master database:-- Check whether archiving is enabled for the master databaseArchive log list; -- If archive is not enabled for the master database, archive is enabled.-- Set the archive pathAlter system set log_archive_dest_1 = 'location

CRS-0215 error handling

--******************* -- CRS-0215 error handling --*******************   When installing Clusterware, Receive the following error message: The given interface (s), "eth0" is not public. Public interfaces shoshould be used to configure virtual

Total Pages: 1013 1 .... 751 752 753 754 755 .... 1013 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.