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
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:
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
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
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
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 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
/* 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
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 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 =
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
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
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
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
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
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
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
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