Course content introduction
02 minutes30 secondsInstall mysql on linux
08 minutes46 secondsStart and log in to mysql
06 minutes33 secondsIndex overview
13 minutes09 secondsAdvantages and disadvantages
02 minutes36 secondsdata structure
02 minutes25 secondsData structure-BTREE
23 minutes47 secondsData structure-B+TREE
05 minutes53 secondsIndex classification
02 minutes07 secondsIndex syntax
10 minutes45 secondsIndex design principles
05 minutes01 secondsOverview
03 minutes00 secondsCreate and modify views
06 minutes20 secondsView and delete views
02 minutes35 secondsStored procedures overview
02 minutes20 secondsCreate call query delete syntax
10 minutes08 secondsvariable
08 minutes39 secondsif judgment
07 minutes29 secondsInput parameters
04 minutes10 secondsOutput parameters
05 minutes54 secondscase structure
07 minutes37 secondswhile loop
05 minutes52 secondsrepeat loop
04 minutes11 secondsloop loop
06 minutes10 secondsCursor introduction
03 minutes58 secondsBasic cursor operations
09 minutes18 secondsLoop to get cursor
06 minutes44 secondsfunction
06 minutes35 secondsIntroduction to triggers
03 minutes47 secondsTrigger creation and application
20 minutes30 secondsView and delete triggers
02 minutes21 secondsContent summary
01 minutes44 secondsArchitecture
10 minutes11 secondsStorage engine overview
04 minutes45 secondsStorage engine features
02 minutes06 secondsInnoDB characteristics
12 minutes05 secondsMyISAM features
04 minutes33 secondsMemory and Merge features
05 minutes35 secondsStorage engine selection principles
02 minutes40 secondsSQL execution frequency
08 minutes27 secondsLocate inefficient SQL
08 minutes21 secondsIntroduction to explain command
03 minutes52 secondsexplain id
08 minutes05 secondsexplain之select_type
08 minutes21 secondsexplain之table type
09 minutes32 secondskey rows extra
07 minutes07 secondsshow profile
07 minutes37 secondstrace tool
04 minutes21 secondsVerify index to improve query efficiency
05 minutes10 secondsMatch all values
04 minutes05 secondsleftmost prefix rule
07 minutes45 secondsFailure conditions (range query, field operation)
05 minutes58 secondscovering index
05 minutes30 secondsIndex failure
02 minutes18 secondslike fuzzy matching
03 minutes59 secondsFull table scan is faster
04 minutes16 secondsJudgment of NULL value
06 minutes09 secondsin和not in
01 minutes19 secondsSingle column index and compound index selection
07 minutes19 secondsView index usage
01 minutes06 secondsInsert data in bulk
08 minutes23 secondsinsert optimization
02 minutes02 secondsorderby optimization
13 minutes32 secondsgroup by optimization
04 minutes11 secondssubquery optimization
03 minutes35 secondsor optimize
07 minutes13 secondslimit optimization
08 minutes27 secondsindex hint
09 minutes16 secondsContent summary
01 minutes46 secondsApplication optimization
07 minutes22 secondsQuery caching-overview and process
03 minutes20 secondsQuery cache-configuration parameters
07 minutes15 secondsQuery cache-enable query cache
06 minutes17 secondsQuery cache—SELECT options
05 minutes34 secondsQuery cache - failure scenario
08 minutes17 secondsOptimization principles
02 minutes59 secondsMyISAM memory optimization
04 minutes07 secondsInnoDB memory optimization
06 minutes08 secondsConcurrency parameter adjustment
10 minutes23 secondsOverview and classification of locks
04 minutes02 secondsmysql support for locks
02 minutes30 secondsMyISAM table lock-read lock
07 minutes55 secondsMyISAM table lock - write lock
04 minutes11 secondsSummary of MyISAM table locks
02 minutes43 secondsMyISAM table lock-view lock contention
04 minutes22 secondsInnoDB row lock-introduction and background knowledge
07 minutes14 secondsInnoDB row lock-type
02 minutes04 secondsInnoDB row lock-basic demo
08 minutes54 secondsInnoDB row lock-row lock upgraded to table lock
05 minutes59 secondsInnoDB row lock-gap lock hazards
05 minutes54 secondsInnoDB row lock-contention view
02 minutes09 secondsInnoDB row lock-summary
03 minutes27 secondsSQL execution order and regular expressions
05 minutes58 secondsNumeric and string functions
07 minutes28 secondsDate functions and aggregate functions
03 minutes04 secondsCourse content
01 minutes19 secondsCommonly used tools mysql
03 minutes38 secondsCommonly used tools-mysqladmin
03 minutes29 secondsCommonly used tools-mysqlbinlog and mysqldump
10 minutes51 secondsCommonly used tools-mysqlimport and source
02 minutes30 secondsCommonly used tools mysqlshow
03 minutes00 secondserror log
03 minutes31 secondsBinary log
08 minutes29 secondsBinary log (row and log deletion)
08 minutes40 secondsQuery log
04 minutes23 secondsSlow query log
09 minutes15 secondsCopy principle
05 minutes28 secondsCluster construction
11 minutes28 secondsRequirements and environment preparation
06 minutes31 secondsBasic project import
08 minutes28 secondsAOP logging
14 minutes35 secondsLog query backend - mapper interface
14 minutes18 secondsLog query backend——Service
11 minutes04 secondsLog query - front end
23 minutes55 secondsSystem performance optimization analysis
04 minutes26 secondsSystem performance optimization - paging optimization
16 minutes17 secondsSystem performance optimization - index optimization
11 minutes48 secondsRead-Write Separation Overview
04 minutes36 secondsData source configuration
12 minutes39 secondsSystem performance optimization - AOP switching data source
08 minutes23 secondsSystem performance optimization - AOP switching data source 2
System performance optimization - application optimization
04 minutes32 secondsMySQL is one of the most popular relational databases and is widely used in various fields. This course mainly explains the common objects in MySQL, and explains the optimization strategies in detail, and uses cases to give us an in-depth understanding of SQL optimization strategies. After studying this course, we can independently complete various SQL optimizations and improve the performance of the system.