MySQL replication (1) bitsCN.com
Compared with small sites, database administrators of large sites must do the following in advance:
Provides a recovery plan for core business data in the event of a disaster. Theoretically, this process must be
The MySQL database lock mechanism works well in a table with frequent update and insert operations. in actual operation, because the data volume is large (0.21 million records ), A deadlock occurs. you can view the statement "show processlist". the
As an excellent non-memory database, HBase provides the same transactional concept as traditional databases, except that hbase transactions are row-level transactions that guarantee the atomicity, consistency, isolation, and durability of row-level
Database Backup is extremely important. If there is no backup, you will be crazy in the following situations: UPDATEorDELETEwhitoutwhere & hellip; tablewasDROPPedaccidentally & hellip; INNODBwascorrupt & hellip; entiredatacenterlosespower & helli
A typical page-level engine is BDB. A typical table-level engine is MyISAM, MEMORY, and ISAM, which was a long time ago. A typical line-level engine is INNODB.
A typical page-level engine is BDB.A typical table-level engine is MyISAM, MEMORY, and
Document directory
Before you get started with pthreads
Pthread APIs
Before you get started with pthreads
Extends details in Multithreaded Applications will affect your interpretation of how the pthread APIs work.Multithreaded ApplicationsAlso
Select an appropriate backup method for MySQL
Backing up a MySQL database is extremely important. If there is no backup, the system will go crazy in the following situations:UPDATE or DELETE whitout where... Table was DROPPed accidentally... INNODB
Synchronized is a mutual exclusion lock;Lock is more extensive and includes read/write locksRead/write Lock features:1) Multiple readers can read at the same time2) The writer must be mutually exclusive (only one writer is allowed to write, nor does
1. Basic concept of File lockLinux software, hardware resources are files (all files), files in multi-user environment is shareable.File locks are a mechanism used to solve shared use of resources: When multiple users need to share a file, Linux
Shing
Email: [Email protected]
Blog: Http://blog.csdn.net/qifengzou
Date: 2014.09.12
Reprint please indicate the CSDN blog from "Chifeng"
1 OverviewA system that contains multiple threads/processes will often have multiple
1, the effect and synchronized, can be executed synchronously, lock method to obtain the lock, unlock method release lockExamples of Use: Packagecom.test;ImportJava.util.concurrent.locks.Lock;ImportJava.util.concurrent.locks.ReentrantLock; Public
This article transferred from: http://www.cnblogs.com/dolphin0520/p/3923167.htmlIn Java, you can use the Synchronized keyword to implement synchronous access to shared variables between threads. From Java 1.5, there is another way to implement
Slow sql: Queries that run longer than a given time range are called slow queries.How do I record slow sql in MySQL?A: You can set the following information in MY.CNF:
[Mysqld]
; Enable the slow query log, default
Records lock record Locking
Function: When a process is reading or modifying a part of a file, it can prevent other processes from modifying the same file area.
BYTE range lock Byte-range locking
Second, history
Flock function, you can lock the
Why do we need a business?In the database (ii), the origin of the database we refer to the transaction.In addition to the database of queries and other operations are abstracted, another important function is the transaction . Why do we need a
MySQL Optimization Topic Development--Wang YaoyuFirst, SQL Optimized1. Analysis and positioning strategies1. Learn the frequency of SQL execution through show status2, location execution inefficient SQL statement: ① through slow log positioning; ②
Mysqldump backup principle mysqldump in the backup process, is to use the query to back up the relevant table data, and then export, stitching into the form of INSERT statements for backup. about the--single-transaction
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.