dba_jobs nls_env

2004-01-30 Thread John Dunn
How does dba_jobs decide what it's nls_env values are?.

They seem to vary according to whether I queue the job from a windows client
or from unix.

John




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


stored_outline issues

2004-01-29 Thread Fedock, John (KAM.RHQ)



I have been trying 
to get stored outlines to work. It seems simple enough, but it is working 
the exact opposite as I think it should.   Anyone else use these? 
I am on 8.1.7.4 on HP-UX 11.00 
 
In a nutshell, I 
verify my query is using the correct explain plan.  I grant 'create any 
outline' to the users.
 
Then, I 
do:
 
alter system set 
use_stored_outlines = true
 
ALTER SESSION SET 
CREATE_STORED_OUTLINES=true;select * from edi_monitor_vw;ALTER SESSION 
SET CREATE_STORED_OUTLINES=false;
 
I can see the 
outline in DBA_OUTLINES and also in outln.ol$ 
 
If I open another 
session and run the query, it is NOT using the correct explain 
plan.
 
If I 'alter system 
set use_stored_outlines = false;'   then the query uses the correct 
plan.
 
I also noticed that 
outline_category in v$sql is NULL.   Does this mean that they outline 
is not being used? I assume not.   
 
Thanks 
all,
 
John
 
 
 
John 
Fedock "K" Line America, Inc. www.kline.com * [EMAIL PROTECTED] 
 


RE: String manipulation

2004-01-27 Thread John Flack
Title: String manipulation



I 
wrote a PL/SQL package with functions you can use for this.  Find it 
at http://www.smdi.com/employee/johnf/list.pks 
and  http://www.smdi.com/employee/johnf/list.pkb.  
I wrote it so that only the first call parses the string.   Subsequent 
calls use the already parsed pieces.

  -Original Message-From: Feighery Raymond 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, January 27, 
  2004 9:29 AMTo: Multiple recipients of list 
  ORACLE-LSubject: RE: String manipulation
  select 
  substr(subject,1,instr(subject,'~')-1) first, 
  
  substr(subject,instr(subject,'~')+1, 
  instr(subject,'~',1,2)-(instr(subject,'~'))-1) second, 
  
  substr(subject,instr(subject,'~',1,2)+1,length(subject)) 
  third 
  from 
  test_table 
  where test_column=1700455
  / 
   
  Ray
  
