随笔分类 - mysql
摘要:http://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_substring-index
阅读全文
摘要:1 ALTER TABLE ad_keyword_brand 2 ADD CONSTRAINT w1 UNIQUE (keyword,adasin,brand,page_position,country,ad_kind,ad_tag);
阅读全文
摘要:https://dev.mysql.com/doc/refman/5.5/en/glossary.html#glos_buffer_pool buffer pool The memory area that holds cached InnoDB data for both tables and i
阅读全文
摘要:http://highscalability.com/blog/2015/5/18/how-mysql-is-able-to-scale-to-200-million-qps-mysql-cluster.html
阅读全文
摘要:http://dev.mysql.com/doc/refman/5.7/en/partitioning-limitations.html Performance considerations. Some effects of partitioning operations on performanc
阅读全文
摘要:http://dev.mysql.com/doc/refman/5.7/en/create-table.html You can use the TEMPORARY keyword when creating a table. A TEMPORARY table is visible only to
阅读全文
摘要:http://www.tocker.ca/categories/myisam Converting MyISAM to InnoDB and a lesson on variance I'm about to start working through converting a large MySQ
阅读全文
摘要:MyISAM HASH restart-buffer
阅读全文
摘要:总结: 1、 一个算法由控制结构(顺序、分支和循环3种)和原操作(指固有数据类型的操作)构成的,则算法时间取决于两者的综合效果。 2、 N*N矩阵乘法算法 时间复杂度T(n)=O(n^3) for(i=1;i<=n;i++) for(j=1;j<=n;j++) c[i][j]=0 for(k=1;k
阅读全文
摘要:http://dev.mysql.com/doc/refman/5.7/en/index-btree-hash.html Hash Index Characteristics Hash indexes have somewhat different characteristics from thos
阅读全文
摘要:小结 1、 mysql> INSERT INTO my_table (phone) VALUES (NULL); 有手机号但是不知道 mysql> INSERT INTO my_table (phone) VALUES ('');没有手机号 http://dev.mysql.com/doc/refm
阅读全文
摘要:https://www.percona.com/blog/2006/06/09/why-mysql-could-be-slow-with-large-tables/
阅读全文
摘要:http://dev.mysql.com/doc/refman/5.7/en/index-btree-hash.html MySQL 5.7 Reference Manual / ... / Comparison of B-Tree and Hash Indexes 9.3.8 Comparison
阅读全文
摘要:http://dev.mysql.com/doc/refman/5.7/en/prepare.html Statement names are not case sensitive. preparable_stmt is either a string literal or a user varia
阅读全文
摘要:SHOW VARIABLES LIKE '%version%'; https://dev.mysql.com/doc/refman/5.6/en/explain.html As of MySQL 5.6.3, permitted explainable statements for EXPLAIN
阅读全文
摘要:http://dev.mysql.com/doc/refman/5.7/en/type-conversion.html MySQL 5.7 Reference Manual / Functions and Operators / Type Conversion in Expression Evalu
阅读全文
摘要:http://dev.mysql.com/doc/refman/5.7/en/declare-local-variable.html http://dev.mysql.com/doc/refman/5.7/en/set-variable.html SET Syntax for Variable As
阅读全文
摘要:ok ok http://dev.mysql.com/doc/refman/5.7/en/stored-programs-defining.html
阅读全文
摘要:https://www.pythian.com/blog/hashing-algorithm-in-mysql-password-2/
阅读全文