Production DBA Experience

Optimization:
 1 . From the library is SSD hard drive.
2 . Try to avoid a lot of the main library written, asynchronous write.
3 main libraries directly from the library and using a private network, high-speed Internet.
4 . For demanding data consistency, do not check from the library.
5 . Reduce the pressure from the library, for example, from a plurality of libraries. 

Experience: 
  1 . Mysql user production applications. INSERT Update does not allow the Delete the SELECT 
  2 case. Conditional, do a delay of 1 hour from the library.
  3 . Dml_backup.sh table_name all DML must back up 
   
database must have two operation scripts 
  1 . Modify the script
   2 . Rollback script data

 

Guess you like

Origin www.cnblogs.com/zhouwanchun/p/11098161.html