Configure MySQL master-slave replication in Linux

MySQL supports unidirectional and asynchronous replication. During the replication process, a Linux server acts as the master server, and one or more other servers act as slave servers. The master server writes updates to the binary log file and

Export Oracle Data in Linux

When using exp to export data in Linux: Connect to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-ProductionWith the Partitioning, OLAP and Data Mining optionsThe ZHS16CGB231280 Character Set and AL16UTF16 NCHAR character set have been

Install informix in RHAS4

Informix was previously installed in RHAS4, but the idea is vague. Today, we have to install it again. The installation process is listed below to be noted. 1. Create an informix user.Groupadd informixUseradd-g informix 2. Log On As the root user

Several methods to solve the problem of MySQL slave database latency

1. The simplest is to read data that requires consistency from the master database. However, this method is obviously not feasible for applications with large data volumes. 2. the synchronous replication model is used. MYSQL provides a synchronous

Solutions to ports 8080 and 80 occupied after Oracle Installation

Solution to port 80 occupation after Oracle installation: Modify two files in the oracle \ Apache \ conf directory: httpd. conf, httpd. conf. default: Change the port in the file from 80 to 18001 to change the application port of Apache to port 1800

Oacle SQL Developer on Ubuntu

Oracle SQL Developer was often used for simple database operations on Windows PC. This is a JAVA application, and it should obviously be able to run on the newly installed Ubuntu 8.04. It was only installed today that it still takes some effort to

MySQL-based JDBC development in Ubuntu

Installation environment: Ubuntu Linux 1. Install JDK first 2. Install MySQL JDBC driver Connector/J (1) Search for Connector/J in the new software management package of Ubuntu (2) Find and install (3) Find the mysql-connector-java-n.n.n file

Oracle 10g RAC public IP and private IP

Public Network: provides external services for connecting clients, application systems, and databases. In addition to database maintenance, users seldom directly connect to the database,A common practice is to connect a user to a database through

Single-two-path sorting in MySQL File Sorting

In the execution of related SQL statements, the process in mysql is prone to some words similar to file temp, which tells us that our host SQL adopts file Sorting and other operations, this may greatly affect the efficiency of the result set to be

Oracle 10g stored outline migration to 11g

Test environment: DB: 11.2.0.3, 10.2.0.4 OS: RHEL 4.8 Migrate the stored outline data in Oracle 10 Gb to 11 GB 1. Export the data in the test table [Oracle10g @ rhel4 SQL] $ expdp scott/oracle tables = test1directory = testdumpfile = test1.dmp;

Execute MySQL statements in SHELL

Use shell scripts for log analysis. to store the analysis results directly to the mysql database, execute mysql statements in the shell script. Method 1 Save the statements to be executed in each step to tmp. SQL. Mysql-u uname-p pwd Method

Oracle flashback table based on the SCN number

We recommend that you change the undo_retention parameter when installing the Oracle software. We recommend that you change the default value of 900 to 10800 seconds, that is, 3 hours; alter system set undo_retention = 10800 scope = both; A part of

Be careful when creating TABLE

For DBAs, it is common to create table. Although this method is simple, negligence can easily lead to unexpected problems. I encountered such a problem a while ago. Because the original TABLE is cloned and the data is stored in different tablespaces,

Several Policies for Oracle Tuning Log File Sync wait events

When a frequent commit/rollback or disk I/O problem occurs and a large number of physical read/write contention occurs, we will often see that the LOG FILE SYNC wait event appears in TOP EVENTS, the metrics for evaluating log file sync wait events

Real MongoDB Performance

I recently started to study MySQL and MongoDB and found that there is not much information in this area. In particular, there are too few articles on ideas. Some articles on comparative testing are basically blind tests. The testing methods are

MySQL Scheduled Backup

1. Create the path to save the backup file/mysqldata # Mkdir/bak/mysqlbak 2. Create the/usr/sbin/bakmysql file. # Vi/usr/sbin/bakmysql. sh 3. Write the following script: NOTE: If your mysql password contains special characters, such! @ #, You need

Add, delete, modify, and query Oracle databases (simple operation)

1. First fill in the database connection string in Webconfig 2. Step 2: Create a page and add the following code Public partial class WebForm1: System. Web. UI. Page{ /// // Connect to the database /////////////////////// ////////String oraclestr =

SQL statements that are not indexed due to inconsistent data types

A few days ago, my colleague sent an SQL statement saying that the update operation was very slow. I checked that the data volume was not large. Check the execution plan and find that the execution path is incorrect. Why is the execution path

MySQL delete tens of millions of Data Operations

In mysql, when the delete operation drops tens of millions of data records, the table may be locked, and the mysql server may be under great pressure. This is an unavoidable problem in mysql. It can be said that it is insufficient in dealing with

Renaming a database in MySQL

It is not a labor-saving task. If your MySQL version is 5.1.7 and earlier than 5.1.23, you can use the following simple method:RENAME {DATABASE | SCHEMA} db_name TO new_db_name; However, this method is not reliable and may cause data loss. It is not

Total Pages: 1013 1 .... 886 887 888 889 890 .... 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.