-Original Message-From: Stefick Ronald S Contr 
ESC/HRIDA [mailto:[EMAIL PROTECTED]Sent: Monday, 
January 26, 2004 11:29 PMTo: Multiple recipients of list 
ORACLE-LSubject: String manipulation
I'm trying to separate a string into 3 
values: The string is: mystr1~mystr2~mystr3 
Here is the code so far:   1  select 
substr(subject,1,instr(subject,'~')-1) first,   2  substr(subject,instr(subject,'~')+1, 
instr(subject,'~',1,2)-1) second,   
3  substr(subject,instr(subject,'~',1,2)+1,length(subject)) 
  4  from test_table   5  where test_column=1700455 
The result I get is: mystr1 mystr2~mystr3 
mystr3 
The result I want is: mystr1 mystr2 Mystr3 
TIA, 
Scott Stefick MILPDS OCP Oracle DBA [EMAIL PROTECTED] 210-565-2540 
  ___ 
  
  This email and any attached to it are confidential 
  and intended only for the individual or entity to which it is addressed. If 
  you are not the intended recipient, please let us know by telephoning or 
  emailing the sender. You should also delete the email and any attachment from 
  your systems and should not copy the email or any attachment or disclose their 
  content to any other person or entity. The views expressed here are not 
  necessarily those of Churchill Insurance Group plc or its affiliates or 
  subsidiaries. Thank you. 
  Churchill Insurance Group plc. Company Registration 
  Number - 2280426. England. 
  Registered Office: Churchill Court, Westmoreland 
  Road, Bromley, Kent BR1 1DP. 


RE: Nextval in trigger

2004-01-26 Thread John Flack
I'm trying to understand exactly what you are trying to do.  Oracle thinks that you 
are trying to get the next value for a sequence named SYSTEM_CHANGE_ID, but there is 
no sequence by that name.  If that is what you are trying to do, then either the 
sequence doesn't exist and you need to create it, or it is owned by another schema and 
you need to prefix it by the owner name or create a synonym, or you need SELECT 
privilege on the sequence.

On the other hand, by the name you are giving, maybe you don't really want the next 
value of a sequence, you want something else.  Are you trying to get some system ID?

-Original Message-
Sent: Monday, January 26, 2004 7:24 AM
To: Multiple recipients of list ORACLE-L


Hallo,

I would like to make an insert statement into a table in atrigger, Iam trying to do:

Insert into system_change values(system_change_id.nextval) but it gives  me an error 
message which tells me that I havent declared any sequence. How can I fix this ?


Thanks in advance.

Roland


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: commit for triggers

2004-01-23 Thread John Flack
Mark - Thanks for the correction.  When I looked at what I said about the transaction 
before a DDL command a second time, I myself wondered if I'd gotten it right.  If 
you've tested it, and the transaction is always committed, I'll take your word for it.

Arup - I don't normally use Oracle's built-in auditing of DML, I write my own audits 
with triggers, and it works as I said.  If you've tested this, I'll take your word for 
it.  That said, if it DOES work the way you say, I personally think it works the wrong 
way.  If I update a table, and then roll back the update, I don't want an audit table 
record of the update, unless it CLEARLY notes the fact that the update was rolled 
back.  I'm much more interested in the fact that Jack changed the table, than in the 
fact that Manny started to change it, but then changed his mind.

-Original Message-
Sent: Friday, January 23, 2004 11:09 PM
To: Multiple recipients of list ORACLE-L


Perhaps I got it wrong, but, John - are you saying that the entries are part
of the rollback, i.e. if the transaction that caused the audit trail entries
to be created is rolled back, the audit trail enries are rolled back as
well?

The auditing entry is NOT part of the transaction, it's created via an
autonomous one and it stays in the audit trail table, regardless of what
happens to the transaction.

It will take a very simple test to prove this.

Make sure that audit_trail is set to DB.

create table atest1 (col1 number, col2 number, col3 number, col4 number);

insert into atest1 values (1,1,1,1);

audit update on atest1 by access;

update atest1 set col1 = 2;

Do NOT commit.

>From another session as user SYS,

select action_name, obj_name, ses_actions, returncode from dba_audit_trail;

ACTION_NAME OBJ_NAME SES_ACTIONS
RETURNCODE
---  --- ---
---
UPDATE  ATEST1
0

The entry is there even if the transaction is not committed.

Now rollback the update and check the audit trail; it will be there.

If the auditing option were BY SESSION, instead of action, the ACTION_NAME
would have been SESSION REC and the column SES_ACTIONS would've been
"--S-".

Hope this helps.

Arup


- Original Message - 
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Friday, January 23, 2004 3:24 PM


> John,
>
> I agree w/ everything you said, except for the autocommit functionality.
> Autocommit setting has no impact on whether DDL will commit or rollback
> any in progress transaction.  DDL always commits an in-progress
> transaction.  The short example below speaks for itself.  (8.1.7.4 on
> Solaris 2.8)
>
> SQL>  show autocommit
> autocommit OFF
> SQL>  desc a
>  Name  Null?Type
>  - 
> 
>  COL1   NUMBER
>  COL2   NUMBER
>
> SQL> select * from a where col1=-12345;
>
> no rows selected
>
> SQL> insert into a values(-12345,-12345);
>
> 1 row created.
>
> SQL> create table xxx(a number);
>
> Table created.
>
> SQL> select * from a where col1=-12345;
>
>   COL1   COL2
> -- --
> -12345 -12345
>
> 1 row selected.
>
> Mark J. Bobak
> Oracle DBA
> ProQuest Company
> Ann Arbor, MI
> "Imagination was given to man to compensate him for what he is not, and
> a sense of humor was provided to console him for what he is."  --Unknown
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: How to find the last execution time of a Procedure.

2004-01-23 Thread John Kanagaraj
Raj,

I am no X$ expert either, but X$KGLOB is exposed to us lowly DBAs as
V$DB_OBJECT_CACHE and KGLHDEXC is actually the EXECUTIONS column. 

Prasada, you can check V$DB_OBJECT_CACHE for TYPE in ('PACKAGE','PACKAGE
BODY') and KEPT = 'NO' and keep pinning these using DBMS_POOL.KEEP via a
scheduled job. After a while, all those used packages will not only become
KEPT (and provide some side benefit of reducing reloads), you will not have
to store them back into the database... The KEPT = NO will avoid having to
revisit/manipulate those objects that were previously pinned. Of course,
this assumes that there is adeqauet Shared pool space and the Db is not
restarted in-between :)

YMMV!
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Jamadagni, Rajendra [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, January 22, 2004 11:00 AM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: How to find the last execution time of a Procedure.
>
>
>But you better check with experts as my knowledge of x$ is 
>feather-weight ... also there is a column on x$kglob called 
>kglhdexc ... to me it seems the execution count (I feel like 
>"Mr. Monk"  already). so if execution count is > 0 then you 
>can say that it actually got executed.
>
>But if this doesn't work, in the next CTOUG meeting, I'll try 
>to hide away from you.
>
>YMMV
>Raj
>---
>-
>Rajendra dot Jamadagni at nospamespn dot com
>All Views expressed in this email are strictly personal.
>QOTD: Any clod can have facts, having an opinion is an art !
>
>
>-Original Message-
>[mailto:[EMAIL PROTECTED]
>Sent: Thursday, January 22, 2004 1:24 PM
>To: Multiple recipients of list ORACLE-L
>
>
>
>Thanks for input Raj.
>
>I was also thinking on the same lines (Querying v$views 
>periodically and
>store it in some metadata table) if there is no easier way to 
>figure out
>from DBA_ views.
>
>As far as changing the production code, as you know,  It has 
>to go thru the
>dev/test databases first and then go thru the release process 
>to implement
>into the production.  It is painful process.
>
>I will use x$kglob instead of changing production code and all 
>that release
>stuff.  Thanks for your help, Raj.
>
>Best Regards,
>Prasad
>860 843 8377
>
>***
>***
>This e-mail message is confidential, intended only for the 
>named recipient(s) above and may contain information that is 
>privileged, attorney work product or exempt from disclosure 
>under applicable law. If you have received this message in 
>error, or are not the named recipient(s), please immediately 
>notify corporate MIS at (860) 766-2000 and delete this e-mail 
>message from your computer, Thank you.
>***
>***4
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Jamadagni, Rajendra
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Jobs are not working

2004-01-23 Thread Johnson, John R. (Oracle DBA)



Do you 
have 4 jobs currently running? Maybe you need more 
processes.
 
John

  -Original Message-From: Mauricio "Vélez 
  [mailto:[EMAIL PROTECTED]Sent: Friday, January 23, 2004 
  11:04 AMTo: Multiple recipients of list ORACLE-LSubject: 
  Re: Jobs are not working
  I issued commit and 
  job_queue_processes = 4
  job_queue_interval   = 10
   
  in init_SID.ora file
   
  so I don't know why the jobs are not working
   
  regards,
  Mauricio Vélez
   
  [EMAIL PROTECTED] wrote: 
  A 
COMMIT is required after "submitting" the job.job_queue_processes = 
4 <=== Must be greater than zero in 
init_SID.orafileMauricio "Vélez" 
<[EMAIL PROTECTED] To: Multiple recipients of list ORACLE-L 
<[EMAIL PROTECTED]>hoo.com> cc: Sent by: Subject: Jobs are not 
working [EMAIL PROTECTED] .com 01/23/2004 08:29 AM 
Please respond to ORACLE-L Hello 
everybody= "urn:schemas-microsoft-com:office:office" />I'm 
woriking on NT and there are two 8i databases on itOne database can 
execute jobs normally, but the other one not execute anyjob.I proved 
submitting the same procedure to both database and worked on thefirst 
one but not on the second one.How can I resolve 
this?Mauricio VélezDo you Yahoo!?Yahoo! SiteBuilder 
- Free web site building tool. Try 
  it!
  
  
  Do you Yahoo!?Yahoo! SiteBuilder - Free web site building tool. Try 
  it!


RE: Jobs are not working

2004-01-23 Thread Johnson, John R. (Oracle DBA)
Title: Message



Mauricio:
Is 
job_queue_processes set to a value higher than 0?
Did 
you commit after submitting the job?
 

John R. Johnson Anheuser-Busch Companies Server Technology and DBA Services Oracle Database 
Administration  
 -Original Message-From: 
Michael Fontana [mailto:[EMAIL PROTECTED]Sent: Friday, January 23, 
2004 1:39 PMTo: Multiple recipients of list 
ORACLE-LSubject: RE: Jobs are not 
working

  Mauricio:
   
  Define the exact symptoms of your problem.
   
  For 
  example:
   
  How 
  are the jobs being submitted?
   
  Are 
  you getting an error message upon submission?
   
  How 
  do you know  they're not running?
   
  Have 
  you queries dba_jobs_running?
   
  Please respond with any diagnostic error messages, or any other 
  documentation you wish to provide to give us more detail.
   
   
  
  Michael Fontana
  Sr. DBA
  NTT/Verio
   
  

-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
Mauricio VXlezSent: Friday, January 23, 2004 11:04 
AMTo: Multiple recipients of list ORACLE-LSubject: Re: 
Jobs are not working
I issued commit and 
job_queue_processes = 4
job_queue_interval   = 10
 
in init_SID.ora file
 
so I don't know why the jobs are not working
 
regards,
Mauricio Vélez
 
[EMAIL PROTECTED] wrote: 
A 
  COMMIT is required after "submitting" the job.job_queue_processes 
  = 4 <=== Must be greater than zero in 
  init_SID.orafileMauricio "Vélez" 
  <[EMAIL PROTECTED] <[EMAIL PROTECTED] ORACLE-L list of recipients 
  Multiple To:>hoo.com> cc: Sent by: Subject: Jobs are not 
  working [EMAIL PROTECTED] .com 01/23/2004 08:29 AM 
  Please respond to ORACLE-L Hello 
  everybody= "urn:schemas-microsoft-com:office:office" />I'm 
  woriking on NT and there are two 8i databases on itOne database can 
  execute jobs normally, but the other one not execute anyjob.I 
  proved submitting the same procedure to both database and worked on 
  thefirst one but not on the second one.How can I resolve 
  this?Mauricio VélezDo you Yahoo!?Yahoo! 
  SiteBuilder - Free web site building tool. Try 
  it!


Do you Yahoo!?Yahoo! SiteBuilder - Free web site building tool. Try 
it!


RE: commit for triggers

2004-01-23 Thread John Flack
A two-phase commit is simply a way to make sure that commits happen in a distributed 
transaction the same way that they do in a local transaction.  The absolute rule is:  
"Everything commits or Nothing does."  In-between, with some parts committed and some 
not, is NOT tolerable.  So in your transaction, the change to the audit log is NOT 
committed if any part of the transaction fails.

Everything from the beginning of a transaction up to a commit or rollback command is 
part of the transaction.  All DDL commands are transactions unto themselves, so they 
end the prior transaction (which is committed, if you have autocommit turned on, or 
rolled back otherwise) and the command following a DDL command starts a new 
transaction.  Triggers execute within the same transaction as the command that 
triggered them, and may not include a commit or rollback.  So any DML in a trigger is 
only committed if the entire transaction is committed.

There is only one exception to this behavior.  You can declare a stored procedure as 
an Autonomous Transaction, which means that you are starting a new transaction that is 
independant of the current transaction.  This means that the new transaction can 
commit or rollback without affecting or being affected by the current transaction, and 
can fail without causing the current transaction to fail or succeed, even if the 
current transaction fails. This is very useful and powerful, but use it with caution, 
because you are no longer protected by the normal transaction safeguards.

-Original Message-
Sent: Friday, January 23, 2004 9:15 AM
To: Multiple recipients of list ORACLE-L


Hi All,

I have a before update trigger for a local table.  I know Oracle does not 
commit the inserting audit entry into the audit log table until the user 
commits the changes on the audited table.  Can I assume Oracle issues one 
commit for both changes?  When commit fails, both changes will be rolled 
back.  However, Oracle uses two-phase commit if a trigger updates remote 
tables in a distributed database.  What happens if Oracle commits the change 
in audit log table and my change subsequently fails?

_
Learn how to choose, serve, and enjoy wine at Wine @ MSN. 
http://wine.msn.com/

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: David Boyd
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Metalink on the blink

2004-01-22 Thread John B. Wells
Title: Metalink on the blink









Painfully slow, but it works.

 

-Original Message-
From: Adams, Matthew (GECP, MABG,
088130) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 22, 2004
9:59 AM
To: Multiple recipients of list
ORACLE-L
Subject: Metalink on the blink

 

Is anyone else having problems with Metalink this
morning 
or is it just us?  We can't
log in at all. 

Matt 

 
Matt Adams - GE Appliances -
[EMAIL PROTECTED] 
"The swim only hurt once -
from the beginning 
to the end" - Doc Counsilman
on swimming the 
English Channel at age 58









RE: 9iAS Calender Servlet

2004-01-21 Thread John Flack
"Calendar servlet" sounds pretty generic.  What more specifically do you want your 
servlet to do?

If you are writing a PL/SQL Web app with mod_plsql, you might want to look into the 
OWA_UTIL procedure that takes a query and writes a calendar page in HTML.  The query 
includes columns for the dates to be shown on the calendar, text to be shown in the 
cell for each date, and optionally an URL to which the text will be a link. 

-Original Message-
Sent: Wednesday, January 21, 2004 7:45 AM
To: Multiple recipients of list ORACLE-L


Does anybody by chance have any examples for creating a calender servlet
for 9iAS? I have to admit to being a servlet virgin! ;)

Any pointers much apreciated! 

Many thanks

Mark


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mark Leith
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: tnsnames.ora not working ?

2004-01-21 Thread John Flack
I've seen this sort of thing happen when you have more than one Oracle_Home and client 
tools get confused about which tnsnames.ora file to use.  Fastest solution is to find 
every tnsnames.ora file on the client computer and make sure that they are all 
identical.  Correct solution is usually to make sure that there is only one set of 
network control files and set the TNS_ADMIN environment variable to point at the one 
and only directory that contains them.

I've sometimes had to deinstall all copies of Oracle Net tools and reinstall just one.

-Original Message-
Sent: Tuesday, January 20, 2004 10:49 AM
To: Multiple recipients of list ORACLE-L



Hello,
I'm trying to add description in my $ORACLE_HOME/network/admin/tnsnames.ora, 
but it seems that the client (ie. sqlplus) wont use it. Whenever I try to 
connect to the service using sqlplus, I got :

$> sqlplus
Enter user-name: [EMAIL PROTECTED]
Enter password: * 
ORA-12154: TNS:could not resolve service name

I tried to add the description to my ~/.tnsnames.ora too with no luck. The 
entry in the tnsnames.ora is:

DEV_DB =
   (DESCRIPTION =
 (ADDRESS_LIST =
   (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
 )
 (CONNECT_DATA =
   (SERVICE_NAME = dev_db)
 )
   )

(note: I removed the real hostname for privacy/security reason of course)

However, when I use sqlplus using the following way:

$> sqlplus

Enter user-name: 
developer@(description=(address=(protocol=tcp)(host=hostname)(PORT = 
1521))(CONNECT_DATA =(SERVICE_NAME = dev_db)))
Enter password: * 

It would work, where all the information from the description is just a 
copy-paste from the tnsnames.ora file.

Is there anything I overlook? Sorry if this is kinda a newbie question. I'm 
still learning my way around this. I'm using Oracle9i on Redhat Linux.

Thanks for any help.

Reuben D. Budiardja
-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
-
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
 - Linus Torvalds -

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Reuben D. Budiardja
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


bind variables in VB using OO4O

2004-01-21 Thread John Dunn
Does anyone have examples of how to use bind variables in VB when using
OO4O?

John


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: tnsnames.ora not working ?

2004-01-20 Thread John Flack

The previous attachment was filtered out by the ListGuru mailing
software at fatcity.com because binary attachments are not appropriate
for mailing lists.  If you want a copy of the attachment which was
removed, contact the sender directly and ask for it to be sent to
you by private E-mail.

This warning is inserted into all messages containing binary
attachments which have been removed by ListGuru.  If you have questions
about this message, contact [EMAIL PROTECTED] for clarification.
<>

RE: Anyone using IBM's Flashcopy for hotbacks?

2004-01-16 Thread John Kanagaraj
Rich,

As I had indicated in a previous post on a similar topic, you will need to
minimize writes to the SAN during a mirror split during FlashCopy (in IBM,
BCV in EMC and ShadowImage in Hitachi). In my limited understanding, once
the command to split is received by the SAN, it has to make sure that the
write cache is *completely* written to disk. Taking on Tim G's excellent
analogy of likening a SAN disk cache to a water tank with an inlet at one
end and an outlet on the other, and the requirement of all writes to be
written to disk during split, it becomes evident that the SAN has to very
quickly bleed off the write cache as well as freeze or somehow delay writes
during this time. An ALTER SYSTEM SUSPEND might help during the split. I
have seen a 'runaway' Hash join very quickly fill up TEMP using direct
writes and considerably delay splits. I really don't see any *read* related
problems though at the time of split...

YMMV!
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Disappointment is inevitable, but Discouragement is optional! 

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Jesse, Rich [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, January 15, 2004 2:39 PM
>To: Multiple recipients of list ORACLE-L
>Subject: Anyone using IBM's Flashcopy for hotbacks?
>
>
>We're considering an IBM FAStT SAN for a 30GB Oracle9i DB on 
>HP/UX 11i.  One
>option with the FAStT is called "FlashCopy".  It's been six 
>months since
>I've last looked at this, but our original idea was to smack 
>all TSs into
>backup mode, FlashCopy, then smack all TSs out of backup mode. 
> We'd also
>need to dump the copy to tape, then startup this copy as 
>another instance,
>so the Tivoli plugin to have RMAN manage this probably 
>wouldn't be worth the
>money for us.
>
>So, has anyone done this?  Which FlashCopy options did you 
>use?  Any major
>gotchas to not do this?  Does the Flash cause I/O problems 
>during the backup
>due to the block reads from the original DB?
>
>TIA,
>Rich
>
>Rich JesseSystem/Database Administrator
>[EMAIL PROTECTED]   Quad/Tech International, 
>Sussex, WI USA
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Jesse, Rich
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Process consumes CPU and long time to finished

2004-01-15 Thread John Kanagaraj
Hernawan,

Is this a custom or standard Concurrent request? If this is standard, there
may be a patch out for your module/level. If not, I would use a 10046 level
12 to look at the issue. As you can see from tkprof, you have a huge amount
of LIO... Is your init.ora parameters kosher as per Oracle 11i
recommendations? DO you see the explain plan for this particular SQL? Is
this slowdown new or has existed previously? Can you process a smaller set
(with Start/End invoice numbers)? These are some things to try, rather than
wait on Oracle Support...

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **


>-Original Message-
>From: hernawan [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, January 15, 2004 1:05 AM
>To: Multiple recipients of list ORACLE-L
>Subject: Process consumes CPU and long time to finished
>
>
>Hi all,
>
>I have process in Oracle apps 11.5.8 which need
>very lot CPUs and long time to complete.
>for about 17,000 invoices it takes 28 hours !!
>
>I have open TAR since month ago, and still get no solution.
>maybe here someone can share any idea ?
>im using 11.5.8, sparc. DB 9i rel2
>
>here is from the tkprof :
>
>SELECT sum(nvl(entered_cr,0) - nvl(entered_dr,0)) ,
> sum(nvl(accounted_cr,0) - nvl(accounted_dr,0))
>  FROM   AP_AE_Lines AEL,
> AP_AE_Headers AEH,
> AP_Invoice_Payments AIP
>  WHERE  AIP.Invoice_ID = :b2
>  ANDAEL.Source_ID = AIP.Invoice_Payment_ID
>  ANDAEL.Source_Table = 'AP_INVOICE_PAYMENTS'
>  ANDAEL.AE_Line_type_code = 'LIABILITY'
>  ANDAEL.AE_Header_ID = AEH.AE_Header_ID
>  ANDAEH.Set_of_Books_ID = :b1
>
>call count   cpuelapsed   disk  querycurrent
>rows
>--- --   -- -- -- --
>--
>Parse1  0.00   0.00  0  0  0
>0
>Execute   1539  0.23   0.31  0  0  0
>0
>Fetch 1539  16474.95   21810.67 24   46864854  0
>1538
>--- --   -- -- -- --
>--
>total 3079  16475.18   21810.99 24   46864854  0
>1538
>
>Misses in library cache during parse: 0
>Optimizer goal: CHOOSE
>Parsing user id: 24 (recursive depth: 1)
>
>tq
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: hernawan
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Shared Pool fragmentation

2004-01-13 Thread John Kanagaraj
Rick,

I forgot about shared_pool_reserved_size and the min_alloc parameter (hidden
since 8i). See Note 146599.1 Diagnosing and Resolving Error ORA-04031.

John

>-Original Message-
>From: John Kanagaraj [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, January 13, 2004 2:59 PM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: Shared Pool fragmentation
>
>
>Rick,
>
>I think the best answer is 'know thy application'. And in 
>this, knowledge of
>bind var vs hardcoded value usage, looking at V$SQL and 
>V$SQLAREA, the ratio
>(!!) of 'parse count (hard)' to 'parse count (total)', pinning of
>packages/sequences, etc., can help...
>
>You cannot actually 'catch' a 4031 before it occurs, but you can always
>straighten things out before it occurs. I have found that a 
>combination of
>pinning Packages/Sequences followed by judicious (once in a 
>while) use of
>shared pool flush helps. Of course, the shared pool has to be correctly
>sized - too much and you waste time latching and memory, too 
>little and you
>_might_ run into 4031. Sizing shared pool is an art that has a little
>science behind it - science that involves understanding and 
>using values
>from X$KGLOB and X$KSMSP and your application
>
>OTOH, I have seen good results with a flush shared pool during 
>quiet times
>for non-bind hungry 3rd party apps... See below (script 
>courtersy Steve!) -
>the number of chunks has dropped dramatically freeing up 
>largish globs of
>shared pool that would otherwise have to be freed up when a 
>largish object
>(in this case > 15456 bytes) has to load. As well, you will 
>see that the
>number of 'freeabl' chunks (x$ksmsp.ksmchcls) comes down 
>drastically as the
>system frees up 'freeable' chunks ahead of time, reducing the chance of
>4031s 
>
>My (very limited) understanding is that when a package/cursor 
>has to load
>and a large-enough chunk of shared pool memory is not free, 
>then the kernel
>will try and flush out the 'freeable' (not in use) memory and 
>merge adjacent
>free chunks. If this still does not staisfy the memory 
>requirements, then a
>4031 is signalled/ The 'alter system flush shared pool' 
>performs a manual
>flush instead, ahead of time and could (possibly) prevent a 4031 ...
>
>John Kanagaraj
>DB Soft Inc
>Phone: 408-970-7002 (W)
>
>Listen to great, commercial-free christian music 24x7x365 at
>http://www.klove.com
>
>** The opinions and facts contained in this message are 
>entirely mine and do
>not reflect those of my employer or customers **
>
>08:35:00 SQL> @shared_pool_free_lists
>
>BUCKET FREE_SPACE FREE_CHUNKS AVERAGE_SIZEBIGGEST
>-- -- ---  --
> 01089784   23488   46 76
> 1 3941364656   84140
> 2 6812843678  185268
> 3 315504 875  360524
> 449019527300  671   1036
> 561588964099 1502   2060
> 655465161966 2821   4048
> 71125720 263 4280   7624
> 8 989584 101 9797  15456
>
>9 rows selected.
>
>08:35:29 SQL> alter system flush shared_pool;
>
>System altered.
>
>08:36:32 SQL> @shared_pool_free_lists
>
>BUCKET FREE_SPACE FREE_CHUNKS AVERAGE_SIZEBIGGEST
>-- -- ---  --
> 0  14364 330   43 76
> 1   6528  76   85140
> 6   3964   1 3964   3964
> 9  29580   129580  29580
>105028636 10348821  65436
>11   13860744 15092404 130872
>12   32192980 173   186086 261016
>13   64490864 172   374946 522764
>14   83609184 112   7465101048432
>15   79829220  57  14005122068384
>16   38149220  14  27249443705320
>
>11 rows selected.
>
>-Original Message-
>Sent: Tuesday, January 13, 2004 9:34 AM
>To: Multiple recipients of list ORACLE-L
>
>
>Is there a way to catch shared_pool fragmentation before you 
>get the 4031
>errors?  I have looked at Steve Adams site which has scripts 
>to show the
>free lists chunks in the shared pool.  At what point do I know 
>that it is
>fragmented too much?  I know that I can prevent this by using bind
>variables, 

RE: Shared Pool fragmentation

2004-01-13 Thread John Kanagaraj
Rick,

I think the best answer is 'know thy application'. And in this, knowledge of
bind var vs hardcoded value usage, looking at V$SQL and V$SQLAREA, the ratio
(!!) of 'parse count (hard)' to 'parse count (total)', pinning of
packages/sequences, etc., can help...

You cannot actually 'catch' a 4031 before it occurs, but you can always
straighten things out before it occurs. I have found that a combination of
pinning Packages/Sequences followed by judicious (once in a while) use of
shared pool flush helps. Of course, the shared pool has to be correctly
sized - too much and you waste time latching and memory, too little and you
_might_ run into 4031. Sizing shared pool is an art that has a little
science behind it - science that involves understanding and using values
from X$KGLOB and X$KSMSP and your application

OTOH, I have seen good results with a flush shared pool during quiet times
for non-bind hungry 3rd party apps... See below (script courtersy Steve!) -
the number of chunks has dropped dramatically freeing up largish globs of
shared pool that would otherwise have to be freed up when a largish object
(in this case > 15456 bytes) has to load. As well, you will see that the
number of 'freeabl' chunks (x$ksmsp.ksmchcls) comes down drastically as the
system frees up 'freeable' chunks ahead of time, reducing the chance of
4031s 

My (very limited) understanding is that when a package/cursor has to load
and a large-enough chunk of shared pool memory is not free, then the kernel
will try and flush out the 'freeable' (not in use) memory and merge adjacent
free chunks. If this still does not staisfy the memory requirements, then a
4031 is signalled/ The 'alter system flush shared pool' performs a manual
flush instead, ahead of time and could (possibly) prevent a 4031 ...

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

08:35:00 SQL> @shared_pool_free_lists

BUCKET FREE_SPACE FREE_CHUNKS AVERAGE_SIZEBIGGEST
-- -- ---  --
 01089784   23488   46 76
 1 3941364656   84140
 2 6812843678  185268
 3 315504 875  360524
 449019527300  671   1036
 561588964099 1502   2060
 655465161966 2821   4048
 71125720 263 4280   7624
 8 989584 101 9797  15456

9 rows selected.

08:35:29 SQL> alter system flush shared_pool;

System altered.

08:36:32 SQL> @shared_pool_free_lists

BUCKET FREE_SPACE FREE_CHUNKS AVERAGE_SIZEBIGGEST
-- -- ---  --
 0  14364 330   43 76
 1   6528  76   85140
 6   3964   1 3964   3964
 9  29580   129580  29580
105028636 10348821  65436
11   13860744 15092404 130872
12   32192980 173   186086 261016
13   64490864 172   374946 522764
14   83609184 112   7465101048432
15   79829220  57  14005122068384
16   38149220  14  27249443705320

11 rows selected.

-Original Message-
Sent: Tuesday, January 13, 2004 9:34 AM
To: Multiple recipients of list ORACLE-L


Is there a way to catch shared_pool fragmentation before you get the 4031
errors?  I have looked at Steve Adams site which has scripts to show the
free lists chunks in the shared pool.  At what point do I know that it is
fragmented too much?  I know that I can prevent this by using bind
variables, and keeping objects, but until I can modify all the apps, I would
like to know a little before these errors happen.  Any ideas?

Thanks,

Rick Stephenson



This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to which they are addressed.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system. If you are not the intended recipient you are
notified that disclosing, copying, forwarding or otherwise distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 
-- 
P

snmp from Oracle?

2004-01-13 Thread John Dunn
A bit off the wall this one...

Anyone ever tried to monitor other devices on the network from a pl/sql or
java package using snmp?

John


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: re BCV / SnapShot / SnapClone and the ALTER SYSTEM

2004-01-12 Thread John Kanagaraj
Mladen,

I apologize - I didn't want to imply that you were not aware of the way RMAN
works. However, I am not sure I got my point across on the Hot backup issue,
so here goes... 

You should not take a backup of a BCV mirror _without_ putting the whole
database in Hot backup, even if you suspend all I/O using SUSPEND. AFAIK,
the SUSPEND command was provided to enable an 'instance recoverable'
database copy and NOT a day-to-day backup copy. In other words, a copy taken
after a successful SUSPEND can be restored and started up, in which case an
_instance_ recovery is done. The issue is that you cannot perform _media_
recovery to this copy to bring it up a particular point in time, which is
the whole point of a backup... 

The way I see it, a DBA can use the SUSPEND command to backup a
Development/Test database, which would not demand a point-in-time recovery
requirement but require a end-of-day backup without having to shut it down.
The other use of couse is to reduce or even eliminate IO activity to the BCV
while the split occcurs. The split can take quite a while to complete if a
session performs heavy writing - a Hash join writing to TEMP can very
quickly overwhelme the Write cache of a SAN and delay the split.

I found ML Note:91059.1 useful in understanding the SUSPEND command...

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Mladen Gogala [mailto:[EMAIL PROTECTED] 
>Sent: Monday, January 12, 2004 11:34 AM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: re BCV / SnapShot / SnapClone and the ALTER SYSTEM
>
>
>John, I know that fro RMAN tablespaces need not be in hot backup
>mode. The trick with susspend is quick & dirty way of achieving
>the same effect as with the cold backup, without bringing the
>database down. No RMAN involved. 
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: re BCV / SnapShot / SnapClone and the ALTER SYSTEM

2004-01-12 Thread John Kanagaraj
Mladen/Hemant,

>>I should have expressed myself more clearly. Suspend is not necessary, 
>>it's only fast. Basically, with suspend, you don't put tablespaces into
backup mode. You 
>suspend, resync, split and start aonther instance as if  it crashed.  As no
I/O is 
>going to disk, datafiles aren't fuzzy, so no recovery is needed. Problem
with this approach 
>is that the original instance is not usable during this time. All sessions
are hanging. 
>Benefit is that no recovery is needed and if everything goes OK, you're
done very, very 
>quickly. It's either-or approach, not a combination.

I think there is some confusion here... AFAIU (As Far As I Understand!), 

(a) A tablespace, and thus related datafiles, need to be in "Hot backup"
mode during an *OS* based backup to cater for split-block inconsistency
(i.e. to cater for the possibility of a generally shorter OS block read NOT
getting the generally larger whole block in a single read just when the DB
block was being updated). The Logwriter then writes *whole* blocks to redo
to avoid this split-block (aka fractured block) problem. This increased redo
logging becomes an issue when backing up a large database (such as an ERP
database). EMC's BCVs, Hitachi's ShadowImage (and other frozen disk copy
technologies) mitigate this problem by providing a snapshot copy of *almost
point in time* sets of disks that contain a hot backup copy of the database.
Both rely on the fact that the subsequent backup is an *OS* based copy (i.e.
outside of Oracle) and that the *whole* database was placed in Hot backup.
The split actually takes a few minutes (or seconds, depending on how it was
done and the amount of activity), and the whole database is in Hot backup
mode *only* at that time. A SUSPEND may possiblly only _reduce_ this split
time. Once the split completes, the Database is taken out of Hot backup mode
and the BCVs/Images are then presented back tp the OS via normal mount so
that a subsequent OS based backup utility (such as Legato or Netbackup) can
back it up to tape. Subsequent 'snapshots' will also require the DB to be
placed in Hot backup mode..
In essence, this technology provides for a slow backup of a large database
that is apparently in hot backup mode without having excessive redo being
generated during the physical backup. A positive side effect is that the
Backup I/O goes against currently non-production disks. As well, these
copies can also be mounted on a backup server connected to the same SAN to
even avoid using production CPU cycles... This concept has remained the same
since V7, going into V8/8.1. and 9i as well, and I daresay it is the same in
10g. The key point is that placing the complete DB in Hot backup mode is a
*requirement* before a BCV/Image split, regardless of the usage of SUSPEND
(and the assumption that I/O is not going to disk at this time). 

(b) OTOH, RMAN reads a database file and the blocks therein directly, and
does not need the tablespace to be in backup mode since the DB block is
being read by an *Oracle* process. And since there is no need to place a
database in backup mode, one can use RMAN to backup a large database without
worrying about the excessive redo issue. *However*, since the Oracle process
can read only from a 'live' datafile, RMAN _cannot_ be used with
BCV/ShadowImage. And placing an RMAN backed-up DB in SUSPEND mode will only
aggravate users :)

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Hemant K Chitale [mailto:[EMAIL PROTECTED] 
>Sent: Saturday, January 10, 2004 6:34 AM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: re BCV / SnapShot / SnapClone and the ALTER SYSTEM
>
>
>
>Yes, I hadn't read the line
>"so the tablespaces had to be put into backup mode or (8i and 
>after) the 
>database had to be suspended"
>you _do_ have an OR between the backup mode and the database 
>.. suspended.
>
>We hadn't heard of anyone using the SUSPEND and didn't want to 
>take the chance
>of a database "seeming to be frozen" for a few seconds or upto 
>a minute 
>{weren't sure
>how long the split would actually take to run before we 
>implemented it}.
>We'll stick to putting the tablespaces in BACKUP mode.
>
>Hemant
>
>At 09:34 PM 09-01-04 -0800, you wrote:
>>I should have expressed myself more clearly. Suspend is not 
>necessary, 
>>it's only fast. Basically,
>>with suspend, you don't put tablespaces into backup mode. You 
>suspend, 
>>resync, split
>>and start aonther instance as if  it crashed.  As no I/O is 

RE: Books on rac

2004-01-09 Thread John Kanagaraj
Joe/Ron,

Hope I am not beating anyone down, but a colleague has this particular book
and said that much of it was a 'cut-and-paste' from the manual... I haven't
read it yet, but I can verify this (offline) if you so need. OTOH, I do know
that Murali Vallath has a book out on RAC, and I know for sure that he has
worked on many RAC installations so you *might* get something from there... 

As ever, this is my $0.02 (which is not worth much against the Euro!), and
carries my standard disclaimer.
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Ron Rogers [mailto:[EMAIL PROTECTED] 
>Sent: Friday, January 09, 2004 12:20 PM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: Books on rac
>
>
>Joe,
> Last year at the midaltantic Oracle users group seminars there was a
>presentation by Mike Ault what was very informative on RAC with a
>budget. I believe that he has some decent information available. You
>might check www.rampant-books.com for his works.
>Ron
>
>>>> [EMAIL PROTECTED] 01/09/2004 2:59:26 PM >>>
>any recommendations? of course besides the oracle docs and technet, 
>which i think i downloaded all that i need.
>
>joe
>
>-- 
>Joseph S Testa
>Chief Technology Officer 
>Data Management Consulting
>p: 614-791-9000
>f: 614-791-9001
>
>
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net 
>-- 
>Author: Joe Testa
>  INET: [EMAIL PROTECTED] 
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com 
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Ron Rogers
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: seperate external procedure listeners for different SIDs

2004-01-09 Thread John Flack
I'm not sure if I'd mentioned this before:
We do use an external procedure to run external OS commands, but the procedure that is 
mapped to the C program is a private procedure in a package.  The public interface to 
this procedure uses the PRODUCT_PROFILE (aka PRODUCT_USER_PROFILE) table to control 
who may execute what commands.  The default is that no-one may execute any commands.  
We use the table to allow access much as SQL*Plus uses it to deny access to certain 
commands.

-Original Message-
Sent: Friday, January 09, 2004 11:44 AM
To: Multiple recipients of list ORACLE-L


HUMM,  I've taken a pretty tight stand against open ended external procedures and Java 
Stored Procedures.  Thankfully the developers here agree.  Basically I've told them 
that can't have an external or java procedure that executes a command send into it.  
That being the case rsh or sh command processors are verboten.

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-Original Message-
Sent: Friday, January 09, 2004 5:29 AM
To: Multiple recipients of list ORACLE-L


Dick/John

Thanks for all your input. I conclude from this discussion that it is not
possible to have different, seperate external procedure listeners for
different SIDs in the same instance at least not in 8.1.7.

Incidentially, I have been having an issue with running an rsh command via
an external procedure. The external procedure is a C .so which uses the C
system command to run a Unix command. Sometimes the Unix command is an rsh.
What I find is that sometimes the rsh command causes the "ORA-28576 lost RPC
connection to external procedure agent". However if I make the external
procedure listener seperate and start it off as follows from the root
crontab or inittab

/usr/bin/su - oracle -c /u01/app/oracle/product/8.1.7/bin/lsnrctl start
listener_ext 

Then I never get the error. 

Just wondered if anyone had any thoughts as to why starting the external
procedure listener in this way seems to resolve the ORA-28576 error with rsh
commands.

John
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Need info on HP Proliant ML 350, on installing Oracle 8i and 9i, urgent.. please

2004-01-09 Thread John Flack
For one thing, please don't install 8.1.6.  Install at least 8.1.7 and upgrade it to 
8.1.7.4.  You will be much better off.  Actually, providing your system meets or 
exceeds the minimum requirements stated in the installation manual, this install goes 
fairly easily.  DO read the installation manual and read me docs.  Ask if you have 
more specific questions.

-Original Message-
Sent: Friday, January 09, 2004 8:29 AM
To: Multiple recipients of list ORACLE-L
9i, urgent.. please


Hi all,

I'd like to ask you about any steps that I should do additionally on
installing oracle 8.1.6.0.0 and 9i on server HP proliant ML 350, with os
of windows 2000. I need to get this working by 2 days. So I really need
help on this, thanks.

Regards

Wendry.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: seperate external procedure listeners for different SIDs

2004-01-09 Thread John Dunn
Dick/John

Thanks for all your input. I conclude from this discussion that it is not
possible to have different, seperate external procedure listeners for
different SIDs in the same instance at least not in 8.1.7.

Incidentially, I have been having an issue with running an rsh command via
an external procedure. The external procedure is a C .so which uses the C
system command to run a Unix command. Sometimes the Unix command is an rsh.
What I find is that sometimes the rsh command causes the "ORA-28576 lost RPC
connection to external procedure agent". However if I make the external
procedure listener seperate and start it off as follows from the root
crontab or inittab

/usr/bin/su - oracle -c /u01/app/oracle/product/8.1.7/bin/lsnrctl start
listener_ext 

Then I never get the error. 

Just wondered if anyone had any thoughts as to why starting the external
procedure listener in this way seems to resolve the ORA-28576 error with rsh
commands.

John



-Original Message-
Sent: 08 January 2004 15:59
To: Multiple recipients of list ORACLE-L


John,

I agree if you have multiple databases under the same home all is
well, one extproc sid will do.  But if you have several different Oracle
homes, with different versions of Oracle then each needs it's own extproc
sid.  Tried using the latest listener and/or extproc combinations, didn't
work.

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-Original Message-
Sent: Thursday, January 08, 2004 10:44 AM
To: Multiple recipients of list ORACLE-L


Thanks - I wasn't sure if each session got its own instance of extproc.  The
SID associated with an EXTPROC is not the same as a SID associated with a
database.  I have several databases running under the same Oracle Home, and
they are sharing the same external procedure listener - which references
that Oracle Home.  If you are running databases under several versions of
Oracle, you may be able to use the listener for the latest version of Oracle
you have to listen for all of them, and use its extproc.  But it is probably
a better idea to run separate listeners for databases and external
procedures, each with its own LISTENER.ORA and TNSNAMES.ORA under its own
Oracle Home.  Just be careful about how the TNS administration directory is
set.

-Original Message-
Sent: Thursday, January 08, 2004 9:54 AM
To: Multiple recipients of list ORACLE-L


John,

On the contrary.  You do need to associate an EXTPROC with a
particular SID otherwise running different versions of Oracle on the same
box blows the EXTPROC to hell.  You'll notice that in listener.ora there
needs to be a line "SID_NAME=" and in TNSNAMES.ora there is a "Connect_data
= (sid = " as well.  Now a particular database instance/version can only
have one extproc_connect_data entry, but with multiple versions each has
it's own, and sure enough each has to have a particular sid otherwise they
mess each other up.

BTW: Your description of the process is dead on, with one exception.
An instance of extproc is connected to one and only one session in the
calling database.  If two sessions each need to call an external procedure
then each gets it's own instance of extproc.  Also if you need to update the
dll or so file you have to get everyone to let go of extproc, namely by
disconnecting from the database.  Although it's like a database link,
closing the links does not release extproc.  Also using TCP to connect to
extproc is not an Oracle recommended method, opens a door to hackers.

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Goulet, Dick
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the offici

RE: seperate external procedure listeners for different SIDs

2004-01-08 Thread John Flack
Thanks - I wasn't sure if each session got its own instance of extproc.  The SID 
associated with an EXTPROC is not the same as a SID associated with a database.  I 
have several databases running under the same Oracle Home, and they are sharing the 
same external procedure listener - which references that Oracle Home.  If you are 
running databases under several versions of Oracle, you may be able to use the 
listener for the latest version of Oracle you have to listen for all of them, and use 
its extproc.  But it is probably a better idea to run separate listeners for databases 
and external procedures, each with its own LISTENER.ORA and TNSNAMES.ORA under its own 
Oracle Home.  Just be careful about how the TNS administration directory is set.

-Original Message-
Sent: Thursday, January 08, 2004 9:54 AM
To: Multiple recipients of list ORACLE-L


John,

On the contrary.  You do need to associate an EXTPROC with a particular SID 
otherwise running different versions of Oracle on the same box blows the EXTPROC to 
hell.  You'll notice that in listener.ora there needs to be a line "SID_NAME=" and in 
TNSNAMES.ora there is a "Connect_data = (sid = " as well.  Now a particular database 
instance/version can only have one extproc_connect_data entry, but with multiple 
versions each has it's own, and sure enough each has to have a particular sid 
otherwise they mess each other up.

BTW: Your description of the process is dead on, with one exception.  An 
instance of extproc is connected to one and only one session in the calling database.  
If two sessions each need to call an external procedure then each gets it's own 
instance of extproc.  Also if you need to update the dll or so file you have to get 
everyone to let go of extproc, namely by disconnecting from the database.  Although 
it's like a database link, closing the links does not release extproc.  Also using TCP 
to connect to extproc is not an Oracle recommended method, opens a door to hackers.

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: seperate external procedure listeners for different SIDs

2004-01-08 Thread John Flack
That's pretty much it, at least through Oracle 8.1.7 (what I'm using).  This is mostly 
because Oracle only uses one service name to make the connection, 
EXTPROC_CONNECTION_DATA, and TNSNAMES can only associate that service name with one 
IPC key.  Therefore you can only talk to the one listener that is listening for that 
IPC key.  You could start a second listener listening on another IPC key, but only the 
one referenced in TNSNAMES would ever be used.

Which brings to mind a possible work around - if you can get a different database to 
use a different TNSNAMES.ORA file to resolve service names, you might get this to work 
- maybe by setting the TNS_ADMIN environment variable to a different value before you 
bring up the database.  I haven't tried it, though, so no promises.

If you are using a later version of Oracle, however, read the docs carefully.  Seems 
to me that if they have made it possible to connect to remote external procedure 
handlers through TCP/IP - 8.1.7 REQUIRES a local handler using IPC, they may have made 
a way to control the service name it uses so you can choose which external procedure 
handler to use.  The key docs for external procedures are the Application Programmers 
Guide, the PL/SQL Guide, and the Server Guide, plus a few Technical Notes in MetaLink.

-Original Message-
Sent: Thursday, January 08, 2004 9:39 AM
To: Multiple recipients of list ORACLE-L


Hmm...so if for some reason I needed two external procedure listeners to
run, (because, for example I wanted them to run as 2 different application
users rather than oracle or use 2 different sets of .so files), I could not
do it?
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: seperate external procedure listeners for different SIDs

2004-01-08 Thread John Dunn
Hmm...so if for some reason I needed two external procedure listeners to
run, (because, for example I wanted them to run as 2 different application
users rather than oracle or use 2 different sets of .so files), I could not
do it?



-Original Message-
Sent: 08 January 2004 14:20
To: Multiple recipients of list ORACLE-L


You're right - there isn't any tie between external procedures and a
particular SID in the listener.  Here's what I am guessing (educated guess
based on the docs) happens:
1.  Nothing supports external procedures until one is called.
2.  When a session in a particular database instance calls an external
procedure, it works very much like accessing a remote database through a
database link.  A call goes out on Net for a connection to the service named
EXTPROC_CONNECTION_DATA.  The naming method (TNSNAMES.ORA in my case) has
associated this service with a protocol, usually IPC (I understand a later
version of Oracle can hook to remote external procedures with TCP/IP).  IPC
identifies the service by a key.
3.  The listener process that is listening for IPC connections with that key
name, in this case your separate listener, LISTENER_EXT, looks at the
program associated with that key, which is extproc.
Since there is no instance of extproc running, the listener starts one, and
hands off the Net connection to it, just as it might hand off a connection
to a remote database.
4.  Your session now tells extproc through its Net connection which .DLL or
.so it wants loaded, and which function to call, passing the proper
parameters.  Extproc passes back output parameters and function return
values.
5.  The connection between the database session and the extproc program is
maintained for the duration of the session, so that if the session wants to
run another external procedure (or the same one again), it does not have to
go through the listener again.  This is similar to the way a connection
through a database link is maintained.
6.  I don't know whether another session that runs an external procedure
will get its own copy of extproc, or if it just gets its own connection to
the currently running copy of extproc.  In either case, the connection is
between extproc and a single database session on a single database instance.
There is no need to associate the listener with a particular SID, anymore
than there is a need to associate a database listener with a particular
database client.

-Original Message-
Sent: Thursday, January 08, 2004 7:20 AM
To: Multiple recipients of list ORACLE-L


I have created a seperate listener for external procedures for one of my
SIDs. 

My question is, if I want to do the same for another SID in the same
instance, what ensures that each external procedure listener will only
handle requests for its own SID?.

Here is my listener.ora for the first SID. The external procedure listener
is called listener_ext. I don't see anything in the configuration for the
external procedure listener that ties it to a SID.

Platform is Oracle 9.2 on AIX 5.2


# LISTENER.ORA Network Configuration File:
/usr/u01/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
(DESCRIPTION =
  (ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEMO)(PORT = 1521))
  )
)
(DESCRIPTION =
  (PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
  )
  (ADDRESS = (PROTOCOL = TCP)(HOST = DEMO)(PORT = 2481))
)
  )

SID_LIST_LISTENER =
  (SID_LIST =
(SID_DESC =
  (GLOBAL_DBNAME = FW9i.DEMO)
  (ORACLE_HOME = /u03/app/oracle/product/9.2.0.1.0)
  (SID_NAME = FW9i)
)
  )


LISTENER_EXT =
(ADDRESS_LIST = 
 (ADDRESS = (PROTOCOL=IPC) 
 (key = extproc_key)
)
   )

SID_LIST_LISTENER_EXT = 
   (SID_LIST = 
(SID_DESC = 
 (SID_NAME = extproc_agent)
  (ORACLE_HOME = /u03/app/oracle/product/9.2.0.1.0)
   (PROGRAM = extproc)
   (ENV = "EXTPROC_DLLS=ANY")
 )
)


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California   

RE: seperate external procedure listeners for different SIDs

2004-01-08 Thread John Flack
You're right - there isn't any tie between external procedures and a particular SID in 
the listener.  Here's what I am guessing (educated guess based on the docs) happens:
1.  Nothing supports external procedures until one is called.
2.  When a session in a particular database instance calls an external procedure, it 
works very much like accessing a remote database through a database link.  A call goes 
out on Net for a connection to the service named EXTPROC_CONNECTION_DATA.  The naming 
method (TNSNAMES.ORA in my case) has associated this service with a protocol, usually 
IPC (I understand a later version of Oracle can hook to remote external procedures 
with TCP/IP).  IPC identifies the service by a key.
3.  The listener process that is listening for IPC connections with that key name, in 
this case your separate listener, LISTENER_EXT, looks at the program associated with 
that key, which is extproc.
Since there is no instance of extproc running, the listener starts one, and hands off 
the Net connection to it, just as it might hand off a connection to a remote database.
4.  Your session now tells extproc through its Net connection which .DLL or .so it 
wants loaded, and which function to call, passing the proper parameters.  Extproc 
passes back output parameters and function return values.
5.  The connection between the database session and the extproc program is maintained 
for the duration of the session, so that if the session wants to run another external 
procedure (or the same one again), it does not have to go through the listener again.  
This is similar to the way a connection through a database link is maintained.
6.  I don't know whether another session that runs an external procedure will get its 
own copy of extproc, or if it just gets its own connection to the currently running 
copy of extproc.  In either case, the connection is between extproc and a single 
database session on a single database instance.  There is no need to associate the 
listener with a particular SID, anymore than there is a need to associate a database 
listener with a particular database client.

-Original Message-
Sent: Thursday, January 08, 2004 7:20 AM
To: Multiple recipients of list ORACLE-L


I have created a seperate listener for external procedures for one of my
SIDs. 

My question is, if I want to do the same for another SID in the same
instance, what ensures that each external procedure listener will only
handle requests for its own SID?.

Here is my listener.ora for the first SID. The external procedure listener
is called listener_ext. I don't see anything in the configuration for the
external procedure listener that ties it to a SID.

Platform is Oracle 9.2 on AIX 5.2


# LISTENER.ORA Network Configuration File:
/usr/u01/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
(DESCRIPTION =
  (ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEMO)(PORT = 1521))
  )
)
(DESCRIPTION =
  (PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
  )
  (ADDRESS = (PROTOCOL = TCP)(HOST = DEMO)(PORT = 2481))
)
  )

SID_LIST_LISTENER =
  (SID_LIST =
(SID_DESC =
  (GLOBAL_DBNAME = FW9i.DEMO)
  (ORACLE_HOME = /u03/app/oracle/product/9.2.0.1.0)
  (SID_NAME = FW9i)
)
  )


LISTENER_EXT =
(ADDRESS_LIST = 
 (ADDRESS = (PROTOCOL=IPC) 
 (key = extproc_key)
)
   )

SID_LIST_LISTENER_EXT = 
   (SID_LIST = 
(SID_DESC = 
 (SID_NAME = extproc_agent)
  (ORACLE_HOME = /u03/app/oracle/product/9.2.0.1.0)
   (PROGRAM = extproc)
   (ENV = "EXTPROC_DLLS=ANY")
 )
)


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  Y

RE: DBA tasks

2004-01-08 Thread John Flack
I had one like that:
I created a database under our 7.1.6, because "We need an Oracle database for 
development." "When?" "Yesterday!"
I gave them usernames and passwords and made sure that TNSNAMES was configured.
In monitoring a few weeks later, I noticed no activity, so I asked them, "That 
database you wanted right away isn't being used, is there a problem."  "No problem, we 
just had a delay, we're going to be starting any day now."
Two years later, I was upgrading some databases to 8.  The database had still not been 
used, other than a few objects created.  "Should I upgrade this database?", I asked.  
"Oh no, don't bother, we're not using it."  "Can I delete it?" "No, please keep it 
around.  We're going to need it anytime now."
A year later, I backed it up with export to tape, in case I ever wanted it back, and 
deleted it (along with Oracle home for 7.1.6).  Five years later, I don't think anyone 
ever noticed that it was gone.  The tape is in a drawer somewhere.
Most troublefree database I've ever had.

-Original Message-
Sent: Wednesday, January 07, 2004 4:15 PM
To: Multiple recipients of list ORACLE-L


Patrice --

Come on!  If you don't install any software, you don't have to fight all
those fires.  Oh, and if you have no activity on the database, that sucker
just flies.  Combine the two, and you don't have to work 45 hours a week.

HTH,
Bambi.

-
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


seperate external procedure listeners for different SIDs

2004-01-08 Thread John Dunn
I have created a seperate listener for external procedures for one of my
SIDs. 

My question is, if I want to do the same for another SID in the same
instance, what ensures that each external procedure listener will only
handle requests for its own SID?.

Here is my listener.ora for the first SID. The external procedure listener
is called listener_ext. I don't see anything in the configuration for the
external procedure listener that ties it to a SID.

Platform is Oracle 9.2 on AIX 5.2


# LISTENER.ORA Network Configuration File:
/usr/u01/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
(DESCRIPTION =
  (ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEMO)(PORT = 1521))
  )
)
(DESCRIPTION =
  (PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
  )
  (ADDRESS = (PROTOCOL = TCP)(HOST = DEMO)(PORT = 2481))
)
  )

