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
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
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
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
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
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
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 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.
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
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
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
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
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
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
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
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 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
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
--*******************
When installing Clusterware,
Receive the following error message:
The given interface (s), "eth0" is not public. Public interfaces shoshould be used to configure virtual
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