Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
|
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 3rd, 2004, 04:22 PM
Registered User
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to amol_mudholkar
Default Shared pool and Trace file

Hi ,
I have 2 quries :-
1)
Two identical sqls submitted by 2 different users (under same schema)
will be parsed twice or only once ??
Or in short , will 2nd user will be benifited when he runs the same query ??

2) I have multiple select statements in a pl/sql block and there is no exception handler in it. If one the statement raises a "data found " error , where/how this error is shown in TRACE file ??

Thanks & Regds
Amol

Amol Mudholkar
 
Old June 3rd, 2004, 04:25 PM
Authorized User
 
Join Date: Apr 2004
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The second query will be parsed again, but it will be a soft parse, rather than a hard parse, so the second session will get a significant benefit.

What sort of trace file are we talking about here?

Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
 
Old June 3rd, 2004, 04:41 PM
Registered User
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to amol_mudholkar
Default

Thanks for the reply.

Can u please elborate further ur 1st answer ? and also will the sql statement will be same in shared_pool or diff(since 2 user's are executing)

Regarding 2nd query, i was referring TKPROF trace file.
I quess we can found from the rows returned =0 for the culprit sql but is this correct/only way/or there is something more to it ..

Thanks
Amol

Amol Mudholkar





Similar Threads
Thread Thread Starter Forum Replies Last Post
Thread Pool bhavana General .NET 0 October 23rd, 2007 06:15 AM
Thread Pool yanis97 J2EE 0 March 6th, 2006 05:39 AM
using Trace Tids ASP.NET 1.0 and 1.1 Basics 0 August 15th, 2004 02:20 PM
Debug and Trace bmains ASP.NET 1.x and 2.0 Application Design 3 March 17th, 2004 09:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.