摘要:
Sql流程 一条查询语句的执行过程一般是经过连接器、分析器、优化器、执行器等功能模块,最后到达存储引擎。 大体来说,MySQL 可以分为 Server 层和存储引擎层两部分。 Server 层包括连接器、查询缓存、分析器、优化器、执行器等,涵盖 MySQL 的大多数核心服务功能,以及所有的内置函数( 阅读全文
摘要:
Reference [1] https://www.geeksforgeeks.org/stable-quicksort/ Stability A sorting algorithm is said to be stable if it maintains the relative order of 阅读全文
摘要:
Reference [1] https://refactoring.guru/design-patterns/adapter 1. Adapter Design Pattern 适配器模式 Adapter is a structural design pattern, which allows in 阅读全文
摘要:
Rendezvous Hashing Rendezvous or highest random weight (HRW) hashing is an algorithm that allows clients to achieve distributed agreement on a set of 阅读全文
摘要:
Trie Time Complexity Insert/search O(l), l is the length of the word Space Complexity O(prefixes), O(n * l * l) n words with length l Binary Search Tr 阅读全文
摘要:
Reference [1] Repost http://javabypatel.blogspot.com/2016/09/concurrenthashmap-interview-questions.html Question 1. What is the need of ConcurrentHash 阅读全文