preface
SOL optimization is not simple. To do SOL optimization well, you need to master database architecture, table and index design, efficient SOL method, advanced SOL syntax, various optimization tools, and even analyze business characteristics and understand the shortcomings of the optimizer. Only by establishing the SOL optimization methodology system, can we quickly find the most suitable method to optimize SOL, so as to solve the performance problems caused by SOL 51. Next, I will explain how to optimize SOL performance in detail, which I believe readers will benefit from
SQL high position
Data is the core of any IT system, and IT is also the hot spot for access and presentation. There are almost no IT projects without database, and there are almost no programmers who do not need to operate database, and only SOL can seamlessly interact with database. In addition, SOL is a “dumb language” that is very easy to learn. Any where condition is a requirement implementation. Basically, novice developers can write SOL by sitting down and looking at simple syntax. In my case, someone suddenly asked me how long I had studied SOL development. Almost instinctively, I said, “SOL development, did I take the time to learn it? Doesn’t writing SOL come naturally?”
SQL optimization
SOL optimization is definitely more difficult than writing SOL itself, but there are some basic knowledge of optimization, such as SOL execution plan, indexing principles, and so on. These are much more complex than writing SOL itself, so it is not enough to become an EXPERT in SOL optimization by only knowing the basic knowledge of optimization. You also need to accumulate experience and translate it into your methodology. We should have methodology to work, and focus on efficiency to solve problems. We should first consider optimization without rewriting, and then consider optimization without rewriting depends on the precipitation of knowledge of architecture, while rewriting is proper consideration, logical equivalent rewriting and business rewriting. Business rewriting is the highest level of SQL optimization in addition to a certain knowledge of precipitation, advanced SQL syntax is also a good grasp, it can help us a lot in many occasions
SQL learning route
Next, we will formally enter the SQL optimization study, all the content I have organized into a PDF file, due to space constraints, the following for you to show some important content, the need for this complete SQL tuning tutorial can pay attention to my public account, the future has light free access!
The first chapter in the chest one by one with tools for SQL overall optimization
Chapter two – effectively shorten the SQL optimization process
Chapter 3 Rules – How to read SQL execution plans
The fourth chapter is about the SQL execution plan
Chapter 5 Feel the architecture let SQL fly
Chapter 6 Wait, experience logical structure let SQL fly
Chapter 7 Explores table design to make SQL fly
Chapter 8 Learn how indexes make SQL fly
Chapter 9 Figuring out the obstacles to indexing makes SQL fly
Chapter 10 Real index applications let SQL fly
Chapter 11 Table join secrets make SQL fly
In chapter 12, process function optimization makes SQL fly
conclusion
This tutorial is far from enough to cover all the SO optimization knowledge, and the specific SO optimization content cannot be carried out in detail, due to the length and the author’s knowledge level on the other hand. But I don’t think a detailed encyclopedia of optimizations is actually the most important thing for readers. The last chapter of communication identification and thinking exploration is to tell everyone that questioning and exploration is more important than learning! Need this SQL optimization tutorial can pay attention to my public number: future light free access, I hope to help you!