Personal,
I needed a tuning stuff to improve the performance of a few hundred query in Oracle here in my work. Does anyone have some interesting material about it, or else, some tips to give me?
I have heard that the position in which the tables are declared in the FROM clause can influence Query's performance (at least in Oracle).
vlw,
Needing Material and Tuning Tips
-
- Rank: Programador Júnior
- Posts: 19
- Joined: Tue, 07 Jul 2009 10:26 am
- Location: Rio de Janeiro - RJ
Good morning,
First a very good tip is to use the Oracle 10G and 9i features of graphics and tuning solutions that he owns to assist you in creating indices.
Second tip is to observe if SQLs are bringing only what you need in the Select clause.
About SQLS, although not Oracle's standard, I use a lot of Inner Join to relate the tables because it facilitates in the viewing of the relationships performed (this tip would be more for the "layout" of your SQL and it is easier to understand a future maintenance what SQL does).
First a very good tip is to use the Oracle 10G and 9i features of graphics and tuning solutions that he owns to assist you in creating indices.
Second tip is to observe if SQLs are bringing only what you need in the Select clause.
About SQLS, although not Oracle's standard, I use a lot of Inner Join to relate the tables because it facilitates in the viewing of the relationships performed (this tip would be more for the "layout" of your SQL and it is easier to understand a future maintenance what SQL does).
- dr_gori
- Moderador
- Posts: 5024
- Joined: Mon, 03 May 2004 3:08 pm
- Location: Portland, OR USA
- Contact:
Thomas F. G
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
This applies only when you are using rule-based optimizer. Hence the order influences. But normal is that the optimizer is cost, based on statistics and histograms collected from the tables. Hence no matter the order.RODCAPELLA wrote: I'vê heard that the position in which the tables are declared in the From Clause can influence Query's performance (at least in Oracle).
-
- Rank: Programador Júnior
- Posts: 19
- Joined: Tue, 07 Jul 2009 10:26 am
- Location: Rio de Janeiro - RJ
_________________
Rodrigo Póvoa
Analista de Sistemas Júnior
Oracle Developer
Rodrigo Póvoa
Analista de Sistemas Júnior
Oracle Developer
Dr_gori,
When you say rule-based optimizer, you are indicating something like:
You force the Oracle to use rule-based optimizer and not cost. That's it ?
When you say rule-based optimizer, you are indicating something like:
SELECT /* +RULE */ CODPROD
FROM PRODUCTO
-
- Rank: Programador Júnior
- Posts: 19
- Joined: Tue, 07 Jul 2009 10:26 am
- Location: Rio de Janeiro - RJ
_________________
Rodrigo Póvoa
Analista de Sistemas Júnior
Oracle Developer
Rodrigo Póvoa
Analista de Sistemas Júnior
Oracle Developer
Dr_gori,
and the choice of making a query per rule or cost will just depend on the environment? You may have any more efficient with the use of / * + rule * / relative to cost, is not it?
Do you happen to have any material on this subject? Do you recommend any reading?
vlw,
and the choice of making a query per rule or cost will just depend on the environment? You may have any more efficient with the use of / * + rule * / relative to cost, is not it?
Do you happen to have any material on this subject? Do you recommend any reading?
vlw,
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests