Solved

A Question about Oracle SQL Statment processing

Posted on 2012-04-11
2
338 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:
Praveen Kumar Chandrashekatr 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
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…
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 information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

695 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