Geeks Talk

Prepare for your Next Interview




Performance Query

This is a discussion on Performance Query within the Database General forums, part of the Databases category; Will commit inside a loop reduce the performance of query? Also I have a doubt about using PL/SQL. Will using PL/SQL has any effect on performance?...


Go Back   Geeks Talk > Databases > Database General

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-29-2006
Contributing Member
 
Join Date: May 2006
Posts: 76
Thanks: 0
Thanked 3 Times in 3 Posts
blenda is on a distinguished road
Performance Query

Will commit inside a loop reduce the performance of query? Also I have a doubt about using PL/SQL. Will using PL/SQL has any effect on performance?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-29-2006
Expert Member
 
Join Date: May 2006
Location: New York, USA
Posts: 118
Thanks: 0
Thanked 6 Times in 4 Posts
RyanJames is on a distinguished road
Re: Performance Query

Generally to say I would suggest not to use commit inside loop and also I would suggest using SQL wherever possible by reducing PL/SQL. But when needed it is used as per the requirements.
Reply With Quote
  #3 (permalink)  
Old 06-29-2006
Contributing Member
 
Join Date: May 2006
Posts: 73
Thanks: 0
Thanked 4 Times in 4 Posts
joel is on a distinguished road
Re: Performance Query

When I was going through this discussion I happened to come across some concept or term called Parallel Query. But I could not get any information or description about this. Somebody highlight whether it is related to this discussion. In other words can this Parallel query can be used to improve performance. If so what does the concept actually mean?
Reply With Quote
  #4 (permalink)  
Old 12-27-2006
Expert Member
 
Join Date: Sep 2006
Location: India
Posts: 131
Thanks: 1
Thanked 20 Times in 20 Posts
Innila is on a distinguished road
Re: Performance Query

Quote:
Originally Posted by joel View Post
When I was going through this discussion I happened to come across some concept or term called Parallel Query. But I could not get any information or description about this. Somebody highlight whether it is related to this discussion. In other words can this Parallel query can be used to improve performance. If so what does the concept actually mean?
Definitely Parallel Query will improve Performance but the commit statement problem is nothing to do with Parallel Query.

Oracle implemented the concept of Parallelism using Oracle Parallel Query(OPQ) or Parellel Execution.
When Oracle has to perform a large, full-table scan, OPQ can make a dramatic difference in the response time
Parallelism is the idea of breaking down a task so that, instead of one process doing all of the work in a query, many processes do part of the work at the same time.
The performance will improve drastically by this method.

When SQL statement is executed in Oracle, multiple processes work together simultaneously to run a single SQL statement.
By dividing the job necessary to run a statement among multiple processes, Oracle can run the statement more quickly than a single process.
This is called Parallel Execution or Parallel Processing.

*** Innila ***

Last edited by Innila : 02-20-2007 at 08:16 AM.
Reply With Quote
Reply

  Geeks Talk > Databases > Database General


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Performance testing bharathi_ark Testing Issues 11 10-26-2007 04:49 AM
Functional and Performance testing tools FLAVIADSOUZ WinRunner 5 04-19-2007 07:25 AM
Ways to Achieve Query Optimization joel SQL 2 02-07-2007 02:19 PM
Performance Monitoring - In ASP.NET timmy ASP.NET 3 07-13-2006 03:47 AM
where to write sql query at runtime dssanjay WinRunner 1 06-03-2006 08:02 AM


All times are GMT -4. The time now is 01:35 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved