Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 Blogs FAQ Tag Cloud Calendar Mark Forums Read

Database General Database common Questions

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2006
Contributing Member
 
Join Date: May 2006
Posts: 76
Thanks: 0
Thanked 6 Times in 5 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 6 Times in 6 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 21 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Performance testing bharathi_ark Testing Issues 13 05-21-2009 06:39 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 09:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved