On the Linux server, when rsync is enabled, MySQL sets master-slave synchronization.

1. Enable rsync from the Database Server Vi/etc/rsyncd. conf Edit rsync Configuration /Usr/bin/rsync -- daemon Start rsync 2. Stop the crontab of the log Collection Server /Etc/init. d/cron stop 3. Stop the primary database rsync Ps aux | grep rsync

Analysis of Oracle Time Functions

I. Operation of sysdate function 1 and sysdateAddition Select sysdate, add_months (sysdate, 12) from dual; -- add 1 year Select sysdate, add_months (sysdate, 1) from dual; -- add January Select sysdate, to_char (sysdate + 7,'Yyyy-mm-dd HH24:

Oracle synonyms and database dblink

Two different database servers read data from one user on one database server from another database server. In this case, you can use dblink. In fact, dblink is similar to the view in the database. When creating dblink, you need to know the IP

Oracle Redo Log Buffer size settings

Redo Log BufferThe size is determined by the initialization parameters.LOG_BUFFERThe default value of this parameter isMax (512KB, 128KB * CPU_COUNT). Generally, this default value is sufficient,WeYes, the Redo Log BufferWrite operations are quite

Oracle row_number Analysis Function

The Oracle analysis function row_number () returns an integer (> = 1 ); Syntax format: 1. row_number () over (order by col_1 [, col_2...]) Purpose: sort by col_1 [, col_2...] and return the sorted result set, This usage is a bit like rownum, and

Summary of the relationship between Oracle cursor and jdbc

An exception occurs when the maximum number of jdbc cursors is exceeded. The relationship between Oracle and jdbc has been improved. Record it for future reference. If you have any errors, please note. Oralce cursors can be divided into display

Oracle AWR Introduction

Oracle Database 10 Gb provides a significantly improved tool: Automatic Workload information library (AWR: Automatic Workload Repository ). Oracle recommends that you replace Statspack with this. AWR is essentially an Oracle built-in tool that

Two table synchronization triggers in Oracle

/* Create Table */Create table A_ybl ( Y INTEGER not null, B VARCHAR (30) not null, L VARCHAR (20) not null );/* Create A backup table for table */ Create table A_ybl2 ( Y INTEGER not null, B VARCHAR (30) not null, L VARCHAR (20) not null );Create

Oracle indexes avoid full table Scan

Improving Oracle performance-how to index I. Question proposalAt the early stage of application system development, due to the relatively small amount of data in the development database, the performance of SQL statement writing is not good for

Remote Oracle connection error: TNS-: no listener

Remote connection error: TNS-: no listenerCause: the listener is not started.Solution:Reconfigure listener. ora in $ Oracle_HOME/network/admin.The following standard files LISTENER =(DESCRIPTION_LIST =(DESCRIPTION =(ADDRESS = (PROTOCOL = IPC) (KEY =

A source code process for MySQL to receive and execute connection commands

A source code process for MySQL to receive and execute connection commandsCall Sequence of functions from top to

Differences between MySQL trigger and oracle trigger

MySQL trigger is only activated by statement. You cannot write two triggers for the same event of the same table. The same event refers to trigger_time + trigger_event in the create trigger. trigger will not be activated because of changes to some

Methods for restarting MySQL on various servers

RedHat Linux (Fedora Core/Cent OS) 1. start:/etc/init. d/mysqld start 2. stop:/etc/init. d/mysqld stop 3. restart:/etc/init. d/mysqld restart Debian/Ubuntu Linux 1. start:/etc/init. d/mysql start 2. stop:/etc/init. d/mysql stop 3.

Linux Oracle RAC 10201 upgrade 10203

I.Preparations1.Valid backupBe rightOracle softwareAnd physical backup of the database.2.Check for invalid objects.3.EnsureSYSTEMFree Space in50 MAbove.4. SHARED_POOL_SIZEAndJAVA_POOL_SIZEAt least150 Mb.5.Shut down the databaseOracleProcess.6.Backup

Convert Oracle columns to rows

First, we will introduce how to convert rows into columns, Oracle row-to-column conversion is common. Common examples on the Internet are as follows: Grades table: Student subject grade Student1 language 80 Student1 mathematics 70 Student1 English 60

MyIbatis calls the Oracle Stored Procedure

1. xml file {Call GYL_COMMON.GETGROUPNUM (# {IN_PARAMETERID, jdbcType = VARCHAR, mode = IN },# {IN_STEELID, jdbcType = VARCHAR, mode = IN}, null,# {OUT_GN, jdbcType = INTEGER, mode = OUT },# {RST, jdbcType = CURSOR, mode = OUT, resultMap =

MySQL Master/Slave synchronization error solved

1Error prompt SlaveI/O:ErrorConnecting to master 'backup @ 192.168.1.x: 100'-retry-time: 60 retries: 3306, Error_code: 86400 Solution (f ā ng f ǎ) Delete all binary log files from the server, including one data

Database sequence not synchronized due to sequential cache in RAC Environment

I. [Problem description] Recently, the customer suggested that the usage balance of the KC70 medical account is inconsistent with the account balance in KC04. Ii. [analysis process] According to the database backend package, the backend package

Common Database files for Oracle 10 Gb Reading Notes

1. Parameter files and server parameter filesA Parameter File is usually called an init file or an init. ora File. The default name is the init . ora text file.SPFILE generation PFILE: create pfile = '/tmp/initorcl. ora' from spfile;Server Parameter

Oracle notes: dbca error C [libnnz11.so + 0x3c3a8]

After Oracle is installed, the installation is successful, but errors occur when dbca and netca are running.[Oracle @ db1 ~] $ Netca Oracle Net Services Configuration:## An unexpected error has been detected by HotSpot Virtual Machine:## SIGSEGV

Total Pages: 1013 1 .... 602 603 604 605 606 .... 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.