Categories: Contributing | Development | MySQLUniversity

Execution of INSERT (DELAYED) and UPDATE statements


Contents


← Back to MySQL University main page

[edit] Execution of INSERT (DELAYED) and UPDATE statements

[edit] Presentation

[edit] Introduction

It is overview (not really very detailed) of insert/update/replace command execution

[edit] Structures important for understanding query processing

[edit] Files important to understanding this query processing

[edit] Types of INSERT and UPDATE

[edit] INSERT/UPDATE based on select (common)

[edit] INSERT ... SELECT ... (SQLCOM_INSERT_SELECT)

 if (first_table->lock_type == TL_WRITE_DELAYED)
   first_table->lock_type= TL_WRITE; 
 lex->current_select->options|= OPTION_BUFFER_RESULT; 
 lex->current_select->join->select_options|= OPTION_BUFFER_RESULT; 

[edit] UPDATE of multiple tables (SQLCOM_UPDATE_MULTI)

[edit] Insert with a list of values (common loop of SQLCOMM_INSERT)

[edit] Delayed insert

[edit] Single table update (SQLCOM_UPDATE)

[edit] Questions

[edit] Voice recording and other links

Retrieved from "http://forge.mysql.com/wiki/Execution_of_INSERT_%28DELAYED%29_and_UPDATE_statements"

This page has been accessed 6,247 times. This page was last modified 09:22, 24 February 2008.

Find

Browse
MySQLForge
Main Page
Current events
Recent changes
Random page
Help
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Special pages
New pages
File list
Statistics
Bug reports
More...