Warning: The magic method GW_GoPricing_Elementor::__wakeup() must have public visibility in /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php:46) in /home1/stepf0sq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php:46) in /home1/stepf0sq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php:46) in /home1/stepf0sq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php:46) in /home1/stepf0sq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php:46) in /home1/stepf0sq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php:46) in /home1/stepf0sq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php:46) in /home1/stepf0sq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/stepf0sq/public_html/wp-content/plugins/go_pricing/includes/vendors/elementor/class-elementor.php:46) in /home1/stepf0sq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":3501,"date":"2021-06-26T12:53:14","date_gmt":"2021-06-26T12:53:14","guid":{"rendered":"https:\/\/markitiers.in\/step\/?p=3501"},"modified":"2021-07-13T12:50:14","modified_gmt":"2021-07-13T12:50:14","slug":"sql-statement-processing","status":"publish","type":"post","link":"https:\/\/stepforwardsolution.com\/sql-statement-processing\/","title":{"rendered":"SQL Statement Processing"},"content":{"rendered":" <\/p>\n
SQL Statements are processed differently depending on whether the statement is a query, data manipulation language (DML<\/strong>) to update, insert, or delete a row, or data definition language (DDL<\/strong>) to write information to the data dictionary.<\/p>\n <\/p>\n
<\/strong><\/p>\nProcessing a query:<\/strong><\/p>\n\n- Parse:\n
\n- Search for identical statement in the Shared SQL Area.<\/li>\n
- Check syntax, object names, and privileges.<\/li>\n
- Lock objects used during parse.<\/li>\n
- Create and store execution plan.<\/li>\n<\/ul>\n<\/li>\n
- Bind: Obtains values for variables.<\/li>\n
- Execute: Process statement.<\/li>\n
- Fetch: Return rows to user process.<\/li>\n<\/ul>\n
Processing a DML statement:<\/strong><\/p>\n\n- Parse: Same as the parse phase used for processing a query.<\/li>\n
- Bind: Same as the bind phase used for processing a query.<\/li>\n
- Execute:\n
\n- If the data and undo blocks are not already in the Database Buffer Cache, the server process reads them from the datafiles into the Database Buffer Cache.<\/li>\n
- The server process places locks on the rows that are to be modified. The undo block is used to store the before image of the data, so that the DML statements can be rolled back if necessary.<\/li>\n
- The data blocks record the new values of the data.<\/li>\n
- The server process records the before image to the undo block and updates the data block.\u00a0 Both of these changes are made in the Database Buffer Cache.\u00a0 Any changed blocks in the Database Buffer Cache are marked as dirty buffers.\u00a0 That is, buffers that are not the same as the corresponding blocks on the disk.<\/li>\n
- The processing of a DELETE or INSERT command uses similar steps.\u00a0 The before image for a DELETE contains the column values in the deleted row, and the before image of an INSERT contains the row location information.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n
Processing a DDL statement:<\/strong><\/p>\n\n- The execution of DDL (Data Definition Language) statements differs from the execution of DML (Data Manipulation Language) statements and queries, because the success of a DDL statement requires write access to the data dictionary.<\/li>\n
- For these statements, parsing actually includes parsing, data dictionary lookup, and execution.\u00a0 Transaction management, session management, and system management SQL statements are processed using the parse and execute stages.\u00a0 To re-execute them, simply perform another execute.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"
SQL Statements are processed differently depending on whether the statement is a query, data manipulation language (DML) to update, insert, or delete a row, or data definition language (DDL) to write information to the data dictionary. Processing a query: Parse: Search for identical statement in the Shared SQL Area. Check syntax, object names,…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_jetpack_memberships_contains_paid_content":false},"categories":[45],"tags":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/posts\/3501"}],"collection":[{"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/comments?post=3501"}],"version-history":[{"count":2,"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/posts\/3501\/revisions"}],"predecessor-version":[{"id":3656,"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/posts\/3501\/revisions\/3656"}],"wp:attachment":[{"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/media?parent=3501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/categories?post=3501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stepforwardsolution.com\/wp-json\/wp\/v2\/tags?post=3501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}