|
The following steps are performed when a user requests for some information.
- RDBMS checks if a copy of the parsed SQL statement exists in the library cache. If parsed copy exists, the steps 2 to 6 are skipped.
- RDBMS validates the syntax of the statement.
- RDBMS ensures that all the columns and tables referenced in the statement exist.
- RDBMS acquires parse locks on objects referenced in the statement so that their definitions do not change while statement is parsed.
- RDBMS ensures that the user has sufficient privileges.
- Statement is parsed and execution plan is created.
- Statement is executed.
- Vales are fetched.
|