Optimization notes for Mysql Databases in Linux

(Linux parameters) Open the/etc/my. cnf file and modify the following settings. If not, add it manually. When adjusting the settings, please do your best, which depends on the configuration of your server, especially the memory size. The following

An example of how to solve MySQL startup failure in Linux

The MySQL database was installed on the Linux system a few days ago, and the following error message is displayed when you press the MySQL command: Can't connect to local MySQL server through socket '/var/lib/mysql. sock' The following error

Red Flag Linux case selection: using Amanda ZRM to back up a remote MySQL database

At the end of this article, I found a fatal problem with ZRM for MySQL. As far as I understand and test it, it overwrites data recovery, for example, assume that a database server has two databases test1 and test2. You have backed up these two

Test on Dual-machine hot backup of MySQL on Linux Server

MySQL dual-host hot backup is often used in Linux Server lvs load balancing and dual-host hot backup applications. The installation and configuration process is as follows: 1. Install MySQL # Cp

ORA-19809 and ORA-19804 errors in Oracle Database flash back feature settings

-- Alert. log has the following warning logs: Errors in file/u01/app/Oracle/admin/ESUITE/bdump/esuite_rvwr_23296.trc:ORA-19809: limit exceeded for recovery filesORA-19804: cannot reclaim 18055168 bytes disk space from 85899345920 limit -- View the

Clear the bin.00000mysql log file in MySQL

Today on the server df next, a look, var directory has been 98%, clear some log files and backup files found that mysql below a lot of files similar to mysql-bin.000001, if Google says it's a log, it's useless. Database operation logs Mysql-bin.000

Full Process of Oracle 11G Installation

Copyright statement: original works can be reproduced. During reprinting, you must mark the original source, author information, and this statement in hyperlink form. Otherwise, legal liability will be held.Http://tianzt.blog.51cto.com/459544/212606

How to Upgrade Oracle 9i to 10g

You can choose from two solutions: 1. Use the database upgrade assistant (dbua) upgrade utility provided by oracle to directly upgrade 9i database to 10 Gb. 2. Create a 10 Gb database and use the import/export (imp/exp) utility of oracle to migrate

[Database principle] transaction isolation level (ANSI standard)

Concurrency and Data Reading When multiple sessions simultaneously access (operate) the same data, unexpected results may occur, including: -Dirty read -- Dirty reads-Non-repeatable reads-Phantom read-Phantom reads1. Dirty read refers to when a

Routine Use and Maintenance of MySQL Databases

I. Using a MySQL database: 1. view the database structure: View the databases on the current server: SHOWDATABASES statement: Used to list the databases contained in the current MySQL server. After initialization, the MySQL server creates three

MySQL DML operation suggestions

(I) INSERT large data volume (1) Replace a single row with multi-row insert: insert into t values (),(),(),... (2) load data infile... into table t (3) Write a temporary table and INSERT... SELECT (4) cancel the index and constraints, and

Enable asynchronous IO in Linux

I have recently studied how to solve the IO competition problem if the storage level cannot be optimized. Finally, I thought of asynchronous IO. My redo disk write speed has reached the maximum value, no matter how I adjust the redo size and number

MySQL master-slave, master-master replication, and high availability

I. MySQL replication: MySQL replication introduction: The ddl and dml operations of the master database on the master server are uploaded to the slaves server through binary logs, and these log files are re-executed on the master server, in this way,

Create an Oracle DBlink

Create an Oracle DBlink1. You must use the database administrator to grant the otcts user the permission to create dblink. Grant create database link User_nameWith admin option; Commit;   2. Create a DBLinkCREATE PUBLIC DATABASE LINK

PostgreSQL row-to-column function example

A developer said that there was a problem when using postgres's extended row-to-column application. The example is as follows: For more information about the extension package, see: I. EnvironmentOS: CentOS 6.3DB: PostgreSQL 9.3.0 Ii.

Hive upgrade (0.8.0 to 0.11.0)

After hive-0.11.0 came out, I learned that row_number was encapsulated. It is a great happiness for me who do not know java! Don't hesitate to discard 0.8.0! The specific upgrade steps are as follows: 1. Disable the processes currently being

ERROR: NMO not setuid-root (Unix-only) Solution

When I clone a database, the following error occurs at the source option: Solution: run $ Oracle_HOME/root again. sh to solve the problem. because the root is executed during database installation. sh. It is suspected that the re-execution of root

One-way Oracle-Oracle Replication Using the GoldenGate Data Pump

Configure the database environment, goldengate users, and install goldengate. For more information, see steps 1-4.Configuration required for Oracle-Oracle one-way replication using the Data Pump: -- Here I only configure to synchronize the test3

MySQL 5.5 Command Line Client cannot be opened (disappears in a flash) Solution

MySQL 5.5 Command Line Client cannot be opened (disappears in a flash) Solution Solution: 1. Find the bin directory path under the mysql installation directory. 2. Open cmd, enter the path to the bin directory, and enter mysql-u root-p. Problem

Redis installation, master-slave configuration and Sentinel configuration automatic Failover

1. Install redis -------------------------------------------------------------------------------- Home: http://redis.io/: Http://download.redis.io/download the latest source package (current latest stable version 2.6.16)# Wget

Total Pages: 1013 1 .... 661 662 663 664 665 .... 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.