473,512 Members | 14,457 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Analyzing queries

We have a product that runs on Oracle. The version of Oracle I'm
working with is 8.1.7. I should also note that I'm relatively new to
Oracle.

I'm troubleshooting one particular database that is having performance
problems when we try to run various quireies and peform inserts or
updates.

Unfortunately this particular product "requires" that "OPTIMIZER_MODE
= RULE".

Of the research I've done on analyzing tables, it seems that analyzing
queries and tables only effect a database if you're running a Cost
Basis system vs. Rule.

Given that we have to run RULE, are there any options that will assist
us in troubleshooting and tuning this database?

Thank you for your time!

Virgina
Field Engineer
vl*****@nai.com
***NO SPAM PLEASE****
Jul 19 '05 #1
10 3381
Virginia wrote:
We have a product that runs on Oracle. The version of Oracle I'm
working with is 8.1.7. I should also note that I'm relatively new to
Oracle.

I'm troubleshooting one particular database that is having performance
problems when we try to run various quireies and peform inserts or
updates.

Unfortunately this particular product "requires" that "OPTIMIZER_MODE
= RULE".

Of the research I've done on analyzing tables, it seems that analyzing
queries and tables only effect a database if you're running a Cost
Basis system vs. Rule.

Given that we have to run RULE, are there any options that will assist
us in troubleshooting and tuning this database?

Thank you for your time!

Virgina
Field Engineer
vl*****@nai.com
***NO SPAM PLEASE****


Plenty.
No offense, but I'd try to get an expert in; would probably be done
within a day. See claims from hotsos.com
--

Regards,
Frank van Bortel

Jul 19 '05 #2
Virginia wrote:
We have a product that runs on Oracle. The version of Oracle I'm
working with is 8.1.7. I should also note that I'm relatively new to
Oracle.

I'm troubleshooting one particular database that is having performance
problems when we try to run various quireies and peform inserts or
updates.

Unfortunately this particular product "requires" that "OPTIMIZER_MODE
= RULE".
This sounds like Siebel.

Of the research I've done on analyzing tables, it seems that analyzing
queries and tables only effect a database if you're running a Cost
Basis system vs. Rule.

Given that we have to run RULE, are there any options that will assist
us in troubleshooting and tuning this database?


Enable SQL_TRACE & use TKPROF for troubleshooting.
You may have limited options for "tuning".

Jul 19 '05 #3
see my replies inline...
"Virginia" <vl*****@nai.com> wrote in message
news:84**************************@posting.google.c om...
We have a product that runs on Oracle. The version of Oracle I'm
working with is 8.1.7. I should also note that I'm relatively new to
Oracle.

I'm troubleshooting one particular database that is having performance
problems when we try to run various quireies and peform inserts or
updates.

Unfortunately this particular product "requires" that "OPTIMIZER_MODE
= RULE".
common with off the shelf products. they were made a while ago and never
tested against CBO. so they tell you not to use it.
Of the research I've done on analyzing tables, it seems that analyzing
queries and tables only effect a database if you're running a Cost
Basis system vs. Rule.
dont analyze in rule mode.

Given that we have to run RULE, are there any options that will assist
us in troubleshooting and tuning this database?
yes, learn how to use the explain plan. go to metalink and otn.oracle.com
and do a search on that and 'autotrace'. this gives you a chart of your
query.

you can install it by running the script in
ORACLE_HOME/rdbms/admin/utlxplan.sql
Thank you for your time!

Virgina
Field Engineer
vl*****@nai.com
***NO SPAM PLEASE****

Jul 19 '05 #4
I have to deal every day with such a ------ product (Siebel). What I
found is that pretty much the only "tuning" option that these bastards
agree to let us perform is to create new indices when that helps. They
won't even allow us to remove the indices containing one single value,
that the RBO thinks is useful! Post the query and the execution plan,
and we might be able to give more advice.

Daniel
We have a product that runs on Oracle. The version of Oracle I'm
working with is 8.1.7. I should also note that I'm relatively new to
Oracle.

I'm troubleshooting one particular database that is having performance
problems when we try to run various quireies and peform inserts or
updates.

Unfortunately this particular product "requires" that "OPTIMIZER_MODE
= RULE".

Of the research I've done on analyzing tables, it seems that analyzing
queries and tables only effect a database if you're running a Cost
Basis system vs. Rule.

Given that we have to run RULE, are there any options that will assist
us in troubleshooting and tuning this database?

Thank you for your time!

Virgina
Field Engineer
vl*****@nai.com
***NO SPAM PLEASE****

Jul 19 '05 #5
da*************@hotmail.com (Daniel Roy) wrote in message news:<37************************@posting.google.co m>...
I have to deal every day with such a ------ product (Siebel). What I
found is that pretty much the only "tuning" option that these bastards
agree to let us perform is to create new indices when that helps. They
won't even allow us to remove the indices containing one single value,
that the RBO thinks is useful! Post the query and the execution plan,
and we might be able to give more advice.

Daniel


Having attended the Siebel Core Consultants Course and worked closely
with Siebel since Nov-2002, recent discussions with them have revealed
there is an option that allows Siebel session to be MT on the Siebel
server. If so this should reduce the number of sessions to the DB and
hence reduce the amount of resources used on the DB server, as well as
not having to resort to using dedicated sessions because MTS reaches
the maximum number of connections that a dispatcher can handle (max
sessions reached). Basically increasing DB performance.

