Sponsored Content
Full Discussion: Oracle-performance tuning
Top Forums Shell Programming and Scripting Oracle-performance tuning Post 91898 by jim mcnamara on Tuesday 6th of December 2005 10:55:32 AM
Old 12-06-2005
Do you know about the /*+ parallel */ hint?

If you want to see what the query is doing, try EXPLAIN PLAN or use tkprof on a session with ALTER SESSION SET SQLTRACE TRUE;

For small tables joined against larger tables, parallel may not be part of the the possible optimizer choices.

Read Tom Kite's: 'Expert One on One ORACLE' or visit his website:

http://asktom.oracle.com/pls/ask
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Performance tuning.

can someone tell me a good site to go to in order to learn this. please do not recommen nay books because i dont have interest in that. if you know of any good sites with good straight forward explanation on how to split loads on machines that has excessive loading, please let me know Also,... (1 Reply)
Discussion started by: TRUEST
1 Replies

2. Filesystems, Disks and Memory

EXT3 Performance tuning

Hi all, long time ago I posted something, but now, it is needed again :( Currently, I am handling with a big NFS Server for more than 200 clients, this sever has to work with 256 NFSDs. Because of this huge amount of NFSDs, there are thousands of small write accesses down to the disk and... (3 Replies)
Discussion started by: malcom
3 Replies

3. UNIX for Dummies Questions & Answers

Performance Tuning

Hi to all, I'm interested in finding an introduction about Performance Tuning under Unix (or Linux); can somebody please point me in the right direction? Best regards (1 Reply)
Discussion started by: domyalex
1 Replies

4. Shell Programming and Scripting

Performance Tuning

Hi All, In last one week, i have posted many questions in this portal. At last i am succeeded to make my 1st unix script. following are 2 points where my script is taking tooooo long. 1. Print the total number of records excluding header & footer. I have found that awk 'END{print NR -... (2 Replies)
Discussion started by: Amit.Sagpariya
2 Replies

5. UNIX for Advanced & Expert Users

Performance diagnosis & tuning

Hi, I am facing a strange issue. Application is deployed in a cluster with 2 Unix nodes (with same configuration). On one node the application is working fine but on another node we see this behavior I found using vmstat- when the server is not yet started everything is OK; when you start the... (3 Replies)
Discussion started by: ash.abrol
3 Replies

6. AIX

Performance issue / tuning advice

Please take a look at this system and give your analysis / advice. Can it be tuned to get a better performance? We are not getting more hardware ressources at the moment. We have to live with what we have. Application running on the system is SAS. OS is AIX 6.1 Let me know if you need output of... (7 Replies)
Discussion started by: firefox111
7 Replies

7. Solaris

Solaris Performance tuning

Dear all, I have a Local zone , where users feel that performance is not good. Is it wise to collect the inputs from the local zone rather than taking from the global zone. And also Can I tune from Global zone , so that it will reflect in local zone. Rgds rj (2 Replies)
Discussion started by: jegaraman
2 Replies

8. Tips and Tutorials

The Most Incomplete Guide to Performance Tuning

Overview: Introduction What Does Success Mean? What Does Performance Mean? Every Picture is Worth a Thousand Words Work Like a Physicist Work Like You Walk - One Step at a Time Learn to Know Your System Choose Your Weapons! Tools of the Trade 1 - vmstat A Little Theory Along the Way -... (1 Reply)
Discussion started by: bakunin
1 Replies
SET SESSION 
AUTHORIZATION(7) SQL Commands SET SESSION AUTHORIZATION(7) NAME
SET SESSION AUTHORIZATION - set the session user identifier and the current user identifier of the current session SYNOPSIS
SET [ SESSION | LOCAL ] SESSION AUTHORIZATION username SET [ SESSION | LOCAL ] SESSION AUTHORIZATION DEFAULT RESET SESSION AUTHORIZATION DESCRIPTION
This command sets the session user identifier and the current user identifier of the current SQL session to be username. The user name can be written as either an identifier or a string literal. Using this command, it is possible, for example, to temporarily become an unprivi- leged user and later switch back to being a superuser. The session user identifier is initially set to be the (possibly authenticated) user name provided by the client. The current user identi- fier is normally equal to the session user identifier, but might change temporarily in the context of SECURITY DEFINER functions and simi- lar mechanisms; it can also be changed by SET ROLE [set_role(7)]. The current user identifier is relevant for permission checking. The session user identifier can be changed only if the initial session user (the authenticated user) had the superuser privilege. Other- wise, the command is accepted only if it specifies the authenticated user name. The SESSION and LOCAL modifiers act the same as for the regular SET [set(7)] command. The DEFAULT and RESET forms reset the session and current user identifiers to be the originally authenticated user name. These forms can be executed by any user. NOTES
SET SESSION AUTHORIZATION cannot be used within a SECURITY DEFINER function. EXAMPLES
SELECT SESSION_USER, CURRENT_USER; session_user | current_user --------------+-------------- peter | peter SET SESSION AUTHORIZATION 'paul'; SELECT SESSION_USER, CURRENT_USER; session_user | current_user --------------+-------------- paul | paul COMPATIBILITY
The SQL standard allows some other expressions to appear in place of the literal username, but these options are not important in practice. PostgreSQL allows identifier syntax ("username"), which SQL does not. SQL does not allow this command during a transaction; PostgreSQL does not make this restriction because there is no reason to. The SESSION and LOCAL modifiers are a PostgreSQL extension, as is the RESET syn- tax. The privileges necessary to execute this command are left implementation-defined by the standard. SEE ALSO
SET ROLE [set_role(7)] SQL - Language Statements 2010-05-14 SET SESSION AUTHORIZATION(7)
All times are GMT -4. The time now is 10:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy