Home > Ask the Oracle Experts > Database Design and Architecture Questions & Answers > How DDL and DML commands work in Oracle
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

How DDL and DML commands work in Oracle

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 15 April 2008
What happens in the background when we execute DDL or DML commands?

>
EXPERT RESPONSE
First, Oracle parses the statement and ensures that the statement is syntactically correct and semantically correct. Next, Oracle verifies that the user has permissions to perform the statement. If the user can execute the statement, Oracle obtains all locks necessary for the statement to complete. Once the locks have all been obtained, Oracle executes the statement. In some cases, results are returned. If results are returned from the statement, Oracle fetches those results and places the result set in an area called a 'cursor'. The cursor is passed back to the application.

That's the basics anyway! There are variations depending on the exact command being given.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Database Design and Architecture
How to set up a job for an SQL query in Oracle 10g Grid Control
Why am I getting the ORA-03113 error when trying to refresh a materialized view?
Receiving the ORA-01652 error with no specified tablespace
Why am I getting an Oracle error when issuing the RECOVER DATABASE command?
Can I add multiple datafiles and make use of all the temporary datafiles at the same time?
What's the best tape backup strategy for 10g RAC?
Checkpoint vs. commit process
How does an INSERT/UPDATE statement behave when executed compared to a SELECT statement?
Can I resize the SYSTEM tablespace?
What is the difference between an instance and mounting in Oracle?

Oracle database administration (DBA)
ORA-27101 error: shared memory realm does not exist
How to set up a job for an SQL query in Oracle 10g Grid Control
Receiving the ORA-01652 error with no specified tablespace
Why am I getting the ORA-03113 error when trying to refresh a materialized view?
Hot backup when Oracle Database is up
ORA-06550 error when exporting a database
Why do I have to start my Oracle database manually?
Why am I getting an Oracle error when issuing the RECOVER DATABASE command?
Can I add multiple datafiles and make use of all the temporary datafiles at the same time?
Checkpoint vs. commit process
Oracle database administration (DBA) Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts