After a whole day, I got more information by referring to n. Finally, I got it !!!!!!!
To separate MySQL installation programs from data files in Linux, the first problem is the configuration during installation,
. /Configure -- prefix
When the number of records in the MySQL table exceeds 0.3 million, the following error occurs:
"Select * from gll_pro_ru WHERE 1 = 1 order by id DESC
Select * from gll_pro_ru WHERE 1 = 1 order by id DESC limit 0,10000
Fatal error: Allowed memory
When MySQL5 source code is compiled, No curses/termcap library found is displayed, but the installation of curses termcap prompts that the library has been installed.The path can be added during compilation, that is./Configure-with-named-curses-libs
SQLDBA> SELECT * from v $ LOGFILE;GROUP # STATUS MEMBER-----------------------------------------------1 STALE/Oracle/7.3.4/dbs/log1P734. dbf2/oracle/7.3.4/dbs/log2P734. dbf3/oracle/7.3.4/dbs/log3P734. dbf
Solution summary:
1. Do not forcibly close
I. Principle of master-slave Configuration:
MySQL Replication is an asynchronous Replication process, from one Mysql instace (we call it the Master) to another Mysql instance (we call it the Slave ). The entire replication process between the Master
I. OverviewMongoDB is an open source database project based on distributed file storage. Written in C ++. It is designed to provide a high-performance data storage solution that can be expanded for WEB applications. MongoDB is a product between
The default installation path of the mysql database is/var/lib/mysql. However, in practice, we often need to customize the installation path, such as/data/mysql, or/opt/mysql is usually a separate disk or partition, which is conducive to performance
Mysqlslap can be used to simulate server loads and output timing information. It is included in the MySQL 5.1 release package. During testing, you can specify the number of concurrent connections and SQL statements. If no SQL statement is specified,
Note:This article installed and configured the Oracle 11g slave uard physical standby Database, and tested the new feature of the 11g slave uard physical standby Database Active Data Guard. It is a feature of Oracle Database Enterprise Edition and
Note: server, ip, and system planning are not performed for this installation.
Objective: To learn how to install weblogic11g without graphics in linux
Java version of the official website; http://www.Oracle.com/technetwork/java/javase/archive-139210
Generally, the database processes SQL statements through three processes: parsing (parse), executing (exec), and returning results (fetch)
1. Resolution
When a user initiates an SQL statement, Oracle receives the SQL statement to the oracle instance
Background:
I was asked this question before the interview. There are two transactions in the database. When transaction1 is updating a row, Will transaction2 block during select. I used MySQL for tests before, but I was impressed. But the
Environment:
OS: rhel63_64bit
DB: Oracle10gR2
Master/Slave switchover sequence: first from the master database to the slave database, then from the slave database to the master databaseSwitchover:Lossless conversion is usually triggered manually or
An online query is simplified as follows:Selectdt, count (distinct c1), count (distinct case when c2> 0 and c1 = 0 then c1 end ), count (distinct case when c2> 0 and c1> 0 then c1 end) from t where dtbetween '000000' and '000000' group by dt;The
Obtaining the Oracle SQL Execution Plan and viewing the execution plan are the basic skills to master and judge the database performance. The following example describes how to view SQL Execution plans:
There are basically the following methods:
1.
Symptom:
The test database uses the following method to create an index:
Create index IDX_ANA_OFFICE on ANA (OFFICE_CITY, OFFICE_NO)Tablespace IDXPctfree 10Initrans 2Maxtrans 255Storage(Initialize 128 KNext 128 KMinextents 1Maxextents
Server 1
OS: AIX 5.3
Ip: 192.168.0.1
Db: Oracle 11gR2
Server 2:
OS: AIX
IP: 192.168.0.5
Db: DB2 v9.7
Main purpose:
By building a transparent gateway in Server 1, you can connect to the DB2 database in Server 2 in the oracle database.
Oracle --->
Use expdp
When the EXPDP tool is used, its dump file can only be stored in the OS directory corresponding to the DIRECTORY object, rather than directly specifying the OS DIRECTORY where the dump file is located. Therefore, when using the EXPDP tool,
Generally reported ORA-00054, it is likely that the object is locked, this error is generally "the resource is busy, but the specified way to obtain resources in NOWAIT, or timeout failure ", the solution is as follows: 1. query which objects are
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