www.DBtune.com
su*****@DBtune.com
Jul 19 '05 #6
da*************@hotmail.com (Daniel Roy) wrote in message news:<37************************@posting.google.co m>...
I have to deal every day with such a ------ product (Siebel). What I
found is that pretty much the only "tuning" option that these bastards
agree to let us perform is to create new indices when that helps. They
won't even allow us to remove the indices containing one single value,
that the RBO thinks is useful! Post the query and the execution plan,
and we might be able to give more advice.

Daniel
We have a product that runs on Oracle. The version of Oracle I'm
working with is 8.1.7. I should also note that I'm relatively new to
Oracle.

I'm troubleshooting one particular database that is having performance
problems when we try to run various quireies and peform inserts or
updates.

Unfortunately this particular product "requires" that "OPTIMIZER_MODE
= RULE".

Of the research I've done on analyzing tables, it seems that analyzing
queries and tables only effect a database if you're running a Cost
Basis system vs. Rule.

Given that we have to run RULE, are there any options that will assist
us in troubleshooting and tuning this database?

Thank you for your time!

Virgina
Field Engineer
vl*****@nai.com
***NO SPAM PLEASE****


Daniel, what about using the outline feature to provide optimizer
hints without touching the vendor code?

HTH -- Mark D Powell --
Jul 19 '05 #7
>
Daniel, what about using the outline feature to provide optimizer
hints without touching the vendor code?

HTH -- Mark D Powell --


I heard of a Siebel project where they implemented this suggestion,
and it worked OK. I'm not sure if it was "approved" by Siebel or not.
The problem with Siebel is that for any database change, if the Siebel
guys have not heard of this feature, then instead of saying "That
sounds great, let's try it!", they become defensive and threaten to
not support our Siebel if we implement that change. That creates a
very closed-minded environment, where everyone is scared to do
anything. The only time that they agree to make any change is when the
application is so slow that all the users are complaining non-stop.

Daniel
Jul 19 '05 #8
if Siebel is this hostile, why do people buy their product? Are there
competing products?
"Daniel Roy" <da*************@hotmail.com> wrote in message
news:37************************@posting.google.com ...

Daniel, what about using the outline feature to provide optimizer
hints without touching the vendor code?

HTH -- Mark D Powell --


I heard of a Siebel project where they implemented this suggestion,
and it worked OK. I'm not sure if it was "approved" by Siebel or not.
The problem with Siebel is that for any database change, if the Siebel
guys have not heard of this feature, then instead of saying "That
sounds great, let's try it!", they become defensive and threaten to
not support our Siebel if we implement that change. That creates a
very closed-minded environment, where everyone is scared to do
anything. The only time that they agree to make any change is when the
application is so slow that all the users are complaining non-stop.

Daniel

Jul 19 '05 #9
> if Siebel is this hostile, why do people buy their product? Are there
competing products?


They're a good marketing machine, who don't show their real color
until the customers are "locked in". They do some very good pre-sales
presentations (the product performance on the sales guy's laptop is
always acceptable, as opposed to many customers' implementations!).
During pre-sales, they don't say anything about the constraints
(database and OS-wise) they will put on the customer afterwards. And
after a company invested millions of dollars in Siebel, they won't get
rid of it because of Siebel's stubberness. Possibly other CRM products
are doing the same, I don't know (I'm a Siebel "specialist", and don't
know other CRM products).

Daniel
Jul 19 '05 #10
Daniel Roy wrote:

Daniel, what about using the outline feature to provide optimizer
hints without touching the vendor code?

HTH -- Mark D Powell --


I heard of a Siebel project where they implemented this suggestion,
and it worked OK. I'm not sure if it was "approved" by Siebel or not.
The problem with Siebel is that for any database change, if the Siebel
guys have not heard of this feature, then instead of saying "That
sounds great, let's try it!", they become defensive and threaten to
not support our Siebel if we implement that change. That creates a
very closed-minded environment, where everyone is scared to do
anything. The only time that they agree to make any change is when the
application is so slow that all the users are complaining non-stop.

Daniel


Sounds like they took a page out of the SAP book. "You can't change it
without our permission; you can't discuss it without out permission;
you can't ..."
Jul 19 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6749
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
1
2300
by: Roger Green | last post by:
I have inherited a complex database that has many dozens of queries that derive data from a people table. I now need to be able to run these queries (from within a significant number of forms)...
3
2307
by: NeilAnderson | last post by:
I'm a fairly new user of access & I've never had any training, so I'm wondering if I'm doing the right thing here, or if it matter at all. I'm building a database for room booking purposes and I'm...
5
4004
by: Jerry Hull | last post by:
I'm working with a database developed by an untrained person over several years - and on a network that has recently been upgraded with a new server installed and MS office upgraded from 2K (I...
44
4491
by: Greg Strong | last post by:
Hello All, Is it better to create a query in DAO where a report has 4 sub-reports each of whose record source is a query created at runtime and everything is in 1 MDB file? From what I've...
0
1599
by: Joe Ross | last post by:
(Apologies in advance if there is a better forum for asking advice on this topic). Our ASP.NET application occasionally starts spitting out OutOfMemory exceptions. When this happens, the memory...
2
1204
by: Greg Stark | last post by:
I have a query that is taking too long when run from a larger plpgsql function (40-50s). However when I explain analyze it under psql it runs fine (4-5s). This is with the same parameters, and I've...
1
2085
by: loosecannon_1 | last post by:
Hello everyone, I am hoping someone can help me with this problem. I will say up front that I am not a SQL Server DBA, I am a developer. I have an application that sends about 25 simultaneous...
10
128
by: Virginia | last post by:
We have a product that runs on Oracle. The version of Oracle I'm working with is 8.1.7. I should also note that I'm relatively new to Oracle. I'm troubleshooting one particular database that is...
0
7254
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7373
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7094
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7519
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.