SID_LIST_LISTENER =
  (SID_LIST =
(SID_DESC =
  (GLOBAL_DBNAME = FW9i.DEMO)
  (ORACLE_HOME = /u03/app/oracle/product/9.2.0.1.0)
  (SID_NAME = FW9i)
)
  )


LISTENER_EXT =
(ADDRESS_LIST = 
 (ADDRESS = (PROTOCOL=IPC) 
 (key = extproc_key)
)
   )

SID_LIST_LISTENER_EXT = 
   (SID_LIST = 
(SID_DESC = 
 (SID_NAME = extproc_agent)
  (ORACLE_HOME = /u03/app/oracle/product/9.2.0.1.0)
   (PROGRAM = extproc)
   (ENV = "EXTPROC_DLLS=ANY")
 )
)


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


A free sql analysis tool

2004-01-08 Thread Hatzistavrou John








Dear All,

 

I have found this Perl script that makes an analysis
of 10046 SQL trace

 

http://brainshed.com/software/

 

Kind Regards,

 

 

Hatzistavrou Yannis

 








RE: Suggestions Needed: Latch free - library cache

2004-01-07 Thread John Kanagaraj
Title: Message



Tracy,
 
This 
is a very cursory answer... If this is the 'library cache' latch, then 
there *should* be a number of entries in V$LATCH_CHILDREN. Are the figures 
therein skewed in some way among the child latches? If so, you *may* have 
an issue where a particular application or SQL is not using bind variables. A 
look at V$SQL will reveal a lot. I would look at applications without bind 
variables. Also, you may look for any Object stats (ANALZYE) that has spilled 
over and is currently running during the daytime (overly zealous DBA starts off 
ANALYZE because 'performance is bad'!) - this will invalidate SQLs resulting in 
parsing (and thus latching).
 
Hth,

John KanagarajDB Soft IncPhone: 408-970-7002 
(W)Listen to great, commercial-free christian music 24x7x365 at http://www.klove.com** The opinions and 
facts contained in this message are entirely mine and do not reflect those of my 
employer or customers **

  
  -Original Message-From: Tracy Rahmlow 
  [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 
  2:40 PMTo: Multiple recipients of list ORACLE-LSubject: 
  Suggestions Needed: Latch free - library cacheWe have experienced intermittent problems (slow 
  response time) with our oltp database today.  There appears to be a large 
  number of latch free events and the p2 parameter is indicating an issue with 
  the library cache.  Any thoughts on where to go next? 
  American Express made the followingannotations on 01/07/2004 03:36:25 
  PM--**"This 
  message and any attachments are solely for the intended recipient and may 
  contain confidential or privileged information. If you are not the intended 
  recipient, any disclosure, copying, use, or distribution of the information 
  included in this message and any attachments is prohibited. If you have 
  received this communication in error, please notify us by reply e-mail and 
  immediately and permanently delete this message and any attachments. Thank 
  you."**==


RE: ora1652 question...

2004-01-06 Thread John Kanagaraj
Chris,

There are two options:

1. Easier, but requires a bounce : Add the following event into init.ora

event="1652 trace name processstate level 10"

This will dump the processstate for processing that encounter an ORA-01652.

And you can even add the following to capture 1555 and 4031 errors

event="1555 trace name errorstack level 3"
event="4031 trace name errorstack level 3"

**BUT**, keep _all_ 'event' lines together in the file (just as with
utl_file_dir entries)

2. Harder (requires coding/testing), but better control and options:

Create a System-level ON SERVERERROR trigger and check for 1652 (among
others) and record all the details into either alert.log (via
dbms_system.ksdwrt call), database table, utl_file etc.

Hth,
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Disappointment is inevitable, but Discouragement is optional! 

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Chris Stephens [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, January 06, 2004 2:10 PM
>To: Multiple recipients of list ORACLE-L
>Subject: ora1652 question...
>
>
>Is there an event to set where I can identify any sql that 
>receives a 1652
>error message?
>
>There is some process running each night in a reporting 
>database that has
>been generating this error for the past week.  I figured someone would
>complain.  That didn't happen so I went and asked the 
>reporting people if
>any of the reports were blowing up.  They said no.  I just set 
>up statspack
>and will run that every 10 minutes tonight.  I also have a 
>query that will
>capture the session info on sessions currently sorting that I 
>will run every
>10 minutes.  Neither of the techniques are very direct.  I 
>would imagine
>there is an event to set so that I can generate a trace file.  
>Any other
>suggestions of nailing this down would be appreciated.
>
>..and so I don't have to ask about events anymore...where do I 
>find what
>event means what?
>
>Thanks,
>Chris 
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Chris Stephens
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: oracle client on PC's

2004-01-06 Thread John Blake



we have a standard desktop or laptop image 
which we install the client  and create a package containing the 
change, we then push to the pc's that require the oracle client.
 
We use onames with a primary and secondary 
name server.

  -Original 
  Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Jeffrey 
  BeckstromSent: Tuesday, January 06, 2004 1:40 PMTo: 
  Multiple recipients of list ORACLE-LSubject: oracle client on 
  PC's
  Rather than installing the Oracle client on every client PC, we have 
  been:- installing client on 1 PC
  - copying directory to a network server
  - extract the registry for "oracle" key
  - fix registry that was extracted to reference the network drive
  - load registry on client PCs
  - add the network pc as a search drive to the client pc.
   
  We are now experiencing problems over the WAN and looking at ways to 
  eliminate the Oracle dll overhead.  Short of installing Oracle on every 
  client PC, what are our options?
   
   
   
  Jeffrey BeckstromDatabase AdministratorGreater Cleveland Regional 
  Transit Authority1240 W. 6th StreetCleveland, Ohio 
44113


RE: undotbs01.dbf just keeps growing

2004-01-06 Thread John Dunn
Daniel

How can i use the v$undostat.maxquerylen value to configuure the undo
tablespace?

Also, how can I tell what the longest transaction is actually doing?, i.e
what sql is being run?

John



-Original Message-
Sent: 05 January 2004 17:54
To: Multiple recipients of list ORACLE-L


Jared,

It sure is nice to be missed. I'll make sure my secretary calls you about my
future vacation plans...:)

You've nailed the problem. Autoextend, automatic undo and high undo
retention is
a recipe for high disk usage. The aum algorithm is such that preference is
given
to extending over reuse (especially since expire time propogation is a
problem).

In order to find the length of the longest transaction, reference the
v$undostat.maxquerylen value. Beware as there are known bugs with this view,
so
examine the output carefully to make sure it makes sense.

Daniel Fink

Jared Still wrote:

> The data file(s) for your undo tablespace is likely set
> as autoextend with an unlimited size.
>
> Run the attached script to check it.
>
> If so, you can use this to put a limit on it:
>
> alter database datafile '' autoextend on next 200m
> maxsize 2000m;
>
> Adjust the numbers for your system.
>
> You should probably investigate why it continues to grow so large.
>
> I haven't yet converted our production databases to UNDO, having
> only recently migrated to 9i, so I don't have any useful advice
> past this.
>
> There are others that will be able to offer more for this. ( Dan
> Fink, where are you?  This might even get Kirti to take a break
> from his book for a few minutes )
>
> HTH
>
> Jared

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Daniel Fink
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: freebie. Summarize Oracle Listener logs

2004-01-05 Thread Hallas, John, Tech Dev
Sorry  - meant to send just to Steve

Please ignore



-Original Message-
Hallas, John, Tech Dev
Sent: 05 January 2004 11:19
To: Multiple recipients of list ORACLE-L


Steve,
I have an awk script which does something similar - see code and example below
 
However I can put your file on my site where I have already stored your Perl script 
for getting the DDL out of an export file   ( www.hcresources.co.uk) if you wish.
 
Cheers
 
John
 
Service :Host :User :tcp:ip address

===

WMBT_DEV:CHALK :PARKR :tcp:10.33.33.215 13

WMBT_DEV:__jdbc__ :oracle :tcp:10.33.15.38 11

WMBT_DEV:__jdbc__ :oracle :tcp:10.33.15.43 1734

 

echo "Service :Host :User :tcp:ip address"

echo "==="

grep CONNECT b2tperf.log |\

awk -F= '{print $3 ":1:" $6 ":2:" $7 ":3:" $9 ":4:" $10 ":5:" $11}' |\

sed 's/).*:1:/:/' | \

sed 's/).*:2:/:/' | \

sed 's/).*:3:/:/' | \

sed 's/).*:4:/:/' | \

sed 's/).*:5:/:/' | \

sed 's/).*$//' | \

awk -F: '{printf("%-8.8s:%-16.16s:%-16.16s:%-3.3s:%-10.15s\n", \

$1,$2,$3,$4,$5)}' | sort > /tmp/j.lis

grep -v PROGRAM /tmp/j.lis > /tmp/j1.lis

cat /tmp/j1.lis | awk '{if (data[$0]++ == 0)lines[++count] = $0}\

END{for (i = 1; i <= count; i++)print lines[i],"\t"data[lines[i]]}'\

|sort -n +4

rm /tmp/j.lis

rm /tmp/j1.lis

 

 

 

-Original Message-
Sent: 05 January 2004 03:29
To: Multiple recipients of list ORACLE-L


I wanted to summarize our listener logs to see who's connecting with what tools. I 
checked google and didn't see anything, so I decided to write one. It may be useful to 
somebody else.
 
It summarizes the lines of a listener log. the output is similar to 
 
Ora Listener Log Summary V0.5
Oracle SID: ODP Log File: TSOORDDB.listener.log
Listener Started at: 06-DEC-2003 07:53:26
User Host Program Total
   
PA1DBO   TSOORA49 DMSERVER_V4.EXE 6,594
PW1DBO   TSOORA50 DLLHOST.EXE 1,514
IWAM_TSOORA50TSOORA50 DLLHOST.EXE   600
PW2DBO   TSOORA56 DLLHOST.EXE   362
ITMDBO   TSOORA52 SQLPLUS.EXE   166
SYSTEM   TSOORA56 MAPS_BIZ   88
PW3DBO   TSOORA57 TD2000.EXE 72
ASPNET   TSOORA56 ASPNET_WP.EXE  57
ORACLE   __JDBC__41
ARCDBO   SATSAP09 SQLPLUS.EXE12
2KNUPPS  SKNUPP-1 TOAD.EXE7
PERRYSM  SAIT02547SQLPLUSW.EXE6
2RILEYJ  GLEFIO01210  TOAD.EXE4
2MASHUA  GLEFIO01262  TOAD.EXE3
PA1DBO   TSOORA49 DMFILESCAN.EXE  3
PA1DBO   TSOORA49 DMCLEAN.EXE 3
LDQDBO   TSOORA24 JREW.EXE2
2SHURTN  GLEFIO01261  TOAD.EXE1
PW3DBO   TSOORA57 DBDBOIN.EXE 1
PA1DBO   TSOORA49 SQLPLUSW.EXE1
ODDDBO   TSOORD08 EXP.EXE 1
2KNUPPS  SKNUPP-1 SQLPLUSW.EXE1
PW2DBO   TSOORA56 SQLPLUSW.EXE1

 
notes:
It sorts in descending order by the connect attempts.
all connect lines are counted. It doesn't take into account if the connection was made 
- only that it was attempted. seperating the failed connections may be a future 
enhancement.
I just wrote it (and some cutting/pasting from the net), so it hasn't been burned in 
yet. 
It will process 100 meg of logs in few minutes. 
It was written for windows only. sorry, I work in a MicroSlop env... 
 
I have a  cmd file that I use to run it so it can process our current logs or older 
stuff.
Rather than pasting both of them inline, email me and I'll send them out.
if you want it bad :), email me at work  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
otherwise use  [EMAIL PROTECTED] and I'll get to it when I get home.
 
if somebody optimizes it, cleans it up,finds a flaw..., let me know so I can update it.
 
Steve
 
 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Hallas, John, Tech Dev
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and 

RE: freebie. Summarize Oracle Listener logs

2004-01-05 Thread Hallas, John, Tech Dev
Steve,
I have an awk script which does something similar - see code and example below
 
However I can put your file on my site where I have already stored your Perl script 
for getting the DDL out of an export file   ( www.hcresources.co.uk) if you wish.
 
Cheers
 
John
 
Service :Host :User :tcp:ip address

===

WMBT_DEV:CHALK :PARKR :tcp:10.33.33.215 13

WMBT_DEV:__jdbc__ :oracle :tcp:10.33.15.38 11

WMBT_DEV:__jdbc__ :oracle :tcp:10.33.15.43 1734

 

echo "Service :Host :User :tcp:ip address"

echo "==="

grep CONNECT b2tperf.log |\

awk -F= '{print $3 ":1:" $6 ":2:" $7 ":3:" $9 ":4:" $10 ":5:" $11}' |\

sed 's/).*:1:/:/' | \

sed 's/).*:2:/:/' | \

sed 's/).*:3:/:/' | \

sed 's/).*:4:/:/' | \

sed 's/).*:5:/:/' | \

sed 's/).*$//' | \

awk -F: '{printf("%-8.8s:%-16.16s:%-16.16s:%-3.3s:%-10.15s\n", \

$1,$2,$3,$4,$5)}' | sort > /tmp/j.lis

grep -v PROGRAM /tmp/j.lis > /tmp/j1.lis

cat /tmp/j1.lis | awk '{if (data[$0]++ == 0)lines[++count] = $0}\

END{for (i = 1; i <= count; i++)print lines[i],"\t"data[lines[i]]}'\

|sort -n +4

rm /tmp/j.lis

rm /tmp/j1.lis

 

 

 

-Original Message-
Sent: 05 January 2004 03:29
To: Multiple recipients of list ORACLE-L


I wanted to summarize our listener logs to see who's connecting with what tools. I 
checked google and didn't see anything, so I decided to write one. It may be useful to 
somebody else.
 
It summarizes the lines of a listener log. the output is similar to 
 
Ora Listener Log Summary V0.5
Oracle SID: ODP Log File: TSOORDDB.listener.log
Listener Started at: 06-DEC-2003 07:53:26
User Host Program Total
   
PA1DBO   TSOORA49 DMSERVER_V4.EXE 6,594
PW1DBO   TSOORA50 DLLHOST.EXE 1,514
IWAM_TSOORA50TSOORA50 DLLHOST.EXE   600
PW2DBO   TSOORA56 DLLHOST.EXE   362
ITMDBO   TSOORA52 SQLPLUS.EXE   166
SYSTEM   TSOORA56 MAPS_BIZ   88
PW3DBO   TSOORA57 TD2000.EXE 72
ASPNET   TSOORA56 ASPNET_WP.EXE  57
ORACLE   __JDBC__41
ARCDBO   SATSAP09 SQLPLUS.EXE12
2KNUPPS  SKNUPP-1 TOAD.EXE7
PERRYSM  SAIT02547SQLPLUSW.EXE6
2RILEYJ  GLEFIO01210  TOAD.EXE4
2MASHUA  GLEFIO01262  TOAD.EXE3
PA1DBO   TSOORA49 DMFILESCAN.EXE  3
PA1DBO   TSOORA49 DMCLEAN.EXE 3
LDQDBO   TSOORA24 JREW.EXE2
2SHURTN  GLEFIO01261  TOAD.EXE1
PW3DBO   TSOORA57 DBDBOIN.EXE 1
PA1DBO   TSOORA49 SQLPLUSW.EXE1
ODDDBO   TSOORD08 EXP.EXE 1
2KNUPPS  SKNUPP-1 SQLPLUSW.EXE1
PW2DBO   TSOORA56 SQLPLUSW.EXE1

 
notes:
It sorts in descending order by the connect attempts.
all connect lines are counted. It doesn't take into account if the connection was made 
- only that it was attempted. seperating the failed connections may be a future 
enhancement.
I just wrote it (and some cutting/pasting from the net), so it hasn't been burned in 
yet. 
It will process 100 meg of logs in few minutes. 
It was written for windows only. sorry, I work in a MicroSlop env... 
 
