Solved

A Question about Oracle SQL Statment processing

Posted on 2012-04-11
2
335 Views
Last Modified: 2012-09-07
Dear Experts,

What are the genarel reasons for SQL Statments processing slowness of Oracle Database?
Additionally tell me,

(1).What is the effect of Memory for SQL Statement processing?
(2).Is there any relationship with undo tablespace and UPDATE Statements?

Thank You in advance.
Pradeep.
0
Comment
Question by:uompradeep
2 Comments
 
LVL 12

Accepted Solution

by:
praveencpk earned 500 total points
ID: 37836412
some of the genral reasons for poor perforamce of SQL statements is

Bad Design
Poor coding
Old Statistics
less memory

check this doc for more detail info

http://www.dba-oracle.com/t_top_reasons_poor_performance.htm

(2).Is there any relationship with undo tablespace and UPDATE Statements?

when ever you update a row in a table, then the old value of the row is stored in your undo tablespace  for your rollback purpose.

Undo also provides read consistency for users who are querying rows involved in a DML transaction by another user or session. When one user starts to make changes to a table after another user has already begun a query against the table, the user issuing the query will not see the changes to the table until after the query has completed and the user issues a new query against the table.
0
 
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 37836499
Regarding your first point

What is the effect of Memory for SQL Statement processing?

Detailed explanation can be found in burleson site..

http://www.dba-oracle.com/sql/t_sql_execution_steps_parsing_fetching.htm

2nd point, i agree with expert praveen..

further to this, refer to the blogs for detailed information

http://ora10g.com/6_1_undo.html
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question