Topics 01. Steps in SQL Query Execution 02. How does the database create a query plan 03. How Query Plan Caching Works 04. What is the need for an execution plan? 05. How Do Query/ Query Plan Execute (Inside MySQL Server) 06. Importance Of Undo Log 07. How Row Lock Is Handle When Query On The Table Row 08. Technique to recover the committed changes 09. Auditing technique 10. Query cache 11. DB connection pool 12. What is ACID? 13. Optimizing SQL queries
Creating spring project clone it with GIT step by step. 01. Create an empty GIT repository and select a repository name. 02. Check to add README.md and technology to add it inside the gitignire file0- it will include all the generated class when we complete the application. 03. Copy the github repository URL. 04 . Open eclipse and go to, Window – Show View – Other - Type git on the folder and select git repositories. 05. Now clone this repository at your desired location in which we are going to keep the project specific file . a) a) Step One. b) Step Two . c) Step Three. Both projects are generated as bellows d) Step Four Open the gitingnore file and ignore the target folder of the project. All the class files which are ...
Steps in SQL Query Execution (MySQL) 1. Client Sends Query to Server The SQL statement is sent to the MySQL server over a connection (e.g., via JDBC or a query tool like MySQL Workbench). 2. Parser / Syntax Check The parser checks the SQL syntax.If there are any syntax errors, it throws an error immediately. 3. Pre-processor Verifies privileges and permissions for the user executing the query. Resolves object names (like table or column aliases). 4. Query Optimization The optimizer evaluates multiple strategies to execute the query. It considers: Which indexes to use. Join order (for multi-table queries). Whether to use temporary tables. Cost of different execution paths. The optimizer chooses select the most efficient query plan (Cost effective -> memory, CPU etc). 5. Query Execution Plan (Most cost effective query plan) The query plan is a blueprint of how MySQL will fetch the data. You can view this with the EXPLAIN keyword in front of your query. 6. Query Execution The storage e...
Comments
Post a Comment