I have a  cmd file that I use to run it so it can process our current logs or older 
stuff.
Rather than pasting both of them inline, email me and I'll send them out.
if you want it bad :), email me at work  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
otherwise use  [EMAIL PROTECTED] and I'll get to it when I get home.
 
if somebody optimizes it, cleans it up,finds a flaw..., let me know so I can update it.
 
Steve
 
 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Hallas, John, Tech Dev
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTE

RE: stress testing

2004-01-02 Thread John Kanagaraj
Henry,

Sar is a better tool than vmstat/iostat as it collects a broad range of
information. Specifically, sar -q should show up CPU queueing and swapping,
and sar -v will show up file/process table overflow issues that may occur
during stress testing. IMHO, sar is quite underutilized ( had a paper on
this last IOUG, but couldn't go and present it :(

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Poras, Henry R. [mailto:[EMAIL PROTECTED] 
>Sent: Friday, January 02, 2004 10:54 AM
>To: Multiple recipients of list ORACLE-L
>Subject: stress testing
>
>
>We are planning on running some stress tests on a 
>PeopleSoft/Oracle/Solaris
>system starting next week (using LoadRunner). I have never 
>gone through a
>formalized stress test before (most of my stress is brought 
>about informally).
>So far I am planning to gather statspack information, and 
>periodically get
>vmstat from the OS. Is there anything else that I should 
>collect? Thanks for the
>help.
>
>Henry
>
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Poras, Henry R.
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Hardware for RAC?

2003-12-31 Thread John Kanagaraj
Title: Message



Chinedu/Chandra,
 
Although I agree that you can use different OEM vendors as long as the OS 
is the same, be aware of the increased chances for some cross-vendor problems. 
You necessarily don't want finger-pointing between vendors when problems occur 
(they will!) in a complex RAC environment.
 
Chinedu, before you launch into using/testing RAC, you should (or ITS 
should) ask itself the question 'Do I need RAC?'. Mogens Nørgaard, a 
guru from this list has an excellent article in IOUG's SELECT magazine on 
this topic. If you don't have IOUG membership, maybe Shell ITS can get one. 
Alternately, you may ask Mogens for a copy.
 

John KanagarajDB Soft IncPhone: 408-970-7002 
(W)Listen to great, commercial-free christian music 24x7x365 at http://www.klove.com** The opinions and 
facts contained in this message are entirely mine and do not reflect those of my 
employer or customers **

  
  -Original Message-From: Chandra Pabba 
  [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 
  2003 7:04 AMTo: Multiple recipients of list 
  ORACLE-LSubject: RE: Hardware for RAC?
  
  
Yes, you can use nodes from 
different OEM vendors for RAC. 
You will for sure need a private 
network or interconnect between the nodes for maintaining the 
heart-beat. 
   
  HTH
  Chandra
   
   
   
   
  -Original 
  Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ikediugwu, Chinedu 
  SITI-ITPSIESent: Wednesday, 
  December 31, 2003 7:00 AMTo: 
  Multiple recipients of list ORACLE-LSubject: Hardware for 
  RAC?
   
  
  Hello,
  
   
  
  I have 
  been asked to setup a test environment for RAC. However, I don't 
  know so much about hardware.  
  
   
  
  My 
  questions may appear dumb, please take no offence, I'm a beginning DBA and I 
  really want to know. 
  
   
  
  1. Can I 
  use 2 nodes of different makes (one IBM and one Compaq), but using same 
  Oracle and OS versions (9.2.0.4 & Linux 
  respectively)?
  
  2. Can I 
  set RAC up, using only the public network?
  
   
  
  Thanks 
  in advance
  
   
  
  Regards
  
  Chinedu
  
   
  
   
  
   


RE: undotbs01.dbf just keeps growing

2003-12-31 Thread John Dunn
Thanks Jared

<>

Whats the best way to go about identifying any large transactions?

John


-Original Message-
Sent: 31 December 2003 04:34
To: Multiple recipients of list ORACLE-L


The data file(s) for your undo tablespace is likely set
as autoextend with an unlimited size.

Run the attached script to check it.

If so, you can use this to put a limit on it:

alter database datafile '' autoextend on next 200m
maxsize 2000m;

Adjust the numbers for your system.

You should probably investigate why it continues to grow so large.

I haven't yet converted our production databases to UNDO, having
only recently migrated to 9i, so I don't have any useful advice
past this.  

There are others that will be able to offer more for this. ( Dan 
Fink, where are you?  This might even get Kirti to take a break
from his book for a few minutes )

HTH

Jared


On Tue, 2003-12-30 at 03:29, John Dunn wrote:
> I have recently installed Standard Engine 9.2 on AIX 5.2 and notice that
the
> undotbs01.dbf file just keeps on growing. It is now over 1 GB.
> 
> What could be the reason for this? Can I limit it's size and would this
> cause a problem too?
> 
> John
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: John Dunn
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> San Diego, California-- Mailing list and web hosting services
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


SQL*net message from client severly impact the Parse call of an insert statement

2003-12-31 Thread Hatzistavrou John








Dear All,

 

I am faced with the following situation.

Oracle 8.1.7.4. 64 bit , Solaris 8

 

There is a loader java process that when is executed
against a test database(dwdsa)the response time is as expected to be. However
when it is executed against the production instance (dwods) it is 2,5 to 3
times slower.

I have traced the session on both occasions and reading
the book of Carry Milsap I have spotted that the WAIT for SQL*Net message from
client is very high for the PARSE call of an INSERT statement, whereas for the
test instance there is no delay.

I cannot however explain what might be the cause of
this. Can somebody sched some light into this problem.

Attached please find the SQL 10046 trace with level 8

 

a)  
Production trace (parser_dwods.zip)

b)  
Test trace parser_dwdsa.zip

 

 

Kind Regards,

 

 

Hatzistavrou Yannis

 








parser_dwods.zip
Description: Zip compressed data
The previous attachment was filtered out by the ListGuru mailing
software at fatcity.com because binary attachments are not appropriate
for mailing lists.  If you want a copy of the attachment which was
removed, contact the sender directly and ask for it to be sent to
you by private E-mail.

This warning is inserted into all messages containing binary
attachments which have been removed by ListGuru.  If you have questions
about this message, contact [EMAIL PROTECTED] for clarification.


parser_dwdsa.zip
Description: Zip compressed data


RE: Apps 11.5.9 Disater Recovery Site

2003-12-30 Thread John Kanagaraj
Ron,

I entirely agree with Stephen. Apps is a different beast when it comes to
such stuff. Overall, the issues with incomplete recovery (i.e. recovery to a
previous point in time), especially in a complex, integrated ERP system such
as Oracle Apps 11i are many. You should only restore to a point in time as a
very last resort. Depending on modules and interfaces that were active at
the time of recovery, you would probably have system generated numbers (PO's
,Invoices, etc) that have been created and _already_ sent to customers and
suppliers. As well, many ERP systems send out (and receive) EDI data from
other external systems. Coordination of this could be a logistical nightmare
when you perform an incomplete recovery. This needs to be understood and
documented, otherwise you might end up having to "fix" complex data issues.
The key words are "Documentation/Understanding of Processes" and "Change
Control"

Happy New Year all!
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Karniotis, Stephen [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, December 30, 2003 4:09 PM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: Apps 11.5.9 Disater Recovery Site
>
>
>Ron:
>
>  I would definitely not suggest ignoring adpatch.  Should you 
>actually need
>to use this DR site and something went wrong, Oracle may not 
>offer you any
>help.  If rsync can offer you 100% replication than I would try it and
>validate it.  However, applications is a much different beast 
>than just the
>database.  File system names, node names, database names, tns names,
>userids, passwords, etc. are embedded within the code and are 
>very difficult
>to change.  It would be best to take a complete image copy of 
>the database
>environment, the apps environment and then use adpatch and 
>adadmin to verify
>the environment once completed.
>
>Thank You
>
>Stephen P. Karniotis
>Technical Alliance Manager
>Compuware Corporation
>Direct:(313) 227-4350
>Mobile:(248) 408-2918
>Email: [EMAIL PROTECTED] 
>Web:   www.compuware.com 
>
> -Original Message-
>Ron Thomas
>Sent:  Tuesday, December 30, 2003 6:35 PM
>To:Multiple recipients of list ORACLE-L
>Subject:   Apps 11.5.9 Disater Recovery Site
>
>I've been charged with bringing up a disaster recovery site, 
>so time to hit
>the books again as a lot
>has changed since the last time I did this. Looking for resource
>recommendations (FM to read, white
>papers, etc).
>
>Sticky part of this is it is an Applications 11.5.9 installation.  The
>database end of it should not
>be too difficult (8.1.7.4, soon to be 9.2.0.4), but the 
>applications file
>system is modified by the
>adpatch utility which adpatch requires a database connection 
>to function.  I
>can think of 2 ways to
>get around this requirement.
>1. set the two_task to point to a live test system, and run 
>adpatch force
>using the c and g drivers.
>The d driver would not need to be run since the changes will 
>come over via
>the archive logs.
>2. ignore adpatch utility completely and use rsync.
>
>Suggestion, comments?
>
>Thanks,.
>Ron Thomas
>Hypercom, Inc
>[EMAIL PROTECTED]
>Each new user of a new system uncovers a new class of bugs. -- 
>Kernighan
>
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Ron Thomas
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
>
>
>The contents of this e-mail are intended for the named 
>addressee only. It
>contains information that may be confidential. Unless you are the named
>addressee or an authorized designee, you may not copy or use 
>it, or disclose
>it to anyone else. If you received it in error please notify 
>us immediately
>and then destroy it. 
>
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: 

RE: Should we stop analyzing?

2003-12-30 Thread John Kanagaraj
I am surprised no one raised the issue of invalidations in the shared pool
caused by Stats gathering, and the parsing/reloading load that is caused
_after_ the extra I/O and changed plans due to ANALYZEs 

I have this 250Gb Apps database that is analyzed once a month and we have
not suffered due to incorrect or stale statistics. Projects in the new year
include revisting the Stats gathering schedules of all our 90+ databases,
some of which are analyzed daily :(

Have a happy, blessed new year all!
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Jonathan Lewis [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, December 30, 2003 8:44 AM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: Should we stop analyzing?
>
>
>
>That's (partly) what the 9i  dynamic sampling
>feature is for.  And such tables are, of course,
>going to be GTTs.
>
>
>Regards
>
>Jonathan Lewis
>http://www.jlcomp.demon.co.uk
>
>  The educated person is not the person
>  who can answer the questions, but the
>  person who can question the answers -- T. Schick Jr
>
>
>One-day tutorials:
>http://www.jlcomp.demon.co.uk/tutorial.html
>
>
>Three-day seminar:
>see http://www.jlcomp.demon.co.uk/seminar.html
>UK___November
>
>
>The Co-operative Oracle Users' FAQ
>http://www.jlcomp.demon.co.uk/faq/ind_faq.html
>
>
>- Original Message - 
>To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
>Sent: Tuesday, December 30, 2003 4:09 PM
>
>
>I'll see your 'analyzed every 4 hours' and raise you one. We have some
>tables that are analyzed every time they are used! They are 
>'work' tables
>that are sometimes empty, very full, or somewhere in between. Running
>something when the statistics say the table is full but 
>actually is empty
>takes a little longer when CBO says use indexes; however, if 
>CBO thinks the
>table is empty and does a FTS when there's actually a million 
>records, well
>let's just say it takes a while. Hints work sometimes; 
>however,  analyzing
>these table after they are populated and letting CBO do it's 
>job usually
>works best.
>
>
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Jonathan Lewis
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


undotbs01.dbf just keeps growing

2003-12-30 Thread John Dunn
I have recently installed Standard Engine 9.2 on AIX 5.2 and notice that the
undotbs01.dbf file just keeps on growing. It is now over 1 GB.

What could be the reason for this? Can I limit it's size and would this
cause a problem too?

John

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: A performance problem

2003-12-29 Thread John Kanagaraj
Venu,

You can work out the trace file name for Conc jobs. The OS process for a CM
job is stored in the ORACLE_PROCESS_ID in FND_CONCURRENT_REQUESTS for that
particular REQUEST_ID. You can then use this process number to generate the
trace file in udump (normally
$ORACLE_HOME/admin//udump/**.trc in the case of a UNIX based
11i DB server). Although this would have been just a SQL_TRACE (10046 Level
1), you can *still* run a tkprof on it to determine which SQL consumed the
most time

Hth,
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Disappointment is inevitable, but Discouragement is optional! 

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Potluri, Venu (CT Appl Suppt) [mailto:[EMAIL PROTECTED] 
>Sent: Monday, December 29, 2003 10:15 AM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: A performance problem
>
>
>John,
>
>I can run this in our development environment and trace the 
>job. But, the data is quite a bit larger in production. I 
>can't really take on a refresh/clone now and the prodcution 
>database is over 600GB
>in size. We do have trace for the job which was available 
>because the program definition for this custom feed job has 
>trace enabled in Apps. That trace file doesn't have any wait 
>event information.
>This job does use db link. We know that for sure. I advised 
>the developer who wrote this custom feed job to tune it but 
>that is never a satisfactory answer for them.
>
>
>Venu Potluri
>
>-Original Message-
>John Kanagaraj
>Sent: Monday, December 29, 2003 12:35 PM
>To: Multiple recipients of list ORACLE-L
>
>
>Venu,
>
>Trying to solve the performance issue with a *single* job with 
>Statspack is
>like searching for a needle in a haystack, especially in an Oracle Apps
>environment. You will need to trace the program *as it runs*, 
>and if you
>cannot do that right now, see if you can clone the database to 
>a test system
>and rerun it again. Btw, was this concurrent job an Oracle 
>standard job or
>was it a custom program? Any recent changes or patches to the 
>environment?
>Note that you *can* set trace (albeit just the plain vanilla 
>level 1) on a
>Concurrent job in 11i... As for the DB Link, can you determine if this
>indeed does use a Dblink or it is from somewhere else... [See 
>the problem
>with Statspack?!]
>
>John Kanagaraj
>DB Soft Inc
>Phone: 408-970-7002 (W)
>
>Grace - Getting something we do NOT deserve
>Mercy - NOT getting something we DO deserve
>Click on 'http://www.needhim.org' for Grace and Mercy that is freely
>available!
>
>** The opinions and facts contained in this message are 
>entirely mine and do
>not reflect those of my employer or customers **
>
>>-Original Message-
>>From: Potluri, Venu (CT Appl Suppt) [mailto:[EMAIL PROTECTED] 
>>Sent: Monday, December 29, 2003 8:44 AM
>>To: Multiple recipients of list ORACLE-L
>>Subject: A performance problem
>>
>>
>>I have a performance issue in our 11.5.5 Oracle Apps 
>>production environment (Oracle 8.1.7.4). A concurrent job that 
>>feeds into another production envrironment (Oracle 9.2) and 
>>runs less than an hour
>>typically suddenly took almost 20 hours to finish. The users 
>>are as expected up in arms calling my head on a platter. I 
>>looked at the statspack report for the database this job ran on.
>>
>>The Top5 Wait events were:
>>
>>Top 5 Wait Events
>>~ 
>>  
>>Wait EventWaits   
>>Time (cs) % Total Wt Time
>>---
>>
>>db file sequential read   15,978,336  
>> 5,809,27757.28
>>SQL*Net message from dblink   3,868   
>>1,960,168 19.33
>>db file scattered read  2,460,279  
>>943,252 9.30
>>control file sequential read 907,148   
>>   300,572  2.96
>>pipe put2,033  
>>208,850 2.06
>>  
>-
>>-> cs - centisecond -  100th of a second
>>-> ms - millisecond - 1000th of a second
>>-> ordered by wait time desc, waits desc (idle events last)
>>
>>   
>>   

RE: A performance problem

2003-12-29 Thread John Kanagaraj
Venu,

Trying to solve the performance issue with a *single* job with Statspack is
like searching for a needle in a haystack, especially in an Oracle Apps
environment. You will need to trace the program *as it runs*, and if you
cannot do that right now, see if you can clone the database to a test system
and rerun it again. Btw, was this concurrent job an Oracle standard job or
was it a custom program? Any recent changes or patches to the environment?
Note that you *can* set trace (albeit just the plain vanilla level 1) on a
Concurrent job in 11i... As for the DB Link, can you determine if this
indeed does use a Dblink or it is from somewhere else... [See the problem
with Statspack?!]

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Potluri, Venu (CT Appl Suppt) [mailto:[EMAIL PROTECTED] 
>Sent: Monday, December 29, 2003 8:44 AM
>To: Multiple recipients of list ORACLE-L
>Subject: A performance problem
>
>
>I have a performance issue in our 11.5.5 Oracle Apps 
>production environment (Oracle 8.1.7.4). A concurrent job that 
>feeds into another production envrironment (Oracle 9.2) and 
>runs less than an hour
>typically suddenly took almost 20 hours to finish. The users 
>are as expected up in arms calling my head on a platter. I 
>looked at the statspack report for the database this job ran on.
>
>The Top5 Wait events were:
>
>Top 5 Wait Events
>~ 
>   
>Wait Event Waits   
>Time (cs)  % Total Wt Time
>---
>
>db file sequential read15,978,336  
> 5,809,277 57.28
>SQL*Net message from dblink3,868   
>1,960,168  19.33
>db file scattered read  2,460,279  
>943,252  9.30
>control file sequential read 907,148   
>   300,572   2.96
>pipe put2,033  
>208,850  2.06
>  -
>-> cs - centisecond -  100th of a second
>-> ms - millisecond - 1000th of a second
>-> ordered by wait time desc, waits desc (idle events last)
>
>   
>   Avg
>   
>   Total Waitwait  Waits
>Event  WaitsTimeouts   
>Time (cs)(ms)  /txn
>  -- 
>--- -- -
>db file sequential read15,978,336   0  
>   5,809,277  4970.3
>SQL*Net message from dblink 3,868  0   
>1,960,168   5068   0.2
>db file scattered read 2,460,279 0 
>   943,2524149.4
>control file sequential read   907,1480
>   300,572355.1
>pipe put   2,033   2,032   
> 208,850  1027 0.1
>
>
>
>Breakdown of Wait time
>
>Event  TimePercentage  Avg. 
>Wait   Per Execute Per User Call   Per Transaction 
>db file sequential read5809277 60.16%  
>0.36   0.688.228762.11 
>SQL*Net message from dblink 196016820.30%  506.77  
>   0.232.772956.51 
>db file scattered read 943252  9.77%   
>0.38   0.111.341422.70 
>control file sequential read 3005723.11%   0.33
>   0.040.43453.35 
>pipe put   208850  2.16%   102.73  
>   0.020.30315.01
>
>Here are the top SQL statements ordered by physical reads per 
>execute: (these two happen to belong to this long running job)
>Statement  ExecutesPhysical Reads  
>Reads/Execute  Hashs Value % of Total
>INSERT INTO ML_MGMT_MCS_FEED SELECT /*+ ORDERED INDEX(MGNAL 
>ML_MGMT_DIST_NAT_AC_LKUP_X1) USE_MERGE(BAL) 
>*/SUBSTR(GLCC.SEGMENT3,1,6) CENTER,SUBSTR(MGNAL.G

Slow process

2003-12-24 Thread Hatzistavrou John








Dear All,

Season’s Greetings….

 

I have the following problem:

 

My system is a Oracle EE 8.1.7.4 64bit on Solaris 8 .

The last days the datawarehouse people complain that
their load process which inserts data into tables is half time as fast as it
was two days ago.

 

From v$session_wait I can see that the process is
spending time on SQL*Net message
from client.

The process is running on
server and it is using PROTOCOL=BEQ and not TCP.

 

May somebody help me clear
this mess.

 

Kind Regards,

 

 

Hatzistavrou Yannis

Database Administrator

SchlumbergerSema

Phone ext.  478

Email: [EMAIL PROTECTED]

 








RE: Who fired the trigger

2003-12-19 Thread John Weatherman
Would this help?

CREATE OR REPLACE TRIGGER [schema].[trigger_name]
BEFORE [CONDITIONS] ON [table_name]
FOR EACH ROW WHEN ( ( USER != '[USERNAME]' )
AND ...


John P Weatherman
Oracle Database Administrator
Replacements, Ltd.



-Original Message-
Sent: Friday, December 19, 2003 2:49 PM
To: Multiple recipients of list ORACLE-L


To All,

I'm feeling in a LAZY mood this afternoon so I'm going to ask the list if 
someone has an answer to this.  Otherwise I guess it will wait till Monday.

We have a before update trigger on a table to prevent assemblies on the line 
from being unscrapped.  But we also have a need o periodically unscrap stuff.  The 
question is can a trigger recognize who fired it & abort if that is a particular user?

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Goulet, Dick
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, 
include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be 
removed from).  You may also send the HELP command for other information (like 
subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Weatherman
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


problem with mult datafiles and local mng tblspaces

2003-12-19 Thread John Blake
I have a 9.2.0.3 DB running on AIX 4.3.3
An application running on W2K using SQLLDR to load approx 6g of data
using local managed tablespaces
ie..
CREATE TABLESPACE PARENTDAT
DATAFILE '/vol01/oradata/e450dev/parentdat01.dbf' SIZE 2000M REUSE,
'/vol01/oradata/e450dev/parentdat02.dbf' SIZE 2000M REUSE,
'/vol01/oradata/e450dev/parentdat03.dbf' SIZE 2000M REUSE,
'/vol01/oradata/e450dev/parentdat04.dbf' SIZE 2000M REUSE
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M
NOLOGGING
ONLINE;

It was taking 8 hours to load this data
1) copied the data to the AIX box and ran SQLLDR local to the DB and
received similar results
2) changed the tablespace to contain 1 8g datafile
3) ran SQLLDR from the W2K machine ..completed in 30minutes

Also
ran the same test on AIX 5.1 running oracle 9.2.0.3 and obtained the same
results.


I really would like to be able to create the tablespaces with multiple data
files but it seems whenever I add a datafile the
performance of the load degrades.

Any ideas??

Thanks in advance
John

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Blake
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: How to refresh

2003-12-16 Thread John Flack
The methodology we developed for one client goes like this:
There are three databases - dev, test, and prod.
dev starts as a clone of prod, and fixes, changes and enhancements are developed and 
unit tested there.  One of the REQUIRED products of development is a script that will 
upgrade prod to the new version.
When we are ready for complete testing of a new version of the entire application, 
test is recreated as a clone of prod.
We run the upgrade script against test.  If there are any problems, errors, missing 
stored procedures, or other missing or incorrect versions of database objects after 
running this script, the script must be corrected, and we start over with a fresh 
clone of prod.  By the way, VERY IMPORTANT: Data changes, such as new, updated or 
deleted rows in code or control tables are part of the upgrade, not just DDL changes.
Once the upgrade script has been run, test is a version beyond prod, and can be tested 
thoroughly.  If errors are found they are corrected and unit tested in DEV, not test, 
and then put into a corrected upgrade script, we may then correct test from the 
script, but testing is NOT complete until test is recreated as a clone of prod yet one 
more time, and upgraded with the script, and run through a battery of tests again.
By the time we finish testing, all we should have to do is run the upgrade script 
against prod and bring prod live in the new version.  Then we'll often recreate dev as 
a clone of prod.

-Original Message-
Sent: Tuesday, December 16, 2003 9:55 AM
To: Multiple recipients of list ORACLE-L


I need to do a refresh of a test database using production data.  We use
import for this.  In the past we have always dropped the schemas (4 or
5), recreated the schemas, and then did a full import with ignore=n.
This time the user does not want to lose any of the new functions and
procedures that are in test, but not in prod.  Instead, they would like
to just refresh the table data.  Last time we tried this we had all
kinds of trouble with functions, triggers, constraints, etc... and ended
up doing a full import.

Is there a tried and true way to just refresh the table data without
losing anything else and without having all the problems with triggers
and constraints?

Thanks!
Ron 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: 8i pl/sql question

2003-12-16 Thread John Flack
Does myFunction1 often get called with the same arguments?  In your example, the 
second argument is never repeated, but in the real thing, would the same second 
argument be likely to repeat?  If myFunction1 gets the same arguments, will it always 
return the same value?  If so, then it is a deterministic function, and you can 
declare it as one by putting the keyword DETERMINISTIC before the IS/AS in its header. 
 This way the optimiser will know not to recalculate the function if it is called 
again with the same arguments, but will reuse the value it calculated before.

-Original Message-
Sent: Monday, December 15, 2003 7:54 PM
To: Multiple recipients of list ORACLE-L


can you return multiple values from a modified version of myfunction(1) ?? If so, then 
you can replace multiple calls by only one. And no, bulk binds is only within 
dml/select statements.

Raj

Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-Original Message-
Sent: Monday, December 15, 2003 4:34 PM
To: Multiple recipients of list ORACLE-L


Hi:

Oracle 8173 DB.

I have a package funtion, part of it is doing something like this:

  utl_file.put_line(fpn,  myFunction1(myID, 1));
  utl_file.put_line(fpn,  myFunction1(myID, 8));
  utl_file.put_line(fpn,  myFunction1(myID, 6));
  utl_file.put_line(fpn,  myFunction1(myID, 35));
  utl_file.put_line(fpn,  myFunction1(myID, 33));
  utl_file.put_line(fpn,  myFunction1(myID, 7));
  utl_file.put_line(fpn,  myFunction1(myID, 102));
  utl_file.put_line(fpn,  myFunction1(myID, 10));
  utl_file.put_line(fpn,  myFunction1(myID, 9));
  utl_file.put_line(fpn,  myFunction1(myID, 15));
  utl_file.put_line(fpn,  myFunction1(myID, 2));

myFunction1 (returns a varchar2 string) here is another function in the same package 
and
it calls a bunch of other functions.

Is there a way to speed up the performance of the above lines by using "bulk bind"?
I am brain-dead now and can not seem to find if it can be done and/or how it can be 
done.

TIA.

Guang

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


Re: automate backup and export

2003-12-13 Thread John
Any reference concerning the rman?


- Original Message -
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 10:19 PM


> Yes. It's called "RMAN".
> On 12/12/2003 02:04:46 PM, John wrote:
> > Do you know any script for doing export and backup of Oracle 9i R2
server?
> >
> > My oracle is on a SuSE linux.
>
> Mladen Gogala
> Oracle DBA
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Mladen Gogala
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> San Diego, California-- Mailing list and web hosting services
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


automate backup and export

2003-12-12 Thread John



Do you know any script for doing export and backup of Oracle 9i R2 
server?My oracle is on a SuSE linux.


IT at Walmart and Kmart - keeping it On-Topic

2003-12-12 Thread John Kanagaraj
Just trying to keep this On-topic! See extract of Wal-Mart's IT approach vs
K-Mart 

http://searchcio.techtarget.com/originalContent/0,289142,sid19_gci938869,00.
html?track=NL-35

Wal-Mart's "step change" approach to IT investment during the 1990s is a
great example. First, the company installed software to manage the flow and
storage of products through its far-flung network of suppliers, warehouses
and distribution centers. Once it had automated product flow, it focused on
using IT to coordinate its operations more tightly with those of its
suppliers, leveraging its greater efficiency. With that smoother
coordination, Wal-Mart could invest effectively in technology to plan the
mix and replenishment of its goods. Finally, after integrating all these
capabilities, the company built a data warehouse that uses information
pulled from a range of sources to handle complex queries.

Kmart, by contrast, made a misstep in its IT investments that undermined
their effectiveness. It invested in systems to improve promotions management
before it had installed the supply chain systems necessary to handle
fluctuations in sales volume. As a result, it was unable to capitalize on
the more precisely targeted promotions. Many retail banks also made errors
in sequencing. They invested in popular customer relationship management
systems before they had built repositories of consistent and reliable
customer data. Not surprisingly, the CRM investments fell well short of
expectations.

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Disappointment is inevitable, but Discouragement is optional! 

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: DENNIS WILLIAMS [mailto:[EMAIL PROTECTED] 
>Sent: Friday, December 12, 2003 8:14 AM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: Re[2]: 
>http://www.wintercorp.com/vldb/2003_TopTen_Survey/TopT
>
>
>Mladen
>   I'm pretty confident of one thing -- if they weren't 
>selling, Wal-Mart
>would quickly stop selling them at that store. Most people 
>don't think about
>it, but Sam Walton figured out a couple of things early on:
>  1. If you don't have the item on the shelf, people can't buy it.
>  2. Hire a smart computer systems manager.
>  3. Your control of your own data is a competitive weapon.
>The system they created was flexible enough to be expanded to 
>many, many
>stores.
>In his book "Sam Walton: Made in America", Sam lavishes praise on his
>systems people. The Kmart leadership, on the other hand, was 
>often quoted in
>the press about how they were able to reduce their I.T. expense.
>
>Dennis Williams
>DBA
>Lifetouch, Inc.
>[EMAIL PROTECTED] 
>
>-Original Message-
>Sent: Friday, December 12, 2003 9:54 AM
>To: Multiple recipients of list ORACLE-L
>http://www.wintercorp.com/vldb/2003_TopTen_Survey/TopT
>
>
>
>>  
>> Jonathan is correct - WalMart uses Teradata.
>
>And they're selling gallon-sized Vlasic pickles. I always wondered who
>was buying such a monstrosity. It's a bi-annual pickles supply 
>in a single
>package.
>
>Mladen Gogala
>Oracle DBA
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Mladen Gogala
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: DENNIS WILLIAMS
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity

RE: Performance tuning in complex environment

2003-12-11 Thread John Kanagaraj
Reminds me of the day when a third-party developed app (main batch program)
ran *very* slowly - the user department went out and bought this app and
server on their own without IT's blessing or support (a different story).
Dialogue below:

Third-party Developer (TPD): This same batch program which runs 1hr 30 min
on your box completes under 30 min at our Office with *your* data. We
suggest obtaining an IBM S80 because it is 3 times faster than your current
box

(IBM On-site person: Yes! Yes!!!)

User Department Manager (UDM): Ok - we have a $100,000 budget for this -
lets go out and buy this h/w (We need to go through IT for this purchase)

My Manager, when approached with this issue (MM): I know your TPD has this
view, but can my Sr. DBA look at this problem?

UDM: Ok, but I doubt anything can be done since my TPD says so...

TPD: Hey, your DBA can't mess with our code!

Sr.DBA (Me!): Ok - let's take a look at V$SYSTEM_EVENT, V$SESSION_EVENT and
V$SESSION_WAIT when your program runs...

Me: Hey - what's this session doing with 'SQL*Net Message from dblink'? This
is the top wait (more than 99% of TIME_WAITED in V$SESSION_EVENT)

TPD: Yeah - we have a view that makes a call to your employee table sitting
on your prod box to fetch the Emp name, once for every row in the loop
(1000s of rows, 3300 rows a pop)

Me: Haven't you guys heard of Replicated Tables? 

TPD: What's that? 

Me: (after creating a local copy and replacing the view with an indexed
table) Run your program now...

TPD: Hey - it finished in 5 minutes!!! We don't need to buy any other box!

UDM: I like that!!! Thanks!!

MM: Well done - I knew my DBA could do it!

(IBM On-site person: [EMAIL PROTECTED]@#&*()+__@)

Me: (Hitting myself on the head, and thinking to myself: I should have asked
for just 1% of the $$ that would have otherwise been unnecessarily spent on
that great big H/w box :(

Moral of the story:

(a) Never ass*u*me anything - ask for stats to prove any 'assumption'
(b) Get the right tools to determine the problem area (and use it correctly)

Afterthought (c) - Follow Gary Goodman's principle: Ask for 10% of the $$
allocated for the h/w that would have otherwise been spent on *trying* to
solve the problem by throwing h/w at it! (Cary - correct me if I erred
here!)

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] 
>Sent: Thursday, December 11, 2003 11:29 AM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: Performance tuning in complex environment
>
>
>Not really sure what happened and why we decided to that. I 
>was involved in the beginning of project and remembered that 
>PM was mentioning about talking to another Logician client who 
>were facing same issues. 
>
>-Original Message-
>Jamadagni, Rajendra
>Sent: Thursday, December 11, 2003 10:55 AM
>To: Multiple recipients of list ORACLE-L
>
>
>Ummm ... what was the problem that prompted you guys to 
>replace citrix servers? 
>
>Raj
>---
>-
>Rajendra dot Jamadagni at nospamespn dot com
>All Views expressed in this email are strictly personal.
>QOTD: Any clod can have facts, having an opinion is an art !
>
>
>-Original Message-
>[mailto:[EMAIL PROTECTED]
>Sent: Thursday, December 11, 2003 1:35 PM
>To: Multiple recipients of list ORACLE-L
>
>
>Hello Everyone, I am trying to get some help/suggestions reg. 
>how to troubleshoot performance issues.
>
>Little back ground about our environment. Its third party 
>application (Logician) from GE. There are total 11 databases, 
>all on oracle 8174 H-UX 11i in cluster environment. All the 
>databases are on EMC Symmetrix using 6 disks. All the clients 
>are connecting to database thru Citrix terminal servers. 
>In last one year we spend lots of time/money in tuning 
>databases, replacing Citrix servers but end result is same. I 
>was wondering if anybody out there has ran into same kind of 
>situation. Our (DBAs) guess is the disk layout is not optimal 
>but we also dont have any data to prove that disks are the 
>bottleneck. Is there any way to collect these kinds of stats 
>in Oracle. We aren't getting much help from our SAN administrator.
>
>
>
>DISCLAIMER:
>This message is intended for the sole use of the individual to 
>whom it is addressed, and may contain information that is 
>privileged, confidential and exempt f

RE: Code Conversion from MSSQL into Oracle

2003-12-11 Thread Hallas, John, Tech Dev
Steve Perry from this list produced a perl script to read a import file (rows=n) and 
produce formatted DDL.
Whilst it is not perfect (as Steve agrees) it does give a good basis of where to start 
with processing and transforming a text input stream into a text output stream whilst 
making a small no of changes)  - or ETL as it is called these days, using PERL as the 
mechanism.
 
I host the zip file on my site at http://www.hcresources.co.uk/perlscript.shtml
 
I hope someone finds it useful.   If they do thank Steve.
 
HTH 
 
John

-Original Message-
Sent: 11 December 2003 12:55
To: Multiple recipients of list ORACLE-L


10 years ago or so, I wrote a 105 line script for the UNIX "sed" (a.k.a. "stream 
editor") command to convert Teradata "BTEQ" scripts into Oracle SQL*Plus.  Painful, 
yet thrilling, and it took only about a day of concentration with the O'Reilly "Awk 
and Sed" book at hand.

I'll bet you can write something (whether in "sed" or "awk" or Perl or Java) faster 
than it takes you find a TransactSQL-to-PL/SQL converter...?  And if you don't know 
Perl (probably the best choice) yet, this exercise could be the opportunity to put a 
huge new skill into the old skillset...

Just a thought...



on 12/11/03 4:49 AM, VIVEK_SHARMA at [EMAIL PROTECTED] wrote:





Are there any TOOLs for converting Sample Code (like the following) from MSSQL into 
Oracle?



SAMPLE :-



DECLARE @entity_id char(32), @branch_id char(9)



DECLARE  cur_temp_GEMT CURSOR FOR select

branch_id,entity_id from GEMT where other_party_name='' and entity_type='D'



OPEN cur_temp_GEMT   



FETCH NEXT FROM cur_temp_GEMT INTO

 @branch_id,@entity_id

 

WHILE @@FETCH_STATUS = 0



BEGIN





UPDATE GEMT SET other_party_name=(SELECT name from GEAT where branch_id [EMAIL 
PROTECTED] and [EMAIL PROTECTED] and  addr_type='1' and entity_type='D') where [EMAIL 
PROTECTED] and branch_id = @branch_id



FETCH NEXT FROM cur_temp_GEMT INTO

 @branch_id,

 @entity_id





END



CLOSE cur_temp_GEMT

DEALLOCATE cur_temp_GEMT










-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Hallas, John, Tech Dev
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: long raw risk

2003-12-10 Thread John Flack
The reason that vendors often use LONG RAW is that that datatype meets the ANSI SQL 
standard, while BLOB doesn't.  That way, they can use the same DDL against most SQL 
databases.  Sometimes you can modify the vendor's DDL before or during installation.  
Sometimes you can re-create a table right after installation, as long as the columns 
have the same name and a compatible datatype (and BLOB is somewhat compatible with 
LONG RAW) - but I'd test this thoroughly before I'd go production.

There is a performance risk, but it can be minimized, especially if your vendor lets 
you change what tablespace will be used for the table and its indexes.  I'd put it in 
a tablespace away from the rest of the tables.

-Original Message-
Sent: Wednesday, December 10, 2003 1:30 PM
To: Multiple recipients of list ORACLE-L


Group, 

I have just been given a project / database
where a vendor will implement a table 
with a LONG RAW field in it.

Oracle manuals state clearly that this datatype 
is outdated and should be replaced by BLOB,
I quoted the manuals to vendor-support, but they
will not move on this. 

>From the looks of it, the table with the LR field
will become the largest table in the system, with
well over a billion records in it after the 1st yr.

My main worry is inefficiency in retrieving 
records from the table, and most importantly, 
I cannot partition a table with long/longraw 
columns in it.

On first tests, the LRs are >1K, whereas
the record-without-LR is avg 66 bytes.
In real-life, the LR is probably bigger still.

Quesions:
 - Is there a real performance-risk ?
   Up to now, I always managed to offload LONG/BLOBs
   into separate tables or into LOB-storage clauses,  
   but I see now way to do that here.
 - Given the LongRaw datatype, what are my best 
   defences against (potential) performance problems.

Anyone been-there-done-that ?

Regards, 

PdV
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: can't see a SQL generated by Crystal Report

2003-12-09 Thread John Flack
I happen to know that you have to work hard to keep Crystal from doing a SELECT * and 
doing its own filtering and grouping.  It can be done, but you have to KNOW that that 
is what you want to do, i.e. novices will let Crystal do what it wants.

-Original Message-
Sent: Tuesday, December 09, 2003 1:45 PM
To: Multiple recipients of list ORACLE-L


I'm not sure. I'm talking to the application team to
see what exactly is being done behind the scene. I do
know that I can't capture queries running via
ColdFusion server and thought that there may be
something like that with Crystal.

Gene
--- Yechiel Adar <[EMAIL PROTECTED]> wrote:
> Are you sure that Crystal does not do any local
> processing on the data?
> 
> Yechiel Adar
> Mehish
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: A brief detour....;-)

2003-12-09 Thread John Flack
My memories of PL/1 are more unusual - I programmed a pre-CPM Z80 based machine in its 
own dialect of PL/1 in the late 70s early 80s.

-Original Message-
Sent: Tuesday, December 09, 2003 10:49 AM
To: Multiple recipients of list ORACLE-L


You are bringing up old memories.
I had both PL/1 and assembler (IBM mainframe) in the early 70's.

Yechiel Adar
Mehish
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: OpenLDAP instead of OID

2003-12-09 Thread Hatzistavrou John
l communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

-- 
Mladen Gogala
Oracle DBA
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Hatzistavrou John
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: OS calls with java stored procedures

2003-12-09 Thread John Flack
I'm working from memory here, but there is a procedure in a built-in package, I think 
it is DBMS_JAVA, that redirects standard output from a Java Stored Procedure to the 
same buffer that DBMS_OUTPUT uses.  You call this procedure, then your Java method, 
and then you can SET SERVEROUTPUT ON to see the output in SQL*Plus or you can read it 
with DBMS_OUTPUT.GET and DBMS_OUTPUT.GET_LINE.

-Original Message-
Sent: Tuesday, December 09, 2003 8:35 AM
To: Multiple recipients of list ORACLE-L


Im playing with the example in tom kytes book. we have alot of korn shell scripts that 
we use as functions. 

We 'echo' out values to standard out. is there anyway to catch this echo with a java 
stored procedure? I thought about redirecting it to a file and reading it in with 
utl_file, but that makes it more complex. 

any other way to do this? 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: tis a puzzlement...

2003-12-05 Thread John Weatherman
9i imp handles 8i dmp files.  9i exp does not like to connect to 8i databases though.

At least that has been my experience migrating one of our 3rd party DBs.


John P Weatherman
Oracle Database Administrator
Replacements, Ltd.



-Original Message-
Sent: Friday, December 05, 2003 1:34 PM
To: Multiple recipients of list ORACLE-L


Jared Still  scribbled on the wall in glitter crayon:

> Bill, why are you trying to export an 8i database with 9i exp?

because i thought i read somewhere that it would work.  maybe i'm confusing it with 
imp?  will 9i imp read an 81 exp file?

it's either that, or i've experienced an ORA 99 - brain burnt out.;-)

--
Bill "Shrek" Thater ORACLE DBA  
"I'm going to work my ticket if I can..." -- Gilwell song
[EMAIL PROTECTED]

Great spirits have always found violent opposition from mediocrities. The latter 
cannot understand it when a man does not thoughtlessly submit to hereditary prejudices 
but honestly and courageously uses his intelligence. - Albert Einstein
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Thater, William
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, 
include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be 
removed from).  You may also send the HELP command for other information (like 
subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Weatherman
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: tis a puzzlement...

2003-12-05 Thread John Flack
Usual rule of thumb - export using the oldest RDBMS version in the transfer, import 
using the imp for the database to which you are importing.  So export with your 8.1.7 
version of exp, and if you are moving to 9.2 import with the 9.2 version of imp.

-Original Message-
Sent: Friday, December 05, 2003 1:00 PM
To: Multiple recipients of list ORACLE-L


Bill, why are you trying to export an 8i database with 9i exp?

The export views are different, it shouldn't be expected to work.

I don't believe there is any equivalent of catexp7 for 8i/9i.

Jared

On Fri, 2003-12-05 at 09:29, Thater, William wrote:
> database 8.1.7.2  Solaris 64 bit
> 
> exp 9.2.0.1/8.1.7
> 
> same user, same database, schema export, same command line options
> 
> exp user/[EMAIL PROTECTED] compress=n rows=y file=export.dmp log=log.txt
> 
> 8.1.7 exports fine. 9.2.0.1 gives an ORA 942.
> 
> OK so what am i missing here?  which FM do i RT?  i thought the 9 would
> export an 8.1.7 database or am i misunderstanding what i've read?
> 
> --
> Bill "Shrek" Thater ORACLE DBA  
> "I'm going to work my ticket if I can..." -- Gilwell song
> [EMAIL PROTECTED]
> 
> 1916 General theory of relativity. Gravity is a warping of space-time. -
> Albert Einstein
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: java package to run OS command

2003-12-05 Thread John Dunn
Thanks for all the replies...I'm wading through them!

One more question...Do I always need to specify the full path of a Unix
command e.g /usr/bin/mv rather then just mv

That is something I don't currently need to do when using an external
procedure.

John


-Original Message-
Sent: 04 December 2003 20:15
To: Multiple recipients of list ORACLE-L


No, but it disallows command chains - only single commands are permitted.
If you want to run more than one command you have to write it as a shell
script, and the full path to that shell script must be approved for the
current user in the PRODUCT_PROFILE table.  Normally, we will only allow
scripts to run from certain controlled directories.  But we need to be able
to permit commands that we didn't think about when we wrote the procedure,
and prefer to do this table driven rather than by changing programs.

-Original Message-
Sent: Thursday, December 04, 2003 1:39 PM
To: Multiple recipients of list ORACLE-L


will it catch following command apart from "rm -rf" ???

find /var/opt/oracle/logs -mtime +1 -type f -name "*.trc"|perl -nle unlink

Probably not ... and that's why it is dangerous ...  basically you should
have a set of fixed programs that can be called and accept only arguments
from calling programs. That will give at-least more control.

Raj


Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-Original Message-
Sent: Thursday, December 04, 2003 1:29 PM
To: Multiple recipients of list ORACLE-L


Dick, harsh words, hmmm?  Powerful tools can also be powerful weapons in the
wrong hands.  But don't blame the toolmaker.

John, the reason that running an OS command is such a hassle is that it can
be horribly destructive to your server.  An OS command that runs from a Java
Stored Procedure such as the one from www.oracle-base.com that I gave you or
the one that Tom Kyte wrote and published on Ask Tom will have all the
permissions of the oracle database.  Which means that it can be abused to
absolutely destroy the database, just as in Dick's example.

Doing this with an external procedure as we do is also dangerous.  If you
use a separate Oracle Net listener for them, instead of LISTENER, and have
another user besides the database owner (usually oracle) start that
listener, and password protect the listener, you can at least have some
control over the permissions, which will be those of the user that starts
the listener.  People who run Oracle under Windows may be out of luck here -
it is harder to get this running under a less privileged account in Windows.

We do one more thing for security.  We have a special schema in the database
called COMMON that owns tables and stored procedures that are usable by all
applications.  We put the stub program for the external procedure that
executes OS commands in a package as a private procedure.  The public
procedure that calls this private procedure can examine the OS command
first.  Certain commands, like "rm -fr" are absolutely forbidden, and raise
an exception.  Other commands are checked against the PRODUCT_PROFILE table
which we set up much as for restrictions for what commands certain users may
run in SQL*Plus.  If the current user (or schema) does not have the explicit
privilege to run that OS command, we raise an exception.

You could easily put a similar protective shell around the Java version of
the same thing.


**
This e-mail message is confidential, intended only for the named
recipient(s) above and may contain information that is privileged, attorney
work product or exempt from disclosure under applicable law. If you have
received this message in error, or are not the named recipient(s), please
immediately notify corporate MIS at (860) 766-2000 and delete this e-mail
message from your computer, Thank you.

**4
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jamadagni, Rajendra
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET

RE: java package to run OS command

2003-12-04 Thread John Flack
No, but it disallows command chains - only single commands are permitted.  If you want 
to run more than one command you have to write it as a shell script, and the full path 
to that shell script must be approved for the current user in the PRODUCT_PROFILE 
table.  Normally, we will only allow scripts to run from certain controlled 
directories.  But we need to be able to permit commands that we didn't think about 
when we wrote the procedure, and prefer to do this table driven rather than by 
changing programs.

-Original Message-
Sent: Thursday, December 04, 2003 1:39 PM
To: Multiple recipients of list ORACLE-L


will it catch following command apart from "rm -rf" ???

find /var/opt/oracle/logs -mtime +1 -type f -name "*.trc"|perl -nle unlink

Probably not ... and that's why it is dangerous ...  basically you should have a set 
of fixed programs that can be called and accept only arguments from calling programs. 
That will give at-least more control.

Raj

Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-Original Message-
Sent: Thursday, December 04, 2003 1:29 PM
To: Multiple recipients of list ORACLE-L


Dick, harsh words, hmmm?  Powerful tools can also be powerful weapons in the wrong 
hands.  But don't blame the toolmaker.

John, the reason that running an OS command is such a hassle is that it can be 
horribly destructive to your server.  An OS command that runs from a Java Stored 
Procedure such as the one from www.oracle-base.com that I gave you or the one that Tom 
Kyte wrote and published on Ask Tom will have all the permissions of the oracle 
database.  Which means that it can be abused to absolutely destroy the database, just 
as in Dick's example.

Doing this with an external procedure as we do is also dangerous.  If you use a 
separate Oracle Net listener for them, instead of LISTENER, and have another user 
besides the database owner (usually oracle) start that listener, and password protect 
the listener, you can at least have some control over the permissions, which will be 
those of the user that starts the listener.  People who run Oracle under Windows may 
be out of luck here - it is harder to get this running under a less privileged account 
in Windows.

We do one more thing for security.  We have a special schema in the database called 
COMMON that owns tables and stored procedures that are usable by all applications.  We 
put the stub program for the external procedure that executes OS commands in a package 
as a private procedure.  The public procedure that calls this private procedure can 
examine the OS command first.  Certain commands, like "rm -fr" are absolutely 
forbidden, and raise an exception.  Other commands are checked against the 
PRODUCT_PROFILE table which we set up much as for restrictions for what commands 
certain users may run in SQL*Plus.  If the current user (or schema) does not have the 
explicit privilege to run that OS command, we raise an exception.

You could easily put a similar protective shell around the Java version of the same 
thing.

**
This e-mail message is confidential, intended only for the named recipient(s) above 
and may contain information that is privileged, attorney work product or exempt from 
disclosure under applicable law. If you have received this message in error, or are 
not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 
and delete this e-mail message from your computer, Thank you.
**4
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jamadagni, Rajendra
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of &#

RE: java package to run OS command

2003-12-04 Thread John Flack
Dick, harsh words, hmmm?  Powerful tools can also be powerful weapons in the wrong 
hands.  But don't blame the toolmaker.

John, the reason that running an OS command is such a hassle is that it can be 
horribly destructive to your server.  An OS command that runs from a Java Stored 
Procedure such as the one from www.oracle-base.com that I gave you or the one that Tom 
Kyte wrote and published on Ask Tom will have all the permissions of the oracle 
database.  Which means that it can be abused to absolutely destroy the database, just 
as in Dick's example.

Doing this with an external procedure as we do is also dangerous.  If you use a 
separate Oracle Net listener for them, instead of LISTENER, and have another user 
besides the database owner (usually oracle) start that listener, and password protect 
the listener, you can at least have some control over the permissions, which will be 
those of the user that starts the listener.  People who run Oracle under Windows may 
be out of luck here - it is harder to get this running under a less privileged account 
in Windows.

We do one more thing for security.  We have a special schema in the database called 
COMMON that owns tables and stored procedures that are usable by all applications.  We 
put the stub program for the external procedure that executes OS commands in a package 
as a private procedure.  The public procedure that calls this private procedure can 
examine the OS command first.  Certain commands, like "rm -fr" are absolutely 
forbidden, and raise an exception.  Other commands are checked against the 
PRODUCT_PROFILE table which we set up much as for restrictions for what commands 
certain users may run in SQL*Plus.  If the current user (or schema) does not have the 
explicit privilege to run that OS command, we raise an exception.

You could easily put a similar protective shell around the Java version of the same 
thing.

-Original Message-
Sent: Thursday, December 04, 2003 12:29 PM
To: Multiple recipients of list ORACLE-L


John,

I agree and am encouraging the external C procedures since their simpler, and 
can create log files as well.  BTW: Whoever authored the Java procedure on that web 
page should be shot.  I can just see someone passing 'rm -fr $ORACLE_HOME' to it.

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-Original Message-
Sent: Thursday, December 04, 2003 12:00 PM
To: Multiple recipients of list ORACLE-L


yeah, I'm trying to get away from C external procedures ...but java is
beginning to look just as much a hassle.

Why is running a OS command such hassle?


-Original Message-
Sent: 04 December 2003 15:40
To: Multiple recipients of list ORACLE-L


Here's another link to a good Java Stored Procedure for this:
http://www.oracle-base.com/Articles/8i/ShellCommandsFromPLSQL.asp

But the same caveats apply.  We're using an external procedure written in C
for this instead of Java, and I use a shell that checks PRODUCT_PROFILE for
authority to run the command, before it will call the extproc.  I'm happy to
share source code with anyone interested it doing it this way, but external
procedures are a bit harder to set up than Java Stored Procedures and open
you to a few security hazards.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: java package to run OS command

2003-12-04 Thread John Dunn
yeah, I'm trying to get away from C external procedures ...but java is
beginning to look just as much a hassle.

Why is running a OS command such hassle?


-Original Message-
Sent: 04 December 2003 15:40
To: Multiple recipients of list ORACLE-L


Here's another link to a good Java Stored Procedure for this:
http://www.oracle-base.com/Articles/8i/ShellCommandsFromPLSQL.asp

But the same caveats apply.  We're using an external procedure written in C
for this instead of Java, and I use a shell that checks PRODUCT_PROFILE for
authority to run the command, before it will call the extproc.  I'm happy to
share source code with anyone interested it doing it this way, but external
procedures are a bit harder to set up than Java Stored Procedures and open
you to a few security hazards.

-Original Message-
Sent: Thursday, December 04, 2003 10:09 AM
To: Multiple recipients of list ORACLE-L


John, it is available on asktom as well, but read the caution Tom explains.
Restrict it to only executables you want. Asktom has example.

Raj


Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-Original Message-
Sent: Thursday, December 04, 2003 9:44 AM
To: Multiple recipients of list ORACLE-L


Which book is that?



-Original Message-
Sent: 04 December 2003 14:35
To: Multiple recipients of list ORACLE-L


its in tom kytes first book. might be on his webpage. 
> 
> From: John Dunn <[EMAIL PROTECTED]>
> Date: 2003/12/04 Thu AM 08:49:25 EST
> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> Subject: java package to run OS command
> 
> I need a java package that will allow me to run OS commands(Unix) from a
> stored procedure.
> 
> Anyone got one?
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: John Dunn
>   INET: [EMAIL PROTECTED]
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: java package to run OS command

2003-12-04 Thread John Dunn
Which book is that?



-Original Message-
Sent: 04 December 2003 14:35
To: Multiple recipients of list ORACLE-L


its in tom kytes first book. might be on his webpage. 
> 
> From: John Dunn <[EMAIL PROTECTED]>
> Date: 2003/12/04 Thu AM 08:49:25 EST
> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> Subject: java package to run OS command
> 
> I need a java package that will allow me to run OS commands(Unix) from a
> stored procedure.
> 
> Anyone got one?
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: John Dunn
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> San Diego, California-- Mailing list and web hosting services
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: <[EMAIL PROTECTED]
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: java package to run OS command

2003-12-04 Thread John Flack
Here's another link to a good Java Stored Procedure for this:
http://www.oracle-base.com/Articles/8i/ShellCommandsFromPLSQL.asp

But the same caveats apply.  We're using an external procedure written in C for this 
instead of Java, and I use a shell that checks PRODUCT_PROFILE for authority to run 
the command, before it will call the extproc.  I'm happy to share source code with 
anyone interested it doing it this way, but external procedures are a bit harder to 
set up than Java Stored Procedures and open you to a few security hazards.

-Original Message-
Sent: Thursday, December 04, 2003 10:09 AM
To: Multiple recipients of list ORACLE-L


John, it is available on asktom as well, but read the caution Tom explains. Restrict 
it to only executables you want. Asktom has example.

Raj

Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-Original Message-
Sent: Thursday, December 04, 2003 9:44 AM
To: Multiple recipients of list ORACLE-L


Which book is that?



-Original Message-
Sent: 04 December 2003 14:35
To: Multiple recipients of list ORACLE-L


its in tom kytes first book. might be on his webpage. 
> 
> From: John Dunn <[EMAIL PROTECTED]>
> Date: 2003/12/04 Thu AM 08:49:25 EST
> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> Subject: java package to run OS command
> 
> I need a java package that will allow me to run OS commands(Unix) from a
> stored procedure.
> 
> Anyone got one?
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: John Dunn
>   INET: [EMAIL PROTECTED]
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


background process "LGWR" did not start

2003-12-04 Thread John Dunn
Anyone know what might be causing this error? Oracle 8.1.7 on Solaris.

 background process "LGWR" did not start


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


java package to run OS command

2003-12-04 Thread John Dunn
I need a java package that will allow me to run OS commands(Unix) from a
stored procedure.

Anyone got one?


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Verifying success of dbms_repcat.execute_ddl

2003-12-02 Thread John Kanagaraj
Paul,

How about an ON DDL system trigger on the source (and possibly target)
databases? This trigger can log any and every detail of the who/what/when
whenever *any* DDL is performed by whoever...

Let me know if you need more details.
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Paul Baumgartel [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, December 02, 2003 4:29 PM
>To: Multiple recipients of list ORACLE-L
>Subject: Verifying success of dbms_repcat.execute_ddl
>
>
>I'm trying to determine when execution of DDL via
>DBMS_REPCAT.EXECUTE_DDL completes successfully on all master sites. 
>I'm not sure how the DDL is propagated, but it doesn't appear to be via
>the replication administrator's scheduled jobs:  I've removed the
>dbms_defer_sys.push job (via dbms_defer_sys.unschedule_push), and
>broken the dbms_repcat.do_deferred_repcat_admin job, then run
>dbms_repcat.execute_ddl.  The results show up on the other master
>database within a couple of seconds.
>
>Anyway:  If there is an error produced by the EXECUTE_DDL call, Oracle
>returns an error message immediately, and the error is also logged in
>dba_repcatlog (this led me to believe that execute_ddl calls were
>handled by dbms_repcat.do_deferred_repcat_admin, but that doesn't
>appear to be the case), so error detection is easy.  What I need,
>though, is to be able to tell _when_ the DDL has been run on each
>master database (I am running a batch job that disables all FKs, then
>runs an import; the first attempt produced failures because the row
>insertions caused by the import arrived at the other master DB _before_
>the FK disablement).
>
>Any help appreciated.  TIA.
>
>
>
>
>=
>Paul Baumgartel
>Transcentive, Inc.
>www.transcentive.com
>
>__
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now
>http://companion.yahoo.com/
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Paul Baumgartel
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


Re: FRM-41072

2003-11-30 Thread John



I have no access to metalink.
So far, i had no problem get connected to the 
Oracle 9i R2 with a 7.3.3. client (ORANT).
 
If i try to connect with an Oracle Client 9i r2 to 
an Oracle 7.3.3. then it fails
 
 
- Original Message - 

  From: 
  Yechiel 
  Adar 
  To: Multiple recipients of list ORACLE-L 
  
  Sent: Sunday, November 30, 2003 1:04 
  PM
  Subject: Re: FRM-41072
  
  Hello John
   
  From you description of the problem I suspect that you 
  use 7.3 client.
  See note 172179.1 on metalink about which client connect 
  to which server.
  Yechiel AdarMehish
  
- Original Message - 
From: 
John 
To: Multiple recipients of list ORACLE-L 

Sent: Saturday, November 29, 2003 8:14 
PM
Subject: FRM-41072

Do you know how to overcome this 
problem?
 
Currently my forms work good with a 7.3.3 
Database Server.
While i get connected to the 9.2.0.1 
database i receive this error "Cannot create the Group"
My forms have been created by the 
Developer/2000 which i don;t own.
 
I feel that i have something missed to migrate 
to the new DB Server.
 
Could you help me a little?
 
John


Re: FRM-41072

2003-11-29 Thread John
How to set SQL_TRACE on on my server? I am quite novice.


- Original Message -
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Saturday, November 29, 2003 9:54 PM


> John,
>
> This sounds like an application specific error.
>
> Was there an 'ORA-' error?
>
> If not, you will need to do some digging to find
> out what the app is attempting to do.
>
> Perhaps setting SQL_TRACE on for the session would
> provide some clues, especially if you don't have
> source for the app.
>
> Jared
>
> On Sat, 2003-11-29 at 10:14, John wrote:
> > Do you know how to overcome this problem?
> >
> > Currently my forms work good with a 7.3.3 Database Server.
> > While i get connected to the 9.2.0.1 database i receive this error
"Cannot create the Group"
> > My forms have been created by the Developer/2000 which i don;t own.
> >
> > I feel that i have something missed to migrate to the new DB Server.
> >
> > Could you help me a little?
> >
> > John
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Jared Still
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> San Diego, California-- Mailing list and web hosting services
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


FRM-41072

2003-11-29 Thread John



Do you know how to overcome this 
problem?
 
Currently my forms work good with a 7.3.3 Database 
Server.
While i get connected to the 9.2.0.1 database 
i receive this error "Cannot create the Group"
My forms have been created by the Developer/2000 
which i don;t own.
 
I feel that i have something missed to migrate to 
the new DB Server.
 
Could you help me a little?
 
John


RE: RBO to CBO migration books/ material

2003-11-13 Thread John Kanagaraj
Suhen,

>Any good books available to convert applications from RBO to CBO.
>References to Oracle 9i.

I am not aware of any book, but there is a limited number of articles/papers
(most well-known is Tim Gorman's 'Search for intelligent life in the CBO' at
http://www.evdbt.com) that can point you in the right direction. My humble
addition is the one at http://www.geocities.com/john_sharmila/links.htm -
there are a number of ML articles on the CBO itself that will help: Doc ID:
35934.1 is a good one to start. I would personally do the following:

* Trace all SQL coming into a live RBO-only system 
* Identify any code that uses the RULE Hint (in spite of being in a RULE
based DB)
* Create a clone of prod on a server of the same or similar capacity
* Collect Statistics (COMPUTE if you can)
* Set the OPTIMIZER_MODE to CHOOSE; review/reset other CBO related
parameters (see my paper)
* Let the Developers and UA testers loose on that Db
* Use Cary's method to identity the top set of business processes and
determine if the performance is Ok
* If not Ok, then tune it...

All the best!
John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Disappointment is inevitable, but Discouragement is optional! 

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Multi-threaded server - will it help in this case

2003-11-11 Thread John Kanagaraj
Jared,

I don't think that is what Tim meant. You can use something akin to the
following:

For an MTS connection/client:

MYDB_MTS.MYCOMPANY.COM = (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)
(HOST=MYHOST.MYCOMPANY.COM)(PORT=7505))(CONNECT_DATA=(SID=MYSID)))

For a dedicated connection/client:

MYDB_DEDICATED.MYCOMPANY.COM = (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)
(HOST=MYHOST.MYCOMPANY.COM)(PORT=7505))(CONNECT_DATA=(SID=MYSID)(SERVER=DEDI
CATED)))

The only difference is in the TNS handles and the entry they point to which
differs in content. The SERVER=DEDICATED will bypass the MTS configured
default connection.

You can do this via ONAMES too (and I know you use one!) - see
Note:1036577.6. Btw, I am currently in the UK helping with a Name Server
rollout..

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **
>-Original Message-
>From: Jared Still [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, November 11, 2003 7:29 AM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: Multi-threaded server - will it help in this case
>
>
>Tim,
>
>This bit:
>
>> accomodate this application.  Please be aware that you can
>> mix dedicated and MTS by setting up different TNS names on
>> different ports for each, so it is not an all-or-nothing
>
>seems to imply that MTS and Dedicated will each require their
>own listener ( different ports).  Been awhile since I messed 
>with MTS, but I don't recall that as being necessary.
>
>Is that what you meant?
>
>Jared
>
>
>
>On Tue, 2003-11-11 at 07:04, Tim Gorman wrote:
>> Peter,
>> 
>> MTS (or SS in 9i onwards) is an excellent choice to
>> accomodate this application.  Please be aware that you can
>> mix dedicated and MTS by setting up different TNS names on
>> different ports for each, so it is not an all-or-nothing
>> situation.  Most connections to the database outside of this
>> CAE app will likely be better served with dedicated
>> connections, so just dole out TNS names accordingly.
>> 
>> Also, please be sure to estimate the size of your UGA by
>> tracking values (i.e. name like '%uga%') in V$SESSTAT at
>> peak periods then sizing the Large Pool to accomodate,
>> before you enable MTS.  Unless you're really constrained for
>> memory, don't be shy about this;  double the highest value
>> you sum from V$SESSSTAT to be safe.  After enabling MTS,
>> monitor the value of "free memory" where POOL = 'large pool'
>> in V$SGASTAT.  If you've oversized, you can start backing
>> down on LARGE_POOL_SIZE gently, if you need the memory
>> elsewhere...
>> 
>> Hope this helps...
>> 
>> -Tim
>> 
>> > Environment:  AIX 4.3
>> > Oracle 8.1.7
>> > 
>> > The application is a CAE tool which stores metadata for
>> > a hierarchy of 3D engineering design models.
>> > When a user opens a model at a given level in the design,
>> > the application retrieves data about that model and all of
>> > the models below it in the design try.  This often
>> > involves as many as 100 or more models. 
>> > Unfortunately, the way the application is written, it
>> > opens a new connection to the database for each model. 
>> > Thus, in the process of retrieving
>> > metadata, it may open and close as many as 100 connections
>> > to the database. Obviously, this causes some performance
>> > problems, especially for  remote users.  The number of
>> > users when the system goes fully into production
>> > is going to be in the low 100's.
>> > 
>> > The vendor is not interested in changing the way the
>> > software works. 
>> > Will use of the mult-threaded server improve performance
>> > in this situation, for
>> > example, by eliminating the overhead of starting a
>> > dedicated server for each connection?
>> > 
>> > Thanks,
>> > Peter Schauss
>> -- 
>> Please see the official ORACLE-L FAQ: http://www.orafaq.net
>> -- 
>> Author: Tim Gorman
>>   INET: [EMAIL PROTECTED]
>> 
>> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>> San Diego, California-- Mailing list and web hosting services
>> -
>>

RE: shareplex: datatype unsupported

2003-11-05 Thread Hallas, John, Tech Dev
Please bear in mind that there is one thing in a datatype being supported and another 
in all functions and features of Shareplex being usable when that datatype is involved.

I am thinking about datatype long specifically.

We have been replicating a 8i database (tru64) to a 9i one (sun)using Shareplex for 
months and we have tested the reverse replication and that works equally well. That is 
not to say that we have not had problems though !!


John

-Original Message-
elain he
Sent: 05 November 2003 12:04
To: Multiple recipients of list ORACLE-L


Hi,
We are evaluating using either Oracle logical standby or Quest Shareplex 
replication for reporting purposes. It appears that there are quite a few 
datatypes not supported by Logical standby. Anyone knows what datatypes are 
not supported by shareplex replication? Tried looking up at quest website 
but could not find any documentation.

Quest claimed that shareplex can replicate database of different versions, 
for eg from 9i to 8i as long as the 9i new features are not being utilized. 
Anyone has any experience with that?

Thanks.

elain

_
MSN Messenger with backgrounds, emoticons and more. 
http://www.msnmessenger-download.com/tracking/cdp_customize

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: elain he
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Hallas, John, Tech Dev
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Re[2]: Sequences in OPS/RAC

2003-11-03 Thread John Kanagaraj
All,

Just wanted to point out that 'missing' invoice numbers caused by a variety
of causes (even if they were not cached), can cause problems for
Accounting/Finance Depts in certain countries. Basically, the Govt looks on
this as being used for 'tax avoidance', unless proved otherwise. You *can*
miss uncached sequences under certain conditions when the Db restarts or a
short burst of SQL causes pressure on the DD cache... Had this occur once in
an Apps database and had to apply patches to undo and put back the
sequence...

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Sent: Monday, November 03, 2003 10:29 AM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: Re[2]: Sequences in OPS/RAC
>
>
>The problem is that the ORDER clause comes at the expense of
>CACHE.  You can use SQL tracing to verify that each use of
>the sequence causes an update of SYS.SEQ$ when ORDER is set,
>effectively rendering the CACHE setting a no-op.  So,
>especially in an OPS/RAC environment, the use of ORDERED
>sequences, especially heavily used ORDERED sequences, comes
>at a steep price.
>
>Think about it:  is ORDERED *really* necessary?  In some
>situations (i.e. check numbers), the ORDERED clause would be
>necessary, but unless you are pumping out thousands of
>checks an hour, perhaps a cached sequence shouldn't be used.
> But for system-generated keys, surrogate keys, etc, I don't
>think the semantics of ORDERED are necessary at all.
>
>
>
>> Hi,
>> 
>> I have RAC and I always use ORDER when I create SEQUENCE. 
>> The following information is from Oracle Manual: 
>> ORDER is necessary only to guarantee ordered generation if
>> you are using Oracle with Real Application Clusters. If
>> you are using exclusive mode, sequence numbers are always
>> generated in order. 
>> Muqthar Ahmed
>> 
>> -Original Message-
>> Sent: Monday, November 03, 2003 12:04 PM
>> To: Multiple recipients of list ORACLE-L
>> 
>> 
>> Hello Hemant,
>> 
>> Monday, November 3, 2003, 11:29:26 AM, you wrote:
>> HKC> However, the Builder.Com article quite explicity
>> asserts HKC> "Sequence generator numbers are guaranteed to
>> be unique only for a single  HKC> instance, which is
>> unsuitable for use as a primary key in parallel or  HKC>
>> remote environments, where a sequence in each environment
>> might generate  HKC> the same number and result in
>> conflicts 
>> Can you point us to the article? My guess is that the
>> author is not familiar with Oracle, and is basing the
>> above statement on his experience with some other database
>> (DB2 perhaps?). There is no problem with using sequence
>> numbers in a RAC. No conflicts will occur. I've never
>> heard of a problem in that regard.
>> 
>> Best regards,
>> 
>> Jonathan Gennick --- Brighten the corner where you are
>> http://Gennick.com * 906.387.1698 *
>> mailto:[EMAIL PROTECTED] 
>> Join the Oracle-article list and receive one
>> article on Oracle technologies per month by 
>> email. To join, visit
>> http://four.pairlist.net/mailman/listinfo/oracle-article, 
>> or send email to [EMAIL PROTECTED] and 
>> include the word "subscribe" in either the subject or
>> body. 
>> -- 
>> Please see the official ORACLE-L FAQ:
>> http://www.orafaq.net -- 
>> Author: Jonathan Gennick
>>   INET: [EMAIL PROTECTED]
>> 
>> Fat City Network Services-- 858-538-5051
>> http://www.fatcity.com San Diego, California--
>> Mailing list and web hosting services
>> --
>> --- To REMOVE yourself from this mailing list,
>> send an E-Mail message to: [EMAIL PROTECTED] (note
>> EXACT spelling of 'ListGuru') and in the message BODY,
>> include a line containing: UNSUB ORACLE-L (or the name of
>> mailing list you want to be removed from).  You may also
>> send the HELP command for other information (like
>> subscribing). -- 
>> Please see the official ORACLE-L FAQ:
>> http://www.orafaq.net -- 
>> Author: Muqthar Ahmed
>>   INET: [EMAIL PROTECTED]
>> 
>> Fat City Network Services-- 858-538-5051
>> http://www.fatcity.com San Diego, California--
>> Mailing list and web hosting services
>> 

RE: Moving projects from development/test to production

2003-10-31 Thread John Kanagaraj
Dennis,

You guessed correctly that this is ITIL based. I completed a Foundation
certificate in ITIL way back in '96 when it was still UK based more than
what it is now. The principles still stand, and the organization I worked
for implemented some kind of CMDB. Unfortunately, they got into very low
level details for the Cis and the project became too big to get off the
ground One needs to find a balance. OTOH, the tools to help implement
ITIL have come a long way since and I mentioned some good ones (at least
ones that I have seen).

Most of ITIL is just common-sense distilled into a framework for IT
processes that define what an IT organization needs to get things done
properly. However, in my limited understanding, the IT scene and
organizations changes direction and in leadership so rapidly that one needs
an evolving plan (to say the least).

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Disappointment is inevitable, but Discouragement is optional! 

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: DENNIS WILLIAMS [mailto:[EMAIL PROTECTED] 
>Sent: Friday, October 31, 2003 8:55 AM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: Moving projects from development/test to production
>
>
>Helmut
>   I don't think this is off-topic, but something that many of 
>us Oracle
>DBAs wrestle with.
>   If you kept John Kanagaraj's posting yesterday on the DBA Support
>Database topic, it contains the "big picture". If you didn't 
>keep it, email
>me privately and I'll send it. I believe he is referring to the ITIL
>standards body.  There is probably an ITIL user group near you 
>or a company
>that gives talks from time to time. That is the easiest way to get an
>overview of ITIL. Our organization is "evolving" in that 
>direction. Overall,
>this is a long-term commitment by your organization. You don't change
>everything overnight.
>   One immediate change you can implement is a "staging" 
>system. Most of us
>currently have a test or development system. Staging is an 
>exact copy of
>production in all respects. From the database side, cloning 
>the database or
>using RMAN DUPLICATE works very well. Then the development team makes a
>release to you. Ideally this is on a CD-ROM labeled 1.1 or 
>whatever. You
>take the CD-ROM and instructions and apply the changes to the staging
>server. Then the staging system is tested. If it is deemed 
>satisfactory,
>then you schedule a time and make the changes on production. 
>If it fails the
>testing or you are unable to apply the changes, then it gets 
>bounced back to
>the development group. The release may include application or 
>web server
>changes that must be coordinated with database changes. This is a small
>change, but it has helped our releases.
>
>Dennis Williams
>DBA
>Lifetouch, Inc.
>[EMAIL PROTECTED] 
>
>-Original Message-
>Sent: Friday, October 31, 2003 1:59 AM
>To: Multiple recipients of list ORACLE-L
>
>
>Hi!
>
>A somewhat off-topic question this time.
>
>I am put in charge of defining the procedure of moving projects from
>test/development into the production environment. This is to 
>be seen from
>the entire IT-perspective (i.e. not just databases, but also 
>Unix, Oracle
>and SAN). I.e. we should come up with check-lists and the 
>like; although
>having an eye on quality assurance...
>
>We urgently need to set procedures up for that since the last 
>time this was
>a nightmare...
>
>Did anybody out there work on a similar project? What are the 
>procedures
>that you are following?
>
>Any input would be appreciated.
>
>This is 9.2 on HP-UX 11.
>
>Thanks,
>Helmut
>
>
>Helmut Daiminger
>
>WWK Lebensversicherung a.G. 
>Marsstrasse 37
>80292 München
>Telefon: (0 89) 51 14 - 3490
>Fax: (0 89) 51 14 - 27 62 
>mailto:[EMAIL PROTECTED]
>http://www.wwk.de
>
>*** select 'bye for now' from sys.dual ***
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>-- 
>Author: Daiminger, Helmut
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services-- 858-538-5051 http://www.fatcity.com
>San Diego, California-- Mailing list and web hosting services
>-
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).  You may
>also send the HELP command for other info

RE: xdb and xschema

2003-10-31 Thread John Kanagaraj
M,

There are a large number of articles on XML in SELECT - IOUG's technical
journal (requires membership though). And I am sure that OTN has a ton of
XML/XDB articles as well - they may a good starting point.

J
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve
Mercy - NOT getting something we DO deserve
Click on 'http://www.needhim.org' for Grace and Mercy that is freely
available!

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **
-Original Message-
Sent: Friday, October 31, 2003 4:34 PM
To: Multiple recipients of list ORACLE-L


I've been tasked to create an xschema in the XDB repository.  I'm new to
xml.  Is there a good place to start?
I've run the catqm.sql script to create the XDB repository, but I'm
searching for the next steps.  Any help appreciated.
TIA
M.


Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


Re: Client Search Info Needed

2003-10-31 Thread John Shaw



In order to find all your clients with wild cards you would have to use a 
function like upper(lastname) like 'MCD%' - but you really don't want to be 
doing full table scans. You could create a function based to look at your data 
based upon the function ie:
CREATE INDEX emp_name_index ON emp ( UPPER(ename)) ;As for finding 
alternative spellings of the last name you will porbably want to use a 
soundex function - you can use the default one in Oracle, it does work OK for 
basic functionality.>>> [EMAIL PROTECTED] 10/30/2003 5:14:25 
PM >>>
I am looking for an efficient solution to the following:We intend 
to capture information about a client such as:first name - Johnlast 
name - McDonaldphone numer - 222.222.zip code - 4state - 
FLclient number - 123343The names will be stored in mixed case for 
proper printing on client documents.The reps would like the flexiblity to 
enter the search criteria in a number offormats such as:1)  
last name like mcdon* (wildcard) and first name = john2)  client number 
= 123343 (note: some clients do not always have their clientnumber handy so 
it can not be the only available search mechanism)3)  last name = mac 
gregor (and locate both macgregor and mac gregor)4)  last name = 
kinney-jones (and locate both kinney-jones and kinney jones)How many 
indexes and of what type are required?  Does the leading the column 
ofan index have to be specified for the index to be used?  I thought I 
rememberhearing that that was a limitation of an older release, but that is 
no longerthe case with 8 and up.   Are there any white papers 
available that address thetopic of client search and best 
practices?Thanks for your help!!American Express 
made the followingannotations on 10/30/2003 04:11:07 
PM--** 
"This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited.  If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments.  Thank 
you."**==-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net-- Author: Tracy 
Rahmlow  INET: [EMAIL PROTECTED]Fat City Network 
Services    -- 858-538-5051 http://www.fatcity.comSan Diego, 
California    -- Mailing list and web 
hosting 
services-To 
REMOVE yourself from this mailing list, send an E-Mail messageto: 
[EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and inthe message 
BODY, include a line containing: UNSUB ORACLE-L(or the name of mailing list 
you want to be removed from).  You mayalso send the HELP command for 
other information (like subscribing).


Oracle Licensing

2003-10-31 Thread Hatzistavrou John

Dear All,


Oracle licensing has been a subject that often is risen by somebody.
I though I shall share this with you.


Regards,


Hatzistavrou Yannis


Oracle_SW_License_Guide.pdf
Description: Binary data


RE: Table partitioning Oracle 9.2

2003-10-31 Thread John Weatherman
Vikas,

Are you asking if deallocated extent space can be reused by the "current" partition or 
wether new dates will suddenly go into a partition that explicitly excludes them?


John P Weatherman
Oracle Database Administrator
Replacements, Ltd.



-Original Message-
Sent: Friday, October 31, 2003 3:24 AM
To: Multiple recipients of list ORACLE-L


--=_MAILER_ATTACH_BOUNDARY1_2003103151337181540383426
Content-Type: text/plain; charset=us-ascii

 


RDBMS Version: 9.2.0.1.0
Operating System and Version: Solaris 8
Error Number (if applicable): 
Product (i.e. SQL*Loader, Import, etc.): Partitioned Table Product Version: 9.2.0.1.0

Table partitioning

Hi, 

I've a query reg. space usage in context of partitioned tables. 

I've a table with 12 partitions P_1 ... P_12. Until now data 
got populated in P_1 upto P_6 and future data will come in P_7 etc. 
If i delete some huge amount of data from P_1 (after archiving it) 
will that freed space be used by future inserts (which happens in subsequent 
partitions like P_7 etc). 
Unfortunately, we can't delete all data in partition. We have to keep some data which 
account say 5% of total data. ie, we're deleting 95% of data from a partition. So, 
will this freed blocks be put to free list and used by future inserts? 
Data is partitioned by date. So, my query is whether Oracle will put future data 
(which belongs to partition P_7 etc.) in space earlier used by P_1.

Any help from members is appreciated. 

Thanks, 
Vikas 

Get Your Private, Free E-mail from Indiatimes at  http://email.indiatimes.com Buy The 
Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for Air Tickets on Air Sahara Flights. For Best Deals, log on to 
http://airsahara.indiatimes.com and Bid Now !

--=_MAILER_ATTACH_BOUNDARY1_2003103151337181540383426
Content-Type: text/html; charset=us-ascii

 
RDBMS Version: 9.2.0.1.0Operating System and Version: 
Solaris 8Error Number (if applicable): Product (i.e. SQL*Loader, 
Import, etc.): Partitioned TableProduct Version: 9.2.0.1.0Table 
partitioningHi, I've a query reg. space usage in context of 
partitioned tables. I've a table with 12 partitions P_1 ... P_12. Until now 
data got populated in P_1 upto P_6 and future data will come in P_7 etc. If i 
delete some huge amount of data from P_1 (after archiving it) will that freed 
space be used by future inserts (which happens in subsequent partitions like P_7 etc). 
Unfortunately, we can't delete all data in partition. We have to keep some data 
which account say 5% of total data. ie, we're deleting 95% of data from a partition. 
So, will this freed blocks be put to free list and used by future inserts? Data is 
partitioned by date. So, my query is whether Oracle will put fu!
! tu! re data (which belongs to partition P_7 etc.) in space earlier used by 
P_1.Any help from members is appreciated. Thanks, Vikas  
Get Your Private, Free E-mail from Indiatimes at  
http://email.indiatimes.com";>http://email.indiatimes.comBuy The Best In BOOKS at http://www.bestsellers.indiatimes.com";>http://www.bestsellers.indiatimes.comBid
 for Air Tickets on Air Sahara Flights. For Best Deals, log on to http://airsahara.indiatimes.com";>http://airsahara.indiatimes.com and Bid Now 
!

--=_MAILER_ATTACH_BOUNDARY1_2003103151337181540383426--

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Vikas S
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, 
include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be 
removed from).  You may also send the HELP command for other information (like 
subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Weatherman
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Oracle Apps: Single Node or Multi-node install?

2003-10-31 Thread John Weatherman
Nahata,

My experience is a little dated, having not worked with 11i (just up through 10.5), 
however in my experience  a n-node install would be preferable.  At least when I was 
working with the Apps, it was a lot easier to size the database/concurrent processing 
server in terms of overall horsepower (memory/cpu) to get consistent performance, or 
at least know that at X time, there would be some slowdowns (usually when 1000+ 
reports got kicked off for month end).  The form/web piece was highly variable in what 
it needed however.  My isolating it on another server, it was a lot easier to 
demonstrate needing an additional forms server.  I also found that the database/cm 
tier tended to be a lot more stable than the machine where all those web connections 
were being made.  Using more than 1 web/forms server helped to work around 
unanticipated machine problems.

I was generally working with Financials (AR, AP, GL) and OE, with a little 
Manufacturing thrown in.

Just my $0.02.

John P Weatherman
Oracle Database Administrator
Replacements, Ltd.



-Original Message-
Sent: Friday, October 31, 2003 12:24 AM
To: Multiple recipients of list ORACLE-L


Hi,

We are implementing Oracle Apps version 11.5.9 on Solaris with the following
modules:
  AR, AP, GL, FA, CM, Project Billing, Project Costing, PO, iProcure, iExpense

The anticipated load is: 
20 Forms users
500 Web users

Should we go for 2 Node install or a single node install? I know the answer is "it 
depends", but what are the factors I should consider in choosing between the two?

Regards
Naveen
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Naveen, Nahata (IE10)
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, 
include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be 
removed from).  You may also send the HELP command for other information (like 
subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Weatherman
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: Overhead Associated with Signon Audit in Financials 11.0

2003-10-30 Thread John Kanagaraj
For all the non-APPS DBAs out there...

Oracle Applications 10.4 onwards (lowest version I have seen) provides for a
feature called 'Signon Auditing'. This is NOT Oracle's Auditing (which goes
into SYS.AUD$). It is a parameter driven auditing that records all Users
that logged in when set to USER, Application Responsibilities that they
chose (upon login as well as subsequently switched to) when set to
RESPONSIBILITY, in addition to recording the USER level, and the Forms that
they chose to run when set to FORMS, in addition to that recorded at
RESPONSIBILITY and USER levels. Thus, when set to FORMS, a user login would
at best produce a minimum of three rows, etc. These rows are updated when
the user logged out, so all sorts of reports about who is/was logged on,
forms currently being used, etc. can be determined. In fact, for an Apps DBA
to tie back a session to an actual user, at least USER level signon auditing
should be turned on. The problem with Apps is that all users would login in
the APPS schema using the encrypted password which is  obtained using a
dummy connection... Forms and further Access is then determined by
'Responsbilities' that are in turn tied to 'Organizations' and 'Datasets'.
By default, almost all Applications tables record the last updated user and
timestamp, so there is some inbuilt auditing, albeit not a trail. Oracle
provides an additional Audit function that performs an audit trail for such
datasets, and this can produce significant overhead for data storage. 

Thus all discussions about SYS.AUD$ are not really relevant in this
particular thread, although some good ideas have been aired. Switching on
Auditing without understanding what is ultimately required would be very
counterproductive, whether this is on an APPS database or not, in any case. 

[As an aside, most of this is enabled via the AOL - Applications Object
Layer (aka FND - Foundation Layer) and is a solid example of providing
'Application' infrastructure. And don't get me started on the Concurrent
Processing - that's an excellent one too]

I am going to stop now and let Apps gurus such as Andy R, Tanel and Tim G
comment.

John Kanagaraj
Oracle Applications DBA
DB Soft Inc
Work : (408) 970 7002

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com

** The opinions and facts contained in this message are entirely mine
and do not reflect those of my employer or customers **


>-Original Message-
>From: Mladen Gogala [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 30, 2003 1:39 PM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: Overhead Associated with Signon Audit in Financials 11.0
>
>
>It is true, auditing adds significant overhead, but not 
>session auditing.
>Significant overhead is added by DML auditing because you ad 
>significant
>amount of modified blocks to every transaction you audit, you 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: DBA Support Database

2003-10-30 Thread John Kanagaraj
Paul,
 
Kevin Loney was the original author of the CC Db - way back in the Oracle7
handbook. I used to have a schema built on that basis in a previous job, and
it served the  purpose well. However, the problem does remain that 'linking'
it to other parts of the IT infrastructure will not work on account of
*everyones* inability (dare I mention 'apathy') to keep it up to date. And
yes - Greg's expensive free comment is well taken. An enterprise IT
repository is well worth it, but it can and will be a bear to get off the
ground unless there is some serious Management committment behind it. If
executed and maintained well, it can relieve a lot of pressure and work and
add value to the 'business' [Hope I don't sound like damagement :) ]
 
John Kanagaraj 
Oracle Applications DBA 
DB Soft Inc 
Work : (408) 970 7002 

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com <http://www.klove.com/>  

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

-Original Message-
Sent: Thursday, October 30, 2003 3:24 PM
To: Multiple recipients of list ORACLE-L


I recall seeing a "command center database" in the book
 
Oracle 8i DBA Handbook by Loney, Theriault. 
chapter 6 - Managing multiple databases.
 
its a start. I haven't read the 9i version.
 
Rachel, 
 
were there any improvements to it?
 
Paul

"Loughmiller, Greg" <[EMAIL PROTECTED]> wrote:

I'll throw in my *very expensive free* comments... 

 
This begins to create the corporate metadata and architecture as Peter
mentions. We are on this road, and there are several tools that can do *auto
discovery*. There are some very nice tools on the market for asset
discovery. They have *exit points* where one could write some basic code to
access those assets(sql getting v$ info and store in your metadata?).

We have built an enterprise repository to maintain infrastructure data,
application, servers, network devices, and transport layers. And now we are
going down the *yellow brick road* to begin the data acquisition process. 

We too, will also define and assign accountability to those elements within
our repository. 
 

greg 

-Original Message- 
Sent: Thursday, October 30, 2003 11:50 AM 
To: Multiple recipients of list ORACLE-L 


Just a quick reply to this. 

You are, in fact, formulating the sort of request which would be input to a 
corporate data architecture. We have built such a thing, and it includes the

issues you refer to. More importantly, we have identified who is responsible

for every single piece of data in the system. The management of an attribute

in a table can in fact be traced right back up to that level of senior 
management where they don't even know how to spell 'Oracle'... 

peter 
edinburgh 


> -Original Message- 
> From: Smith, Ron L. [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
> Sent: Thursday, October 30, 2003 3:30 PM 
> To: Multiple recipients of list ORACLE-L 
> Subject: DBA Support Database 
> 
> 
> I was thinking about putting together a database that 
> contains a list of 
> DBAs, servers, databases, and applications.  The database 
> would be used 
> by the Helpdesk and Management to see who is responsible for a given 
> application or database when problems occur.  
> 
> I thought I would check first and see if anyone has already designed 
> such a database and might be willing to share it. 
> 
> Thanks! 
> Ron Smith 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
<http://www.orafaq.net/>  
> -- 
> Author: Smith, Ron L. 
>   INET: [EMAIL PROTECTED] 
> 
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
<http://www.fatcity.com/>  
> San Diego, California-- Mailing list and web hosting services 
> - 
> To REMOVE yourself from this mailing l! ist, send an E-Mail message 
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in 
> the message BODY, include a line containing: UNSUB ORACLE-L 
> (or the name of mailing list you want to be removed from).  You may 
> also send the HELP command for other information (like subscribing). 
> 


* 
This  e-mail  message,  and  any  files  transmitted  with  it, are 
confidential  and intended  solely for the  use of the  addressee. If 
this message was not addressed to  you, you have received it in error 
and any  copying,  distribution  or  other use  of any part  of it is 
strictly prohibited. Any views or opinions presented are solely those 
of the sender and do not necessarily represent  those of the British 
Geological  Survey. The 

RE: Overhead Associated with Signon Audit in Financials 11.0

2003-10-30 Thread John Kanagaraj
Vicki,

As long as your *Purge* Audit signon data, I really do not see any
significant overhead. We have a 200 Gb DB and see no issues. What level is
your Profile set to? The advantages of Signon Audit far outweighs the load
it places - for e.g. you have no other way of seeing which user is logged on
(and depending on your audit level) what forms and what responsibility they
are using at this time... On the other hand, ask your auditors *what* they
would like to see. Oracle Apps already records Last-changed user and
date/timestamp for rows, while Signon Audit tracks sessions only when it is
switched on.

Let us know if you need more info.
John Kanagaraj
Oracle Applications DBA
DB Soft Inc
Work : (408) 970 7002

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com

** The opinions and facts contained in this message are entirely mine
and do not reflect those of my employer or customers **


-Original Message-
Sent: Thursday, October 30, 2003 11:54 AM
To: Multiple recipients of list ORACLE-L



Does anyone have any statistics about overhead associated with using the
Signon Audit in an 11.0.3/ 8.1.7.4/8.0.6.3 environment.  We are using full
installs of AP, GL, FA and CE.  Size of the production database is 100G.
Can't tell you exactly what we'd be auditing;  we are under siege by
Internal Audit at the moment - they've raised the "database audit" flag, but
have not started dictating what they want audited.  I am trying to get some
real-world statistics to arm myself with when the day comes . 

I have heard that the overhead is significant - is this true, in your
experience? 

Vicki Pierce
Database Administration
x2401
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: 10046 level 8 trace - help required with 'direct path

2003-10-30 Thread John Kanagaraj
Tim,

As you have seen, this is due to writes to and reads from the TEMPORARY
tablespace of that user. This could be due to both SORT segments
(SORT_AREA_SIZE overflow) as well as HASH segments due to HASH Joins going
to TEMP when they overflow HASH_AREA_SIZE. This can be seen from
V$SORT_USAGE.SEGTYPE. Since a DELETE should normally not generate sorting or
Hashing, I am assuming that either there are triggers that are forcing this
to occur, or this is a view and the INSTEAD OF is performing some
inefficient joins... 

Andy - just curious how a WHERE clause on a DELETE would generate Sort usage
(outside of that explained above)...

John Kanagaraj
Oracle Applications DBA
DB Soft Inc
Work : (408) 970 7002

Listen to great, commercial-free christian music 24x7x365 at
http://www.klove.com

** The opinions and facts contained in this message are entirely mine
and do not reflect those of my employer or customers **

>-Original Message-
>From: Yong Huang [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 30, 2003 9:10 AM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: 10046 level 8 trace - help required with 'direct path
>
>
>Hi, Tim,
>
>Assuming you don't have more than 1000 files, what's your 
>db_files set to and
>what's select file#, name from v$tempfile? If you do have more 
>than 1026 files,
>select file#, name from v$datafile.
>
>Also show us select * from v$sort_usage if you can run that 
>DELETE again.
>
>XCTEND rlbk=0: your transaction end marker says it's not 
>rolling back; i.e.
>it's committing.
>
>Yong Huang
>
>--- Andy Rivenes <[EMAIL PROTECTED]> wrote:
>> Looks sort spillage to disk due to the where clause.
>> 
>> Andy Rivenes
>> [EMAIL PROTECTED]
>> 
>> At 06:44 AM 10/30/2003 -0800, Tim Onions wrote:
>> >Gurus
>> >
>> >I've applied many of the things I've learnt from this list 
>over the years
>> >and today I tried a 10046 trace for the first time on a 
>reported "slow"
>> >transaction. From what I can tell the biggest offender is a 
>wait seemingly
>> >associated with rollback (see below) called 'direct path 
>write'. Is this
>> >just a traditional wait for a row lock to be released or 
>something more
>> >sinister? Any help much appreciated. Also (daft question 
>time) what units
>> >are "tim=" in? (ie how many seconds between tim=131853898 and
>> >tim=131853270).
>> >
>> >This SE 8.1.7.4.12 on Windows 2000.
>> >
>> >Thank you
>> >
>> >T¬
>> >
>> >PARSING IN CURSOR #15 len=60 dep=2 uid=38 oct=7 lid=38 tim=131853270
>> >hv=2073223040 ad='8e9a2080'
>> >DELETE FROM ROUTING_NEXT_JOB RNJ WHERE RNJ.NEXT_JOB_ID = :b1
>> >END OF STMT
>> >PARSE #15:c=0,e=2,p=0,cr=1,cu=0,mis=1,r=0,dep=2,og=0,tim=131853270
>> >WAIT #15: nam='latch free' ela= 0 p1=-1856345836 p2=106 p3=0
>> >EXEC #15:c=0,e=0,p=0,cr=3,cu=14,mis=0,r=2,dep=2,og=4,tim=131853270
>> >XCTEND rlbk=0, rd_only=0
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59401 p3=1
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59404 p3=1
>> >WAIT #14: nam='direct path write' ela= 1 p1=1026 p2=59407 p3=1
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59410 p3=1
>> >WAIT #14: nam='direct path write' ela= 2 p1=1026 p2=59411 p3=1
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59414 p3=1
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59417 p3=1
>> >WAIT #14: nam='direct path write' ela= 1 p1=1026 p2=59421 p3=1
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59425 p3=1
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59428 p3=1
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59431 p3=1
>> >WAIT #14: nam='direct path write' ela= 0 p1=1026 p2=59434 p3=1
>> >...
>> >WAIT #14: nam='direct path read' ela= 79 p1=1026 p2=41389 p3=7
>> >WAIT #14: nam='direct path read' ela= 0 p1=1026 p2=41396 p3=1
>> >WAIT #14: nam='direct path read' ela= 0 p1=1026 p2=41397 p3=7
>> >WAIT #14: nam='direct path read' ela= 0 p1=1026 p2=41404 p3=1
>> >WAIT #14: nam='direct path read' ela= 0 p1=1026 p2=41405 p3=3
>> >FETCH 
>#14:c=100,e=628,p=221,cr=5629,cu=12,mis=0,r=1,dep=2,og=4,tim=131853898
>> >--
>> >Please see the official ORACLE-L FAQ: http://www.orafaq.net
>> >--
>> >Author: Tim Onion

RE: DBA Support Database

2003-10-30 Thread John Kanagaraj
Ron,

As you may have seen already, some issues have been pointed out. However,
there are deeper issues... :(

Databases need to run on Servers - these servers in turn rely on other
services below them, namely Disk infrastructure (such as SANs, NAS, Switch
fabric, etc.) as well as other networking services such as DNS, Routers,
switches, gateways, etc. As well, there are the Application and other
middleware layers that take part in the equation. In addition, there are the
people that manage them, the organization structure that holds it together
and the IT processes that define how and who does what. As you can see, this
quickly gets very complicated, and maintaining this data [assuming that an
application exists to do this] becomes a priority. Miss capturing or
maintaining any of this, and the data quickly gets out of date or is
irrelevant so that it is no use. 

I say all of this to say what comes next: Certain IT standards bodies have
recongnized this and have specified that IT creates a 'Configuration
Management Database' [and an application around it]. Processes around this
include 

* Incident Management [something breaks, a user calls the Helpdesk who
record and route it, a technician fixes it]
* Problem Management [a process to identify trends in Incidents and
identify/fix root causes]
* Change Management [a process to document, agree and implement changes to
the IT components in a controlled fashion with adequate understanding of
effects and impact]
* Other processes such as Asset Management, etc.

In addition to other things mentioned above, the Config database should be
able to map Business processes [business-speak for what an IT user does to
keep the business flowing] to IT components as well as maintain the
relationships and dependencies of the IT components so that impact analysis
can be done

Add up all this, and you see both the need for this as well as the
complexity of the issue. Prepackaged applications exist to do this all :
Examples are HP's Service Desk [they have been at it a long time], Troux
[www.troux.com], etc.

I hope that I haven't quenched your enthusiam - just wanted to make you
understand that your mini-database will be (has to be) a component in the
big picture. As a start, you could always create a 'Control Database' that
lists all your Databases so that you can use it as a reference to put
together a periodic publishing of a List of databases and versions, Sizes
allocated and used, and other good stuff such as 'Average BCHR in the last
month' :-)  These tools have the capability to reference such standalone
repositories and update themselves, so you haven't lost anything

Hope this helps!
John Kanagaraj
Oracle Applications DBA
Hitach Data Systems, Santa Clara
Work : (408) 970 7002
Fax: 408 327 3402 (Call/Email prior to fax)


>-Original Message-
>From: DENNIS WILLIAMS [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 30, 2003 9:09 AM
>To: Multiple recipients of list ORACLE-L
>Subject: RE: DBA Support Database
>
>
>Ken, Ron
>   I think the most important step is to ask some very hard 
>questions about
>what data you really need. From what I've seen (and been 
>involved in), you
>begin with a burst of enthusiasm and tend to collect far too 
>much data. Then
>you can't keep it all updated, so the data tends to get 
>obsolete and not
>trusted. Better to start with the minimum and add more data later.
>   One thought is to collect data on the interdependencies between the
>databases. If one database has a link to another, it would be 
>nice to know
>this before you take one of them down and accidentally shut 
>down some other
>users.
>
>Dennis Williams
>DBA
>Lifetouch, Inc.
>[EMAIL PROTECTED] 
>
>-Original Message-
>Sent: Thursday, October 30, 2003 10:09 AM
>To: Multiple recipients of list ORACLE-L
>
>
>Ron:
>
>I have heard of this being done especially in large companies that have
>many, many databases.  It is difficult to keep track of all the little
>details that are spread out all over the company.  Having a 
>central data
>mart for this information I thing would be very helpful. The 
>only problem I
>see is keeping it up to date.
>
>Ken Janusz, CPIM
>
>
>- Original Message -
>To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
>Sent: Thursday, October 30, 2003 9:29 AM
>
>
>> I was thinking about putting together a database that 
>contains a list of
>> DBAs, servers, databases, and applications.  The database 
>would be used
>> by the Helpdesk and Management to see who is responsible for a given
>> application or database when problems occur.
>>
>> I thought I would check first and see if anyone has already designed
>> such a database and might be 

RE: ORA-4031 error help.

2003-10-29 Thread John Kanagaraj
Avnish,

4031 (as well as 0155 and 1652) are considered 'user' errors and will NOT be
logged in the alert.log by default. You could add the following into your
init.ora to capture them: (Make sure that you keep *all* event lines
together, including previous ones in the init file, otherwise only the last
set is considered):

event="1555 trace name errorstack level 3"
event="4031 trace name errorstack level 3"
event="1652 trace name processstate level 10"

I also see that you are at 9202 and I do know that there are *lots* of
shared pool related errors below 9204. I would suggest an upgrade first...

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

God's word wrapped in great music - 24x7x365 at http://www.klove.com

** The opinions and facts contained in this message are entirely mine and do
not reflect those of my employer or customers **

>-Original Message-
>From: Jeremiah Wilton [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, October 29, 2003 11:55 AM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: ORA-4031 error help.
>
>
>Well, you neet to check the full error, because otherwise there's no
>way to tell if you are running low on shared or large pool.
>
>The view that shows space usage in both places in v$sgastat.  I
>suggest you start looking there.  Maybe your third-party application
>doesn't use bind variables and is bloating the shared pool.  You could
>verify this by observing that the sqlarea component of the shared pool
>is very large as seen in v$sgastat. If this is the case then you might
>consider testing with cursor_sharing=force.
>
>You could also count different versions of similar SQL from the
>application by grouping sql_text in v$sqlarea by the first 30
>characters or so.  This assumes your problem is shared pool sqlarea
>bloat.  You could just be runnning out of space for MTS session heaps
>in the large pool.  You have to look at v$sgastat first.
>
>--
>Jeremiah Wilton
>http://www.speakeasy.net/~jwilton
>
>On Wed, 29 Oct 2003, [EMAIL PROTECTED] wrote:
>
>> Hello List, Need some help in resolving ORA-4031 error message. We
>> are using Lawson and for last few days users are getting ORA-4031
>> error 2-3 times a day in LAWSON log files but there is no error
>> message in alert log file or any trace file. Both shared pool and
>> large pool is set to 1GB. Below is the current init.ora file. We are
>> on Oracle 9202 and AIX 5.1, using MTS.
>>
>> # Miscellaneous
>> COMPATIBLE=9.2.0
>> DB_NAME=LAWSON
>> DB_FILES=1500
>> GLOBAL_NAMES=TRUE
>> DB_BLOCK_SIZE=8192
>> DB_CACHE_SIZE=1792M
>> DB_KEEP_CACHE_SIZE=16M
>> LARGE_POOL_SIZE=1024M
>> SHARED_POOL_SIZE=1024M
>> SGA_MAX_SIZE = 5G
>> DB_FILE_MULTIBLOCK_READ_COUNT=8
>> CONTROL_FILE_RECORD_KEEP_TIME=45
>> CURSOR_SHARING=SIMILAR
>> OPEN_CURSORS=750 # From Lawson--Raised from 500 to 750 10/24/03
>> BACKGROUND_DUMP_DEST=/appl/lawdb/oracle/admin/LAWSON/bdump
>> CORE_DUMP_DEST=/appl/lawdb/oracle/admin/LAWSON/cdump
>> USER_DUMP_DEST=/appl/lawdb/oracle/admin/LAWSON/udump
>> TIMED_STATISTICS=TRUE
>> 
>CONTROL_FILES=("/appl/lawdb/oracle/data/db01/LAWSON/contrl_LAWS
>ON_01.ctl",
>>
>"/appl/lawdb/oracle/data/db02/LAWSON/contrl_LAWSON_02.ctl",
>>
>"/appl/lawdb/oracle/data/db03/LAWSON/contrl_LAWSON_03.ctl",
>>
>"/appl/lawdb/oracle/data/db04/LAWSON/contrl_LAWSON_04.ctl",
>>
>"/appl/lawdb/oracle/data/db05/LAWSON/contrl_LAWSON_05.ctl")
>>
>> # Archive
>> LOG_ARCHIVE_DEST=/appl/lawdb/oracle/archive_logs/LAWSON/
>> LOG_ARCHIVE_DUPLEX_DEST=/appl/lawdb/oracle/archive_logs_2/LAWSON/
>> LOG_ARCHIVE_FORMAT="ARC_LAWSON_%S.%T"
>> LOG_ARCHIVE_START=TRUE
>> # LOG_ARCHIVE_TRACE = 1
>>
>> # Distributed, Replication and Snapshot
>> DB_DOMAIN=PHSOR.ORG
>>
>> # Pools
>> JAVA_POOL_SIZE=0
>>
>> # Processes and Sessions
>> # PROCESSES=800 Increased value per vendor JMK 6/09/03
>> PROCESSES=1000
>> SESSIONS=1140
>> ENQUEUE_RESOURCES=8000
>> TRANSACTION_AUDITING=FALSE
>> REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
>> FAST_START_MTTR_TARGET=1200
>> SORT_AREA_SIZE=0
>> HASH_AREA_SIZE=0
>> UNDO_MANAGEMENT=AUTO
>> UNDO_TABLESPACE=undo
>> UNDO_RETENTION = 10800
>> PGA_AGGREGATE_TARGET=1G
>> WORKAREA_SIZE_POLICY = AUTO
>> JOB_QUEUE_PROCESSES = 10
>> LOG_BUFFER = 8192000# To reduce 'log file parallel 
>write' wait event in v$system_event
>> CURSOR_SPACE_FOR_TIME   = TRUE
>> SERVICE_NAMES=lawson_ax3202a
>&g

RE: RE: Perm job opening in MA

2003-10-29 Thread John Spencer
Title: RE: RE: Perm job opening in MA





Ryan,
Thank you for that accurate explanation as to what "excellent phone skills" are. I just got to my email and have not had a chance to respond. I appreciate your assistance.

Regards,
John


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 29, 2003 12:30 PM
To: Multiple recipients of list ORACLE-L
Subject: Re: RE: Perm job opening in MA


it means you need to be able to handle stupid questions without losing your temper. the best people to ask on this are the hardware support guys. They get the true 'gems', when it comes to stupid questions. They should provide training to oracle dba's on the topic. 

I was at a conference resently and I saw a video of a performance analyst helping a client. The performance analyst grabbed the keyboard and beat the client senseless. 

not exactly the kind of solution they are looking for... 


it also means you know how to speak english and explain complex material to lay people. Its kind of like going to the doctor because you have a head ache and the doctor recites somethingy ou might hear on ER. Not real helpful to a lay person. 

> 
> From: "Igor Neyman" <[EMAIL PROTECTED]>
> Date: 2003/10/29 Wed AM 11:24:28 EST
> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> Subject: RE: Perm job opening in MA
> 
> LOL!
> Mladen, I think you are missed on "off-topic" list -:)
> 
> Igor Neyman, OCP DBA
> [EMAIL PROTECTED]
> 
> 
> 
> -Original Message-
> Mladen Gogala
> Sent: Tuesday, October 28, 2003 8:54 PM
> To: Multiple recipients of list ORACLE-L
> 
> Don't get me wrong, I've recently changed positions and am not
> interested,
> but what are "phone skills"? I know how to use a phone, and I can do it
> in  
> yoga position with one hand tied behind my back. I've never used a phone
> under  
> water or in space. I use it on a regular basis while commuting or in  
> restaurants. It helps tremendously with finding a free seat. As for the
> 
> communication over the phone, you should hear my inventive use of the
> English  
> language when I'm talking to telemarketers. Creative assumptions about
> their  
> ancestry and its position on the evolution tree and sexual preferences
> of their parents are the most common opener after which  I usually take
> the  
> poor soul to the place where no telemarketer has gone before. Do I have
> the  
> right idea about the "phone skills" or you have in mind some extremely  
> innovative use of phone which would be inappropriate for a good catholic
> like  
> me?
> 
> On 2003.10.28 20:09, John Spencer wrote:
> > I hope I am not breaching any rules, but I would like to make it
> public that
> > I am currently trying to fill a temp to perm position for a Sr level
> > Oracle/customer support person in Massachusetts. This person must have
> > strong Oracle and Sun Solaris skills and some Java (J2EE and Java
> beans)
> > experience. Must have excellent phone skills and the ability to work
> with
> > customers on installs and other issues. Experience must include stored
> > procedures and triggers.
> > 
> > Local candidates only please. Please reply directly to me at
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > 
> > Thanks again for your time.
> > 
> > Regards,
> > John Spencer
> > Sr. Staffing Consultant
> > ProStart Inc.
> > 603-893-7772 ext 45
> > 603-893-7704 fax
> > mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > 
> > 
> >
> 
> -- 
> Mladen Gogala
> Oracle DBA
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Mladen Gogala
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California    -- Mailing list and web hosting services
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Igor Neyman
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California    -- Mailing list and web hosting services
> 

RE: Clone db 9.2 on AIX 5L

2003-10-29 Thread John Blake

Thankyou all who have responded to this...
as it turns out the parameters for
shared_pool /large_pool were to large for the receiving machine after I
decreased the values to a minimal size I was able to recreate the instance.
Thanks again
John
-Original Message-
Joan Hsieh
Sent: Wednesday, October 29, 2003 9:49 AM
To: Multiple recipients of list ORACLE-L


I did it yesterday on AIX 5L 9.2.0.4, no problem at all

Joan
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Joan Hsieh
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Blake
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


Perm job opening in MA

2003-10-28 Thread John Spencer








I hope I am not breaching any rules, but I would like to make
it public that I am currently trying to fill a temp to perm position for a Sr
level Oracle/customer support person in Massachusetts. This
person must have strong Oracle and Sun Solaris skills and some Java (J2EE and
Java beans) experience. Must have excellent phone skills and
the ability to work with customers on installs and other issues. Experience
must include stored procedures and triggers.

 

Local candidates only please. Please reply directly to me at
[EMAIL PROTECTED] 

 

Thanks again for your time.

 

Regards, 

John Spencer 
Sr. Staffing Consultant 
ProStart Inc. 
603-893-7772 ext 45 
603-893-7704 fax

mailto:[EMAIL PROTECTED] 

 

 








Re: Re: ora-600 question

2003-10-28 Thread John Shaw


By default it's set to 
'choose' - but if try to use it for looking at locks (or most any ddl) it will 
take forever to come back - you have to go to the options menu and pick 
'rule' for optimzer mode on ddl queries.>>> 
[EMAIL PROTECTED] 10/28/2003 2:49:29 PM >>>
does the data dictionary still use rule by support? any idea why toad would 
bother slipping it in? > > From: "John Shaw" 
<[EMAIL PROTECTED]>> Date: 2003/10/28 Tue PM 02:59:25 
EST> To: Multiple recipients of list ORACLE-L 
<[EMAIL PROTECTED]>> Subject: Re: ora-600 question> 
> TOAD puts a hint in. > > >>> [EMAIL PROTECTED] 
10/28/2003 1:29:25 PM >>>> does toad or the oracle instance 
itself slip in rule hints? We got an ora-600 error off of a data dictionary 
read. i think it has to do with explain plan. > > ORA-00600: 
internal error code, arguments: [17182], [2325084336], [], [], [], [], [], 
[]> Current SQL statement for this session:> select /*+ rule */ 
bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#, sample_size, minimum, 
maximum, distcnt, lowval, hiva> l, density, col#, spare1, spare2, avgcln 
from hist_head$ where obj#=:1 and intcol#=:2> > -- > Please 
see the official ORACLE-L FAQ: http://www.orafaq.net > -- > 
Author: <[EMAIL PROTECTED] >   INET: [EMAIL PROTECTED] 
> > Fat City Network Services    -- 858-538-5051 http://www.fatcity.com > San Diego, 
California    -- Mailing list and web 
hosting services> 
-> To 
REMOVE yourself from this mailing list, send an E-Mail message> to: 
[EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in> the 
message BODY, include a line containing: UNSUB ORACLE-L> (or the name of 
mailing list you want to be removed from).  You may> also send the 
HELP command for other information (like subscribing).> > > 
> 


RE: Clone db 9.2 on AIX 5L

2003-10-28 Thread John Blake
The alert log statest that the instance is starting NORMAL and that is all
she wrote 
No trace files all my directories exist all owned by oracle UID
The cr_spap script contains all create controlfile commands and yes since
the "STARTUP NOMOUNT" is failing
the balance is just from the echoed output ..

Basically I think I'm just missing some obscure detail here, as there was
someone in the list confirming that they are performing this on a similar
environment AIX5.1 and ORACLE 9.2
That in mind I have gone through the init.ora checked for directory
existance now researching listener config etc..

-Original Message-
Sent: Tuesday, October 28, 2003 12:33 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'


John,

Did you see any messages in the alert log?  And what is in the cr_spap
script?  the startup nomount is failing immediately, so everything else is
worthless.

Review the initspap.ora file and make sure that all of the directories
exist.  Also, is the ORACLE_SID evironmental set prior to running sqlplus?

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, October 28, 2003 11:49 AM
To: Multiple recipients of list ORACLE-L


SQL> @cr_spap
SQL> STARTUP NOMOUNT
pfile=/iu33/u01/app/oracle/admin/spap/pfile/initspap.ora
ORA-03113: end-of-file on communication channel
SQL> CREATE CONTROLFILE REUSE DATABASE "SPAP" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 50
3 MAXLOGMEMBERS 5
4 MAXDATAFILES 100
5 MAXINSTANCES 1
6 MAXLOGHISTORY 226
7 LOGFILE
8 GROUP 1 '/iu33/u02/oradata/spap/redo01.log' SIZE 100M,
9 GROUP 2 '/iu33/u02/oradata/spap/redo02.log' SIZE 100M,
10 GROUP 3 '/iu33/u02/oradata/spap/redo03.log' SIZE 100M
11 DATAFILE
12 '/iu33/u02/oradata/spap/system01.dbf',
13 '/iu33/u02/oradata/spap/undotbs01.dbf',
14 '/iu33/u02/oradata/spap/drsys01.dbf',
15 '/iu33/u02/oradata/spap/example01.dbf',
16 '/iu33/u02/oradata/spap/odm01.dbf',
17 '/iu33/u02/oradata/spap/tools01.dbf',
18 '/iu33/u02/oradata/spap/users01.dbf',
19 '/iu33/u02/oradata/spap/xdb01.dbf',
20 '/iu33/u02/oradata/spap/users02.dbf',
21 '/iu33/u02/oradata/spap/users03.dbf',
22 '/iu33/u02/oradata/spap/users04.dbf',
23 '/iu33/u02/oradata/spap/users05.dbf',
24 '/iu33/u02/oradata/spap/indexes01.dbf',
25 '/iu33/u02/oradata/spap/indexes02.dbf',
26 '/iu33/u02/oradata/spap/indexes03.dbf'
27 CHARACTER SET WE8ISO8859P1
28 ;
CREATE CONTROLFILE REUSE DATABASE "SPAP" RESETLOGS NOARCHIVELOG
*
ERROR at line 1:
ORA-03114: not connected to ORACLE
SQL> -- RECOVER DATABASE
SQL> -- ALTER DATABASE OPEN;
SQL> -- ALTER TABLESPACE TEMP ADD TEMPFILE
'/iu33/u02/oradata/spap/temp01.dbf'
SIZE 3119M REUSE AUTOEXTEND ON NEXT 655360 MAXSIZE ;
SQL>

The confusing thing is that I have instances already running on the machine.
So I know the install is ok.  I can start/shutdown the existing instances no
problem.  But when I try to clone and startup --- I get the results from
above.
-Original Message-
Sent: Monday, October 27, 2003 5:24 PM
To: [EMAIL PROTECTED]


When are you getting the error?  During startup?

Adam




"John Blake" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/27/2003 03:04 PM
Please respond to
[EMAIL PROTECTED]


To
Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc

Subject
RE: Clone db 9.2 on AIX 5L






Sorry,
AIX 5L to AIX 5L
cold backup copies
create backup controlfile to trace -- edited for the new file locations
keeping the SID the same

created init.ora from spfile
startup nomount pfile=
getting  ora-3113

I have a TAR opened and figured I would check out here as well.



-Original Message-----
[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 4:44 PM
To: Multiple recipients of list ORACLE-L


How about some more details?  Are you cloning to a similar platform?  Are
you using a cold backup with controlfile recreation?  RMAN backup or
restore?  RMAN duplicate?  ...

Adam




"John Blake" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/27/2003 02:24 PM
Please respond to
[EMAIL PROTECTED]


To
Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc

Subject
Clone db 9.2 on AIX 5L






Just checking to see if anyone has been able to clone a 9.2 DB from one
machine to another.  I have never had a problem doing this prior to 9.2,
and am just wondering if I have overlooked something peculiar to 9i.
Thanks in adavance
John

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail messag

Re: ora-600 question

2003-10-28 Thread John Shaw


TOAD puts a hint in. 
>>> [EMAIL PROTECTED] 10/28/2003 1:29:25 PM >>>
does toad or the oracle instance itself slip in rule hints? We got an 
ora-600 error off of a data dictionary read. i think it has to do with explain 
plan. ORA-00600: internal error code, arguments: [17182], [2325084336], 
[], [], [], [], [], []Current SQL statement for this session:select /*+ 
rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#, sample_size, 
minimum, maximum, distcnt, lowval, hival, density, col#, spare1, spare2, 
avgcln from hist_head$ where obj#=:1 and intcol#=:2-- Please see the 
official ORACLE-L FAQ: http://www.orafaq.net-- Author: 
<[EMAIL PROTECTED]  INET: [EMAIL PROTECTED]Fat City 
Network Services    -- 858-538-5051 http://www.fatcity.comSan Diego, 
California    -- Mailing list and web 
hosting 
services-To 
REMOVE yourself from this mailing list, send an E-Mail messageto: 
[EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and inthe message 
BODY, include a line containing: UNSUB ORACLE-L(or the name of mailing list 
you want to be removed from).  You mayalso send the HELP command for 
other information (like subscribing).


RE: Clone db 9.2 on AIX 5L

2003-10-28 Thread John Blake
SQL> @cr_spap
SQL> STARTUP NOMOUNT
pfile=/iu33/u01/app/oracle/admin/spap/pfile/initspap.ora
ORA-03113: end-of-file on communication channel
SQL> CREATE CONTROLFILE REUSE DATABASE "SPAP" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 50
3 MAXLOGMEMBERS 5
4 MAXDATAFILES 100
5 MAXINSTANCES 1
6 MAXLOGHISTORY 226
7 LOGFILE
8 GROUP 1 '/iu33/u02/oradata/spap/redo01.log' SIZE 100M,
9 GROUP 2 '/iu33/u02/oradata/spap/redo02.log' SIZE 100M,
10 GROUP 3 '/iu33/u02/oradata/spap/redo03.log' SIZE 100M
11 DATAFILE
12 '/iu33/u02/oradata/spap/system01.dbf',
13 '/iu33/u02/oradata/spap/undotbs01.dbf',
14 '/iu33/u02/oradata/spap/drsys01.dbf',
15 '/iu33/u02/oradata/spap/example01.dbf',
16 '/iu33/u02/oradata/spap/odm01.dbf',
17 '/iu33/u02/oradata/spap/tools01.dbf',
18 '/iu33/u02/oradata/spap/users01.dbf',
19 '/iu33/u02/oradata/spap/xdb01.dbf',
20 '/iu33/u02/oradata/spap/users02.dbf',
21 '/iu33/u02/oradata/spap/users03.dbf',
22 '/iu33/u02/oradata/spap/users04.dbf',
23 '/iu33/u02/oradata/spap/users05.dbf',
24 '/iu33/u02/oradata/spap/indexes01.dbf',
25 '/iu33/u02/oradata/spap/indexes02.dbf',
26 '/iu33/u02/oradata/spap/indexes03.dbf'
27 CHARACTER SET WE8ISO8859P1
28 ;
CREATE CONTROLFILE REUSE DATABASE "SPAP" RESETLOGS NOARCHIVELOG
*
ERROR at line 1:
ORA-03114: not connected to ORACLE
SQL> -- RECOVER DATABASE
SQL> -- ALTER DATABASE OPEN;
SQL> -- ALTER TABLESPACE TEMP ADD TEMPFILE
'/iu33/u02/oradata/spap/temp01.dbf'
SIZE 3119M REUSE AUTOEXTEND ON NEXT 655360 MAXSIZE ;
SQL>

The confusing thing is that I have instances already running on the machine.
So I know the install is ok.  I can start/shutdown the existing instances no
problem.  But when I try to clone and startup --- I get the results from
above.
-Original Message-
Sent: Monday, October 27, 2003 5:24 PM
To: [EMAIL PROTECTED]


When are you getting the error?  During startup?

Adam




"John Blake" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/27/2003 03:04 PM
Please respond to
[EMAIL PROTECTED]


To
Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc

Subject
RE: Clone db 9.2 on AIX 5L






Sorry,
AIX 5L to AIX 5L
cold backup copies
create backup controlfile to trace -- edited for the new file locations
keeping the SID the same

created init.ora from spfile
startup nomount pfile=
getting  ora-3113

I have a TAR opened and figured I would check out here as well.



-Original Message-
[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 4:44 PM
To: Multiple recipients of list ORACLE-L


How about some more details?  Are you cloning to a similar platform?  Are
you using a cold backup with controlfile recreation?  RMAN backup or
restore?  RMAN duplicate?  ...

Adam




"John Blake" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/27/2003 02:24 PM
Please respond to
[EMAIL PROTECTED]


To
Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc

Subject
Clone db 9.2 on AIX 5L






Just checking to see if anyone has been able to clone a 9.2 DB from one
machine to another.  I have never had a problem doing this prior to 9.2,
and am just wondering if I have overlooked something peculiar to 9i.
Thanks in adavance
John

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: John Blake
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Blake
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
---

RE: Clone db 9.2 on AIX 5L

2003-10-27 Thread John Blake
Sorry,
AIX 5L to AIX 5L 
cold backup copies
create backup controlfile to trace -- edited for the new file locations
keeping the SID the same  

created init.ora from spfile
startup nomount pfile=
getting  ora-3113

I have a TAR opened and figured I would check out here as well.



-Original Message-
[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 4:44 PM
To: Multiple recipients of list ORACLE-L


How about some more details?  Are you cloning to a similar platform?  Are 
you using a cold backup with controlfile recreation?  RMAN backup or 
restore?  RMAN duplicate?  ...

Adam




"John Blake" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
10/27/2003 02:24 PM
Please respond to
[EMAIL PROTECTED]


To
Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc

Subject
Clone db 9.2 on AIX 5L






Just checking to see if anyone has been able to clone a 9.2 DB from one 
machine to another.  I have never had a problem doing this prior to 9.2, 
and am just wondering if I have overlooked something peculiar to 9i. 
Thanks in adavance
John

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Blake
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


  1   2   3   4   5   6   7   8   9   10   >