Solved

A Question about Oracle SQL Statment processing

Posted on 2012-04-11
2
337 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:Pradeep Siriwardana
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

730 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