Solved

A Question about Oracle SQL Statment processing

Posted on 2012-04-11
2
332 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.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now