RE: Database Instance
Dear :All Well we did not buy any application packages. Currently we are using open source product ...which is Apache and Tomcat. By the way, have anyone ever have more than 5 database under a single server ? I heard that the best practice is to have 1 database n 1 application in a single server. Is that true ? Thank JKean --- Mercadante, Thomas F [EMAIL PROTECTED] wrote: I would be very careful about doing this if you have purchased application packages. Sooner or later, you will want to upgrade one of the packages, and it will require a different release of Oracle - and you will be stuck. Tom Mercadante Oracle Certified Professional -Original Message- Sent: Wednesday, December 24, 2003 11:24 AM To: Multiple recipients of list ORACLE-L One other disadvantage of putting all instances together is if you need to say bounce the database (for parameter change or other maintenance etc) then all other applications will get affected. Whereas with separate instances other applications will not get affected. To some extent one application failing will not affect other applications. Except if one application does not close its connections then it could lead to maximum connections (sessions) being reached and affecting other applications. If the nature of the applications is different : OLTP, warehousing then you cannot really tune the parameters. On the positive side I think putting instances together will lead to some memory savings. I would suggest : Do not worry about who wants to put the instances together just list the advantages, disadvantages and make the decision. [EMAIL PROTECTED] wrote: It is not necessarily true that an error in one application will affect all applications. If there is a problem with oracle instance or the database, then all applications might be affected. Multiple schemas which have the same table names can be a problem. If your applications uses public synonyms, then you might have a big problem. If everything is working fine now, it seems pointless to move things around. But this is philosophy. I do believe that isolating applications from each other as much as possible is usually a good thing. Good fences make good neighbors. (usually) But, if your manager insists on it, you have no choice. Just do your best to keep the old stuff around in case it becomes apparent that the new way will not work and you must go back to the old way. -Original Message- Lately, m! y manager want me to remove all the databases and remain a single instance. I was wondering if i move everything into single database then if one of the application fail due to oracle error , then all other four application will fail also rite ? Each of our web application needs to have 2 schema and both schema have to be transparent to each other. While other application schema will be invisible to each other. Since i have 5 web app then i will need 10 schema.One major problem is all the 10 schema will contain same table name. It will be a mess putting so much app in a single db . Pls correct me if i am wrong and do let me know what are the pro and cons or maybe you can educate me with some of the best practice to setup a proper production server environment. Thank You Regards, Jkean -- 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). _ Do you Yahoo!? Free http://us.rd.yahoo.com/slv/mailtag/*http://companion.yahoo.com/ Pop-Up Blocker - Get it now __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Kean Jacinta 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: Database Instance
Not quite true, in 3 tiers architecture, DB should last tier and application in middle tier. Well depend on your company budget and the size of everything and consideration of high scalability system, and future upgrade. Your manager, see everything from cost or license point of view, I believe they purchase Oracle base on number of running sessions. I believe for long run 5 Oracle databases maintenance quite expensive (in term of tangible cost), I don't know what is your company budget, can't comment much. 5 small databases may be ok in one box (exclude applications), but 5 big (or medium) databases then I have to disagree with your manager. Sinardy -Original Message- Sent: 26 December 2003 14:59 To: Multiple recipients of list ORACLE-L Dear :All Well we did not buy any application packages. Currently we are using open source product ...which is Apache and Tomcat. By the way, have anyone ever have more than 5 database under a single server ? I heard that the best practice is to have 1 database n 1 application in a single server. Is that true ? Thank JKean --- Mercadante, Thomas F [EMAIL PROTECTED] wrote: I would be very careful about doing this if you have purchased application packages. Sooner or later, you will want to upgrade one of the packages, and it will require a different release of Oracle - and you will be stuck. Tom Mercadante Oracle Certified Professional -Original Message- Sent: Wednesday, December 24, 2003 11:24 AM To: Multiple recipients of list ORACLE-L One other disadvantage of putting all instances together is if you need to say bounce the database (for parameter change or other maintenance etc) then all other applications will get affected. Whereas with separate instances other applications will not get affected. To some extent one application failing will not affect other applications. Except if one application does not close its connections then it could lead to maximum connections (sessions) being reached and affecting other applications. If the nature of the applications is different : OLTP, warehousing then you cannot really tune the parameters. On the positive side I think putting instances together will lead to some memory savings. I would suggest : Do not worry about who wants to put the instances together just list the advantages, disadvantages and make the decision. [EMAIL PROTECTED] wrote: It is not necessarily true that an error in one application will affect all applications. If there is a problem with oracle instance or the database, then all applications might be affected. Multiple schemas which have the same table names can be a problem. If your applications uses public synonyms, then you might have a big problem. If everything is working fine now, it seems pointless to move things around. But this is philosophy. I do believe that isolating applications from each other as much as possible is usually a good thing. Good fences make good neighbors. (usually) But, if your manager insists on it, you have no choice. Just do your best to keep the old stuff around in case it becomes apparent that the new way will not work and you must go back to the old way. -Original Message- Lately, m! y manager want me to remove all the databases and remain a single instance. I was wondering if i move everything into single database then if one of the application fail due to oracle error , then all other four application will fail also rite ? Each of our web application needs to have 2 schema and both schema have to be transparent to each other. While other application schema will be invisible to each other. Since i have 5 web app then i will need 10 schema.One major problem is all the 10 schema will contain same table name. It will be a mess putting so much app in a single db . Pls correct me if i am wrong and do let me know what are the pro and cons or maybe you can educate me with some of the best practice to setup a proper production server environment. Thank You Regards, Jkean -- 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). _ Do you Yahoo!? Free http://us.rd.yahoo.com/slv/mailtag/*http://companion.yahoo.com/ Pop-Up Blocker - Get it now
RE: Database Instance
btw, Oracle 10g can add new servers to your database's tier like plug and play (same OS). This is what the guy at Oracle 10g seminar told me. He said what an administrator need is Internet browser. Sinardy -Original Message- Sent: 26 December 2003 15:14 To: '[EMAIL PROTECTED]' Not quite true, in 3 tiers architecture, DB should last tier and application in middle tier. Well depend on your company budget and the size of everything and consideration of high scalability system, and future upgrade. Your manager, see everything from cost or license point of view, I believe they purchase Oracle base on number of running sessions. I believe for long run 5 Oracle databases maintenance quite expensive (in term of tangible cost), I don't know what is your company budget, can't comment much. 5 small databases may be ok in one box (exclude applications), but 5 big (or medium) databases then I have to disagree with your manager. Sinardy -Original Message- Sent: 26 December 2003 14:59 To: Multiple recipients of list ORACLE-L Dear :All Well we did not buy any application packages. Currently we are using open source product ...which is Apache and Tomcat. By the way, have anyone ever have more than 5 database under a single server ? I heard that the best practice is to have 1 database n 1 application in a single server. Is that true ? Thank JKean --- Mercadante, Thomas F [EMAIL PROTECTED] wrote: I would be very careful about doing this if you have purchased application packages. Sooner or later, you will want to upgrade one of the packages, and it will require a different release of Oracle - and you will be stuck. Tom Mercadante Oracle Certified Professional -Original Message- Sent: Wednesday, December 24, 2003 11:24 AM To: Multiple recipients of list ORACLE-L One other disadvantage of putting all instances together is if you need to say bounce the database (for parameter change or other maintenance etc) then all other applications will get affected. Whereas with separate instances other applications will not get affected. To some extent one application failing will not affect other applications. Except if one application does not close its connections then it could lead to maximum connections (sessions) being reached and affecting other applications. If the nature of the applications is different : OLTP, warehousing then you cannot really tune the parameters. On the positive side I think putting instances together will lead to some memory savings. I would suggest : Do not worry about who wants to put the instances together just list the advantages, disadvantages and make the decision. [EMAIL PROTECTED] wrote: It is not necessarily true that an error in one application will affect all applications. If there is a problem with oracle instance or the database, then all applications might be affected. Multiple schemas which have the same table names can be a problem. If your applications uses public synonyms, then you might have a big problem. If everything is working fine now, it seems pointless to move things around. But this is philosophy. I do believe that isolating applications from each other as much as possible is usually a good thing. Good fences make good neighbors. (usually) But, if your manager insists on it, you have no choice. Just do your best to keep the old stuff around in case it becomes apparent that the new way will not work and you must go back to the old way. -Original Message- Lately, m! y manager want me to remove all the databases and remain a single instance. I was wondering if i move everything into single database then if one of the application fail due to oracle error , then all other four application will fail also rite ? Each of our web application needs to have 2 schema and both schema have to be transparent to each other. While other application schema will be invisible to each other. Since i have 5 web app then i will need 10 schema.One major problem is all the 10 schema will contain same table name. It will be a mess putting so much app in a single db . Pls correct me if i am wrong and do let me know what are the pro and cons or maybe you can educate me with some of the best practice to setup a proper production server environment. Thank You Regards, Jkean -- 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
Re: Re: Re: Index usage
Thanks. Regards, B S Pradhan - On Fri, 26 Dec 2003 zhu chao wrote : Hi, To see why oracle choose FTS, alter session set events '10053 trace name context forever,level 2'; You can do alter session to change index_adj and optimizer_index_caching to change only your session, or using hint. Regards Zhu Chao. - Original Message - To: Multiple recipients of list ORACLE-L Sent: Thursday, December 25, 2003 8:09 PM Hi All, Agreed.. and it should behave that way i.e if (cost of ind1 scan + then based on c1's selection table access for c3) (direct table access for c1 and c1) then oracle will use FTS with cost based optimization. So, w/o a hint that is expected. But why it is not picking the index in my case i donot know. Also, can optimizer_index_cost_adj help? Its 100 now. Also that affects the whole DB, so is there any way to set it for this particular query ? Thanks for all the inputs. Regards, B S Pradhan On Wed, 24 Dec 2003 Mike Spalinger wrote : The difference is that the first query never has to go to the table (because you're selecting a constant 'x'). The second query has to go to the table to filter on c3. Mike anu wrote: No. The index should get used. The query result for query 2 is a subset of rows with ta.c1='val1' will get selected. Subset of query 1. So there is no need for a full table scan. The index can be used in the following way : 1) Use index ind1 to get rows with ta.c1='val1' (which is query 1). This can definitely use an index. 2) Further filter using ta.c3 = 'val2' Now may be the index is not very selective and the optimizer is going in for a full table scan. What is the cardinality like? It is strange that RULE or index hint is not taking it. Can you try a simple index(ta) hint or send your hint syntax. Can you try the hint on another table to make sure hint is working. I do not know why hint should not work. Good luck. Daniel W. Fink [EMAIL PROTECTED] wrote: You answered your own question. ta.c3 is a nonindexed column, this means that the only way to satisfy the predicate is to perform a full table scan. Since this predicate condition forces a full table scan on ta, which will retrieve the ta.c1 column values at the same time, there is no need to use an index. In fact, an additional index access would decrease the query performance. Daniel Fink bhabani s pradhan wrote: Hi All, Merry Christmas to all I have this interesting problem.. For this query index ind1 on (c1,c2) columns is getting used. SELECT 'x' FROM tab ta WHERE ta.c1='val1'; (gives index ind1 range scan) But for SELECT 'x' FROM tab ta WHERE ta.c1='val1' AND ta.c3 = 'val2'; (gives FTS) index ind1 is not being used. c3 is a nonindexed column. I have already tried index(ta ind1) , RULE hints. The table and the index are analyzed. What cud be the reason for that? Regards, B S Pradhan --Please see the official ORACLE-L FAQ: http://www.orafaq.net --Author: Daniel W. 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). ! Do you Yahoo!? Free Pop-Up Blocker - Get it now http://us.rd.yahoo.com/slv/mailtag/*http://companion.yahoo.com/ -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mike Spalinger 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,
RE: Database Instance
We have 13 databases (and instances) of approximately 17G each on a RISC/6000. We have 6 database/instances on a Win2K box. Two of those are in the 17G range but the rest are smaller. But it's not the disk size that's important, it's the SGA size. Kean Jacinta jacintakean To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] @yahoo.com cc: Sent by: Subject: RE: Database Instance ml-errors 12/26/2003 01:59 AM Please respond to ORACLE-L Dear :All Well we did not buy any application packages. Currently we are using open source product ...which is Apache and Tomcat. By the way, have anyone ever have more than 5 database under a single server ? I heard that the best practice is to have 1 database n 1 application in a single server. Is that true ? Thank JKean --- Mercadante, Thomas F [EMAIL PROTECTED] wrote: I would be very careful about doing this if you have purchased application packages. Sooner or later, you will want to upgrade one of the packages, and it will require a different release of Oracle - and you will be stuck. Tom Mercadante Oracle Certified Professional -Original Message- Sent: Wednesday, December 24, 2003 11:24 AM To: Multiple recipients of list ORACLE-L One other disadvantage of putting all instances together is if you need to say bounce the database (for parameter change or other maintenance etc) then all other applications will get affected. Whereas with separate instances other applications will not get affected. To some extent one application failing will not affect other applications. Except if one application does not close its connections then it could lead to maximum connections (sessions) being reached and affecting other applications. If the nature of the applications is different : OLTP, warehousing then you cannot really tune the parameters. On the positive side I think putting instances together will lead to some memory savings. I would suggest : Do not worry about who wants to put the instances together just list the advantages, disadvantages and make the decision. [EMAIL PROTECTED] wrote: It is not necessarily true that an error in one application will affect all applications. If there is a problem with oracle instance or the database, then all applications might be affected. Multiple schemas which have the same table names can be a problem. If your applications uses public synonyms, then you might have a big problem. If everything is working fine now, it seems pointless to move things around. But this is philosophy. I do believe that isolating applications from each other as much as possible is usually a good thing. Good fences make good neighbors. (usually) But, if your manager insists on it, you have no choice. Just do your best to keep the old stuff around in case it becomes apparent that the new way will not work and you must go back to the old way. -Original Message- Lately, m! y manager want me to remove all the databases and remain a single instance. I was wondering if i move everything into single database then if one of the application fail due to oracle error , then all other four application will fail also rite ? Each of our web application needs to have 2
Re: RE: Database Instance
i believe tom kyte recommends putting them in one or a few instances and using VPD to handle security. He claims it scales better. I believe its in his second book and on his website. However, Thomas is right. You really dont want 13 instances together for maintenance reasons. Some may need different parameter settings. Are you sure your server can handle all those instances? That could be alot of work for one server. I know the trend these days(and we do it) is get 1 powerful server and load it with instances to save on oracle's obscene licensing fees. Best thing to do is possibly analyze how the instances are used and combine them into groups of instances. Your manager sounds like an idiot. What he should do is the following. Manager: 'DBA, what are the pros and cons of putting all instances into one database? Please research and get back to me. Also, if we decide to combine them, please write up testing scenarios so we can adequately test this approach before implementing it.' Then he makes a decision. No patience for know it all managers. They cause so many problems. From: Thomas Day [EMAIL PROTECTED] Date: 2003/12/26 Fri AM 08:44:25 EST To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: RE: Database Instance We have 13 databases (and instances) of approximately 17G each on a RISC/6000. We have 6 database/instances on a Win2K box. Two of those are in the 17G range but the rest are smaller. But it's not the disk size that's important, it's the SGA size. Kean Jacinta jacintakean To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] @yahoo.com cc: Sent by: Subject: RE: Database Instance ml-errors 12/26/2003 01:59 AM Please respond to ORACLE-L Dear :All Well we did not buy any application packages. Currently we are using open source product ...which is Apache and Tomcat. By the way, have anyone ever have more than 5 database under a single server ? I heard that the best practice is to have 1 database n 1 application in a single server. Is that true ? Thank JKean --- Mercadante, Thomas F [EMAIL PROTECTED] wrote: I would be very careful about doing this if you have purchased application packages. Sooner or later, you will want to upgrade one of the packages, and it will require a different release of Oracle - and you will be stuck. Tom Mercadante Oracle Certified Professional -Original Message- Sent: Wednesday, December 24, 2003 11:24 AM To: Multiple recipients of list ORACLE-L One other disadvantage of putting all instances together is if you need to say bounce the database (for parameter change or other maintenance etc) then all other applications will get affected. Whereas with separate instances other applications will not get affected. To some extent one application failing will not affect other applications. Except if one application does not close its connections then it could lead to maximum connections (sessions) being reached and affecting other applications. If the nature of the applications is different : OLTP, warehousing then you cannot really tune the parameters. On the positive side I think putting instances
RE: Display unix directory hierarchy
It suddenly popped into my head a couple days ago that there could be a problem with the script (isn't it crazy what the subconscious mind does?). Note that when it cd's to a new directory, it ASS-U-MEs that it can do that; and then it calls the script again. I haven't verified if for sure (shoot me now), but I think this could set up a nasty loop. So one should test the readability and executability (??) of the directory before trying to cd into it -- the solution to which is left as an exercise for the reader. (AAAUGH! Yeah, I've had a Math course or two.) -Original Message- In addition to the fine solution from Bambi, Here's another approach that I think will work. I did only minimal testing (in TRUE development tradition. But ... But ... It worked OK in test!). One caveat: This relies on recursion, so on a big directory tree you might get swatted with OS resource limitations. -- #!/bin/ksh if [ $# -eq 1 ]; then ARG=$1 else ARG=0 export MYNAME=`pwd`/`basename $0` fi X=0 PAD= while [ $X -lt $ARG ]; do PAD=$PAD X=$(( X + 1 )) done ## list non-directory files first for i in `ls -a1 2 /dev/null`; do if [ $i = . -o $i = .. ]; then continue fi if [ ! -d $i ]; then echo $PAD$i fi done ## then plow into the directories ## NO. They ain't folders. They're DIRECTORIES. for i in `ls -a1 2 /dev/null`; do if [ $i = . -o $i = .. ]; then continue fi if [ -d $i ]; then echo $PAD/$i { cd $i $MYNAME $(( $ARG + 1 )) cd .. } fi done -- 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: [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 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).
merge
Hello list I am using Oracle 9.2.0.1.0 , Consider the merge command : merge into table1 using on (column matching condition) then update set . when not matched then insert values ...; Is there a restriction that the column specified in 'column matching condition' cannot be placed in the 'update set' clause ? The docs don't mention this, but I tried this out and I seem to be experiencing this behaviour. -- 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: undo and insert
What is ITL ? - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 4:59 PM Just the previous version of the changed columns, plus an overhead of about 80 bytes which relates to ITLs, linked lists, operation descriptions etc. Bear in mind that undo relating to indexes is not the same as undo relating to tables, though. An update to an indexed column results in one index entry being deleted (so the whole index entry is coped to the undo) and another index entry being inserted (which also means the whole (new) index entry being copied to the undo). There is a statistic relating to undo size in v$sysstat/v$sesstat in the most recent versions of Oracle. While a transaction is active, you can track it in v$transaction, and there are two columns in that view giving you information about the undo - used_urec (undo records created) and used_ublk (undo block used). 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: Wednesday, December 24, 2003 8:44 PM I have a related question : What about update? In rollback segment : Will it store the whole row for before image or just the changed column and rowid. Is there a way to get the size of the rollback from some where in the database. or v$ views. Like we can get an idea about redo size from redo log files generated. Thank you -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jonathan Lewis INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Akshay Kumar 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: undo and insert
ITL = Interested Transaction List The entries are used for locking. See the following articles on ITL http://www.jlcomp.demon.co.uk/faq/locked_rows.html http://www.ixora.com.au/q+a/0010/13133621.htm Jared Akshay Kumar [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/26/2003 10:54 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Re: undo and insert What is ITL ? - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 4:59 PM Just the previous version of the changed columns, plus an overhead of about 80 bytes which relates to ITLs, linked lists, operation descriptions etc. Bear in mind that undo relating to indexes is not the same as undo relating to tables, though. An update to an indexed column results in one index entry being deleted (so the whole index entry is coped to the undo) and another index entry being inserted (which also means the whole (new) index entry being copied to the undo). There is a statistic relating to undo size in v$sysstat/v$sesstat in the most recent versions of Oracle. While a transaction is active, you can track it in v$transaction, and there are two columns in that view giving you information about the undo - used_urec (undo records created) and used_ublk (undo block used). 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: Wednesday, December 24, 2003 8:44 PM I have a related question : What about update? In rollback segment : Will it store the whole row for before image or just the changed column and rowid. Is there a way to get the size of the rollback from some where in the database. or v$ views. Like we can get an idea about redo size from redo log files generated. Thank you -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jonathan Lewis INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Akshay Kumar 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).
pga_aggregate_target
Starting an upgrade project for 8i to 9i R2. How can I come up with a reasonable starting value for the pga_aggregate_target parameter? Jeffrey BeckstromDatabase AdministratorGreater Cleveland Regional Transit Authority1240 W. 6th StreetCleveland, Ohio 44113
Oracle Installation
Hi, Can I install oracle8i on Linux without using vncserver? Like set up the display and run runInstaller. thanks -seema _ Take advantage of our limited-time introductory offer for dial-up Internet access. http://join.msn.com/?page=dept/dialup -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Seema Singh 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: pga_aggregate_target
Read the PGA section of the performance tuning manual. It's pretty good, tuning the PGA is fairly simple. If you are using statspack, the pga data will give you some good history. I have some scripts I can share if you like, let me know. Jared Jeffrey Beckstrom [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/26/2003 11:34 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:pga_aggregate_target Starting an upgrade project for 8i to 9i R2. How can I come up with a reasonable starting value for the pga_aggregate_target parameter? Jeffrey Beckstrom Database Administrator Greater Cleveland Regional Transit Authority 1240 W. 6th Street Cleveland, Ohio 44113
RE: Oracle Installation
Seema, Why would you need vncserver to install Oracle? Are you trying to install Oracle on the Linux box from a remote location? Julio Cesar Quijada-Reina Programmer Analyst Computer Services at Alfred State College -Original Message- Seema Singh Sent: Friday, December 26, 2003 3:04 PM To: Multiple recipients of list ORACLE-L Hi, Can I install oracle8i on Linux without using vncserver? Like set up the display and run runInstaller. thanks -seema _ Take advantage of our limited-time introductory offer for dial-up Internet access. http://join.msn.com/?page=dept/dialup -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Seema Singh 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: QuijadaReina, Julio C 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: pga_aggregate_target
Jeffrey, If you are simply looking at a conversion from 8i to 9iR2, and you're not going to be implementing a bunch of new 9i features (that could affect PGA usage), then it's probably reasonably straightforward. You can look at 'session pga memory' and 'session pga memory max' statistics in V$SESSTAT to get an idea of current PGA memory consumption in 8i. The 'max' statistic is probably more interesting in terms of total aggregate memory consumption. Also, consider that any single serial session will never get more than 5% of pga_aggregate_target. For parallel operations, total is limited to 30%. So, if you have lots of sessions, each with modest requirements, that will not be a factor. If, on the other hand, your database supports just a few connections, and each has significant PGA memory requirements, then you may need to consider that limitation. Hope that helps, -Mark -Original Message- From: Jeffrey Beckstrom [mailto:[EMAIL PROTECTED] Sent: Fri 12/26/2003 2:34 PM To: Multiple recipients of list ORACLE-L Cc: Subject:pga_aggregate_target Starting an upgrade project for 8i to 9i R2. How can I come up with a reasonable starting value for the pga_aggregate_target parameter? Jeffrey Beckstrom Database Administrator Greater Cleveland Regional Transit Authority 1240 W. 6th Street Cleveland, Ohio 44113 winmail.dat
Re: pga_aggregate_target
Anyone have problems with pga_aggregate_target on Solaris. Richard Foote wrote the following about HP-Unix. http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=UTF-8threadm=829Gb.63613%24aT.16120%40news-server.bigpond.net.aurnum=1prev=/groups%3Fq%3Dpga%2Bgaffuri%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den - Original Message - From: [EMAIL PROTECTED] To: Multiple recipients of list ORACLE-L Sent: Friday, December 26, 2003 3:19 PM Subject: Re: pga_aggregate_target Read the PGA section of the performance tuning manual. It's pretty good, tuning the PGA is fairly simple. If you are using statspack, the pga data will give you some good history. I have some scripts I can share if you like, let me know. Jared "Jeffrey Beckstrom" [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/26/2003 11:34 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject: pga_aggregate_targetStarting an upgrade project for 8i to 9i R2. How can I come up with a reasonable starting value for the pga_aggregate_target parameter? Jeffrey BeckstromDatabase AdministratorGreater Cleveland Regional Transit Authority1240 W. 6th StreetCleveland, Ohio 44113
any single serial session will never get more than 5% of pga_aggregate_target
Is there any way to give say 75% of pga_aggregate_target to a single session? The reason I am asking this is - sometimes we need to build an index as soon as possible and the index creating is the only thing running and other applications are stopped waiting for the index. Thanks, Roger -Original Message- Bobak, Mark Sent: Friday, December 26, 2003 2:29 PM To: Multiple recipients of list ORACLE-L Jeffrey, If you are simply looking at a conversion from 8i to 9iR2, and you're not going to be implementing a bunch of new 9i features (that could affect PGA usage), then it's probably reasonably straightforward. You can look at 'session pga memory' and 'session pga memory max' statistics in V$SESSTAT to get an idea of current PGA memory consumption in 8i. The 'max' statistic is probably more interesting in terms of total aggregate memory consumption. Also, consider that any single serial session will never get more than 5% of pga_aggregate_target. For parallel operations, total is limited to 30%. So, if you have lots of sessions, each with modest requirements, that will not be a factor. If, on the other hand, your database supports just a few connections, and each has significant PGA memory requirements, then you may need to consider that limitation. Hope that helps, -Mark -Original Message- From: Jeffrey Beckstrom [mailto:[EMAIL PROTECTED] Sent: Fri 12/26/2003 2:34 PM To: Multiple recipients of list ORACLE-L Cc: Subject:pga_aggregate_target Starting an upgrade project for 8i to 9i R2. How can I come up with a reasonable starting value for the pga_aggregate_target parameter? Jeffrey Beckstrom Database Administrator Greater Cleveland Regional Transit Authority 1240 W. 6th Street Cleveland, Ohio 44113 For technical support please email [EMAIL PROTECTED] or you can call (972)721-8257. This email has been scanned for all viruses by the MessageLabs Email Security System. This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Roger Xu 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: any single serial session will never get more than 5% of pga_aggregate_target
You might experiment with; alter session set workarea_size_policy = manual; Jared Roger Xu [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/26/2003 01:49 PM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:any single serial session will never get more than 5% of pga_aggregate_target Is there any way to give say 75% of pga_aggregate_target to a single session? The reason I am asking this is - sometimes we need to build an index as soon as possible and the index creating is the only thing running and other applications are stopped waiting for the index. Thanks, Roger -Original Message- Bobak, Mark Sent: Friday, December 26, 2003 2:29 PM To: Multiple recipients of list ORACLE-L Jeffrey, If you are simply looking at a conversion from 8i to 9iR2, and you're not going to be implementing a bunch of new 9i features (that could affect PGA usage), then it's probably reasonably straightforward. You can look at 'session pga memory' and 'session pga memory max' statistics in V$SESSTAT to get an idea of current PGA memory consumption in 8i. The 'max' statistic is probably more interesting in terms of total aggregate memory consumption. Also, consider that any single serial session will never get more than 5% of pga_aggregate_target. For parallel operations, total is limited to 30%. So, if you have lots of sessions, each with modest requirements, that will not be a factor. If, on the other hand, your database supports just a few connections, and each has significant PGA memory requirements, then you may need to consider that limitation. Hope that helps, -Mark -Original Message- Sent: Fri 12/26/2003 2:34 PM To: Multiple recipients of list ORACLE-L Cc: Starting an upgrade project for 8i to 9i R2. How can I come up with a reasonable starting value for the pga_aggregate_target parameter? Jeffrey Beckstrom Database Administrator Greater Cleveland Regional Transit Authority 1240 W. 6th Street Cleveland, Ohio 44113 For technical support please email [EMAIL PROTECTED] or you can call (972)721-8257. This email has been scanned for all viruses by the MessageLabs Email Security System. This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Roger Xu 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).
Re: any single serial session will never get more than 5% of pga_aggregate_target
For special cases like that I would switch the session back to a manual workarea policy and set a suitable sort area. 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 9:49 PM pga_aggregate_target Is there any way to give say 75% of pga_aggregate_target to a single session? The reason I am asking this is - sometimes we need to build an index as soon as possible and the index creating is the only thing running and other applications are stopped waiting for the index. Thanks, Roger -- 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).
RE: any single serial session will never get more than 5% of pga
To be honest I'm not sure why such a feature is available! I have not used it so I'm not really qualified enough to judge it. But in my opinion, a session asks for memory because it needs memory. So is it possible that a session is asking for memory that it does not really need and it can continue running without the requested memory? The answer could be yes, if the more memory means faster (like sorting) and the sort_area_size is too big to be satisfied for all sessions, in this situation the DBA is responsible for the wrong settings. But what if more memory is required like: memory tables, associative arrays, etc and memory was denied? Would the session fail? I think the answer would be YES - Did anybody try this? Is the feature available because Oracle sessions don't deallocate the extra memory and by using this feature, it will encourage the sessions that already succeeded in allocating memory that they don't need any more by punishing the ones that ask for more memory now by saying NO? Or is it going to ask the sessions that have extra allocated memory to release it which should be the normal behavior anyway without using any policies? Regards, Waleed -Original Message- Sent: Friday, December 26, 2003 5:39 PM To: Multiple recipients of list ORACLE-L pga_aggregate_target For special cases like that I would switch the session back to a manual workarea policy and set a suitable sort area. 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 9:49 PM pga_aggregate_target Is there any way to give say 75% of pga_aggregate_target to a single session? The reason I am asking this is - sometimes we need to build an index as soon as possible and the index creating is the only thing running and other applications are stopped waiting for the index. Thanks, Roger -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jonathan Lewis INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Khedr, Waleed 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: any single serial session will never get more than 5% of pga
Waleed, Please feel free to determine the answers to those questions. :) Jared Khedr, Waleed [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/26/2003 03:39 PM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: any single serial session will never get more than 5% of pga To be honest I'm not sure why such a feature is available! I have not used it so I'm not really qualified enough to judge it. But in my opinion, a session asks for memory because it needs memory. So is it possible that a session is asking for memory that it does not really need and it can continue running without the requested memory? The answer could be yes, if the more memory means faster (like sorting) and the sort_area_size is too big to be satisfied for all sessions, in this situation the DBA is responsible for the wrong settings. But what if more memory is required like: memory tables, associative arrays, etc and memory was denied? Would the session fail? I think the answer would be YES - Did anybody try this? Is the feature available because Oracle sessions don't deallocate the extra memory and by using this feature, it will encourage the sessions that already succeeded in allocating memory that they don't need any more by punishing the ones that ask for more memory now by saying NO? Or is it going to ask the sessions that have extra allocated memory to release it which should be the normal behavior anyway without using any policies? Regards, Waleed -Original Message- Sent: Friday, December 26, 2003 5:39 PM To: Multiple recipients of list ORACLE-L pga_aggregate_target For special cases like that I would switch the session back to a manual workarea policy and set a suitable sort area. 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 9:49 PM pga_aggregate_target Is there any way to give say 75% of pga_aggregate_target to a single session? The reason I am asking this is - sometimes we need to build an index as soon as possible and the index creating is the only thing running and other applications are stopped waiting for the index. Thanks, Roger -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jonathan Lewis INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Khedr, Waleed 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: Database Instance
Are there any performance issues arising ? MM I have no idea abt SGA . When i started installed the dbase i just follow the default value. JKEAN --- Thomas Day [EMAIL PROTECTED] wrote: We have 13 databases (and instances) of approximately 17G each on a RISC/6000. We have 6 database/instances on a Win2K box. Two of those are in the 17G range but the rest are smaller. But it's not the disk size that's important, it's the SGA size. Kean Jacinta jacintakean To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] @yahoo.com cc: Sent by: Subject: RE: Database Instance ml-errors 12/26/2003 01:59 AM Please respond to ORACLE-L Dear :All Well we did not buy any application packages. Currently we are using open source product ...which is Apache and Tomcat. By the way, have anyone ever have more than 5 database under a single server ? I heard that the best practice is to have 1 database n 1 application in a single server. Is that true ? Thank JKean --- Mercadante, Thomas F [EMAIL PROTECTED] wrote: I would be very careful about doing this if you have purchased application packages. Sooner or later, you will want to upgrade one of the packages, and it will require a different release of Oracle - and you will be stuck. Tom Mercadante Oracle Certified Professional -Original Message- Sent: Wednesday, December 24, 2003 11:24 AM To: Multiple recipients of list ORACLE-L One other disadvantage of putting all instances together is if you need to say bounce the database (for parameter change or other maintenance etc) then all other applications will get affected. Whereas with separate instances other applications will not get affected. To some extent one application failing will not affect other applications. Except if one application does not close its connections then it could lead to maximum connections (sessions) being reached and affecting other applications. If the nature of the applications is different : OLTP, warehousing then you cannot really tune the parameters. On the positive side I think putting instances together will lead to some memory savings. I would suggest : Do not worry about who wants to put the instances together just list the advantages, disadvantages and make the decision. [EMAIL PROTECTED] wrote: It is not necessarily true that an error in one application will affect all applications. If there is a problem with oracle instance or the database, then all applications might be affected. Multiple schemas which have the same table names can be a problem. If your applications uses public synonyms, then you might have a big problem. If everything is working fine now, it seems pointless to move things around. But this is philosophy. I do believe that isolating applications from each other as much as possible is usually a good thing. Good fences make good neighbors. (usually) But, if your manager insists on it, you have no choice. Just do your best to keep the old stuff around in case it becomes apparent that the new way will not work and you must go back to the old way. -Original
Re: RE: Database Instance
Really hope that i won't screw up the database. If He really did insist to have single instance, then up to him to decide. I still have no authority to said no. JKEAN --- [EMAIL PROTECTED] wrote: i believe tom kyte recommends putting them in one or a few instances and using VPD to handle security. He claims it scales better. I believe its in his second book and on his website. However, Thomas is right. You really dont want 13 instances together for maintenance reasons. Some may need different parameter settings. Are you sure your server can handle all those instances? That could be alot of work for one server. I know the trend these days(and we do it) is get 1 powerful server and load it with instances to save on oracle's obscene licensing fees. Best thing to do is possibly analyze how the instances are used and combine them into groups of instances. Your manager sounds like an idiot. What he should do is the following. Manager: 'DBA, what are the pros and cons of putting all instances into one database? Please research and get back to me. Also, if we decide to combine them, please write up testing scenarios so we can adequately test this approach before implementing it.' Then he makes a decision. No patience for know it all managers. They cause so many problems. From: Thomas Day [EMAIL PROTECTED] Date: 2003/12/26 Fri AM 08:44:25 EST To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Subject: RE: Database Instance We have 13 databases (and instances) of approximately 17G each on a RISC/6000. We have 6 database/instances on a Win2K box. Two of those are in the 17G range but the rest are smaller. But it's not the disk size that's important, it's the SGA size. Kean Jacinta jacintakean To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] @yahoo.com cc: Sent by: Subject: RE: Database Instance ml-errors 12/26/2003 01:59 AM Please respond to ORACLE-L Dear :All Well we did not buy any application packages. Currently we are using open source product ...which is Apache and Tomcat. By the way, have anyone ever have more than 5 database under a single server ? I heard that the best practice is to have 1 database n 1 application in a single server. Is that true ? Thank JKean --- Mercadante, Thomas F [EMAIL PROTECTED] wrote: I would be very careful about doing this if you have purchased application packages. Sooner or later, you will want to upgrade one of the packages, and it will require a different release of Oracle - and you will be stuck. Tom Mercadante Oracle Certified Professional -Original Message- Sent: Wednesday, December 24, 2003 11:24 AM To: Multiple recipients of list ORACLE-L One other disadvantage of putting all instances together is if you need to say bounce the database (for parameter change or other maintenance etc) then all other applications will get affected. Whereas with separate instances other applications will not get affected. To some extent one application failing will not affect other applications. Except if one application does
RE: Standard Vs. Enterprise Edition for Application Compilation
Vivek - Sorry for the late reply, but I just returned from holiday and don't see where anyone has replied to your posting. My understanding is that your situation is exactly what Oracle has anticipated with Std. vs. Enterprise. Oracle's goal is that all differences be code-independent, so that you can compile applications for either version and they will work for the other. The only resource for differences between Std and Enterprise I've seen are Oracle's marketing materials. I don't know the name of the currently available document, just have to poke around. Something about a Family of Products. Dennis Williams DBA Lifetouch, Inc. [EMAIL PROTECTED] -Original Message- Sent: Tuesday, December 23, 2003 10:54 AM To: Multiple recipients of list ORACLE-L Hi Qs Does a Pro-C application (Banking) need to be compiled with Standard Edition as Oracle Libraries are being used in the Compilation OR can it be compiled with the Enterprise Edition simply deployed elsewhere at Customer site containing the Standard Edition? NOTE Application is making OCI Calls to the DB. Does Standard Edition support the same? Qs Which are the important differences between Standard Edition of 8i/9i versus Enterprise Edition? Will provide any info needed Thanks Vivek -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: VIVEK_SHARMA INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: DENNIS WILLIAMS INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).