During the 11th holiday, it may not be easy. If the database reports an error and a critical business cannot be properly executed on a certain day, it must be processed immediately.
Cause Analysis
1, log on to the database, view the host log, the
Under multiple instances:
You can bind a cpu to prevent mutual interference between multiple instances.
Mongodb memory can also be restricted to the master to prevent all memory occupied by one instance.
Ulimit-s 4096 & ulimit-m 31457280 & sudo-u
Source database environment:
OS: WINDOWS 7 Db version: Oracle 10.2.0.4.0 Note: This migration solution cannot be used in VERSION 10.1.0.1.0. Db user: SCOTT Dba permissions and users are requiredTarget database environment: OS: WINDOWS 7 Db version: 1
When a friend encounters a problem today, the following information appears in the alarm log:
ORA-1591: lockheldbyin-doubtdistributedtransaction1.92.66874
Query the dba_2pc table and no distributed transaction information is
This error occurs ORA-01861: literal does not match format string
Statement is
Between 'time1' and 'time2'
The query result is:
ORA-01861: Text and format strings do not match
Solution
To_date ('time1', 'yyyy-mm-dd hh24: mi: ss ')
Or
You can
The "SQL" Mark written in the implicit cursor. For example, SQL % ROWCOUNT indicates that the implicit cursor has several rows of records. The explicit cursor is customized by the developer, you can also use C1 % ROWCOUNT to indicate the number of
I. Mysql Binlog format Introduction
Mysql binlog has three formats: Statement, MiXED, and ROW!
1. Statement: Each SQL Statement that modifies data is recorded in the binlog.
Advantage: you do not need to record changes in each row, which reduces the
It has been several months since reids was studied and used. I have summarized a lot of documents and related materials. In the next time, I will share some relevant materials, this article also describes how to use it in our applications.
The
Environment: Oracle 11.2.0.1.0 RHEL5.3 64bit mysql Server version: 5.5.9
1: Download [ODBC Driver Manager] unionODBC2.2.14, decompress the package, and put it in the/u01/app/tools/unionodbc directory.
[Oracle @ wonder tools] $
For Oracle 10g, Oracle no longer provides support and download services, and Oracle does not provide support for installing Oracle 10g client on Windows 7. Generally, you can download vista_w2k8_x86_production_client of version 10203 or 10204. If it
I. environment required The IP addresses of MYSQL services installed on both virtual machines are 192.168.1.1 192.168.1.2. 2. The procedure is as follows; Virtual Server 1 [Root @ localhost ~] # Yum install mysql-server-y [Root @ localhost ~] #
1. ORA-01403 in Stored Procedure: no data found Error
In the stored procedure, select field name into variable from table name where .........;
An error with ORA-01403: no data found occurs if the query is empty
Test Table:
Create table TEST_TABLE(T_
When you use insert into select to load data in batches, the entire insert statement cannot be executed because some data does not meet the loading conditions. In this case, you can use the DML Error Log feature to solve this problem.
You only need
Data Integrity Overview
1. entity integrity
An object is an object in the world. Every row in RDBMS represents an object. Entity integrity means that every entity can be differentiated. Therefore, entity integrity is generally achieved through
I. Redo Log Concept
1. What Is the Redo Log?
Redo Log is used to protect the data that modifies the database but is not written into the data file.
Redo logs are classified into Online Redo Log (Online Redo log) files and Archived Redo Log (Archived
SQL> alter database begin backup; -- start to back up the databaseDatabase altered.
SQL> host cp/u01/Oracle/oradata/ORCL/*. dbf/u01/oracle/dump1/-- power-off before execution, abort
Problems occurred when restarting the database[Root @ station88 ~] #
Oracle RAC client failover (failover). When using the TFA method, the client does not need to send a connection request again when the connected instance or node fails, the previous database operations can still be continued, which is called
The following issues suddenly occurred when logging on to Oracle:ORA-00257: archiver error. Connect internal only, until freed.
If you are confused, it may be caused by insufficient space for archiving logs.Log On As A sysdba User:Query the space
1. Create two external files in 1.txt and 2.txt with only one data.
2. Create a logical directory and perform proper authorization:
SQL> create directory ztj1_dir as 'C: \ ztj1 \';
Directory created
Then, manually create the actual directory in the
Original article: What to tune in MySQL 5.6 after installationOriginal Article Date: January 1, September 17, 2013Translated on: February 1, June 01, 2014Translated by: Tie
WithImprovement on a large number of default optionsMySQL 5.6 has fewer
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