Re: FW: Lots of Help needed
Could you ask your Oracle rep. for a reference or two in your industry? They're usually very quick to give those references. You can contact the company in question and ask them for references. HP-UX and terabyte sized oracle 9i database are rather frequent combination, but you should contact their management because DBA usually doesn't have insight into details on the SAN side. I wouldn't trust everything I read on this list. There are pranksters and some rather sarcastic people here. References are the way to go. Cheers, mate. On 01/26/2004 10:14:27 PM, Biddell, Ian wrote: Hi there fellow Oracle people, I am hoping that some of you can help me and/or provide details etc. for my situation I find myself in. So if you bear with me I will describe the situation. I currently support an Oracle 9i (just moved from 7.3.4), windows, tuxedo, client server application for a utilities company in Australia. -- 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).
FW: Lots of Help needed
Hi there fellow Oracle people, I am hoping that some of you can help me and/or provide details etc. for my situation I find myself in. So if you bear with me I will describe the situation. I currently support an Oracle 9i (just moved from 7.3.4), windows, tuxedo, client server application for a utilities company in Australia. I have now been thrown in the deep end on a new system fora very larg bank which is building a complete newsystem. The main spec I am dealing with in regards to the database is that there can be one or more of the applications running and each one can feed (identical data) to one or more oracle 9i databases. It's basically just logging details of transactions, with a rate of upat least700/sec I believe they want , for redundancy purposes, two application servers sending out 4 streams to 4 oracle instances each, as it can never be allowed to stop running. It will be running on HP-ux (which I am new to) and a SAN (which I'm also new to). I have to come up with the Oracle requirements, database,tablespace,table designs, sizing etc. There is basically 3 layers to the database, very short term(vst), short term(st) and long term.(lt) The data is inserted into the VST tables (partitioned on something like 30 minute time slots with a rolling around on themselves after a certain period of time. The VST partitions are loaded to the ST tables (partitioned on 2hr time slots) and kept for 7 to 14 days. Finally this data is digested to the LT tables and kept for 3 months.So the insertion rate into the VST ST is very high. Partitions will obviously only be read from, to move the data down a level, when writing is taking place in another partition. I have been told thatthere are manysimilar projects/systems in the States on this size, configuration, transaction rate etc. So I am hoping to not to have to reinvent the wheel, also as I have not much experience on the HP-ux/SAN platform. If anyone has gone through a similar exercise and has documentation, guidelines etc. I would love to be able to get copies to work from. Any help on Oracle details related to this project would be very very welcome. Things like. SAN Implementation in regards to Oracle, tablespace placement, config etc. Do I need to worry about the SAN setup (done by system engineers) for Oracle, stripe size etc. High insert activity into partitioned tables on SAN and choices of Oracle parameters, table parameters (max trans etc.) Backups on many databases that can never be broughtdown. Use of RMAN on hp-ux SAN. Is RMAN even the way to go? redo undo (rollback) requirements, location, design Running in Log archive mode, best location on the SAN for the logs. Table design, use Locally managed tablespaces but not ASM. Indexes... parameters, location HP-ux and Oracle any special guidlines Database design templates for HP projects any other global HP templates/doco etc. regarding Oracle database implementations post implementation support guidlines, sys op instructions etc. partitioned tables - best practices for continual inserting, creating at one end, dropping at the other. Dropping partitions, how indexes affected Best way to insert hundreds of rows a second into one end of a table partition . Use pl/sql to dump a hundred at a time compared to individual inserts ?? any thing I have missed I would love to hear back from any one that thinks they can provide some tried principals, papers, details, guidelines etc.on any of the above details. If you are in Australia then I can even visit if needed. Many thanks Ian Biddell
RE: Help - 9ias broke - hostname was changed
Title: Message Help System Admin. got a wild hair and changed the hostname on us for a 9ias v2 server. Now none of the processes work and getting all kinds of unhandled java exceptions regarding hostname oracle.ias.repository.schema.SchemaException:Unable to connect to Directory I have changed references in following: ldap.ora listener.ora tnsnames.ora htppd.conf mod_oc4j Help! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Lord DavidSent: Friday, January 23, 2004 9:49 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! Thanks Kevin, couldn't see for looking -- David LordSenior DBAIron Mountain (UK) Ltd-Original Message-From: Kevin Toepke [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 14:30To: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! Its easy todisable this "feature": Navigate to the Tools-Options menu Click the "Email Options" Button Uncheck the "Remove extra line breaks in plain text messages" checkbox Click Okay about 30 times and your're done! Kevin -Original Message-From: Lord David [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:14 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! Bill The line breaks get removed from *incoming* mail, so I don't think it matterswhat your default new mail format is.I think its a new 'feature' in Outlook 2003 - I found this quote in the 'Whats new in Microsoft Office'in online help: - Extra line breaks automatically removed in messages Sometimes plain text messages that travel over the Internet acquire extra line breaks that make the message difficult to read. Outlook automatically removes the extra line breaks so it's easier to read the message. Ouch David LordSenior DBAIron Mountain (UK) LtdTelephone: 029 2054 4000Direct: 029 2054 4013Fax: 029 2069 2464Email: [EMAIL PROTECTED] -Original Message-From: Thater, William [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 13:24To: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! -Original Message-From: Lord David [mailto:[EMAIL PROTECTED]Sent: Friday, January 23, 2004 3:14 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! Tim Its something to do with outlook removingline breaks and thereby mangling the formatting of the command. In my Outlook, there is a message in the header of the mail saying something like 'Extra line breaks in this message were removed. To restore click here.' When I did click there and replied the subscription went through okay. What on earth lookout is doing removing line breaks I'm not sure. How does it decide which line breaks to remove? I couldn't find any way of stopping it doing this. well, it looks to me as if you're using HTML and/or Word for your email, and Outlook in it's infinite wisdom replaces line brakes with BR or whatever the hell Word uses. as to stopping it, i have no idea. -- Bill "Shrek" Thater ORACLE DBA "I'm going to work my ticket if I can..." -- Gilwell song [EMAIL PROTECTED] Yes, we have to divide up our time like that, between our politics and our equations. But to me our equations are far more important, for politics are only a matter of present concern. A mathematical equation stands forever. - Albert Einstein This email and its attachments are confidential under applicable law and are intended for use of the sender's addressee only, unless the sender expressly agrees otherwise, or unless a separate written agreement exists between Iron Mountain and a recipient company governing communications between the parties and any data that may be so transmitted. Transmission of email over the Internet is not a secure communications medium. If you are requesting or have requested the transmittal of personal data, as defined in applicable privacy laws, by means of email or in an attachment to email, you may wis
RE: Help - 9ias broke - hostname was changed
Have the SysAdmin change the hostname back. Haven't used 9iAS but in the past, the hostname was embedded in the install config files. You can put in a DNS alias for your old hostname for a work around. [EMAIL PROTECTED] 01/23/04 11:44AM Help System Admin. got a wild hair and changed the hostname on us for a 9ias v2 server. Now none of the processes work and getting all kinds of unhandled java exceptions regarding hostname oracle.ias.repository.schema.SchemaException:Unable to connect to Directory I have changed references in following: ldap.ora listener.ora tnsnames.ora htppd.conf mod_oc4j Help! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Lord DavidSent: Friday, January 23, 2004 9:49 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! Thanks Kevin, couldn't see for looking -- David LordSenior DBAIron Mountain (UK) Ltd-Original Message-From: Kevin Toepke [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 14:30To: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! Its easy todisable this "feature": Navigate to the Tools-Options menu Click the "Email Options" Button Uncheck the "Remove extra line breaks in plain text messages" checkbox Click Okay about 30 times and your're done! Kevin -Original Message-From: Lord David [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:14 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! Bill The line breaks get removed from *incoming* mail, so I don't think it matterswhat your default new mail format is.I think its a new 'feature' in Outlook 2003 - I found this quote in the 'Whats new in Microsoft Office'in online help: - Extra line breaks automatically removed in messages Sometimes plain text messages that travel over the Internet acquire extra line breaks that make the message difficult to read. Outlook automatically removes the extra line breaks so it's easier to read the message. Ouch David LordSenior DBAIron Mountain (UK) LtdTelephone: 029 2054 4000Direct: 029 2054 4013Fax: 029 2069 2464Email: [EMAIL PROTECTED] -Original Message-From: Thater, William [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 13:24To: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! -Original Message-From: Lord David [mailto:[EMAIL PROTECTED]Sent: Friday, January 23, 2004 3:14 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! Tim Its something to do with outlook removingline breaks and thereby mangling the formatting of the command. In my Outlook, there is a message in the header of the mail saying something like 'Extra line breaks in this message were removed. To restore click here.' When I did click there and replied the subscription went through okay. What on earth lookout is doing removing line breaks I'm not sure. How does it decide which line breaks to remove? I couldn't find any way of stopping it doing this. well, it looks to me as if you're using HTML and/or Word for your email, and Outlook in it's infinite wisdom replaces line brakes with BR or whatever the hell Word uses. as to stopping it, i have no idea. -- Bill "Shrek" Thater ORACLE DBA "I'm going to work my ticket if I can..." -- Gilwell song [EMAIL PROTECTED] Yes, we have to divide up our time like that, between our politics and our equations. But to me our equations are far more important, for politics are only a matter of present concern. A mathematical equation stands forever. - Albert Einstein This email and its attachments are confidential under applicable law and are intended for use of the sender's addressee only, unless the sender expressly agrees otherwise, or unless a separate written agreement exists between Iron Mountain and a recipient company governing communications between the parties and any data that may be so transmitted. Transmission of email over the Internet is not a secure
Re: Help - 9ias broke - hostname was changed
Did you change LDAP configuration files? Which LDAP server was it? WebLogic? WebSphere? iPlanet? iAS? OpenLDAP? Usually, after changing the host name, servers have to be reconfigured and re-started? Does your LDAP server have a GUI admin utility and can you connect to the server by using that utility? On 01/23/2004 11:44:26 AM, [EMAIL PROTECTED] wrote: Help System Admin. got a wild hair and changed the hostname on us for a 9ias v2 server. Now none of the processes work and getting all kinds of unhandled java exceptions regarding hostname oracle.ias.repository.schema.SchemaException:Unable to connect to Directory I have changed references in following: ldap.ora listener.ora tnsnames.ora htppd.conf mod_oc4j Help! -Original Message- Lord David Sent: Friday, January 23, 2004 9:49 AM To: Multiple recipients of list ORACLE-L Thanks Kevin, couldn't see for looking -- David Lord Senior DBA Iron Mountain (UK) Ltd -Original Message- Sent: 23 January 2004 14:30 To: Multiple recipients of list ORACLE-L Its easy to disable this feature: Navigate to the Tools-Options menu Click the Email Options Button Uncheck the Remove extra line breaks in plain text messages checkbox Click Okay about 30 times and your're done! Kevin -Original Message- Sent: Friday, January 23, 2004 9:14 AM To: Multiple recipients of list ORACLE-L Bill The line breaks get removed from *incoming* mail, so I don't think it matters what your default new mail format is. I think its a new 'feature' in Outlook 2003 - I found this quote in the 'Whats new in Microsoft Office' in online help: - Extra line breaks automatically removed in messages Sometimes plain text messages that travel over the Internet acquire extra line breaks that make the message difficult to read. Outlook automatically removes the extra line breaks so it's easier to read the message. Ouch David Lord Senior DBA Iron Mountain (UK) Ltd Telephone: 029 2054 4000 Direct: 029 2054 4013 Fax: 029 2069 2464 Email: [EMAIL PROTECTED] -Original Message- Sent: 23 January 2004 13:24 To: Multiple recipients of list ORACLE-L -Original Message- Sent: Friday, January 23, 2004 3:14 AM To: Multiple recipients of list ORACLE-L Tim Its something to do with outlook removing line breaks and thereby mangling the formatting of the command. In my Outlook, there is a message in the header of the mail saying something like 'Extra line breaks in this message were removed. To restore click here.' When I did click there and replied the subscription went through okay. What on earth lookout is doing removing line breaks I'm not sure. How does it decide which line breaks to remove? I couldn't find any way of stopping it doing this. well, it looks to me as if you're using HTML and/or Word for your email, and Outlook in it's infinite wisdom replaces line brakes with BR or whatever the hell Word uses. as to stopping it, i have no idea. -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] Yes, we have to divide up our time like that, between our politics and our equations. But to me our equations are far more important, for politics are only a matter of present concern. A mathematical equation stands forever. - Albert Einstein This email and its attachments are confidential under applicable law and are intended for use of the sender's addressee only, unless the sender expressly agrees otherwise, or unless a separate written agreement exists between Iron Mountain and a recipient company governing communications between the parties and any data that may be so transmitted. Transmission of email over the Internet is not a secure communications medium. If you are requesting or have requested the transmittal of personal data, as defined in applicable privacy laws, by means of email or in an attachment to email, you may wish to select a more secure alternate means of transmittal that better supports your obligations to protect such personal data. If the recipient of this message is not the recipient named above, and/or you have received this email in error, you must take no action based on the information in this email. You are hereby notified that any dissemination, misuse or copying or disclosure of this communication by a recipient who has received this message in error is strictly prohibited. If this message is received in error, please return this email to the sender and immediately highlight any error in transmittal. Thank you. *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** This e-mail and its attachments are intended for the author's addressee only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error
RE: Help - 9ias broke - hostname was changed
Seriously, and without any trace of a smile, I can say that someone doing that on a high visibility system would stand a very good chance of having the opportunity to seek new employment. PS. If you're reading this, subscribe to the new list. This one's days are limited to about 10. [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/23/2004 08:44 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Help - 9ias broke - hostname was changed Help System Admin. got a wild hair and changed the hostname on us for a 9ias v2 server. Now none of the processes work and getting all kinds of unhandled java exceptions regarding hostname oracle.ias.repository.schema.SchemaException:Unable to connect to Directory I have changed references in following: ldap.ora listener.ora tnsnames.ora htppd.conf mod_oc4j Help! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Lord David Sent: Friday, January 23, 2004 9:49 AM To: Multiple recipients of list ORACLE-L Subject: RE: !!Please Read - Oracle-L is moving!! Thanks Kevin, couldn't see for looking -- David Lord Senior DBA Iron Mountain (UK) Ltd -Original Message- From: Kevin Toepke [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 14:30 To: Multiple recipients of list ORACLE-L Subject: RE: !!Please Read - Oracle-L is moving!! Its easy to disable this feature: Navigate to the Tools-Options menu Click the Email Options Button Uncheck the Remove extra line breaks in plain text messages checkbox Click Okay about 30 times and your're done! Kevin -Original Message- From: Lord David [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:14 AM To: Multiple recipients of list ORACLE-L Subject: RE: !!Please Read - Oracle-L is moving!! Bill The line breaks get removed from *incoming* mail, so I don't think it matters what your default new mail format is. I think its a new 'feature' in Outlook 2003 - I found this quote in the 'Whats new in Microsoft Office' in online help: - Extra line breaks automatically removed in messages Sometimes plain text messages that travel over the Internet acquire extra line breaks that make the message difficult to read. Outlook automatically removes the extra line breaks so it's easier to read the message. Ouch David Lord Senior DBA Iron Mountain (UK) Ltd Telephone: 029 2054 4000 Direct: 029 2054 4013 Fax: 029 2069 2464 Email: [EMAIL PROTECTED] -Original Message- From: Thater, William [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 13:24 To: Multiple recipients of list ORACLE-L Subject: RE: !!Please Read - Oracle-L is moving!! -Original Message- From: Lord David [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 3:14 AM To: Multiple recipients of list ORACLE-L Subject: RE: !!Please Read - Oracle-L is moving!! Tim Its something to do with outlook removing line breaks and thereby mangling the formatting of the command. In my Outlook, there is a message in the header of the mail saying something like 'Extra line breaks in this message were removed. To restore click here.' When I did click there and replied the subscription went through okay. What on earth lookout is doing removing line breaks I'm not sure. How does it decide which line breaks to remove? I couldn't find any way of stopping it doing this. well, it looks to me as if you're using HTML and/or Word for your email, and Outlook in it's infinite wisdom replaces line brakes with BR or whatever the hell Word uses. as to stopping it, i have no idea. -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] Yes, we have to divide up our time like that, between our politics and our equations. But to me our equations are far more important, for politics are only a matter of present concern. A mathematical equation stands forever. - Albert Einstein This email and its attachments are confidential under applicable law and are intended for use of the sender's addressee only, unless the sender expressly agrees otherwise, or unless a separate written agreement exists between Iron Mountain and a recipient company governing communications between the parties and any data that may be so transmitted. Transmission of email over the Internet is not a secure communications medium. If you are requesting or have requested the transmittal of personal data, as defined in applicable privacy laws, by means of email or in an attachment to email, you may wish to select a more secure alternate means of transmittal that better supports your obligations to protect such personal data. If the recipient of this message is not the recipient named above, and/or you have received this email in error, you must take no action based on the information in this email. You are hereby notified
RE: Help - 9ias broke - hostname was changed
Yes, but how do I fix it? Do I need to reinstall? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of [EMAIL PROTECTED]Sent: Friday, January 23, 2004 1:14 PMTo: Multiple recipients of list ORACLE-LSubject: RE: Help - 9ias broke - hostname was changedSeriously, and without any trace of a smile, I can say that someone doing that on a high visibility system would stand a very good chance of having the opportunity to seek new employment. PS. If you're reading this, subscribe to the new list. This one's days are limited to about 10. [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/23/2004 08:44 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Help - 9ias broke - hostname was changedHelp System Admin. got a wild hair and changed the hostname on us for a 9ias v2 server. Now none of the processes work and getting all kinds of unhandled java exceptions regarding hostname oracle.ias.repository.schema.SchemaException:Unable to connect to Directory I have changed references in following: ldap.ora listener.ora tnsnames.ora htppd.conf mod_oc4j Help! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Lord DavidSent: Friday, January 23, 2004 9:49 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!!Thanks Kevin, couldn't see for looking -- David LordSenior DBAIron Mountain (UK) Ltd-Original Message-From: Kevin Toepke [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 14:30To: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!!Its easy to disable this "feature": Navigate to the Tools-Options menu Click the "Email Options" Button Uncheck the "Remove extra line breaks in plain text messages" checkbox Click Okay about 30 times and your're done! Kevin -Original Message-From: Lord David [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:14 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!!Bill The line breaks get removed from *incoming* mail, so I don't think it matters what your default new mail format is. I think its a new 'feature' in Outlook 2003 - I found this quote in the 'Whats new in Microsoft Office' in online help: - Extra line breaks automatically removed in messages Sometimes plain text messages that travel over the Internet acquire extra line breaks that make the message difficult to read. Outlook automatically removes the extra line breaks so it's easier to read the message. Ouch David LordSenior DBAIron Mountain (UK) LtdTelephone: 029 2054 4000Direct: 029 2054 4013Fax: 029 2069 2464Email: [EMAIL PROTECTED] -Original Message-From: Thater, William [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 13:24To: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! -Original Message-From: Lord David [mailto:[EMAIL PROTECTED]Sent: Friday, January 23, 2004 3:14 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!!Tim Its something to do with outlook removing line breaks and thereby mangling the formatting of the command. In my Outlook, there is a message in the header of the mail saying something like 'Extra line breaks in this message were removed. To restore click here.' When I did click there and replied the subscription went through okay. What on earth lookout is doing removing line breaks I'm not sure. How does it decide which line breaks to remove? I couldn't find any way of stopping it doing this. well, it looks to me as if you're using HTML and/or Word for your email, and Outlook in it's infinite wisdom replaces line brakes with BR or whatever the hell Word uses. as to stopping it, i have no idea. -- Bill "Shrek" Thater ORACLE DBA "I'm going to work my ticket if I can..." -- Gilwell song [EMAIL PROTECTED] Yes, we have to divide up our time like that, between our politics and our equations. But to me our equations are far more important, for politics are only a matter of present concern. A mathematical equation stands forever. - Albert Einstein This email and its attachments are confidential under applicable law and are intended for use of the sender's addressee only, unless the sender expressly agrees otherwise, or unless a separate written agreement exists between Iron Mountain and a recipient company governing communications between the parties and
RE: Help - 9ias broke - hostname was changed
I think he lucked out and didn't do this on a highly visible system. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of [EMAIL PROTECTED]Sent: Friday, January 23, 2004 1:14 PMTo: Multiple recipients of list ORACLE-LSubject: RE: Help - 9ias broke - hostname was changedSeriously, and without any trace of a smile, I can say that someone doing that on a high visibility system would stand a very good chance of having the opportunity to seek new employment. PS. If you're reading this, subscribe to the new list. This one's days are limited to about 10. [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/23/2004 08:44 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Help - 9ias broke - hostname was changedHelp System Admin. got a wild hair and changed the hostname on us for a 9ias v2 server. Now none of the processes work and getting all kinds of unhandled java exceptions regarding hostname oracle.ias.repository.schema.SchemaException:Unable to connect to Directory I have changed references in following: ldap.ora listener.ora tnsnames.ora htppd.conf mod_oc4j Help! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Lord DavidSent: Friday, January 23, 2004 9:49 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!!Thanks Kevin, couldn't see for looking -- David LordSenior DBAIron Mountain (UK) Ltd-Original Message-From: Kevin Toepke [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 14:30To: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!!Its easy to disable this "feature": Navigate to the Tools-Options menu Click the "Email Options" Button Uncheck the "Remove extra line breaks in plain text messages" checkbox Click Okay about 30 times and your're done! Kevin -Original Message-From: Lord David [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:14 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!!Bill The line breaks get removed from *incoming* mail, so I don't think it matters what your default new mail format is. I think its a new 'feature' in Outlook 2003 - I found this quote in the 'Whats new in Microsoft Office' in online help: - Extra line breaks automatically removed in messages Sometimes plain text messages that travel over the Internet acquire extra line breaks that make the message difficult to read. Outlook automatically removes the extra line breaks so it's easier to read the message. Ouch David LordSenior DBAIron Mountain (UK) LtdTelephone: 029 2054 4000Direct: 029 2054 4013Fax: 029 2069 2464Email: [EMAIL PROTECTED] -Original Message-From: Thater, William [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 13:24To: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!! -Original Message-From: Lord David [mailto:[EMAIL PROTECTED]Sent: Friday, January 23, 2004 3:14 AMTo: Multiple recipients of list ORACLE-LSubject: RE: !!Please Read - Oracle-L is moving!!Tim Its something to do with outlook removing line breaks and thereby mangling the formatting of the command. In my Outlook, there is a message in the header of the mail saying something like 'Extra line breaks in this message were removed. To restore click here.' When I did click there and replied the subscription went through okay. What on earth lookout is doing removing line breaks I'm not sure. How does it decide which line breaks to remove? I couldn't find any way of stopping it doing this. well, it looks to me as if you're using HTML and/or Word for your email, and Outlook in it's infinite wisdom replaces line brakes with BR or whatever the hell Word uses. as to stopping it, i have no idea. -- Bill "Shrek" Thater ORACLE DBA "I'm going to work my ticket if I can..." -- Gilwell song [EMAIL PROTECTED] Yes, we have to divide up our time like that, between our politics and our equations. But to me our equations are far more important, for politics are only a matter of present concern. A mathematical equation stands forever. - Albert Einstein This email and its attachments are confidential under applicable law and are intended for use of the sender's addressee only, unless the sender expressly agrees otherwise, or unless a separate written agreement exists between Iron Mountain and a recipient company governing communications
RE: Help - 9ias broke - hostname was changed
Paula - You put on your saddest face, match that with your body language, shuffle into the sys admin's cube and solemly announce you're going to have to fix this, change the hostname back. Then brighten a little, come closer and whisper I think I can keep anyone from finding out what you did. Dennis Williams DBA Lifetouch, Inc. [EMAIL PROTECTED] -Original Message- Sent: Friday, January 23, 2004 1:19 PM To: Multiple recipients of list ORACLE-L Yes, but how do I fix it? Do I need to reinstall? -Original Message- [EMAIL PROTECTED] Sent: Friday, January 23, 2004 1:14 PM To: Multiple recipients of list ORACLE-L Seriously, and without any trace of a smile, I can say that someone doing that on a high visibility system would stand a very good chance of having the opportunity to seek new employment. PS. If you're reading this, subscribe to the new list. This one's days are limited to about 10. [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/23/2004 08:44 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Help - 9ias broke - hostname was changed Help System Admin. got a wild hair and changed the hostname on us for a 9ias v2 server. Now none of the processes work and getting all kinds of unhandled java exceptions regarding hostname oracle.ias.repository.schema.SchemaException:Unable to connect to Directory I have changed references in following: ldap.ora listener.ora tnsnames.ora htppd.conf mod_oc4j Help! -Original Message- David Sent: Friday, January 23, 2004 9:49 AM To: Multiple recipients of list ORACLE-L Thanks Kevin, couldn't see for looking -- David Lord Senior DBA Iron Mountain (UK) Ltd -Original Message- Sent: 23 January 2004 14:30 To: Multiple recipients of list ORACLE-L Its easy to disable this feature: Navigate to the Tools-Options menu Click the Email Options Button Uncheck the Remove extra line breaks in plain text messages checkbox Click Okay about 30 times and your're done! Kevin -Original Message- Sent: Friday, January 23, 2004 9:14 AM To: Multiple recipients of list ORACLE-L Bill The line breaks get removed from *incoming* mail, so I don't think it matters what your default new mail format is. I think its a new 'feature' in Outlook 2003 - I found this quote in the 'Whats new in Microsoft Office' in online help: - Extra line breaks automatically removed in messages Sometimes plain text messages that travel over the Internet acquire extra line breaks that make the message difficult to read. Outlook automatically removes the extra line breaks so it's easier to read the message. Ouch David Lord Senior DBA Iron Mountain (UK) Ltd Telephone: 029 2054 4000 Direct: 029 2054 4013 Fax: 029 2069 2464 Email: [EMAIL PROTECTED] -Original Message- Sent: 23 January 2004 13:24 To: Multiple recipients of list ORACLE-L -Original Message- Sent: Friday, January 23, 2004 3:14 AM To: Multiple recipients of list ORACLE-L Tim Its something to do with outlook removing line breaks and thereby mangling the formatting of the command. In my Outlook, there is a message in the header of the mail saying something like 'Extra line breaks in this message were removed. To restore click here.' When I did click there and replied the subscription went through okay. What on earth lookout is doing removing line breaks I'm not sure. How does it decide which line breaks to remove? I couldn't find any way of stopping it doing this. well, it looks to me as if you're using HTML and/or Word for your email, and Outlook in it's infinite wisdom replaces line brakes with BR or whatever the hell Word uses. as to stopping it, i have no idea. -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Yes, we have to divide up our time like that, between our politics and our equations. But to me our equations are far more important, for politics are only a matter of present concern. A mathematical equation stands forever. - Albert Einstein This email and its attachments are confidential under applicable law and are intended for use of the sender's addressee only, unless the sender expressly agrees otherwise, or unless a separate written agreement exists between Iron Mountain and a recipient company governing communications between the parties and any data that may be so transmitted. Transmission of email over the Internet is not a secure communications medium. If you are requesting or have requested the transmittal of personal data, as defined in applicable privacy laws, by means of email or in an attachment to email, you may wish
RE: help
LOL!! Ok, Ashish, the problem is you sent 'help' to the list address. Send HELP to [EMAIL PROTECTED] and all will be well. Ok, now back to work everyone. Jared Odland, Brad [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/21/2004 07:59 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Ashish realizing his time is short he crawls to the terminal and with his last remaining strength double clicks the outlook icon, clicks the new button selects New Mail Message button, using the shift key he types H - E - L - P in the message body window and hits send and then CANCEL to stop the spell checker, and then YES to send his message anyway. His message careens through the internet as he slumps to the floor as the world goes dark. The world will be safe now if they can break the code are his final thoughts before oblivion takes him. Minutes later hundreds of Information Systems professionals are reading his message wondering what horror occurred that drove a man to do this. They pause to reflect and then selecting the message in their inbox they press the delete key and go get a fresh cup of coffee. -Original Message- From: Jamadagni, Rajendra [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 8:59 AM To: Multiple recipients of list ORACLE-L Subject: RE: Funny ... Ashish is from Weight Watchers and asking for HELP my advise ... stop starving yourself ... go eat something. 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- From: Mark Leith [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 9:45 AM To: Multiple recipients of list ORACLE-L Subject: RE: must.resist..temptation. For more help, please dial 999 in the UK, 911 in the US, or open your phone and dial 712-BEAM-ME-UP for the year 2247. Live long and prosper. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Sahasrabudhe Sent: 21 January 2004 14:34 To: Multiple recipients of list ORACLE-L Subject: HELP
help
help Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Bill Gentry 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: help
Abandon hope, all ye who enter here (Dante Alighieri) On 01/20/2004 10:24:27 AM, Bill Gentry wrote: help Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Bill Gentry 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: 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).
RE: another OCP question -- help me guys
Pete Sharman scribbled on the wall in glitter crayon: Well, so here's the challenge for RMOUG training days - loosening Rachel's lips. Who's gonna join me in this endeavour? :) oh i have several methods i'd like to try.;-) -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] God is subtle but he is not malicious. - 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).
RE: Trigger Question - Thanks for all the help
Hi All, Thanks for all the tips and links to web sites. Really appreciated. I did have a mutating trigger - but I also had it calling a pre-existing procedure that had a commit in it (which from what I read today is not allowed) In the end I put the code in an existing procedure - it took only about 5 lines or so which was similar to implement than the mutating trigger solution. Regards, N. :--Original Message- :-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :-Behalf Of :-GovindanK :-Sent: 08 January 2004 21:20 :-To: Multiple recipients of list ORACLE-L :-Subject: Re: Trigger Question :- :- :-Ok. Here you go. :- :-http://osi.oracle.com/~tkyte/Mutate/index.html :- :-Let me know if you find this useful. :- :-HTH :- :-GovindanK :-OCP 8,8i :-Brainbench Certified Master DBA(8) :- :- :-On Thu, 08 Jan 2004 11:24:25 -0800, Nuala Cullen :-[EMAIL PROTECTED] :-said: :- :- Hi All, :- :- Firstly my apologies if this seems like a very *stupid* :-question but I'm :- a :- tad confused (and it's late in the evening) :- :- When an AFTER INSERT trigger is fired (row level) has the row been :- committed :- to the database at this stage? :- :- If so is it ok to call a package in the trigger that :-selects that row and :- changes some values in the row? :- :- Thanks, :- :- N. :- :- :--- :-http://www.fastmail.fm - Or how I learned to stop worrying and :- love email again :--- :-Please see the official ORACLE-L FAQ: http://www.orafaq.net :--- :-Author: GovindanK :- 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: Nuala Cullen 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]: another OCP question -- help me guys
-Original Message- [irrelevant stuff deleted] P.S. I can work powerpoint too. Close your Powerpoint.exe and S L O W L Y back away from the keyboard and nobody gets hurt ... 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 ! -- 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).
Re: another OCP question -- help me guys
1. Assume boson is right and recheck your answer. I disagree. Based on the questions and answers I've seen here, I would recommend that one assumes Boson is *wrong*, scratch one's head in mild confusion, utter a few expletives under one's breath and move on. Cheers ;) Richard -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Richard Foote 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: another OCP question -- help me guys
I demand to know who the other one is! Mogens Rachel Carmichael wrote: you leave me such straight lines :) which part is qualified as an accountant? you volunteer to be the sacrificial lamb? Hm, masochist? Before Jared tries to send everyone over to my list on this topic, I'll try to bring it at least slightly back on topic. I really don't care if someone has a degree or has completed the OCP exams. I want to see what they have done in practice, or if they are interviewing for a truly junior position, I want to know how they learn, what they've played with on their own. Two of the smartest men I have ever known never finished college. --- Niall Litchfield [EMAIL PROTECTED] wrote: Rachel writes Now I understand their use, I shall immediately go out and hire an art history major as the deparmental sacrifical lamb (and dartboard while we are at it) Hey I have an *economics* degree, *and* am a part-qualified accountant. I claim that sacrificial lamb position as my own. Nothing so useful as Art in my background, just graphs with the axes befuddled. Niall P.S. I can work powerpoint too. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Niall Litchfield 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: =?ISO-8859-1?Q?Mogens_N=F8rgaard?= 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: another OCP question -- help me guys
my lips are sealed... G --- Mogens_Nørgaard [EMAIL PROTECTED] wrote: I demand to know who the other one is! Mogens Rachel Carmichael wrote: you leave me such straight lines :) which part is qualified as an accountant? you volunteer to be the sacrificial lamb? Hm, masochist? Before Jared tries to send everyone over to my list on this topic, I'll try to bring it at least slightly back on topic. I really don't care if someone has a degree or has completed the OCP exams. I want to see what they have done in practice, or if they are interviewing for a truly junior position, I want to know how they learn, what they've played with on their own. Two of the smartest men I have ever known never finished college. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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: another OCP question -- help me guys
Well, so here's the challenge for RMOUG training days - loosening Rachel's lips. Who's gonna join me in this endeavour? :) Pete Controlling developers is like herding cats. Kevin Loney, Oracle DBA Handbook Oh no, it's not. It's much harder than that! Bruce Pihlamae, long-term Oracle DBA -Original Message- Sent: Friday, 9 January 2004 1:09 PM To: Multiple recipients of list ORACLE-L my lips are sealed... G --- Mogens_Nrgaard [EMAIL PROTECTED] wrote: I demand to know who the other one is! Mogens Rachel Carmichael wrote: you leave me such straight lines :) which part is qualified as an accountant? you volunteer to be the sacrificial lamb? Hm, masochist? Before Jared tries to send everyone over to my list on this topic, I'll try to bring it at least slightly back on topic. I really don't care if someone has a degree or has completed the OCP exams. I want to see what they have done in practice, or if they are interviewing for a truly junior position, I want to know how they learn, what they've played with on their own. Two of the smartest men I have ever known never finished college. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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: Pete Sharman 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).
another OCP question -- help me guys
Hi list , sorry to pester you with questions regarding boson OCP questions . i have scheduled for #1Z0-031 exam and so desperately need help from this list . please bear with me for while . look at the 2 questions below . - QUESTION #1 what happens when you issue the command below . drop tablespace testtbs including contents cascade constraints and datafiles; A.the tablespace will be dropped , constraints will be droppped and the datafiles will be taken out of the o/s. B. statement will fail C.you must drop constraints before issuing this command. this is what happens when i try on 9.2.0.4 : ERROR at line 1: ORA-02173: invalid option for DROP TABLESPACE but boson's choice is A. i wonder how ??? - QUESTION #2 you need to determine how much space has been allocated for a table. which view would give you this information ? A. dba_extents B. dba_ts_quotas C. dba_segments my choice is C . but boson's choice is A . it says other views cannot give the required details . a metalink doc says that dba_segments.blocks gives the total number of blocks allocated to the table. what will be the choice that you would go for ? - so now i have the question whether boson is reliable ? how many in this list have used it ? or am i missing something : (( Regards, Prem. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Prem Khanna J 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: another OCP question -- help me guys
Hi Prem, Firstly, thank you for bringing back fond memories of when I used to teach this stuff for Oracle. If we ever meet one day, I'll show you my highlighter penned copy of the notes showing the various errors and inaccuracies (except the Performance Tuning course where I highlighted the correct bits ;) Just a personal opinion (don't get me started on OCP) but if I were going for a certification classifying me as a Professional, I would like to display a greater air of confidence in that I know what all this stuff actually means. I mean once you get the certificate, you'll actually be expected to know how to tune a temp tablespace, drop a tablespace, etc, right ... You're heading in the right direction by questioning these questions but knowing the answers to questions is not the same as being able to solve real-life problems which should be the mandatory skill of any so-called certified professional. I guess I'm suggesting that before you pin on the certification badge, you should have the skills to determine the correct answers to these questions yourself. Now you've gone and got me started on OCP, but hopefully you know what I mean. Question 1) Answer B - Statement will fail. You actually proven this yourself and yet you still have doubts? Trust what you *see*, not what you *read*. The cascade constraints clause if used must go at the end of the statement. Question 2) Answer A and C. Again, a simple query or describe of these views would do the trick. I think we can safely say that Boson (whatever he/she/it is) is not a very reliable source ... Good luck with your OCP Richard - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 9:24 PM Hi list , sorry to pester you with questions regarding boson OCP questions . i have scheduled for #1Z0-031 exam and so desperately need help from this list . please bear with me for while . look at the 2 questions below . - QUESTION #1 what happens when you issue the command below . drop tablespace testtbs including contents cascade constraints and datafiles; A.the tablespace will be dropped , constraints will be droppped and the datafiles will be taken out of the o/s. B. statement will fail C.you must drop constraints before issuing this command. this is what happens when i try on 9.2.0.4 : ERROR at line 1: ORA-02173: invalid option for DROP TABLESPACE but boson's choice is A. i wonder how ??? - QUESTION #2 you need to determine how much space has been allocated for a table. which view would give you this information ? A. dba_extents B. dba_ts_quotas C. dba_segments my choice is C . but boson's choice is A . it says other views cannot give the required details . a metalink doc says that dba_segments.blocks gives the total number of blocks allocated to the table. what will be the choice that you would go for ? - so now i have the question whether boson is reliable ? how many in this list have used it ? or am i missing something : (( Regards, Prem. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Prem Khanna J 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: Richard Foote 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: another OCP question -- help me guys
Hello Prem, The syntax the question gives for DROP TABLESPACE doesn't look right to me. Without looking at the current docsgrin, I believe INCLUDING CONTENTS is a valid option, and that the others are invalid. Thus, answer B, the statement will fail, looks correct. Whoever wrote that test question does not appear to have tested their test. As for question 2, until you asked, I too would have looked in DBA_EXTENTS. But as I look at one table in my database, I see that DBA_SEGMENTS.BLOCKS reports the same value as DBA_EXTENTS.BLOCKS. It may be that DBA_SEGMENTS reports on SUM(BLOCKS) for all extents in each segment. Interesting. I'll have to read the docs on this, to find out for certain what's going on. One thing to be aware of with respect to question 2 below is that in a partitioned table, each partition is a segment. Thus, whether you go to DBA_EXTENTS or DBA_SEGMENTS, you do need to be sure to consider all partitions of the table in question. 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. Wednesday, January 7, 2004, 6:24:24 AM, Prem Khanna J ([EMAIL PROTECTED]) wrote: PKJ Hi list , sorry to pester you with questions regarding PKJ boson OCP questions . i have scheduled for #1Z0-031 exam PKJ and so desperately need help from this list . PKJ please bear with me for while . look at the 2 questions below . PKJ - PKJ QUESTION #1 PKJ what happens when you issue the command below . PKJ drop tablespace testtbs including contents cascade constraints and PKJ datafiles; PKJ A.the tablespace will be dropped , constraints will be droppped and the PKJ datafiles will be taken out of the o/s. PKJ B. statement will fail PKJ C.you must drop constraints before issuing this command. PKJ this is what happens when i try on 9.2.0.4 : PKJ ERROR at line 1: ORA-02173: invalid option for DROP TABLESPACE PKJ but boson's choice is A. i wonder how ??? PKJ - PKJ QUESTION #2 PKJ you need to determine how much space has been allocated for a table. PKJ which view would give you this information ? PKJ A. dba_extents PKJ B. dba_ts_quotas PKJ C. dba_segments PKJ my choice is C . PKJ but boson's choice is A . it says other views cannot give PKJ the required details . PKJ a metalink doc says that dba_segments.blocks gives the PKJ total number of blocks allocated to the table. PKJ what will be the choice that you would go for ? PKJ - PKJ so now i have the question whether boson is reliable ? PKJ how many in this list have used it ? PKJ or am i missing something : (( PKJ Regards, PKJ Prem. PKJ -- PKJ Please see the official ORACLE-L FAQ: http://www.orafaq.net -- 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).
Re: another OCP question -- help me guys
Jonathan, I successfully use drop tablespace including contents and datafiles all the time. And a quick check of the docs shows that cascade constraints is valid but, as Richard said, belongs at the end of the statement. As for the second question. DBA_SEGMENTS gives you the total allocated blocks in a single select, without aggregation. To use DBA_EXTENTS you'd have to use sum(blocks) in the select. From prior experience with OCP exams, they tend to go for the simplest way to get an answer. So DBA_SEGMENTS is the correct answer in their view, although you *can* get the same information from DBA_EXTENTS. --- Jonathan Gennick [EMAIL PROTECTED] wrote: Hello Prem, The syntax the question gives for DROP TABLESPACE doesn't look right to me. Without looking at the current docsgrin, I believe INCLUDING CONTENTS is a valid option, and that the others are invalid. Thus, answer B, the statement will fail, looks correct. Whoever wrote that test question does not appear to have tested their test. As for question 2, until you asked, I too would have looked in DBA_EXTENTS. But as I look at one table in my database, I see that DBA_SEGMENTS.BLOCKS reports the same value as DBA_EXTENTS.BLOCKS. It may be that DBA_SEGMENTS reports on SUM(BLOCKS) for all extents in each segment. Interesting. I'll have to read the docs on this, to find out for certain what's going on. One thing to be aware of with respect to question 2 below is that in a partitioned table, each partition is a segment. Thus, whether you go to DBA_EXTENTS or DBA_SEGMENTS, you do need to be sure to consider all partitions of the table in question. 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. Wednesday, January 7, 2004, 6:24:24 AM, Prem Khanna J ([EMAIL PROTECTED]) wrote: PKJ Hi list , sorry to pester you with questions regarding PKJ boson OCP questions . i have scheduled for #1Z0-031 exam PKJ and so desperately need help from this list . PKJ please bear with me for while . look at the 2 questions below . PKJ - PKJ QUESTION #1 PKJ what happens when you issue the command below . PKJ drop tablespace testtbs including contents cascade constraints and PKJ datafiles; PKJ A.the tablespace will be dropped , constraints will be droppped and the PKJ datafiles will be taken out of the o/s. PKJ B. statement will fail PKJ C.you must drop constraints before issuing this command. PKJ this is what happens when i try on 9.2.0.4 : PKJ ERROR at line 1: ORA-02173: invalid option for DROP TABLESPACE PKJ but boson's choice is A. i wonder how ??? PKJ - PKJ QUESTION #2 PKJ you need to determine how much space has been allocated for a table. PKJ which view would give you this information ? PKJ A. dba_extents PKJ B. dba_ts_quotas PKJ C. dba_segments PKJ my choice is C . PKJ but boson's choice is A . it says other views cannot give PKJ the required details . PKJ a metalink doc says that dba_segments.blocks gives the PKJ total number of blocks allocated to the table. PKJ what will be the choice that you would go for ? PKJ - PKJ so now i have the question whether boson is reliable ? PKJ how many in this list have used it ? PKJ or am i missing something : (( PKJ Regards, PKJ Prem. PKJ -- PKJ Please see the official ORACLE-L FAQ: http://www.orafaq.net -- 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services
Re[2]: another OCP question -- help me guys
Wednesday, January 7, 2004, 8:29:25 AM, Rachel Carmichael ([EMAIL PROTECTED]) wrote: RC I successfully use drop tablespace including contents and datafiles RC all the time. And a quick check of the docs shows that cascade RC constraints is valid but, as Richard said, belongs at the end of the RC statement. I stand corrected, though I did admit up front to not having checked the manual. I was eating breakfast at the time, so forgive me that one lapse. I liked Richard's point about trusting what you see. He was spot on with that comment, at least in this context. 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).
Re: Re[2]: another OCP question -- help me guys
I didn't mean to scold... you post way more information than I usually do! And I answer whilst eating breakfast at times too :) Richard *is* right, the problem is, the sql statement is misformed but the answer key says it will work. Which is yet another reason I dislike the OCP exams. --- Jonathan Gennick [EMAIL PROTECTED] wrote: Wednesday, January 7, 2004, 8:29:25 AM, Rachel Carmichael ([EMAIL PROTECTED]) wrote: RC I successfully use drop tablespace including contents and datafiles RC all the time. And a quick check of the docs shows that cascade RC constraints is valid but, as Richard said, belongs at the end of the RC statement. I stand corrected, though I did admit up front to not having checked the manual. I was eating breakfast at the time, so forgive me that one lapse. I liked Richard's point about trusting what you see. He was spot on with that comment, at least in this context. 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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]: another OCP question -- help me guys
A small but growing number of employers want certification. Considering the job market, I recommend anyone who is not at Rachel's, etc.. level to get certified as both a developer and a DBA. I'm doing Java also, just to have it. The java test is a total joke. You only need to get 52% right and its just one test, but people want it. You really don't even need to know java. Just object-oriented programming and memorize a bunch of fairly useless information. Getting a good salary is more about your resume and how well you speak than it is about your skill set. I've had alot of technical interviews and they all seem to ask the same easy questions. They are interested in: years of experience, degree, where your degree is from, certification, and in some cases where you worked before. There is some bias in the DC area for 'top 5' consulting. I think that means Booz Allen, and Ernst and Young. Not sure who the other 3 happen to be. People don't seem to be all that interested in whether you can actually do the job. They just assume your better than someone else if you have a nicer resume. - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 9:34 AM I didn't mean to scold... you post way more information than I usually do! And I answer whilst eating breakfast at times too :) Richard *is* right, the problem is, the sql statement is misformed but the answer key says it will work. Which is yet another reason I dislike the OCP exams. --- Jonathan Gennick [EMAIL PROTECTED] wrote: Wednesday, January 7, 2004, 8:29:25 AM, Rachel Carmichael ([EMAIL PROTECTED]) wrote: RC I successfully use drop tablespace including contents and datafiles RC all the time. And a quick check of the docs shows that cascade RC constraints is valid but, as Richard said, belongs at the end of the RC statement. I stand corrected, though I did admit up front to not having checked the manual. I was eating breakfast at the time, so forgive me that one lapse. I liked Richard's point about trusting what you see. He was spot on with that comment, at least in this context. 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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: Ryan 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[3]: another OCP question -- help me guys
Thanx for your reply Gennick. ..and for your word of caution about partitioned tables. Cary , sometime back said that : Cary There are always two answers to a question that your teacher would ask at school . First one is the right answer. Second one is the answer that your teacher would expect. /Cary The second answer is the one i mostly fail to find. Regards, Prem. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Prem Khanna J 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]: another OCP question -- help me guys
Title: RE: Re[2]: another OCP question -- help me guys Uh No one can be at Rachel's level. She's the DBA Goddess -Original Message- From: Ryan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 07, 2004 8:55 AM To: Multiple recipients of list ORACLE-L Subject: Re: Re[2]: another OCP question -- help me guys A small but growing number of employers want certification. Considering the job market, I recommend anyone who is not at Rachel's, etc.. level to get certified as both a developer and a DBA. I'm doing Java also, just to have it. The java test is a total joke. You only need to get 52% right and its just one test, but people want it. You really don't even need to know java. Just object-oriented programming and memorize a bunch of fairly useless information. Getting a good salary is more about your resume and how well you speak than it is about your skill set. I've had alot of technical interviews and they all seem to ask the same easy questions. They are interested in: years of experience, degree, where your degree is from, certification, and in some cases where you worked before. There is some bias in the DC area for 'top 5' consulting. I think that means Booz Allen, and Ernst and Young. Not sure who the other 3 happen to be. People don't seem to be all that interested in whether you can actually do the job. They just assume your better than someone else if you have a nicer resume. - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 9:34 AM I didn't mean to scold... you post way more information than I usually do! And I answer whilst eating breakfast at times too :) Richard *is* right, the problem is, the sql statement is misformed but the answer key says it will work. Which is yet another reason I dislike the OCP exams. --- Jonathan Gennick [EMAIL PROTECTED] wrote: Wednesday, January 7, 2004, 8:29:25 AM, Rachel Carmichael ([EMAIL PROTECTED]) wrote: RC I successfully use drop tablespace including contents and datafiles RC all the time. And a quick check of the docs shows that cascade RC constraints is valid but, as Richard said, belongs at the end RC of the RC statement. I stand corrected, though I did admit up front to not having checked the manual. I was eating breakfast at the time, so forgive me that one lapse. I liked Richard's point about trusting what you see. He was spot on with that comment, at least in this context. 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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: Ryan 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
Re[3]: another OCP question -- help me guys
Ryan People don't seem to be all that interested in Ryan whether you can actually do the job. Ryan , i would change your first line as Some people don't seem to ... Because some people really DO care about what one can do. Ryan They just assume your better than someone Ryan else if you have a nicer resume. I agree . Because resume is the mirror which reflects an individual until the interview happens . Regards, Prem. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Prem Khanna J 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]: another OCP question -- help me guys
Michael Abbey once said (I'm paraphrasing here) the resume and OCP get you in the door. It's your experience that gets you the job and keeps you there We've had numerous discussions on this list about interview questions. I've been on interviews where I spent an entire day (9-4) and talked to 11 different people, both non-technical questions and technical ones in and out of my area of expertise. and this was AFTER a 90 minute phone technical interview. I've been on interviews where there was no DBA on site, so the technical aspect of the interview was more an informal consulting session (how would you handle this problem, when I could tell it was one they were currently having) I'm not interested in how much you've memorized. Or how well you take standardized tests. I do ask questions that pertain to skill set and creative thinking. Unfortunately these days, personnel departments do the initial screening and they use a keyword search on college degree and OCP. Wherever possible, I try to do the initial search and interview myself and THEN pass a candidate along to HR. That way I can at least argue for someone really good, even if their resume doesn't hit the keywords. Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? And while we definitely need people who know a little about everything (the primary care physician as it were) we still need experts in specialized areas. I wouldn't necessarily urge people to study lots and lots of things, that usually ends up meaning they do none of them well. Okay, can you tell you poked one of my pet peeves? Off the soapbox for now :) my $0.02, for what it's worth (which is less and less these days!) Rachel --- Ryan [EMAIL PROTECTED] wrote: A small but growing number of employers want certification. Considering the job market, I recommend anyone who is not at Rachel's, etc.. level to get certified as both a developer and a DBA. I'm doing Java also, just to have it. The java test is a total joke. You only need to get 52% right and its just one test, but people want it. You really don't even need to know java. Just object-oriented programming and memorize a bunch of fairly useless information. Getting a good salary is more about your resume and how well you speak than it is about your skill set. I've had alot of technical interviews and they all seem to ask the same easy questions. They are interested in: years of experience, degree, where your degree is from, certification, and in some cases where you worked before. There is some bias in the DC area for 'top 5' consulting. I think that means Booz Allen, and Ernst and Young. Not sure who the other 3 happen to be. People don't seem to be all that interested in whether you can actually do the job. They just assume your better than someone else if you have a nicer resume. - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 9:34 AM I didn't mean to scold... you post way more information than I usually do! And I answer whilst eating breakfast at times too :) Richard *is* right, the problem is, the sql statement is misformed but the answer key says it will work. Which is yet another reason I dislike the OCP exams. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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]: another OCP question -- help me guys
Rachel Carmichael scribbled on the wall in glitter crayon: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? it gets you past the HR department so you actually get to talk to someone. trust me, i know all about this one having neither a degree or an OCP. and having lost jobs to those art history degree holders. [and yes i have been asked to go back to those same places as a consultant to fix the mess. and no i didn't.] -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat. - Albert Einstein, when asked to describe radio -- 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).
Re: Re[2]: another OCP question -- help me guys
degrees and ocps often do alot more than get you past the HR department. most jobs these days are short term temp jobs. temp companies offer you salary based mainly on your resume. most technical interviews are a joke. I can make more money if I double my experience level and have a computer science degree from harvard, while at the same time halving my skillset and performance. - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 10:29 AM Rachel Carmichael scribbled on the wall in glitter crayon: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? it gets you past the HR department so you actually get to talk to someone. trust me, i know all about this one having neither a degree or an OCP. and having lost jobs to those art history degree holders. [and yes i have been asked to go back to those same places as a consultant to fix the mess. and no i didn't.] -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat. - Albert Einstein, when asked to describe radio -- 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: Ryan 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]: another OCP question -- help me guys
On 01/07/2004 10:19:25 AM, Rachel Carmichael wrote: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? Believe it or not, a college degree in art history really does help in two ways. First, people exposed to sufficient quantity of art tend to be nobler and more spiritual, according to the popular beliefs, then cynical mathematicians and computer geeks like me. Being noble and spiritual means that they don't fight back but do as they're told which makes them into good corporate drones. Art history is like an army boot camp for wannabe geeks. Their appearance also tends to be much more pleasant and polished then an appearance of a hard core computer geek. Second, art history majors make perfect sacrificial lambs. An art history major in IT department can be blamed for anything from bad weather, corrupt backup tape to stupid application design. My understanding is that you've moved to the management, which is the move that I admire and respect. As a manager, you should know the value of a sacrificial lamb that can be blamed for anything. If you want to make the next step in your career, the step from management to damagement, you'll have to learn how to play the blame shifting game. Art history majors are priceless for that. -- 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).
RE: Re[2]: another OCP question -- help me guys
I do understand, and that's why I said that I tried to bring people in first, before HR (as you know) --- Thater, William [EMAIL PROTECTED] wrote: Rachel Carmichael scribbled on the wall in glitter crayon: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? it gets you past the HR department so you actually get to talk to someone. trust me, i know all about this one having neither a degree or an OCP. and having lost jobs to those art history degree holders. [and yes i have been asked to go back to those same places as a consultant to fix the mess. and no i didn't.] -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat. - Albert Einstein, when asked to describe radio -- 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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]: another OCP question -- help me guys
Rachel Carmichael scribbled on the wall in glitter crayon: I do understand, and that's why I said that I tried to bring people in first, before HR (as you know) yup, but most places don't have a Goddess on staff.;-) and i'm seeing the requirement for OCP being listed in consulting postings now. but then many of those job requirements are generated by a company's HR and then sent out by the consulting firms. and less and less of them are mentioning experience. now there's and interesting trend, we don't care how long or even if you've done the job, just if you have a degree or an OCP. -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] The point is to develop the childlike inclination for play and the childlike desire for recognition and to guide the child over to important fields for society. Such a school demands from the teacher that he be a kind of artist in his province. - 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).
Re: Re[2]: another OCP question -- help me guys
Now I understand their use, I shall immediately go out and hire an art history major as the deparmental sacrifical lamb (and dartboard while we are at it) I'm still a hands-on DBA, although I have some paperwork responsibilities as well. Not management, other than my own work :) Rachel --- Mladen Gogala [EMAIL PROTECTED] wrote: On 01/07/2004 10:19:25 AM, Rachel Carmichael wrote: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? Believe it or not, a college degree in art history really does help in two ways. First, people exposed to sufficient quantity of art tend to be nobler and more spiritual, according to the popular beliefs, then cynical mathematicians and computer geeks like me. Being noble and spiritual means that they don't fight back but do as they're told which makes them into good corporate drones. Art history is like an army boot camp for wannabe geeks. Their appearance also tends to be much more pleasant and polished then an appearance of a hard core computer geek. Second, art history majors make perfect sacrificial lambs. An art history major in IT department can be blamed for anything from bad weather, corrupt backup tape to stupid application design. My understanding is that you've moved to the management, which is the move that I admire and respect. As a manager, you should know the value of a sacrificial lamb that can be blamed for anything. If you want to make the next step in your career, the step from management to damagement, you'll have to learn how to play the blame shifting game. Art history majors are priceless for that. -- 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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]: another OCP question -- help me guys
Title: RE: Re[2]: another OCP question -- help me guys brutal, absolutely brutal... Rachel, can ya out-source your sacrificial lamb for our use as well:-) -Original Message- From: Rachel Carmichael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 07, 2004 11:54 AM To: Multiple recipients of list ORACLE-L Subject: Re: Re[2]: another OCP question -- help me guys Now I understand their use, I shall immediately go out and hire an art history major as the deparmental sacrifical lamb (and dartboard while we are at it) I'm still a hands-on DBA, although I have some paperwork responsibilities as well. Not management, other than my own work :) Rachel --- Mladen Gogala [EMAIL PROTECTED] wrote: On 01/07/2004 10:19:25 AM, Rachel Carmichael wrote: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? Believe it or not, a college degree in art history really does help in two ways. First, people exposed to sufficient quantity of art tend to be nobler and more spiritual, according to the popular beliefs, then cynical mathematicians and computer geeks like me. Being noble and spiritual means that they don't fight back but do as they're told which makes them into good corporate drones. Art history is like an army boot camp for wannabe geeks. Their appearance also tends to be much more pleasant and polished then an appearance of a hard core computer geek. Second, art history majors make perfect sacrificial lambs. An art history major in IT department can be blamed for anything from bad weather, corrupt backup tape to stupid application design. My understanding is that you've moved to the management, which is the move that I admire and respect. As a manager, you should know the value of a sacrificial lamb that can be blamed for anything. If you want to make the next step in your career, the step from management to damagement, you'll have to learn how to play the blame shifting game. Art history majors are priceless for that. -- 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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]: another OCP question -- help me guys
Rachel, A few years ago I was offered a job by a defense contractor in the area who was looking for a DBA, but more importantly a DBA with a still active clearance. Well all was well in 90% of that company, except HR. Simple answer, no degree no job. I don't have the degree so they absolutely would not let the paperwork through, end of conversation. So yes it does matter even when it makes no sense. BTW: they did fill the job a year later with a person who had a degree in English believe it or not. Her clearance was inactive not current as well. Guess it's better than no clearance. Dick Goulet Senior Oracle DBA Oracle Certified 8i DBA -Original Message- Sent: Wednesday, January 07, 2004 10:29 AM To: Multiple recipients of list ORACLE-L Rachel Carmichael scribbled on the wall in glitter crayon: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? it gets you past the HR department so you actually get to talk to someone. trust me, i know all about this one having neither a degree or an OCP. and having lost jobs to those art history degree holders. [and yes i have been asked to go back to those same places as a consultant to fix the mess. and no i didn't.] -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat. - Albert Einstein, when asked to describe radio -- 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: 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).
RE: Re[2]: another OCP question -- help me guys
what you lose in worth you gain in self-worth. Henry -Original Message- Ryan Sent: Wednesday, January 07, 2004 10:55 AM To: Multiple recipients of list ORACLE-L degrees and ocps often do alot more than get you past the HR department. most jobs these days are short term temp jobs. temp companies offer you salary based mainly on your resume. most technical interviews are a joke. I can make more money if I double my experience level and have a computer science degree from harvard, while at the same time halving my skillset and performance. - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 10:29 AM Rachel Carmichael scribbled on the wall in glitter crayon: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? it gets you past the HR department so you actually get to talk to someone. trust me, i know all about this one having neither a degree or an OCP. and having lost jobs to those art history degree holders. [and yes i have been asked to go back to those same places as a consultant to fix the mess. and no i didn't.] -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat. - Albert Einstein, when asked to describe radio -- 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: Ryan 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: 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).
RE: Re[2]: another OCP question -- help me guys
I know it makes no sense... but it has something to do with a (very) antiquated class system and the difference between white-collar workers and blue-collar workers and salary vs hourly wages for the non-US, the term white collar worker refers to office staff, who would wear a white shirt and tie to the office. While blue collar refers to the people who get their hands dirty, wearing blue denim shirts. Always amused me that the IBM field staff had to wear white shirts and ties while working on machinery that had grease and carbon etc all over it. --- Goulet, Dick [EMAIL PROTECTED] wrote: Rachel, A few years ago I was offered a job by a defense contractor in the area who was looking for a DBA, but more importantly a DBA with a still active clearance. Well all was well in 90% of that company, except HR. Simple answer, no degree no job. I don't have the degree so they absolutely would not let the paperwork through, end of conversation. So yes it does matter even when it makes no sense. BTW: they did fill the job a year later with a person who had a degree in English believe it or not. Her clearance was inactive not current as well. Guess it's better than no clearance. Dick Goulet Senior Oracle DBA Oracle Certified 8i DBA -Original Message- Sent: Wednesday, January 07, 2004 10:29 AM To: Multiple recipients of list ORACLE-L Rachel Carmichael scribbled on the wall in glitter crayon: Oh yeah -- how does having a college degree in art history make a person a better DBA? how does my degree, which is in computer science but which is 28 years old, have anything to do with current programming and database work? it gets you past the HR department so you actually get to talk to someone. trust me, i know all about this one having neither a degree or an OCP. and having lost jobs to those art history degree holders. [and yes i have been asked to go back to those same places as a consultant to fix the mess. and no i didn't.] -- Bill Shrek Thater ORACLE DBA I'm going to work my ticket if I can... -- Gilwell song [EMAIL PROTECTED] You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat. - Albert Einstein, when asked to describe radio -- 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: 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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: another OCP question -- help me guys
Hi list , sorry to pester you with questions regarding boson OCP questions . i have scheduled for #1Z0-031 exam and so desperately need help from this list . please bear with me for while . look at the 2 questions below . Don't apologize Prem, who else are you gonna call, ghostbusters? :) - QUESTION #1 what happens when you issue the command below . drop tablespace testtbs including contents cascade constraints and datafiles; but boson's choice is A. i wonder how ??? Statement is incorrect, cascade constraints is placed in the end. Fine that explains that boson is wrong. But if you want to prepare for ocp then , you must also consider the possibility that a novice like me was sitting at boson preparing these questions. So the next time you come across a question whose answer doesn't match yours do the following in the order specified: 1. Assume boson is right and recheck your answer. Try it out on a test database. (make sure you get the conditions of the question correctly implemented). See the docs. 2. Assume boson is right and read the solution /explanation for the answer, then tally it with your answer and solution. 3. Still not happy ? Assume boson is right and re-read the question, there may be one word or a comma or a full stop or a bracket ,etc that is completly changing the meaning of the question but you may skipped it when reading the question. (It happens a lot to me, but then I am dumb :). Now tally your answer with boson 4. Still not happy ? (there is no pleasing you, is there? :) ok now you can do two things: 4a. The question and the solution given by boson are blatantly wrong (because of a typo or because I had set the question paper ) AND YOU ARE ABLE TO COMPLETLY REASON OUT out what is so wrong about the question and answer, what should it have been, what if that part of the question was changed so , etc etc, ; then correct the question and answer and move onto the next one. 4b The question is still blatantly wrong but you have a nagging doubt, then ask around . There may be some obscure formula (which works only in OCP exams) or the answer may be the least of all the evils given . Either which way time to mug it up Now keeping in mind these policies, have another look at the two questions you have given above and below. - QUESTION #2 you need to determine how much space has been allocated for a table. which view would give you this information ? A. dba_extents B. dba_ts_quotas C. dba_segments my choice is C . but boson's choice is A . it says other views cannot give the required details . a metalink doc says that dba_segments.blocks gives the total number of blocks allocated to the table. what will be the choice that you would go for ? - Both A and C are right. What will really boggle your mind is deciding what to say if you get the exact same question in the ocp exam and you have to make a single choice. But relax ocp exams are not as troublesome, they are much more professionally prepared. so now i have the question whether boson is reliable ? how many in this list have used it ? or am i missing something : (( After reading my letter I hope there is at least one thing you can say : Boson is not reliable , but it is essential. Remember , there is a big difference between studying and studying for an exam . And the only way to ace the ocp is to do many question papers like boson. .. -- 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: Re[2]: another OCP question -- help me guys
Rachel writes Now I understand their use, I shall immediately go out and hire an art history major as the deparmental sacrifical lamb (and dartboard while we are at it) Hey I have an *economics* degree, *and* am a part-qualified accountant. I claim that sacrificial lamb position as my own. Nothing so useful as Art in my background, just graphs with the axes befuddled. Niall P.S. I can work powerpoint too. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Niall Litchfield 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]: another OCP question -- help me guys
you leave me such straight lines :) which part is qualified as an accountant? you volunteer to be the sacrificial lamb? Hm, masochist? Before Jared tries to send everyone over to my list on this topic, I'll try to bring it at least slightly back on topic. I really don't care if someone has a degree or has completed the OCP exams. I want to see what they have done in practice, or if they are interviewing for a truly junior position, I want to know how they learn, what they've played with on their own. Two of the smartest men I have ever known never finished college. --- Niall Litchfield [EMAIL PROTECTED] wrote: Rachel writes Now I understand their use, I shall immediately go out and hire an art history major as the deparmental sacrifical lamb (and dartboard while we are at it) Hey I have an *economics* degree, *and* am a part-qualified accountant. I claim that sacrificial lamb position as my own. Nothing so useful as Art in my background, just graphs with the axes befuddled. Niall P.S. I can work powerpoint too. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Niall Litchfield 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). __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael 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: another OCP question -- help me guys
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:45 PM To: Multiple recipients of list ORACLE-L Subject: Re: another OCP question -- help me guys Hi list , sorry to pester you with questions regarding boson OCP questions . i have scheduled for #1Z0-031 exam and so desperately need help from this list . please bear with me for while . look at the 2 questions below . Don't apologize Prem, who else are you gonna call, ghostbusters? :) there are lot of OCP-busters here :-) -- 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).
rep-1219 need help
Hi friends wish u all a very happy new year i am getting the following error when i run my report REP-1219: 'Object name' has no size -- length or width is zero. but when i rebuild the report again it works well but when i save it and run it next time it again gives the same error and i have to rebuild it again to get the required report output can somebody please help me out of this thanks regds, Rohan From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: starting/stopping trace in session Date: Fri, 02 Jan 2004 20:24:25 -0800 Folks, I've noticed -- at least on our 9.2 instances, that it does not seem possible to generate two trace files from the same session. Meaning, if I start a trace in a session, then stop it, use tkprof to run some analysis, and then erase that trace file, a second start_trace does /not/ generate a new tracefile. Is this expected behavior? Adam -- 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). _ Games, MMS cards, ringtones. Operator logos, picture messages more. http://server1.msn.co.in/sp03/mobilesms/ Jazz up your mobile! -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rohan Karanjawala 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: help with estimate row count from asktom
One minor caveat about setting timed_os_statistics. On Solaris, if you set timed_os_statistics to non-zero, microstate accounting at the OS level is enabled for the server process. Common practice is to leave it off for performance reason. But I've never seen experimental data proving the negative effect of turning it on. Yong Huang Tanel Poder wrote: Hi! Statistics level ALL means TYPICAL + row source execution stats + timed_os_statistics. If you want to switch to ALL for performance reasons, you can switch only row source stats on with parameter setting _rowsource_execution_statistics to true (on session level). But I doubt it'll help in current case anyway. Tanel __ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Yong Huang 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).
help with estimate row count from asktom
I have a very strict SLA and I posted a question on asktom about the best way to get the 'estimate' of rows and return it to the user. Im getting 'no data found'. anyone have ideas? Im on 9.2, tables are analyzed, and Im in a DBA account. my question is at the bottom. http://asktom.oracle.com/pls/ask/f?p=4950:8:352052922015846036::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1933814740032, -- 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: help with estimate row count from asktom
v$sql_plan_statistics (and consequently v$sql_plan_statistics_all) only have data to show if statistics_level is set to ALL. You can set that at the session level. Has anyone done measurements on a busy system to evaluate what the impact is of setting that system-wide. The impression I have is that it is not something I want to set in production all the time. At 08:39 AM 12/30/2003, you wrote: I have a very strict SLA and I posted a question on asktom about the best way to get the 'estimate' of rows and return it to the user. Im getting 'no data found'. anyone have ideas? Im on 9.2, tables are analyzed, and Im in a DBA account. my question is at the bottom. http://asktom.oracle.com/pls/ask/f?p=4950:8:352052922015846036::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1933814740032, -- 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). Wolfgang Breitling Oracle7, 8, 8i, 9i OCP DBA Centrex Consulting Corporation http://www.centrexcc.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Wolfgang Breitling 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: help with estimate row count from asktom
im concerned about hitting the v$views in production. we have 30,000 users. its either that or do counts. Its a requirement from the users. not sure what to do. doesnt tom kyte do this on asktom? From: Wolfgang Breitling [EMAIL PROTECTED] Date: 2003/12/30 Tue PM 12:09:33 EST To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: Re: help with estimate row count from asktom v$sql_plan_statistics (and consequently v$sql_plan_statistics_all) only have data to show if statistics_level is set to ALL. You can set that at the session level. Has anyone done measurements on a busy system to evaluate what the impact is of setting that system-wide. The impression I have is that it is not something I want to set in production all the time. At 08:39 AM 12/30/2003, you wrote: I have a very strict SLA and I posted a question on asktom about the best way to get the 'estimate' of rows and return it to the user. Im getting 'no data found'. anyone have ideas? Im on 9.2, tables are analyzed, and Im in a DBA account. my question is at the bottom. http://asktom.oracle.com/pls/ask/f?p=4950:8:352052922015846036::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1933814740032, -- 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). Wolfgang Breitling Oracle7, 8, 8i, 9i OCP DBA Centrex Consulting Corporation http://www.centrexcc.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Wolfgang Breitling 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).
RE: Re: help with estimate row count from asktom
Don't be afraid to access v$ views, just beware of the bug that throws a ora-600 when selecting 'filter_predicates' and 'access_predicates' under 9202. As a workaround, don't select those two columns. If I were you, I'd make sure that users are *very* clear that the number you are going to get is an 'ESTIMATE' only. We run with statistics_level=ALL, haven't seen any noticeable difference, 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- Sent: Tuesday, December 30, 2003 1:19 PM To: Multiple recipients of list ORACLE-L im concerned about hitting the v$views in production. we have 30,000 users. its either that or do counts. Its a requirement from the users. not sure what to do. doesnt tom kyte do this on asktom? ** 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).
RE: Re: help with estimate row count from asktom
Ryan, I asked Tom that very question a while ago, here: http://asktom.oracle.com/pls/ask/f?p=4950:8:8900576360328284797::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:3489618933902, The short answer is that he's using Intermedia for his searching, which has the 'ctx_query.count_hits' functionality. It's built-in to Intermedia. -Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 12/30/2003 1:19 PM To: Multiple recipients of list ORACLE-L Cc: Subject:Re: Re: help with estimate row count from asktom im concerned about hitting the v$views in production. we have 30,000 users. its either that or do counts. Its a requirement from the users. not sure what to do. doesnt tom kyte do this on asktom? From: Wolfgang Breitling [EMAIL PROTECTED] Date: 2003/12/30 Tue PM 12:09:33 EST To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: Re: help with estimate row count from asktom v$sql_plan_statistics (and consequently v$sql_plan_statistics_all) only have data to show if statistics_level is set to ALL. You can set that at the session level. Has anyone done measurements on a busy system to evaluate what the impact is of setting that system-wide. The impression I have is that it is not something I want to set in production all the time. At 08:39 AM 12/30/2003, you wrote: I have a very strict SLA and I posted a question on asktom about the best way to get the 'estimate' of rows and return it to the user. Im getting 'no data found'. anyone have ideas? Im on 9.2, tables are analyzed, and Im in a DBA account. my question is at the bottom. http://asktom.oracle.com/pls/ask/f?p=4950:8:352052922015846036::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1933814740032, -- 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). Wolfgang Breitling Oracle7, 8, 8i, 9i OCP DBA Centrex Consulting Corporation http://www.centrexcc.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Wolfgang Breitling 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: Bobak, Mark 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: help with estimate row count from asktom
anyone have a better way to do this? im going to post what you said wolfgang on asktom and see what he has to say. From: Wolfgang Breitling [EMAIL PROTECTED] Date: 2003/12/30 Tue PM 12:09:33 EST To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: Re: help with estimate row count from asktom v$sql_plan_statistics (and consequently v$sql_plan_statistics_all) only have data to show if statistics_level is set to ALL. You can set that at the session level. Has anyone done measurements on a busy system to evaluate what the impact is of setting that system-wide. The impression I have is that it is not something I want to set in production all the time. At 08:39 AM 12/30/2003, you wrote: I have a very strict SLA and I posted a question on asktom about the best way to get the 'estimate' of rows and return it to the user. Im getting 'no data found'. anyone have ideas? Im on 9.2, tables are analyzed, and Im in a DBA account. my question is at the bottom. http://asktom.oracle.com/pls/ask/f?p=4950:8:352052922015846036::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1933814740032, -- 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). Wolfgang Breitling Oracle7, 8, 8i, 9i OCP DBA Centrex Consulting Corporation http://www.centrexcc.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Wolfgang Breitling 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).
RE: Re: help with estimate row count from asktom
i could have swarn i read in multiple places that in a high transaction system hitting v$views repeatedly kills performance? causes excessive latching? ill have to test it to see if this is better than a count. Gonna be ugly either way. From: Jamadagni, Rajendra [EMAIL PROTECTED] Date: 2003/12/30 Tue PM 01:29:25 EST To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: RE: Re: help with estimate row count from asktom Don't be afraid to access v$ views, just beware of the bug that throws a ora-600 when selecting 'filter_predicates' and 'access_predicates' under 9202. As a workaround, don't select those two columns. If I were you, I'd make sure that users are *very* clear that the number you are going to get is an 'ESTIMATE' only. We run with statistics_level=ALL, haven't seen any noticeable difference, 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- Sent: Tuesday, December 30, 2003 1:19 PM To: Multiple recipients of list ORACLE-L im concerned about hitting the v$views in production. we have 30,000 users. its either that or do counts. Its a requirement from the users. not sure what to do. doesnt tom kyte do this on asktom? ** 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: [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: Re: help with estimate row count from asktom
Hi! Statistics level ALL means TYPICAL + row source execution stats + timed_os_statistics. If you want to switch to ALL for performance reasons, you can switch only row source stats on with parameter setting _rowsource_execution_statistics to true (on session level). But I doubt it'll help in current case anyway. Tanel. - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:19 PM anyone have a better way to do this? im going to post what you said wolfgang on asktom and see what he has to say. From: Wolfgang Breitling [EMAIL PROTECTED] Date: 2003/12/30 Tue PM 12:09:33 EST To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: Re: help with estimate row count from asktom v$sql_plan_statistics (and consequently v$sql_plan_statistics_all) only have data to show if statistics_level is set to ALL. You can set that at the session level. Has anyone done measurements on a busy system to evaluate what the impact is of setting that system-wide. The impression I have is that it is not something I want to set in production all the time. At 08:39 AM 12/30/2003, you wrote: I have a very strict SLA and I posted a question on asktom about the best way to get the 'estimate' of rows and return it to the user. Im getting 'no data found'. anyone have ideas? Im on 9.2, tables are analyzed, and Im in a DBA account. my question is at the bottom. http://asktom.oracle.com/pls/ask/f?p=4950:8:352052922015846036::NO::F4950_P 8_DISPLAYID,F4950_P8_CRITERIA:1933814740032, -- 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). Wolfgang Breitling Oracle7, 8, 8i, 9i OCP DBA Centrex Consulting Corporation http://www.centrexcc.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Wolfgang Breitling 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: Tanel Poder 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 help with materialized view question
Im sure its a privilege issue. 1. I have 3 tables with two different owners 2. I want to create a materialized join view of these tables in a 3rd user account. 3. I altered the session to enable query rewrite and query_rewrite_integrity=trusted 4. I granted query rewrite enabled to every owner involved. 5. I can create the materialized view, if I do not join them to one of the owners or leave off 'query rewrite enabled. Here is what I get. create materialized view test build immediate refresh on demand enable query rewrite as select columns from user1.table1, user1.table2, user2.table3 where table1.pk = table2.pk and table2.pk = table3.pk ERROR at line 9: ORA-00942: table or view does not exist I have all privileges on this table otherwise. I can do a select, describe, create materialized view without query rewrite I take out 'query rewrite enabled' and it works. I have granted query rewrite enabled to the user in question -- 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: please help with materialized view question
I figured it out. I have another problem. I create my materialized view. I now want to write a query that joins it to a transactional table. I want to use query rewrite. Problem is the join is not on the primary key of either table. Is it possible to enable query rewrite without that? I have it in trusted mode? -- 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: please help with materialized view question
public synonym? ryan_oracle @cox.netTo: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent by: cc: ml-errorsSubject: please help with materialized view question 12/26/2003 12:54 PM Please respond to ORACLE-L Im sure its a privilege issue. 1. I have 3 tables with two different owners 2. I want to create a materialized join view of these tables in a 3rd user account. 3. I altered the session to enable query rewrite and query_rewrite_integrity=trusted 4. I granted query rewrite enabled to every owner involved. 5. I can create the materialized view, if I do not join them to one of the owners or leave off 'query rewrite enabled. Here is what I get. create materialized view test build immediate refresh on demand enable query rewrite as select columns from user1.table1, user1.table2, user2.table3 where table1.pk = table2.pk and table2.pk = table3.pk ERROR at line 9: ORA-00942: table or view does not exist I have all privileges on this table otherwise. I can do a select, describe, create materialized view without query rewrite I take out 'query rewrite enabled' and it works. I have granted query rewrite enabled to the user in question -- 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: Thomas Day 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: please help with materialized view question
I figured it out. I need some help with query re-write. Im not sure its possible. My materialized view joins 3 tables on the primary key/foreign key. I have a query that would join that materialized view to a third transactional table, but that join is not on any primary key or foreign key. I cant get it to re-write my query. My query joins 4 tables. 3 are in the materialized view. One is not. is this possible? -- 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: please help with materialized view question
Warning: I have not actually used query rewrite in this way, so take this with a grain of salt. If you're joining the MV directly to a table, what is there to rewrite? If you were joining the tables that make up the MV, and doing so on the same key that was used to create the MV, and joining that result to a transactional table, it would make sense to use query rewrite. Based on your statement though, I don't see the need. Clarification? Jared [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/26/2003 10:44 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Re: please help with materialized view question I figured it out. I have another problem. I create my materialized view. I now want to write a query that joins it to a transactional table. I want to use query rewrite. Problem is the join is not on the primary key of either table. Is it possible to enable query rewrite without that? I have it in trusted mode? -- 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: Re: please help with materialized view question
my bad on the explanation. I have 4 tables. 3 are non-transactional. These are joined in a primary key/foreign key relationship. These are going in the materialized view. I want to join my 4th table to my materialized view. 1. The application current has code that joins all 4 tables. I dont know if they will re-write this. 2. The refresh on that materialized view is possibly time consuming. Im worried about stale data. I want oracle to determine if its stale or not. If I explicitly hit the materialized view, I have to handle that with code. We do nightly data loads, then the materialized view needs to be reloaded. This could take a little while. From: [EMAIL PROTECTED] Date: 2003/12/26 Fri PM 02:09:27 EST To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: Re: please help with materialized view question Warning: I have not actually used query rewrite in this way, so take this with a grain of salt. If you're joining the MV directly to a table, what is there to rewrite? If you were joining the tables that make up the MV, and doing so on the same key that was used to create the MV, and joining that result to a transactional table, it would make sense to use query rewrite. Based on your statement though, I don't see the need. Clarification? Jared [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/26/2003 10:44 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Re: please help with materialized view question I figured it out. I have another problem. I create my materialized view. I now want to write a query that joins it to a transactional table. I want to use query rewrite. Problem is the join is not on the primary key of either table. Is it possible to enable query rewrite without that? I have it in trusted mode? -- 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). Warning: I have not actually used query rewrite in this way, so take this with a grain of salt. If you're joining the MV directly to a table, what is there to rewrite? If you were joining the tables that make up the MV, and doing so on the same key that was used to create the MV, and joining that result to a transactional table, it would make sense to use query rewrite. Based on your statement though, I don't see the need. Clarification? Jared [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/26/2003 10:44 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Re: please help with materialized view question I figured it out. I have another problem. I create my materialized view. I now want to write a query that joins it to a transactional table. I want to use query rewrite. Problem is the join is not on the primary key of either table. Is it possible to enable query rewrite without that? I have it in trusted mode? -- 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: Re: please help with materialized view question
Normally you can get extra tables involved with an MV by creating a Dimension that describes all the relationships between the tables in the MV and the tables outside the MV - but the only times I've done this, the extra tables have always been at the parent end of a parent/child link to a table in the MV. Given the way the 'create dimension' defines levels and hierarchies, I think this may be a requirement; so you may not be able to do what you want to do. 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: Friday, December 26, 2003 6:59 PM I figured it out. I need some help with query re-write. Im not sure its possible. My materialized view joins 3 tables on the primary key/foreign key. I have a query that would join that materialized view to a third transactional table, but that join is not on any primary key or foreign key. I cant get it to re-write my query. My query joins 4 tables. 3 are in the materialized view. One is not. is this possible? -- 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).
List please help
List , sorry to keep troubling you all but even if you are not interested in helping could someone just let me know if this happens by default in 9i release 2 or am I doing something wrong. I am using 9.2.0.1.0 enterprise edition on windows. Earlier when I use to specify nls_lang=French_France.US7ASCII in 9i release 1 I would get the following messages in French c: sqlplus Entrez le nom utilisateur : But now when I specify nls_lang=French_France.US7ASCII , sqlplus sticks to english c: sqlplus Enter user-name: Any ideas ? I tried out the following but to no avail : 1. I specified ora_nls33 to point to D:\OracleXP\Ora92\ocommon\nls\ADMIN\DATA where D:\OracleXP\Ora92\ is my %oracle_home% 2. I set nls_lang=French_France.US7ASCII , log in as a user, checked NLS_SESSION_PARAMETERS. It shows that NLS_LANGUAGE is FRENCH and NLS_TERRITORY is FRANCE. When I select from a column containing dates , the months are in French. sysdate also gives the month in french 3. Same behaviour with nls_lang=French_France.WE8MSWIN1252 and nls_lang=nls_lang=French_France.UTF8 (although this is an incorrect specification since there are no utf8 windows clients ) 4. Similarly when I specify nls_lang=ENGLISH_INDIA.WE8MSWIN1252 my queries pick up the correct local currency symbol. and nls_language and nls_territory values in nls_session_parameters are correct. 5. Alert log doesn't show any errors. My database character set is AL32UTF8 , did not specify an nchar characterset while creating the database. -- 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).
Ignore: List please help
List, I did a reinstall and got the french language support back when I specified the languages during the reinstall. Thanks Merry xmas and happy new year :) - Original Message - To: [EMAIL PROTECTED] Sent: Thursday, December 25, 2003 06:39 List , sorry to keep troubling you all but even if you are not interested in helping could someone just let me know if this happens by default in 9i release 2 or am I doing something wrong. I am using 9.2.0.1.0 enterprise edition on windows. Earlier when I use to specify nls_lang=French_France.US7ASCII in 9i release 1 I would get the following messages in French c: sqlplus Entrez le nom utilisateur : But now when I specify nls_lang=French_France.US7ASCII , sqlplus sticks to english c: sqlplus Enter user-name: Any ideas ? I tried out the following but to no avail : 1. I specified ora_nls33 to point to D:\OracleXP\Ora92\ocommon\nls\ADMIN\DATA where D:\OracleXP\Ora92\ is my %oracle_home% 2. I set nls_lang=French_France.US7ASCII , log in as a user, checked NLS_SESSION_PARAMETERS. It shows that NLS_LANGUAGE is FRENCH and NLS_TERRITORY is FRANCE. When I select from a column containing dates , the months are in French. sysdate also gives the month in french 3. Same behaviour with nls_lang=French_France.WE8MSWIN1252 and nls_lang=nls_lang=French_France.UTF8 (although this is an incorrect specification since there are no utf8 windows clients ) 4. Similarly when I specify nls_lang=ENGLISH_INDIA.WE8MSWIN1252 my queries pick up the correct local currency symbol. and nls_language and nls_territory values in nls_session_parameters are correct. 5. Alert log doesn't show any errors. My database character set is AL32UTF8 , did not specify an nchar characterset while creating the database. -- 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: List please help
Could be that no one has an answer. When I set NLS_LANG=French_France.US7ASCII, everything is in English, which is what I would expect with US7ASCII. Are you sure that was your previous setting? Jared On Wed, 2003-12-24 at 17:14, [EMAIL PROTECTED] wrote: List , sorry to keep troubling you all but even if you are not interested in helping could someone just let me know if this happens by default in 9i release 2 or am I doing something wrong. I am using 9.2.0.1.0 enterprise edition on windows. Earlier when I use to specify nls_lang=French_France.US7ASCII in 9i release 1 I would get the following messages in French c: sqlplus Entrez le nom utilisateur : But now when I specify nls_lang=French_France.US7ASCII , sqlplus sticks to english c: sqlplus Enter user-name: Any ideas ? I tried out the following but to no avail : 1. I specified ora_nls33 to point to D:\OracleXP\Ora92\ocommon\nls\ADMIN\DATA where D:\OracleXP\Ora92\ is my %oracle_home% 2. I set nls_lang=French_France.US7ASCII , log in as a user, checked NLS_SESSION_PARAMETERS. It shows that NLS_LANGUAGE is FRENCH and NLS_TERRITORY is FRANCE. When I select from a column containing dates , the months are in French. sysdate also gives the month in french 3. Same behaviour with nls_lang=French_France.WE8MSWIN1252 and nls_lang=nls_lang=French_France.UTF8 (although this is an incorrect specification since there are no utf8 windows clients ) 4. Similarly when I specify nls_lang=ENGLISH_INDIA.WE8MSWIN1252 my queries pick up the correct local currency symbol. and nls_language and nls_territory values in nls_session_parameters are correct. 5. Alert log doesn't show any errors. My database character set is AL32UTF8 , did not specify an nchar characterset while creating the database. -- 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: 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).
Help on tkprof output
Hi Gurus, Could someone shed some light on the following tkprof output. To get 0 record it is aking more than 11 seconds. Also I see huge difference between CPU time and elapsed time even though the system is not so busy(It is a test machine. very low load on it). If you say it is waiting on something, could you tell me how to identify the wait event associated with this and how to rectify the same? Also please let me know why the query count is very high? select countryname, e.lastupdatedate from e e, p p, c c where p.pid = e.pid and p.hsbc_user_category='GIB' and p.business_country_id=c.countryabbrev and e.userstatusid in ( select userstatusid from userstatus ) and p.business_country_id in ( select countryabbrev from c ) order by countryname, e.lastupdatedate desc call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse2 0.07 0.08 0 0 0 0 Execute 2 0.00 0.02 0 0 0 0 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total6 43.02 133.31 58730 118694 24 0 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 165 Rows Row Source Operation --- --- 0 SORT ORDER BY 0 NESTED LOOPS 1NESTED LOOPS 1590 HASH JOIN 239 TABLE ACCESS FULL c 1589 HASH JOIN 239 VIEW VW_NSO_1 239SORT UNIQUE 239 INDEX FAST FULL SCAN (object id 76648) 1589 TABLE ACCESS FULL p 1589 TABLE ACCESS BY INDEX ROWID e 1589 INDEX UNIQUE SCAN (object id 76709) 0INDEX UNIQUE SCAN (object id 76899) OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse4 0.07 0.08 0 0 0 0 Execute 5 0.00 0.05 0 0 0 2 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total 11 43.02 133.34 58730 118694 24 2 Misses in library cache during parse: 1 Thanks Jay -- 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).
Re: Help on tkprof output
Hi, It is spending a lot of time waiting for IO and something like that. If you want to see what is the session waiting for ,just do: alter session set timed_statistics = true; (ignore it if it is already true) alter session set events '10046 trace name context forever,level 8'; --do your sql here. find the trace file and tkprof(use oracle 9.2 tkprof if your oracle version is not 9.2, not sure 9.0 will work)it like: tkprof file=your_tracefile waits=y For your SQL, I think more hash_join should be used instead of nested loop. Try it. regards Zhu Chao - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 7:19 AM Hi Gurus, Could someone shed some light on the following tkprof output. To get 0 record it is aking more than 11 seconds. Also I see huge difference between CPU time and elapsed time even though the system is not so busy(It is a test machine. very low load on it). If you say it is waiting on something, could you tell me how to identify the wait event associated with this and how to rectify the same? Also please let me know why the query count is very high? select countryname, e.lastupdatedate from e e, p p, c c where p.pid = e.pid and p.hsbc_user_category='GIB' and p.business_country_id=c.countryabbrev and e.userstatusid in ( select userstatusid from userstatus ) and p.business_country_id in ( select countryabbrev from c ) order by countryname, e.lastupdatedate desc call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse2 0.07 0.08 0 0 0 0 Execute 2 0.00 0.02 0 0 0 0 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total6 43.02 133.31 58730 118694 24 0 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 165 Rows Row Source Operation --- --- 0 SORT ORDER BY 0 NESTED LOOPS 1NESTED LOOPS 1590 HASH JOIN 239 TABLE ACCESS FULL c 1589 HASH JOIN 239 VIEW VW_NSO_1 239SORT UNIQUE 239 INDEX FAST FULL SCAN (object id 76648) 1589 TABLE ACCESS FULL p 1589 TABLE ACCESS BY INDEX ROWID e 1589 INDEX UNIQUE SCAN (object id 76709) 0INDEX UNIQUE SCAN (object id 76899) OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse4 0.07 0.08 0 0 0 0 Execute 5 0.00 0.05 0 0 0 2 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total 11 43.02 133.34 58730 118694 24 2 Misses in library cache during parse: 1 Thanks Jay -- 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: zhu chao 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: Help on tkprof output
You full scans within the loops which are hitting the disks, ie.58730 which gives the big difference between cpu elapsed as it's waiting for IO Also why do you need and p.business_country_id=c.countryabbrev As well as and p.business_country_id in ( select countryabbrev from c ) Do you want to join to table c for any reason or do you just want to see if the country abbreviation is in table c? At the moment you are doing both. SO maybe fine tune the SQL to only do what you really need it to and your disk IO would go down along with your elapsed time. Hth Ian -Original Message- [EMAIL PROTECTED] Sent: Wednesday, 3 December 2003 9:49 To: Multiple recipients of list ORACLE-L Hi Gurus, Could someone shed some light on the following tkprof output. To get 0 record it is aking more than 11 seconds. Also I see huge difference between CPU time and elapsed time even though the system is not so busy(It is a test machine. very low load on it). If you say it is waiting on something, could you tell me how to identify the wait event associated with this and how to rectify the same? Also please let me know why the query count is very high? select countryname, e.lastupdatedate from e e, p p, c c where p.pid = e.pid and p.hsbc_user_category='GIB' and p.business_country_id=c.countryabbrev and e.userstatusid in ( select userstatusid from userstatus ) and p.business_country_id in ( select countryabbrev from c ) order by countryname, e.lastupdatedate desc call count cpuelapsed disk querycurrent rows --- -- -- -- -- -- -- Parse2 0.07 0.08 0 0 0 0 Execute 2 0.00 0.02 0 0 0 0 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total6 43.02 133.31 58730 118694 24 0 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 165 Rows Row Source Operation --- --- 0 SORT ORDER BY 0 NESTED LOOPS 1NESTED LOOPS 1590 HASH JOIN 239 TABLE ACCESS FULL c 1589 HASH JOIN 239 VIEW VW_NSO_1 239SORT UNIQUE 239 INDEX FAST FULL SCAN (object id 76648) 1589 TABLE ACCESS FULL p 1589 TABLE ACCESS BY INDEX ROWID e 1589 INDEX UNIQUE SCAN (object id 76709) 0INDEX UNIQUE SCAN (object id 76899) OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS call count cpuelapsed disk querycurrent rows --- -- -- -- -- -- -- Parse4 0.07 0.08 0 0 0 0 Execute 5 0.00 0.05 0 0 0 2 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total 11 43.02 133.34 58730 118694 24 2 Misses in library cache during parse: 1 Thanks Jay -- 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: Biddell, Ian 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: Help on tkprof output
I'm not so sure. The query returns no rows and the second to last nested loop already has only 1 row in the resultset. I'd try to determine what the most limiting condition is - or set of conditions - those that eliminate most rows early on and make sure the optimizer starts with that. I could be mistaken, but the query appears odd. Isn't the condition and p.business_country_id in ( select countryabbrev from c ) nonsensical/superfluous in light of the condition and p.business_country_id=c.countryabbrev ? select countryname, e.lastupdatedate from e e, p p, c c where p.pid = e.pid and p.hsbc_user_category='GIB' and p.business_country_id=c.countryabbrev and e.userstatusid in ( select userstatusid from userstatus ) and p.business_country_id in ( select countryabbrev from c ) order by countryname, e.lastupdatedate desc At 06:59 PM 12/2/2003, you wrote: Hi, It is spending a lot of time waiting for IO and something like that. If you want to see what is the session waiting for ,just do: alter session set timed_statistics = true; (ignore it if it is already true) alter session set events '10046 trace name context forever,level 8'; --do your sql here. find the trace file and tkprof(use oracle 9.2 tkprof if your oracle version is not 9.2, not sure 9.0 will work)it like: tkprof file=your_tracefile waits=y For your SQL, I think more hash_join should be used instead of nested loop. Try it. regards Zhu Chao Wolfgang Breitling Oracle7, 8, 8i, 9i OCP DBA Centrex Consulting Corporation http://www.centrexcc.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Wolfgang Breitling 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: Help on tkprof output
(select countryabbrev from c) subquery will have some more predicate (where clause) to restric few countries. Basically I don't want to select all the countries. For simplicity sake I remove those where clause(business logic). Anyway EXECUTION PLAN will not get changed. -Original Message- Biddell, Ian Sent: Tuesday, December 02, 2003 9:54 PM To: Multiple recipients of list ORACLE-L You full scans within the loops which are hitting the disks, ie.58730 which gives the big difference between cpu elapsed as it's waiting for IO Also why do you need and p.business_country_id=c.countryabbrev As well as and p.business_country_id in ( select countryabbrev from c ) Do you want to join to table c for any reason or do you just want to see if the country abbreviation is in table c? At the moment you are doing both. SO maybe fine tune the SQL to only do what you really need it to and your disk IO would go down along with your elapsed time. Hth Ian -Original Message- [EMAIL PROTECTED] Sent: Wednesday, 3 December 2003 9:49 To: Multiple recipients of list ORACLE-L Hi Gurus, Could someone shed some light on the following tkprof output. To get 0 record it is aking more than 11 seconds. Also I see huge difference between CPU time and elapsed time even though the system is not so busy(It is a test machine. very low load on it). If you say it is waiting on something, could you tell me how to identify the wait event associated with this and how to rectify the same? Also please let me know why the query count is very high? select countryname, e.lastupdatedate from e e, p p, c c where p.pid = e.pid and p.hsbc_user_category='GIB' and p.business_country_id=c.countryabbrev and e.userstatusid in ( select userstatusid from userstatus ) and p.business_country_id in ( select countryabbrev from c ) order by countryname, e.lastupdatedate desc call count cpuelapsed disk querycurrent rows --- -- -- -- -- -- -- Parse2 0.07 0.08 0 0 0 0 Execute 2 0.00 0.02 0 0 0 0 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total6 43.02 133.31 58730 118694 24 0 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 165 Rows Row Source Operation --- --- 0 SORT ORDER BY 0 NESTED LOOPS 1NESTED LOOPS 1590 HASH JOIN 239 TABLE ACCESS FULL c 1589 HASH JOIN 239 VIEW VW_NSO_1 239SORT UNIQUE 239 INDEX FAST FULL SCAN (object id 76648) 1589 TABLE ACCESS FULL p 1589 TABLE ACCESS BY INDEX ROWID e 1589 INDEX UNIQUE SCAN (object id 76709) 0INDEX UNIQUE SCAN (object id 76899) OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS call count cpuelapsed disk querycurrent rows --- -- -- -- -- -- -- Parse4 0.07 0.08 0 0 0 0 Execute 5 0.00 0.05 0 0 0 2 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total 11 43.02 133.34 58730 118694 24 2 Misses in library cache during parse: 1 Thanks Jay -- 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: Biddell, Ian 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
RE: Help on tkprof output
Depending on the where clauses added to the subqueries I would say there is potential for the execution plan to change. Especially if the column matched to the IN clause is indexed. You are correct in that the clause may well be required but always be careful when performance tuning a slightly different query - sometimes the difference in execution time/plan can be surprising. Sami [EMAIL PROTECTED]To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] albox.com cc: Sent by: Subject: RE: Help on tkprof output [EMAIL PROTECTED] .com 03/12/2003 14:34 Please respond to ORACLE-L (select countryabbrev from c) subquery will have some more predicate (where clause) to restric few countries. Basically I don't want to select all the countries. For simplicity sake I remove those where clause(business logic). Anyway EXECUTION PLAN will not get changed. -Original Message- Biddell, Ian Sent: Tuesday, December 02, 2003 9:54 PM To: Multiple recipients of list ORACLE-L You full scans within the loops which are hitting the disks, ie.58730 which gives the big difference between cpu elapsed as it's waiting for IO Also why do you need and p.business_country_id=c.countryabbrev As well as and p.business_country_id in ( select countryabbrev from c ) Do you want to join to table c for any reason or do you just want to see if the country abbreviation is in table c? At the moment you are doing both. SO maybe fine tune the SQL to only do what you really need it to and your disk IO would go down along with your elapsed time. Hth Ian -Original Message- [EMAIL PROTECTED] Sent: Wednesday, 3 December 2003 9:49 To: Multiple recipients of list ORACLE-L Hi Gurus, Could someone shed some light on the following tkprof output. To get 0 record it is aking more than 11 seconds. Also I see huge difference between CPU time and elapsed time even though the system is not so busy(It is a test machine. very low load on it). If you say it is waiting on something, could you tell me how to identify the wait event associated with this and how to rectify the same? Also please let me know why the query count is very high? select countryname, e.lastupdatedate from e e, p p, c c where p.pid = e.pid and p.hsbc_user_category='GIB' and p.business_country_id=c.countryabbrev and e.userstatusid in ( select userstatusid from userstatus ) and p.business_country_id in ( select countryabbrev from c ) order by countryname, e.lastupdatedate desc call count cpuelapsed disk querycurrent rows --- -- -- -- -- -- -- Parse2 0.07 0.08 0 0 0 0 Execute 2 0.00 0.02 0 0 0 0 Fetch2 42.95 133.21 58730 118694 24 0 --- -- -- -- -- -- -- total6 43.02 133.31 58730 118694 24 0 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 165 Rows Row Source Operation --- --- 0 SORT ORDER BY 0 NESTED LOOPS 1NESTED LOOPS
bad SQL day...help please
List, Please excuse the content of this question. I haven't had a breakthrough yet so I'm hoping for some assistance... it may seem trivial to some but for some reason I am SQL-ly challenged today. I have a table which holds historical transaction records. Each PICK or RPCK record should have a corresponding SHIP record with a match on quantity, sku, and order_id. I have to create an exception report where if for any PICK/RPCK record there isn't a corresponding SHIP record, I should be shown the PICK/RPCK record. In other words, each sku has records in multiples of 2 - i.e. 1 PICK/RPCK, then 1 SHIP record; 2 PICK/RPCK records, then 2 SHIP records. I know what I want in English, but I'm having trouble designing the query in SQL. In the table below, you can see that SKU 117127 has a PICK record but no SHIP record, same case for SKU 701206. Is someone kind enough to offer me some SQL advice? Thanks in advance, Saira OB_OID SKU TRANSACTQTY 50340 115227 RPCK36 50340 115227 SHIP36 50340 115304 RPCK36 50340 115304 SHIP36 50340 174040 RPCK12 50340 174040 SHIP12 50340 177127 PICK36 50340 177144 PICK24 50340 177144 SHIP24 50340 177624 PICK24 50340 177624 SHIP24 50340 177634 PICK48 50340 177634 SHIP48 50340 19 PICK20 50340 19 SHIP20 50340 20020 RPCK6 50340 20020 SHIP6 50340 701079 PICK100 50340 701079 SHIP100 50340 701206 RPCK30 -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Saira Somani-Mendelin 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: bad SQL day...help please
Saira, Depends on the level of detail you want. Select sku from ... group by sku, quantity, order_id having mod(count(*), 2) != 0 does it. SF Saira Somani-Mendelin wrote: List, Please excuse the content of this question. I haven't had a breakthrough yet so I'm hoping for some assistance... it may seem trivial to some but for some reason I am SQL-ly challenged today. I have a table which holds historical transaction records. Each PICK or RPCK record should have a corresponding SHIP record with a match on quantity, sku, and order_id. I have to create an exception report where if for any PICK/RPCK record there isn't a corresponding SHIP record, I should be shown the PICK/RPCK record. In other words, each sku has records in multiples of 2 - i.e. 1 PICK/RPCK, then 1 SHIP record; 2 PICK/RPCK records, then 2 SHIP records. I know what I want in English, but I'm having trouble designing the query in SQL. In the table below, you can see that SKU 117127 has a PICK record but no SHIP record, same case for SKU 701206. Is someone kind enough to offer me some SQL advice? Thanks in advance, Saira OB_OID SKU TRANSACTQTY 50340 115227 RPCK36 50340 115227 SHIP36 50340 115304 RPCK36 50340 115304 SHIP36 50340 174040 RPCK12 50340 174040 SHIP12 50340 177127 PICK36 50340 177144 PICK24 50340 177144 SHIP24 50340 177624 PICK24 50340 177624 SHIP24 50340 177634 PICK48 50340 177634 SHIP48 50340 19 PICK20 50340 19 SHIP20 50340 20020 RPCK6 50340 20020 SHIP6 50340 701079 PICK100 50340 701079 SHIP100 50340 701206 RPCK30 -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Saira Somani-Mendelin 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). -- Regards, Stephane Faroult Oriole Software -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephane Faroult 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: bad SQL day...help please
I have had good success with the minus operator: select ob_oid, sku, qty from tbl where transact in ('RPCK','PICK') minus select ob_oid, sku, qty from tbl where transact = 'SHIP' At 12:14 PM 11/27/2003, you wrote: List, Please excuse the content of this question. I haven't had a breakthrough yet so I'm hoping for some assistance... it may seem trivial to some but for some reason I am SQL-ly challenged today. I have a table which holds historical transaction records. Each PICK or RPCK record should have a corresponding SHIP record with a match on quantity, sku, and order_id. I have to create an exception report where if for any PICK/RPCK record there isn't a corresponding SHIP record, I should be shown the PICK/RPCK record. In other words, each sku has records in multiples of 2 - i.e. 1 PICK/RPCK, then 1 SHIP record; 2 PICK/RPCK records, then 2 SHIP records. I know what I want in English, but I'm having trouble designing the query in SQL. In the table below, you can see that SKU 117127 has a PICK record but no SHIP record, same case for SKU 701206. Is someone kind enough to offer me some SQL advice? Thanks in advance, Saira OB_OID SKU TRANSACTQTY 50340 115227 RPCK36 50340 115227 SHIP36 50340 115304 RPCK36 50340 115304 SHIP36 50340 174040 RPCK12 50340 174040 SHIP12 50340 177127 PICK36 50340 177144 PICK24 50340 177144 SHIP24 50340 177624 PICK24 50340 177624 SHIP24 50340 177634 PICK48 50340 177634 SHIP48 50340 19 PICK20 50340 19 SHIP20 50340 20020 RPCK6 50340 20020 SHIP6 50340 701079 PICK100 50340 701079 SHIP100 50340 701206 RPCK30 -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Saira Somani-Mendelin 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). Wolfgang Breitling Oracle7, 8, 8i, 9i OCP DBA Centrex Consulting Corporation http://www.centrexcc.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Wolfgang Breitling 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).
AW: Looking for help - sql*loader and truncate
Hi Looks like I have to try that one, since truncate should be reasonably faster then replace. Thanks, Stefan -Ursprüngliche Nachricht- Von: Jacques Kilchoer [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 13. November 2003 20:54 An: Multiple recipients of list ORACLE-L Betreff: RE: Looking for help - sql*loader and truncate In that case you could create a procedure owned by the data owner that does the truncate, grant execute on the procedure to the data loader, and use SQL*Plus to call the truncate procedure before the SQL*load starts. -Original Message- Stefan Jahnke .. and there is another scenario to use replace. As you mention it, that's what we do, too ;). The package owner (who owns the transformation packages) also does the load, so we use replace here, since I didn't feel like granting DROP ... to the package user or use the data owner to do the load. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jacques Kilchoer 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: Stefan Jahnke 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).
Help needed -- Replication and DBMS_JOB
Dear Gurus, I have dbms_job in replication environment to push deffered transactions from site A to B and B to A. The job which is running at site A is working fine but job which is running at site B is not pushing the transactions automatically. But if I do it manually (either dbms_job.run(job_number) or using OEM UI) it is working fine. Otherwise dbms_job failed count keep increases every minute and finally it becomes broken. The owner of the DBMS_JOB is REPADMIN at both sites. Is there a way to check the root cause for the failed DBMS_JOB?. I need to check the reason why the particular DBMS_JOB is failing. I don't want DBA_JOBs view because DBA_JOBS gives the number of failed count. Note:- Number of Job_queue_processes is configured as 20 in both sites(A and B). Also iI confirmed that 20 # of snp unix process is running at each node. job_queue_interval is 60 secs. thanks Jay -- 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).
RE: Help needed -- Replication and DBMS_JOB
Jay, Check http://www.oriole.com/aunt_2001_0.html and look for the 19th. March 2001 entry. Otherwise look for a snp*.trc in either bdump or udump (never remember where it goes). HTH SF - --- Original Message --- - From: [EMAIL PROTECTED] To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Fri, 14 Nov 2003 05:29:30 Dear Gurus, I have dbms_job in replication environment to push deffered transactions from site A to B and B to A. The job which is running at site A is working fine but job which is running at site B is not pushing the transactions automatically. But if I do it manually (either dbms_job.run(job_number) or using OEM UI) it is working fine. Otherwise dbms_job failed count keep increases every minute and finally it becomes broken. The owner of the DBMS_JOB is REPADMIN at both sites. Is there a way to check the root cause for the failed DBMS_JOB?. I need to check the reason why the particular DBMS_JOB is failing. I don't want DBA_JOBs view because DBA_JOBS gives the number of failed count. Note:- Number of Job_queue_processes is configured as 20 in both sites(A and B). Also iI confirmed that 20 # of snp unix process is running at each node. job_queue_interval is 60 secs. thanks Jay -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephane Faroult 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: Help needed -- Replication and DBMS_JOB
Stephane, This is what I was exactly looking for. Thank you so much. - Original Message - Date: Friday, November 14, 2003 8:59 am Jay, Check http://www.oriole.com/aunt_2001_0.html and look for the 19th. March 2001 entry. Otherwise look for a snp*.trc in either bdump or udump (never remember where it goes). HTH SF - --- Original Message --- - From: [EMAIL PROTECTED] To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Fri, 14 Nov 2003 05:29:30 Dear Gurus, I have dbms_job in replication environment to push deffered transactions from site A to B and B to A. The job which is running at site A is working fine but job which is running at site B is not pushing the transactions automatically. But if I do it manually (either dbms_job.run(job_number) or using OEM UI) it is working fine. Otherwise dbms_job failed count keep increases every minute and finally it becomes broken. The owner of the DBMS_JOB is REPADMIN at both sites. Is there a way to check the root cause for the failed DBMS_JOB?. I need to check the reason why the particular DBMS_JOB is failing. I don't want DBA_JOBs view because DBA_JOBS gives the number of failed count. Note:- Number of Job_queue_processes is configured as 20 in both sites(A and B). Also iI confirmed that 20 # of snp unix process is running at each node. job_queue_interval is 60 secs. thanks Jay -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephane Faroult 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: 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).
AW: Looking for help.
Ok. That's of course true, but I guess it depends on the scenario. With the truncate option, there is no chance to roll back the activity. If you use direct path load, I guess it makes more sense to opt for truncate. Stefan -Ursprüngliche Nachricht- Von: Yechiel Adar [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 18:24 An: Multiple recipients of list ORACLE-L Betreff: Re: Looking for help. There are two options to replace all data in the table: REPLACE and TRUNCATE which are equivalent to truncate and delete sql statements. If you have staging tables without RI or triggers then use truncate. Using delete just takes a lot longer and use a lot more resources. We use TRUNCATE almost exclusively. Yechiel Adar Mehish - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:44 PM Hi We do something similiar, but instead of deleting the tables beforehand, I just use the SQL*LOADER REPLACE option. No such problems as described in the original eMail occured so far. The platform is Oracle 9.2.0.3 on Win3k. Regards, Stefan -Ursprüngliche Nachricht- Von: Jonathan Gennick [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:34 An: Multiple recipients of list ORACLE-L Betreff: Fwd: Looking for help. I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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: Stefan Jahnke INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list
AW: Looking for help.
err, should be Win2k, even though it feels like Win0.5k sometimes ;). Stefan -Ursprüngliche Nachricht- Von: Nelson, Allan [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:49 An: Multiple recipients of list ORACLE-L Betreff: RE: Looking for help. Windows 3000? -Original Message- Sent: Wednesday, November 12, 2003 7:44 AM To: Multiple recipients of list ORACLE-L Hi We do something similiar, but instead of deleting the tables beforehand, I just use the SQL*LOADER REPLACE option. No such problems as described in the original eMail occured so far. The platform is Oracle 9.2.0.3 on Win3k. Regards, Stefan -Ursprüngliche Nachricht- Von: Jonathan Gennick [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:34 An: Multiple recipients of list ORACLE-L Betreff: Fwd: Looking for help. I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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: Stefan Jahnke 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). __ This email is intended solely for the person
AW: Looking for help.
.. and there is another scenario to use replace. As you mention it, that's what we do, too ;). The package owner (who owns the transformation packages) also does the load, so we use replace here, since I didn't feel like granting DROP ... to the package user or use the data owner to do the load. Stefan -Ursprüngliche Nachricht- Von: Rachel Carmichael [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 18:45 An: Multiple recipients of list ORACLE-L Betreff: Re: Looking for help. yeah but... if you attempt (as I do) to isolate the schema owner from the users which have select/insert/update/delete privileges, TRUNCATE won't work unless you have granted DROP ANY TABLE (I *really* hate that that is required) to the account which does the actual sql load. So I use REPLACE, because then I only have to grant the delete priv on that table. --- Yechiel Adar [EMAIL PROTECTED] wrote: There are two options to replace all data in the table: REPLACE and TRUNCATE which are equivalent to truncate and delete sql statements. If you have staging tables without RI or triggers then use truncate. Using delete just takes a lot longer and use a lot more resources. We use TRUNCATE almost exclusively. Yechiel Adar Mehish - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:44 PM Hi We do something similiar, but instead of deleting the tables beforehand, I just use the SQL*LOADER REPLACE option. No such problems as described in the original eMail occured so far. The platform is Oracle 9.2.0.3 on Win3k. Regards, Stefan -Ursprüngliche Nachricht- Von: Jonathan Gennick [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:34 An: Multiple recipients of list ORACLE-L Betreff: Fwd: Looking for help. I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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
More help with TKPROF
List: My apologies. Seems like I'm taking up more than my share of bandwith. I'm doing major battle with a vendor. Their app runs this thing that takes 10 seconds. Unfortunately it runs this thing several thousand times a day. This is a critical issue for us. I trapped what's running in that 10 seconds. The code looks just swell. Seems pretty obvious to me that the problem is with the large number of parses occurring. I see 1 spot where they parse 5 times and return 0 rows; another where they parse, execute, and fetch 5 times for no obvious reason. We do not have access to the vendor code. The vendor says set cursor_sharing to force. I say that's solving the wrong problem. First naive question: Without their code, is there any way for me to know what could cause this large number of parses? 2nd question: I see an exact match between the number of parses and the times waited on sql*net message to client. Is this coincidence, or can I make some correlation here? Thanks so much for your patience and your help. Database is 8.1.7.4 on Solaris 8. Barb SELECT PAPER, PAGE, PAGENAME, PAGENO, COLUMNS, COLWIDTH, COLSPACE, HEIGHT FROM PAGE call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse2 0.02 0.02 0 0 0 0 Execute 1 0.00 0.00 0 0 0 0 Fetch1 0.01 0.01 0 13 12 72 --- -- -- -- -- -- -- total4 0.03 0.03 0 13 12 72 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 586 (SYSADMIN) Rows Execution Plan --- --- 0 SELECT STATEMENT GOAL: CHOOSE 0 TABLE ACCESS GOAL: ANALYZED (FULL) OF 'PAGE' Elapsed times include waiting on following events: Event waited on Times Max. Wait Total Waited Waited -- SQL*Net message to client 2 0.00 0.00 SQL*Net message from client 2 0.00 0.00 SQL*Net more data to client 1 0.00 0.00 SELECT PAPER, PAGE, PAGENAME, PAGENO, COLUMNS, COLWIDTH, COLSPACE, HEIGHT FROM PAGE WHERE PAPER = :1 AND PAGE = :2 call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse2 0.00 0.01 0 0 0 0 Execute 1 0.00 0.00 0 0 0 0 Fetch1 0.00 0.00 0 2 0 1 --- -- -- -- -- -- -- total4 0.00 0.01 0 2 0 1 Misses in library cache during parse: 1 Parsing user id: 586 (SYSADMIN) Rows Execution Plan --- --- 0 SELECT STATEMENT GOAL: CHOOSE 0 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF 'PAGE' 0INDEX GOAL: ANALYZED (UNIQUE SCAN) OF 'I_PAG1' (UNIQUE) Elapsed times include waiting on following events: Event waited on Times Max. Wait Total Waited Waited -- SQL*Net message to client 2 0.00 0.00 SQL*Net message from client 2 0.09 0.09 SELECT HID, PARENT, CHILD, NODE_TYPE, NODE_ITEM, TAG, ATTRIBUTE_ITEM FROM XMLS_HIERARCHY WHERE HID = :1 call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse5 0.00 0.00 0 0 0 0 Execute 0 0.00 0.00 0 0 0 0 Fetch0 0.00 0.00 0 0 0 0 --- -- -- -- -- -- -- total5 0.00 0.00 0 0 0 0 Misses in library cache during parse: 1 Parsing user id: 586 (SYSADMIN) Rows Execution Plan --- --- 0 SELECT STATEMENT GOAL: CHOOSE 0 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF 'XMLS_HIERARCHY' 0INDEX
Re: More help with TKPROF
On 11/13/2003 10:09:26 AM, Barbara Baker wrote: First naive question: Without their code, is there any way for me to know what could cause this large number of parses? Large number of parses can be caused by executing dynamic SQL, or not using bind variables. One way to try amending this would setting CURSOR_SHARE to FORCE, but in 8i it's a dangerous thing to do and can break many other things. Another way would be to negotiate with the vendor and ask him to reduce number of parses and use bind variables. I'm sure that the three of you can successfully negotiate with any vendor. Mladen Gogala Oracle DBA Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail 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. -- 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).
RE: More help with TKPROF
Not a coincidence. See Optimizing Oracle Performance, Chapter 12, Case 3: Large SQL*Net Event Duration on pages 337-344. See also the SQL*Net material on pp311-315. Cary Millsap Hotsos Enterprises, Ltd. http://www.hotsos.com Upcoming events: - Performance Diagnosis 101: 11/19 Sydney, 12/16 Detroit - SQL Optimization 101: 12/8 Dallas, 2/16 Dallas - Hotsos Symposium 2004: March 7-10 Dallas - Visit www.hotsos.com for schedule details... -Original Message- Barbara Baker Sent: Thursday, November 13, 2003 9:09 AM To: Multiple recipients of list ORACLE-L List: My apologies. Seems like I'm taking up more than my share of bandwith. I'm doing major battle with a vendor. Their app runs this thing that takes 10 seconds. Unfortunately it runs this thing several thousand times a day. This is a critical issue for us. I trapped what's running in that 10 seconds. The code looks just swell. Seems pretty obvious to me that the problem is with the large number of parses occurring. I see 1 spot where they parse 5 times and return 0 rows; another where they parse, execute, and fetch 5 times for no obvious reason. We do not have access to the vendor code. The vendor says set cursor_sharing to force. I say that's solving the wrong problem. First naive question: Without their code, is there any way for me to know what could cause this large number of parses? 2nd question: I see an exact match between the number of parses and the times waited on sql*net message to client. Is this coincidence, or can I make some correlation here? Thanks so much for your patience and your help. Database is 8.1.7.4 on Solaris 8. Barb SELECT PAPER, PAGE, PAGENAME, PAGENO, COLUMNS, COLWIDTH, COLSPACE, HEIGHT FROM PAGE call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse2 0.02 0.02 0 0 0 0 Execute 1 0.00 0.00 0 0 0 0 Fetch1 0.01 0.01 0 13 12 72 --- -- -- -- -- -- -- total4 0.03 0.03 0 13 12 72 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 586 (SYSADMIN) Rows Execution Plan --- --- 0 SELECT STATEMENT GOAL: CHOOSE 0 TABLE ACCESS GOAL: ANALYZED (FULL) OF 'PAGE' Elapsed times include waiting on following events: Event waited on Times Max. Wait Total Waited Waited -- SQL*Net message to client 2 0.00 0.00 SQL*Net message from client 2 0.00 0.00 SQL*Net more data to client 1 0.00 0.00 SELECT PAPER, PAGE, PAGENAME, PAGENO, COLUMNS, COLWIDTH, COLSPACE, HEIGHT FROM PAGE WHERE PAPER = :1 AND PAGE = :2 call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse2 0.00 0.01 0 0 0 0 Execute 1 0.00 0.00 0 0 0 0 Fetch1 0.00 0.00 0 2 0 1 --- -- -- -- -- -- -- total4 0.00 0.01 0 2 0 1 Misses in library cache during parse: 1 Parsing user id: 586 (SYSADMIN) Rows Execution Plan --- --- 0 SELECT STATEMENT GOAL: CHOOSE 0 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF 'PAGE' 0INDEX GOAL: ANALYZED (UNIQUE SCAN) OF 'I_PAG1' (UNIQUE) Elapsed times include waiting on following events: Event waited on Times Max. Wait Total Waited Waited -- SQL*Net message to client 2 0.00 0.00 SQL*Net message from client 2 0.09 0.09 SELECT HID, PARENT, CHILD, NODE_TYPE, NODE_ITEM, TAG, ATTRIBUTE_ITEM FROM XMLS_HIERARCHY WHERE HID = :1 call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse5 0.00 0.00 0 0 0 0 Execute 0 0.00 0.00 0 0 0
Re: More help with TKPROF
Since this is COTS, you may not be able to *fix* the problem, but you may be able to circumvent it . We have an app here which has amazing amounts of ugly SQL, with a corresponding lack of bind variables. I could not fix that, but I could fix very poorly performing SQL by the judicious application of optimizer_index_caching, optimizer_index_cost_adjust, optmizer_max_permutations, some new indexes and histograms on selected columns. You may have too many parses, but if parses are only 10% of your response time problem, and you decrease parse time by 50%, you have still only increased response time by 5%, or 0.5 seconds in the case of the transaction in question. W never did fix the parsing problem, but did greatly increase the the performance of the application. I am currently working on yet another problem for this app. Simple SQL tuning. I'm sure that many of us here can't recommend 'Optimizing Oracle Performance' enough. It will provide a foundation for solving performance problems that would be rather difficult to pick up by reading this list, or by reading most ( 99% ) of the tuning books available. HTH Jared Barbara Baker [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 11/13/2003 07:09 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:More help with TKPROF List: My apologies. Seems like I'm taking up more than my share of bandwith. I'm doing major battle with a vendor. Their app runs this thing that takes 10 seconds. Unfortunately it runs this thing several thousand times a day. This is a critical issue for us. I trapped what's running in that 10 seconds. The code looks just swell. Seems pretty obvious to me that the problem is with the large number of parses occurring. I see 1 spot where they parse 5 times and return 0 rows; another where they parse, execute, and fetch 5 times for no obvious reason. We do not have access to the vendor code. The vendor says set cursor_sharing to force. I say that's solving the wrong problem. First naive question: Without their code, is there any way for me to know what could cause this large number of parses? 2nd question: I see an exact match between the number of parses and the times waited on sql*net message to client. Is this coincidence, or can I make some correlation here? Thanks so much for your patience and your help. Database is 8.1.7.4 on Solaris 8. Barb SELECT PAPER, PAGE, PAGENAME, PAGENO, COLUMNS, COLWIDTH, COLSPACE, HEIGHT FROM PAGE call countcpu elapseddisk query currentrows --- -- -- -- -- -- -- Parse2 0.020.02 0 0 0 0 Execute 1 0.000.00 0 0 0 0 Fetch1 0.010.01 0 13 12 72 --- -- -- -- -- -- -- total4 0.030.03 0 13 12 72 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 586 (SYSADMIN) Rows Execution Plan --- --- 0 SELECT STATEMENT GOAL: CHOOSE 0 TABLE ACCESS GOAL: ANALYZED (FULL) OF 'PAGE' Elapsed times include waiting on following events: Event waited on Times Max. Wait Total Waited Waited -- SQL*Net message to client2 0.00 0.00 SQL*Net message from client 2 0.00 0.00 SQL*Net more data to client 1 0.00 0.00 SELECT PAPER, PAGE, PAGENAME, PAGENO, COLUMNS, COLWIDTH, COLSPACE, HEIGHT FROM PAGE WHERE PAPER = :1 AND PAGE = :2 call countcpu elapseddisk query currentrows --- -- -- -- -- -- -- Parse2 0.000.01 0 0 0 0 Execute 1 0.000.00 0 0 0 0 Fetch1 0.000.00 0 2 0 1 --- -- -- -- -- -- -- total4 0.000.01 0 2 0 1 Misses in library cache during parse: 1 Parsing user id: 586 (SYSADMIN) Rows Execution Plan --- --- 0 SELECT STATEMENT GOAL: CHOOSE 0 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF 'PAGE' 0 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF 'I_PAG1' (UNIQUE) Elapsed times include waiting on following events: Event waited on Times Max. Wait Total Waited Waited -- SQL*Net message to client2 0.00 0.00 SQL*Net message from client 2 0.09 0.09 SELECT HID, PARENT, CHILD, NODE_TYPE, NODE_ITEM, TAG
RE: Looking for help - sql*loader and truncate
In that case you could create a procedure owned by the data owner that does the truncate, grant execute on the procedure to the data loader, and use SQL*Plus to call the truncate procedure before the SQL*load starts. -Original Message- Stefan Jahnke .. and there is another scenario to use replace. As you mention it, that's what we do, too ;). The package owner (who owns the transformation packages) also does the load, so we use replace here, since I didn't feel like granting DROP ... to the package user or use the data owner to do the load. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jacques Kilchoer 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).
Fwd: Looking for help.
I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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).
AW: Looking for help.
Hi We do something similiar, but instead of deleting the tables beforehand, I just use the SQL*LOADER REPLACE option. No such problems as described in the original eMail occured so far. The platform is Oracle 9.2.0.3 on Win3k. Regards, Stefan -Ursprüngliche Nachricht- Von: Jonathan Gennick [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:34 An: Multiple recipients of list ORACLE-L Betreff: Fwd: Looking for help. I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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: Stefan Jahnke 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: Looking for help.
Windows 3000? -Original Message- Sent: Wednesday, November 12, 2003 7:44 AM To: Multiple recipients of list ORACLE-L Hi We do something similiar, but instead of deleting the tables beforehand, I just use the SQL*LOADER REPLACE option. No such problems as described in the original eMail occured so far. The platform is Oracle 9.2.0.3 on Win3k. Regards, Stefan -Ursprüngliche Nachricht- Von: Jonathan Gennick [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:34 An: Multiple recipients of list ORACLE-L Betreff: Fwd: Looking for help. I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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: Stefan Jahnke 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). __ This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Copying, forwarding or distributing this message by persons or entities other than the addressee is prohibited. If you have received this email in error
Re: Fwd: Looking for help.
I wonder whether the invalidation comes about from the use of TRUNCATE, which is considered a DDL statement. I'd guess that any DDL to a table would invalidate existing SQL statements. 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. Wednesday, November 12, 2003, 8:34:24 AM, Jonathan Gennick ([EMAIL PROTECTED]) wrote: JG I don't usually forward my reader email to the list, but the JG question below strikes me as rather interesting. In this JG case, SQL*Loader appears to be causing all SQL statements JG that refer to the table being loaded to be invalidated. Is JG this normal behavior? Does anyone know why it might be the JG case? JG -- JG Best regards, JG Jonathan Gennick --- Brighten the corner where you are JG http://Gennick.com * 906.387.1698 * mailto:[EMAIL PROTECTED] JG Join the Oracle-article list and receive one JG article on Oracle technologies per month by JG email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article, JG or send email to [EMAIL PROTECTED] and JG include the word subscribe in either the subject or body. JG Wednesday, November 12, 2003, 1:07:41 AM, JG [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: JG Hi Jonathan, JG I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. JG We are using Oracle 9i sqlldr, direct path to load data from external files into JG staging tables. After data is loaded, we invoked stored procedures to JG transform data and move them to the target tables. The steps are: JG 1. delete all entries from 20 staging tables JG 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to JG load data to all 20 staging tables JG 3. invoke stored procedures to transform data from the staging tables to the JG final tables. Currently these stored procedures are standalone. JG 4. invoke stored procedures to remove out-of-date entries from the final JG tables. JG I monitor invalidations column in v$sqlarea. Every time JG after sqlldr is invoked for data loading (step 2), all the JG sql statements that reference the staging tables are JG invalidated, including delete from stageing_table sql JG statement. I setup a test and used a java program to loop JG steps 1-4 every ~2 minutes. There were no other activities JG in the database except data loading and transformation. JG After a couple days, I got the following error: ORA-04031: JG unable to allocate 4212 bytes of shared memory (shared JG pool,unknown object,sga heap(1,0),stat array mem) JG The questions are: JG 1. Do we need to delete entries in the staging table prior to loading. Will JG sqlldr remove the entires in the staging table first prior to loading? JG 2. There are no changes in the stored procedures, how / why sqlldr would JG invalidate the sql statement in the stored procedures? JG 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? JG I would appreciate if you can send me some pointers or suggestions. JG Thanks, JG KamYee JG -- JG Please see the official ORACLE-L FAQ: http://www.orafaq.net -- 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).
Re: Looking for help.
That's the target year for the stable and secure release of MS Windows. HAL:What are you doing Dave? David Bowman: I'm turning you off, HAL. On 11/12/2003 08:49:26 AM, Nelson, Allan wrote: Windows 3000? -Original Message- Sent: Wednesday, November 12, 2003 7:44 AM To: Multiple recipients of list ORACLE-L Hi We do something similiar, but instead of deleting the tables beforehand, I just use the SQL*LOADER REPLACE option. No such problems as described in the original eMail occured so far. The platform is Oracle 9.2.0.3 on Win3k. Regards, Stefan -Ursprüngliche Nachricht- Von: Jonathan Gennick [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:34 An: Multiple recipients of list ORACLE-L Betreff: Fwd: Looking for help. I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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: Stefan Jahnke 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: Fwd: Looking for help.
IIRC, direct path loads invalidate indexes. As the execution plan may use this index, it makes sense that any statements referencing these tables will be invalidated and need to be reparsed. I've never tested this, but it makes sense (at least Oracle sense). As for the 4031 errors, could they be related to the reloading of the dictionary cache? I can't quite reason this one out, but it's early here in the Rockies and a storm is blowing in (feel free to hum Ridin' The Storm Out by REO Speedwagon). Daniel Fink Jonathan Gennick wrote: I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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: 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).
Re: Fwd: Looking for help.
Is there a primary key on the table ? Regards, Denny Jonathan Gennick wrote: I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Denny Koovakattu 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: Fwd: Looking for help.
Jonathan, I don't see where the TRUNCATE command is used in the original request message. The 20 staging tables have a delete action against them. The data is sqlldr action to load the tables. The final tables are loaded from the staging tables using a PL/SQL procedure. The final tables are cleaned up using a PL/SQL procedure. The ORA-04031 is most likely caused by one of the PL/SQL procedures not releasing the memory stack. It takes a few days of loading before the failure occures. I would look into the os and possible the I/O. is it buffered and the sqlldr is looking at the physical not buffered area or vise-versa? Are the table cached? The sqlldr command is run and the previous delete from staging tables commands are invalidated? Is there a change of ownership on the tables at this time? Just a few random thoughts that may or may not invoke someone elses thought process. Ron [EMAIL PROTECTED] 11/12/2003 9:34:33 AM I wonder whether the invalidation comes about from the use of TRUNCATE, which is considered a DDL statement. I'd guess that any DDL to a table would invalidate existing SQL statements. 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. Wednesday, November 12, 2003, 8:34:24 AM, Jonathan Gennick ([EMAIL PROTECTED]) wrote: JG I don't usually forward my reader email to the list, but the JG question below strikes me as rather interesting. In this JG case, SQL*Loader appears to be causing all SQL statements JG that refer to the table being loaded to be invalidated. Is JG this normal behavior? Does anyone know why it might be the JG case? JG -- JG Best regards, JG Jonathan Gennick --- Brighten the corner where you are JG http://Gennick.com * 906.387.1698 * mailto:[EMAIL PROTECTED] JG Join the Oracle-article list and receive one JG article on Oracle technologies per month by JG email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article, JG or send email to [EMAIL PROTECTED] and JG include the word subscribe in either the subject or body. JG Wednesday, November 12, 2003, 1:07:41 AM, JG [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: JG Hi Jonathan, JG I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. JG We are using Oracle 9i sqlldr, direct path to load data from external files into JG staging tables. After data is loaded, we invoked stored procedures to JG transform data and move them to the target tables. The steps are: JG 1. delete all entries from 20 staging tables JG 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to JG load data to all 20 staging tables JG 3. invoke stored procedures to transform data from the staging tables to the JG final tables. Currently these stored procedures are standalone. JG 4. invoke stored procedures to remove out-of-date entries from the final JG tables. JG I monitor invalidations column in v$sqlarea. Every time JG after sqlldr is invoked for data loading (step 2), all the JG sql statements that reference the staging tables are JG invalidated, including delete from stageing_table sql JG statement. I setup a test and used a java program to loop JG steps 1-4 every ~2 minutes. There were no other activities JG in the database except data loading and transformation. JG After a couple days, I got the following error: ORA-04031: JG unable to allocate 4212 bytes of shared memory (shared JG pool,unknown object,sga heap(1,0),stat array mem) JG The questions are: JG 1. Do we need to delete entries in the staging table prior to loading. Will JG sqlldr remove the entires in the staging table first prior to loading? JG 2. There are no changes in the stored procedures, how / why sqlldr would JG invalidate the sql statement in the stored procedures? JG 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? JG I would appreciate if you can send me some pointers or suggestions. JG Thanks, JG KamYee JG -- JG Please see the official ORACLE-L FAQ: http://www.orafaq.net -- 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
Re: Fwd: Looking for help.
Jonathan, I don't see where truncate is being invoked, though I am not a big user of sql*loader. Truncate should invalidate statements. Daniel Jonathan Gennick wrote: I wonder whether the invalidation comes about from the use of TRUNCATE, which is considered a DDL statement. I'd guess that any DDL to a table would invalidate existing SQL statements. 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. Wednesday, November 12, 2003, 8:34:24 AM, Jonathan Gennick ([EMAIL PROTECTED]) wrote: JG I don't usually forward my reader email to the list, but the JG question below strikes me as rather interesting. In this JG case, SQL*Loader appears to be causing all SQL statements JG that refer to the table being loaded to be invalidated. Is JG this normal behavior? Does anyone know why it might be the JG case? JG -- JG Best regards, JG Jonathan Gennick --- Brighten the corner where you are JG http://Gennick.com * 906.387.1698 * mailto:[EMAIL PROTECTED] JG Join the Oracle-article list and receive one JG article on Oracle technologies per month by JG email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article, JG or send email to [EMAIL PROTECTED] and JG include the word subscribe in either the subject or body. JG Wednesday, November 12, 2003, 1:07:41 AM, JG [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: JG Hi Jonathan, JG I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. JG We are using Oracle 9i sqlldr, direct path to load data from external files into JG staging tables. After data is loaded, we invoked stored procedures to JG transform data and move them to the target tables. The steps are: JG 1. delete all entries from 20 staging tables JG 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to JG load data to all 20 staging tables JG 3. invoke stored procedures to transform data from the staging tables to the JG final tables. Currently these stored procedures are standalone. JG 4. invoke stored procedures to remove out-of-date entries from the final JG tables. JG I monitor invalidations column in v$sqlarea. Every time JG after sqlldr is invoked for data loading (step 2), all the JG sql statements that reference the staging tables are JG invalidated, including delete from stageing_table sql JG statement. I setup a test and used a java program to loop JG steps 1-4 every ~2 minutes. There were no other activities JG in the database except data loading and transformation. JG After a couple days, I got the following error: ORA-04031: JG unable to allocate 4212 bytes of shared memory (shared JG pool,unknown object,sga heap(1,0),stat array mem) JG The questions are: JG 1. Do we need to delete entries in the staging table prior to loading. Will JG sqlldr remove the entires in the staging table first prior to loading? JG 2. There are no changes in the stored procedures, how / why sqlldr would JG invalidate the sql statement in the stored procedures? JG 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? JG I would appreciate if you can send me some pointers or suggestions. JG Thanks, JG KamYee JG -- JG Please see the official ORACLE-L FAQ: http://www.orafaq.net -- 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: 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
Re: Looking for help.
There are two options to replace all data in the table: REPLACE and TRUNCATE which are equivalent to truncate and delete sql statements. If you have staging tables without RI or triggers then use truncate. Using delete just takes a lot longer and use a lot more resources. We use TRUNCATE almost exclusively. Yechiel Adar Mehish - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:44 PM Hi We do something similiar, but instead of deleting the tables beforehand, I just use the SQL*LOADER REPLACE option. No such problems as described in the original eMail occured so far. The platform is Oracle 9.2.0.3 on Win3k. Regards, Stefan -Ursprüngliche Nachricht- Von: Jonathan Gennick [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:34 An: Multiple recipients of list ORACLE-L Betreff: Fwd: Looking for help. I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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: Stefan Jahnke 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
Re: Looking for help.
yeah but... if you attempt (as I do) to isolate the schema owner from the users which have select/insert/update/delete privileges, TRUNCATE won't work unless you have granted DROP ANY TABLE (I *really* hate that that is required) to the account which does the actual sql load. So I use REPLACE, because then I only have to grant the delete priv on that table. --- Yechiel Adar [EMAIL PROTECTED] wrote: There are two options to replace all data in the table: REPLACE and TRUNCATE which are equivalent to truncate and delete sql statements. If you have staging tables without RI or triggers then use truncate. Using delete just takes a lot longer and use a lot more resources. We use TRUNCATE almost exclusively. Yechiel Adar Mehish - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:44 PM Hi We do something similiar, but instead of deleting the tables beforehand, I just use the SQL*LOADER REPLACE option. No such problems as described in the original eMail occured so far. The platform is Oracle 9.2.0.3 on Win3k. Regards, Stefan -Ursprüngliche Nachricht- Von: Jonathan Gennick [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2003 14:34 An: Multiple recipients of list ORACLE-L Betreff: Fwd: Looking for help. I don't usually forward my reader email to the list, but the question below strikes me as rather interesting. In this case, SQL*Loader appears to be causing all SQL statements that refer to the table being loaded to be invalidated. Is this normal behavior? Does anyone know why it might be the case? -- 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. Wednesday, November 12, 2003, 1:07:41 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi Jonathan, I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. We are using Oracle 9i sqlldr, direct path to load data from external files into staging tables. After data is loaded, we invoked stored procedures to transform data and move them to the target tables. The steps are: 1. delete all entries from 20 staging tables 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to load data to all 20 staging tables 3. invoke stored procedures to transform data from the staging tables to the final tables. Currently these stored procedures are standalone. 4. invoke stored procedures to remove out-of-date entries from the final tables. I monitor invalidations column in v$sqlarea. Every time after sqlldr is invoked for data loading (step 2), all the sql statements that reference the staging tables are invalidated, including delete from stageing_table sql statement. I setup a test and used a java program to loop steps 1-4 every ~2 minutes. There were no other activities in the database except data loading and transformation. After a couple days, I got the following error: ORA-04031: unable to allocate 4212 bytes of shared memory (shared pool,unknown object,sga heap(1,0),stat array mem) The questions are: 1. Do we need to delete entries in the staging table prior to loading. Will sqlldr remove the entires in the staging table first prior to loading? 2. There are no changes in the stored procedures, how / why sqlldr would invalidate the sql statement in the stored procedures? 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? I would appreciate if you can send me some pointers or suggestions. Thanks, KamYee -- 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: Stefan Jahnke INET: [EMAIL
Re: Fwd: Looking for help.
Daniel, How does using the TRUNCATE command is a sqlldr invalidate anything? The sqlldr truncate command reuses the storage that the table originally used and does not change the HW mark. If there are indexes on the tables then they are placed in the DIRECT PATH state during the load and updated with the now block info. Please explain whet you mean by invalidate. Ron [EMAIL PROTECTED] 11/12/2003 12:04:35 PM Jonathan, I don't see where truncate is being invoked, though I am not a big user of sql*loader. Truncate should invalidate statements. Daniel Jonathan Gennick wrote: I wonder whether the invalidation comes about from the use of TRUNCATE, which is considered a DDL statement. I'd guess that any DDL to a table would invalidate existing SQL statements. 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. Wednesday, November 12, 2003, 8:34:24 AM, Jonathan Gennick ([EMAIL PROTECTED]) wrote: JG I don't usually forward my reader email to the list, but the JG question below strikes me as rather interesting. In this JG case, SQL*Loader appears to be causing all SQL statements JG that refer to the table being loaded to be invalidated. Is JG this normal behavior? Does anyone know why it might be the JG case? JG -- JG Best regards, JG Jonathan Gennick --- Brighten the corner where you are JG http://Gennick.com * 906.387.1698 * mailto:[EMAIL PROTECTED] JG Join the Oracle-article list and receive one JG article on Oracle technologies per month by JG email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article, JG or send email to [EMAIL PROTECTED] and JG include the word subscribe in either the subject or body. JG Wednesday, November 12, 2003, 1:07:41 AM, JG [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: JG Hi Jonathan, JG I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. JG We are using Oracle 9i sqlldr, direct path to load data from external files into JG staging tables. After data is loaded, we invoked stored procedures to JG transform data and move them to the target tables. The steps are: JG 1. delete all entries from 20 staging tables JG 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to JG load data to all 20 staging tables JG 3. invoke stored procedures to transform data from the staging tables to the JG final tables. Currently these stored procedures are standalone. JG 4. invoke stored procedures to remove out-of-date entries from the final JG tables. JG I monitor invalidations column in v$sqlarea. Every time JG after sqlldr is invoked for data loading (step 2), all the JG sql statements that reference the staging tables are JG invalidated, including delete from stageing_table sql JG statement. I setup a test and used a java program to loop JG steps 1-4 every ~2 minutes. There were no other activities JG in the database except data loading and transformation. JG After a couple days, I got the following error: ORA-04031: JG unable to allocate 4212 bytes of shared memory (shared JG pool,unknown object,sga heap(1,0),stat array mem) JG The questions are: JG 1. Do we need to delete entries in the staging table prior to loading. Will JG sqlldr remove the entires in the staging table first prior to loading? JG 2. There are no changes in the stored procedures, how / why sqlldr would JG invalidate the sql statement in the stored procedures? JG 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? JG I would appreciate if you can send me some pointers or suggestions. JG Thanks, JG KamYee JG -- JG Please see the official ORACLE-L FAQ: http://www.orafaq.net -- 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: Daniel Fink
Re: Fwd: Looking for help.
KamYee, Can we take a look at the SQL*Loader control file? Also the output of select * from v$sql where lower(sql_text) like '%yourstagingtable%' and invalidations 0 Yong Huang --- Jonathan Gennick [EMAIL PROTECTED] wrote: I wonder whether the invalidation comes about from the use of TRUNCATE, which is considered a DDL statement. I'd guess that any DDL to a table would invalidate existing SQL statements. 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. Wednesday, November 12, 2003, 8:34:24 AM, Jonathan Gennick ([EMAIL PROTECTED]) wrote: JG I don't usually forward my reader email to the list, but the JG question below strikes me as rather interesting. In this JG case, SQL*Loader appears to be causing all SQL statements JG that refer to the table being loaded to be invalidated. Is JG this normal behavior? Does anyone know why it might be the JG case? JG -- JG Best regards, JG Jonathan Gennick --- Brighten the corner where you are JG http://Gennick.com * 906.387.1698 * mailto:[EMAIL PROTECTED] JG Join the Oracle-article list and receive one JG article on Oracle technologies per month by JG email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article, JG or send email to [EMAIL PROTECTED] and JG include the word subscribe in either the subject or body. JG Wednesday, November 12, 2003, 1:07:41 AM, JG [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: JG Hi Jonathan, JG I was unable to find the answers from your book SQL*Loader: The Definitive Guide and the web. I am running out of sources. I hope you can help me with the following questions. JG We are using Oracle 9i sqlldr, direct path to load data from external files into JG staging tables. After data is loaded, we invoked stored procedures to JG transform data and move them to the target tables. The steps are: JG 1. delete all entries from 20 staging tables JG 2. invoke sqlldr userid=dbimpl/dbimpl control=controlFile direct=true to JG load data to all 20 staging tables JG 3. invoke stored procedures to transform data from the staging tables to the JG final tables. Currently these stored procedures are standalone. JG 4. invoke stored procedures to remove out-of-date entries from the final JG tables. JG I monitor invalidations column in v$sqlarea. Every time JG after sqlldr is invoked for data loading (step 2), all the JG sql statements that reference the staging tables are JG invalidated, including delete from stageing_table sql JG statement. I setup a test and used a java program to loop JG steps 1-4 every ~2 minutes. There were no other activities JG in the database except data loading and transformation. JG After a couple days, I got the following error: ORA-04031: JG unable to allocate 4212 bytes of shared memory (shared JG pool,unknown object,sga heap(1,0),stat array mem) JG The questions are: JG 1. Do we need to delete entries in the staging table prior to loading. Will JG sqlldr remove the entires in the staging table first prior to loading? JG 2. There are no changes in the stored procedures, how / why sqlldr would JG invalidate the sql statement in the stored procedures? JG 3. The error ORA-04031 in this case, is it due to shared memory fragmentation? I suspect that the culprint is invalidations. How do invalidations cause shared memory fragmentation? JG I would appreciate if you can send me some pointers or suggestions. JG Thanks, JG KamYee __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Yong Huang 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).
Help Interpreting TKProf
Hi. I'm running tkprof on my PC with a version 9i client. The trace file was generated on a Solars version 8.1.7.4 database. (I'm using tkprof on 9i to get wait statistics.) The trace is 10046 level 12 I assume the time waited is in addition to the elapsed time for the call -- correct? Since the database itself is 8i, does that mean that the wait stats are in centiseconds? I want to know what the sql*net message from client wait time of 10.73 represents: Elapsed times include waiting on following events: Event waited onTimes Max. Wait Total Waited Waited -- - SQL*Net message to client 8 0.00 0.00 SQL*Net message from client 8 10.71 10.73 Here's all the code: select /*ClassSQL*/ distinct co.class,cl.claname from classorder co,class cl where co.paper='DNA' and co.page='EM' and co.class= cl.class and co.paper=cl.paper and cl.clatype='0' order by 1 call count cpuelapsed disk querycurrentrows --- -- -- -- -- -- -- Parse1 0.01 0.01 0 0 0 0 Execute 1 0.00 0.00 0 0 0 0 Fetch8 0.01 0.01 0 169 0 82 --- -- -- -- -- -- -- total 10 0.02 0.02 0 169 0 82 Misses in library cache during parse: 1 Optimizer goal: CHOOSE Parsing user id: 586 (SYSADMIN) Rows Row Source Operation --- --- 82 SORT UNIQUE 82 NESTED LOOPS 83INDEX RANGE SCAN (object id 395118) 82TABLE ACCESS BY INDEX ROWID CLASS 164 INDEX UNIQUE SCAN (object id 395113) Rows Execution Plan --- --- 0 SELECT STATEMENT GOAL: CHOOSE 82 SORT (UNIQUE) 82NESTED LOOPS 83 INDEX GOAL: ANALYZED (RANGE SCAN) OF 'I_CLO1' (NON-UNIQUE) 82 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF 'CLASS' 164 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF 'I_CLA1' (UNIQUE) Thanks for any help. Barb __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Barbara Baker 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: Fwd: Looking for help.
Ron, I don't know about the TRUNCATE option w/ sql*loader, but the regular DDL TRUNCATE invalidates sql that references the table. Example: 1 select sql_text, invalidations 2 from v$sql 3* where sql_text = 'select * from emp' SQL / SQL_TEXT INVALIDATIONS -- - select * from emp 0 SQL truncate table emp; Table truncated. SQL select sql_text, invalidations 2 from v$sql 3 where sql_text = 'select * from emp' 4 / SQL_TEXT INVALIDATIONS -- - select * from emp 1 Ron Rogers wrote: Daniel, How does using the TRUNCATE command is a sqlldr invalidate anything? The sqlldr truncate command reuses the storage that the table originally used and does not change the HW mark. If there are indexes on the tables then they are placed in the DIRECT PATH state during the load and updated with the now block info. Please explain whet you mean by invalidate. Ron -- 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).