Re: Suggestions Needed: Latch free - library cache

2004-01-09 Thread Yong Huang
the URL http://www.ixora.com.au/newsletter/2001_05.htm#synonyms. If I understand right, the additional row cache objects latch gets are for synonym translations, particularly public synonym translations. Yong Huang __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing

Re: Suggestions Needed: Latch free - library cache

2004-01-08 Thread Yong Huang
objects latch contention. Yong Huang Jonathan Lewis wrote: ... Code that issues a parse call may: Invoke the whole parse/optimize cycle Invoke a permissions cycle on an existing statement Invoke a search and execute cycle on an existing statement with valid permission Invoke

Re: help with estimate row count from asktom

2003-12-31 Thread Yong Huang
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

Correct way to accuse BCHR tuning method (Was: Hit ratio)

2003-12-24 Thread Yong Huang
recently used again and again to show the inadequacy of the BCHR tuning method. Yong Huang __ 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: Yong Huang

RE: Hit Ratio

2003-12-23 Thread Yong Huang
{} \; for page cache. In any tuning practice, Oracle or OS, artificially distorting usage patterns invalidates your numbers even if you're using a well respected tuning method. So only play pranks on a play box, not production. Yong Huang At 11:14 22-12-03 -0800, you wrote: My BCHR is currently 96.62

Re: Hit Ratio

2003-12-22 Thread Yong Huang
in checking database health, although other indicators such as wait events should be given a greater weight. Yong Huang __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- Please see the official ORACLE-L FAQ: http

Risk of knowing password hash value (Was: OEM permissions)

2003-12-22 Thread Yong Huang
. Could you try on your databases and show how you do it? As I said, this may be a security problem. I'm just too ignorant of it and can't reproduce it for now. Yong Huang Norris, Gregory T [ITS] wrote: There's no reason I can see that he couldn't create the dblink first, and then reset

Re: Risk of knowing password hash value (Was: OEM permissions)

2003-12-22 Thread Yong Huang
Jared, I see you log out and log back in as SYSTEM to DB2. But how do you know the password for SYSTEM to log back in with after you change it? What if you don't log out? When I tried that (i.e. not logging out), I got ORA-1017. Yong Huang --- Jared Still [EMAIL PROTECTED] wrote: Environment

Re: Duplicating with rman

2003-12-20 Thread Yong Huang
Hi, I'm not sure why your RMAN output says LOGFILE GROUP 1 ( '/z01/oradata/DEVL/redo_01a.dbf', '/z02/oradata/DEVL/redo_01b.dbf', GROUP 2 ( '/z01/oradata/DEVL/redo_02a.dbf', Where's the ) reuse shown in your RMAN script? Are you sure the script you showed here was run? Yong Huang you

RE: OEM permissions

2003-12-20 Thread Yong Huang
. Then what? (He can still create a link owned by SYSTEM from another account such as SYS using a little bit hacking. But he won't know SYSTEM's password. I don't know how security of the production database is compromised in any way) Yong Huang you wrote: Maybe I'm a being a bit touchy here

RE: no longer listening

2003-12-19 Thread Yong Huang
others. Thanks for reminding everybody. Yong Huang QuijadaReina, Julio C wrote: Mladen, The equivalent of nsswitch.conf on Win2K is the hosts file in winnt\system32\drivers\etc. You'd probably say: the /etc directory in M$ ...But, well this is way off the topic we are dealing with. Like Jared

RE: OEM permissions

2003-12-19 Thread Yong Huang
dictionary or select any table. As DBAs, we should encourage developers to make full use of data dictionary views and open the database to them as much as they can study it. I would help the consultant in your case instead of just throw back a NO to him. Yong Huang Jamadagni, Rajendra wrote: Dennis

Re: Oracle Data Guard

2003-12-11 Thread Yong Huang
. Yong Huang Jonathan Lewis wrote: Can you clarify a couple of points for me. The SDU (session data unit) is presumably the packet size that the Oracle client and server want to pass back and forth - which is presumably the maximum size the one synchronous dialogue unit will be. The TDU

Re: leaf node 90-10 splits

2003-12-10 Thread Yong Huang
Hi, Tanel, Where do you see this statistic? I only see leaf node splits in 8.1.7 and 9.2 documentation. If the index is on strictly monotonically increasing numbers, won't a new node be added to the right without a block split? Yong Huang I wonder why does statistic leaf node 90-10 splits

RE: PERL?

2003-12-10 Thread Yong Huang
is an overkill. (Some people use Expect to simply ftp files without knowing that ftp -n allows you to use a here document; an Expect ftp script is necessary only if you need to respond differently to each of the ftp errors). Yong Huang Daniel Hanks wrote: I think Perl with Expect.pm could likely

RE: PERL?

2003-12-10 Thread Yong Huang
Jared, Thanks for correcting me that shutdown is a sqlplus command. I wanted to make the point that piping strings to sqlplus can do more than Perl DBI can. (But Perl DBI has advantages in many cases) Yong Huang [EMAIL PROTECTED] wrote: All *SQL* commands will work work with the DBI

Re: Documenting databases

2003-12-10 Thread Yong Huang
I used to document database objects (including columns) with the COMMENT commands. I stopped doing that because I think it unnecessarily increases the size of data dictionary. It's just a little, though. Yong Huang Daniel Hanks wrote: How about in each database itself. COMMENT ON TABLE|COLUMN

RE: Oracle Data Guard

2003-12-10 Thread Yong Huang
. Yong Huang Guang Mei wrote: I have never worked on Network stuff. But is there any easy parameters we could set in sqlnet.ora so that we could increase the DB performance by increase the network transfer rate (without doing anything else)? BTW my sqlnet.ora (on a Sun Box) has only two lines

Re: rebuilding indexes - sure to cause a ruckus

2003-12-09 Thread Yong Huang
production databases in the world that are not 24x7. The individual DBA needs to do his control study and conclude, using experts' opinions as reference. Yong Huang __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com

RE: PERL?

2003-12-09 Thread Yong Huang
such as explain plan, shutdown... and read its output. Yong Huang One BIG advantage of Perl is DBI. Via shell you can't use bind variables which sometimes come in handy. An admin dweeb here developed a __ Do you Yahoo!? New Yahoo! Photos - easier uploading

Re: Oracle Data Guard

2003-12-09 Thread Yong Huang
the OSI level, the faster assembling and disassembling those protocol data units is done. Yong Huang With TCP over standard ethernet the maximum transfer unit (MTU) is about 1500 bytes, this means if you want to send 2000 bytes over network, you have to fragment it in 2 packets and send them

Re: rebuilding indexes - sure to cause a ruckus

2003-12-05 Thread Yong Huang
it but not deny it. Similarly, when Mike says queries run 10 to 50% faster after index rebuild, we can't deny unless we find his measurement is wrong. Wouldn't it be nice if Oracle researchers write articles with sections like Abstract - Experimental - Results - Discussion in that order? Yong Huang

Re: Re: _wait_for_sync , dirty buffer flushing and direct reads in parallel

2003-11-20 Thread Yong Huang
, you need to clarify what you mean by affect; it changes the notification (posting) behavior of LGWR therefore changes the behavior of waiting processes (*when* they stop waiting). Just semantics. Yong Huang --- Tanel Poder [EMAIL PROTECTED] wrote: Anjo, I also thought it affects only lgwr sync

Re: Re: _wait_for_sync , dirty buffer flushing and direct reads in parallel

2003-11-20 Thread Yong Huang
for LGWR to write redo records. Yong Huang __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Yong Huang INET: [EMAIL PROTECTED] Fat City Network Services

Re: Re: _wait_for_sync , dirty buffer flushing and direct reads in parallel

2003-11-20 Thread Yong Huang
of LGWR, notification or not. Correct me if I'm wrong again. I'm still interested in Tanel's benchmark, though. Only that is scientific. Yong Huang --- Yong Huang [EMAIL PROTECTED], i.e. myself, wrote a few minutes ago: Tanel, Did you observe better performance? By how much? Do please let us

RE: RE: orbitz fiasco

2003-11-20 Thread Yong Huang
Murali, Could you point us to a document about the TAF and database link issue? Thanks. Yong Huang --- Murali_Pavuloori/[EMAIL PROTECTED] wrote: we implemented RAC (not me personally --but my predecessors) It did not work for us. Oracle RAC does not support TAF for sessions coming through

Re: Oracle Magazine Awards

2003-11-20 Thread Yong Huang
Just a congratulations is nothing. For one, Arup should tell us the secret of achieving the .03 second transaction goal on a 7-terabyte OLTP database. How is that done? What advice can he give? Yong Huang --- [EMAIL PROTECTED] wrote: Congratulations to the following folks that appeared

Re: Oracle shared object files on Solaris, and ELF class.

2003-11-19 Thread Yong Huang
to check all libraries under $ORACLE_HOME/lib: cd $ORACLE_HOME/lib; file * | grep 64; file * | grep 32. If they're mixed, you need to relink. Yong Huang --- Grant Allen [EMAIL PROTECTED] wrote: Hi all, Looking for possible causes for a ELFCLASS64 version of /oracle/product/8.1.7/lib

Re: ** find whether table or index being accessed

2003-11-19 Thread Yong Huang
:27 ... Yong Huang --- Tanel Poder [EMAIL PROTECTED] wrote: Well, it's code is: select io.name, t.name, decode(bitand(i.flags, 65536), 0, 'NO', 'YES'), decode(bitand(ou.flags, 1), 0, 'NO', 'YES'), ou.start_monitoring, ou.end_monitoring from sys.obj$ io, sys.obj

Re: html output

2003-11-19 Thread Yong Huang
Maybe use HTP, HTF and OWA_UTIL packages? You still need to do some writing in using them. Yong Huang --- AK [EMAIL PROTECTED] wrote: I am looking for a utility package for throwing output in html format from a query . This should use utl_file to write the file ( no sqlplus markup

Re: 'internal' role and 9i

2003-11-18 Thread Yong Huang
Tim, I checked v$reserved_words. At least in 9.2.0.1, INTERNAL is not in there. Oracle should address this issue. When I trace the SQL GRANT SELECT ON SOMETABLE TO INTERNAL, it stops in parsing. Nonetheless, it's confusing to say the least to create a role called internal. Yong Huang --- Tim

alter database character set (Was: RE: 'internal' role and 9i)

2003-11-18 Thread Yong Huang
Gopal, Are you saying with an undocumented parameter or command, I can alter database (national) character set us7ascii even if my current (national) character set is utf8? Yong Huang --- K Gopalakrishnan [EMAIL PROTECTED] wrote: INTERNAL_USE is an keyword (to enable an undocumented feature

RE: 'internal' role and 9i

2003-11-18 Thread Yong Huang
, It's not always easy to have a futuristic view to avoid potential problems. The developer probably shouldn't have granted anything to internal back then. But it wasn't obvious at that time that doing so could cause a problem later. Yong Huang --- Barry Deevey [EMAIL PROTECTED] wrote: This would

RE: alter database character set (Was: RE: 'internal' role and 9i)

2003-11-18 Thread Yong Huang
. If changing to a lower character set works, what's the syntax? Personally, I can't imagine how that's possible. Thanks. Yong Huang --- K Gopalakrishnan [EMAIL PROTECTED] wrote: INSERT STANDARD DISCLAIMERS Yes. You can use INTERNAL_USE keyword to convert the database character set. I think

Re: ut_file limit

2003-11-18 Thread Yong Huang
AK, Do you get INVALID_MAXLINESIZE exception? Documentation says it maxes at 32767. I didn't find file size limit. UTL_FILE.FOPEN also has a max_linesize that can be set to 32767. Yong Huang --- AK [EMAIL PROTECTED] wrote: what is max filesize for utl_limit.fopen ? I am unable to past beyond

Re: ** find whether table or index being accessed

2003-11-18 Thread Yong Huang
I think there's another complication in using buffer cache (x$bh or v$bh). If the index is scanned in parallel, the blocks are not cached in buffer cache. To avoid counting buffers created due to index update, maybe we can simply say where v$bh.status in ('CR','READ'). Yong Huang --- Tanel

Re: Bad performance because of wrong characterset?

2003-11-17 Thread Yong Huang
. Faan can comment. Yong Huang --- Carel-Jan Engel [EMAIL PROTECTED] wrote: Hi List, One of my customers gets HP Servicedesk 4.5 implemented. The database that has been created by on of the DBA's for the application is Oracle 8.1.7.4, on AIX 4.3. The database has characterset UTF8, which

Re: Why is Oracle process using 25 MB of RAM when idle?

2003-11-17 Thread Yong Huang
Gogala, I've been searching for a /proc filesystem implementation on HPUX for years. I don't think it's there yet. Yong Huang --- Mladen Gogala [EMAIL PROTECTED] wrote: Your process has parts of SGA attached to it. The only way to actually find out is to examine the process address space wia

Re: Bad performance because of wrong characterset?

2003-11-17 Thread Yong Huang
Here's a wild guess. If the character set is changed, a 10 MB segment (from the first extent to high water mark) may become 20 MB or 5 MB. Then CBO changes the plan and it happens to be a bad one. Yong Huang --- Carel-Jan [EMAIL PROTECTED] wrote: At 10:34 17-11-03 -0800, you wrote

Re: Fwd: Looking for help.

2003-11-12 Thread Yong Huang
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

Re: Fwd: Looking for help.

2003-11-12 Thread Yong Huang
. Yong Huang --- Ron Rogers [EMAIL PROTECTED] wrote: Daniel, I understand what is you are saying and what you tested but I don't the why or what it means. Does it mean that the sql command is not going to work? Does it means that you have to issue it again to get it to work? Ref: Doc ID

RE: for years I have been using korn shell

2003-11-11 Thread Yong Huang
://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

RE: SQL comparison addition:

2003-11-11 Thread Yong Huang
) Typ=1 Len=17: 73,67,79,78,73,88,92,89,79,78,71,72,85,65,78,71,0 Yong Huang --- Chris Stephens [EMAIL PROTECTED] wrote: SQL select sys_context('userenv','session_user'), 2 dump(sys_context('userenv

RE: pattern search

2003-11-07 Thread Yong Huang
, as well as Jonathan Gennick's article on 10g regular expressions. Yong Huang --- Naveen, Nahata (IE10) [EMAIL PROTECTED] wrote: Not until 10g Regards Naveen -Original Message- From: Shiva Maran [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 12:50 PM To: Multiple

Re: Re[2]: How do you genrate primary keys?

2003-11-06 Thread Yong Huang
transaction, i.e. not just a regular query, then their own SCN's at the time the transaction started as shown in v$transaction may be used as a uniqur identifier. But the session can't use a savepoint and hope that has another number in v$transaction; that's not a common requirement though. Yong Huang

Re: SQL*Plus errors... how to hide?

2003-11-06 Thread Yong Huang
Saira, How about use the same method as suggested in another thread, i.e. pipe and remove unwanted text? In your case whatever comes in | sed -n '/^BEGIN/,/^ORA-06512: at line/!p' Yong Huang --- Saira Somani-Mendelin [EMAIL PROTECTED] wrote: List, I have a shell script that executes a sql

Re: any problem rebuilding indexes used for replication

2003-11-06 Thread Yong Huang
. Please post your report of performance change. Thanks. Yong Huang --- renu r [EMAIL PROTECTED] wrote: Jared : I think it is fragmented based on scripts and knowing that there have been lot of deletes. One script uses the table index_stats and looks at field del_lf_rows which should be less

Re: any problem rebuilding indexes used for replication

2003-11-06 Thread Yong Huang
space management in your LMT's, you can ask him why he doesn't use 'alter index rebuild'. ;) Jared Yong Huang [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 11/06/2003 02:59 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL

Re: any problem rebuilding indexes used for replication

2003-11-06 Thread Yong Huang
so. So show us some timing data. Yong Huang --- zhu chao [EMAIL PROTECTED] wrote: Hi, In some case, rebuild index can help, this is from my work log on my Datawarehouse project. The effect of rebuiding index: SQL exec show_space('INX_BID_BIDTYPE',USER,'INDEX') Free Blocks

RE: How do you genrate primary keys?

2003-11-05 Thread Yong Huang
though. In your college student case, changing primary keys is rare so it's not a big problem. Yong Huang --- Mercadante, Thomas F [EMAIL PROTECTED] wrote: Jonathan, I think your idea of a paper is a good one. But I think we need to back th question up to what the requirements are. First

Re: How do you genrate primary keys?

2003-11-05 Thread Yong Huang
). Wouldn't these perform better? Yong Huang --- Rachel Carmichael [EMAIL PROTECTED] wrote: At one site I worked at, the programmers insisted on using Java milliseconds as the primary key -- so that they wouldn't have to hit the database twice (once to get the sequence number, once to insert the row

Re: nologging for IOT

2003-11-05 Thread Yong Huang
observation). If somebody reads that differently, please correct me. Yong Huang --- Igor Neyman [EMAIL PROTECTED] wrote: As it was recently discussed, Insert /*+ append */ into destination_table select * from source_table will produce minimum redo/undo if destination_table specified as nologging

RE: How do you genrate primary keys?

2003-11-05 Thread Yong Huang
own table doesn't do that. Yong Huang --- Cary Millsap [EMAIL PROTECTED] wrote: Hit a table that keeps a counter will not scale (will not perform at high concurrency). It will cause you no end of buffer busy waits waits, latch free waits for a cache buffers chains latch (even

RE: nologging for IOT

2003-11-05 Thread Yong Huang
I see. Sorry for misreading. How about direct path load? sqlldr direct=true. But this means your data source is on the filesystem. What is M.b.? Yong Huang --- Igor Neyman [EMAIL PROTECTED] wrote: Yong, M.b. my question was not clear. I know, nologging doesn't work with IOTs. What I'd

Re: nologging for IOT

2003-11-05 Thread Yong Huang
Thanks, Denny. That's it. I imagine Tom's test database is running in noarchivelog mode and the tablespace is logging. Yong Huang --- Denny Koovakattu [EMAIL PROTECTED] wrote: Yong, If the database is in ARCHIVELOG mode, then the table must be set to NOLOGGING for append hint to work

RE: How do you genrate primary keys?

2003-11-05 Thread Yong Huang
I'm fully convinced. SSN should not be used as a PK. Can we also conclude that natural keys in general are only good if you sit in an ivory tower and do unrealistic lab test? Yong Huang --- Bellow, Bambi [EMAIL PROTECTED] wrote: Having worked for the government in a situation where we were

RE: nologging for IOT

2003-11-05 Thread Yong Huang
Yes, direct-path load works on IOTs, at least in 9.2 running in Solaris 2.8. Yong Huang --- Igor Neyman [EMAIL PROTECTED] wrote: Unfortunately my source is another table. By the way (btw.), will sqlldr direct=true work with IOT? m.b - may be. Igor Neyman, OCP DBA [EMAIL PROTECTED

Re: IMP using the same DMP file

2003-11-05 Thread Yong Huang
Jerry, There shouldn't be any problem. It's better to use different log files or run them in different directories. Yong Huang --- Whittle Jerome Contr NCI [EMAIL PROTECTED] wrote: Hi, We were just wondering if you can IMP into two instances using the same dmp file at the same time? We

Re: any problem rebuilding indexes used for replication

2003-11-05 Thread Yong Huang
actually makes much difference. (I don't know the answer but am very interested to know). Thanks. Yong Huang --- renu r [EMAIL PROTECTED] wrote: Hello, I have to rebuild some primary key indexes due to excessive fragmentation. It is rebuild not drop and create. We have multi master replication

Re: explain plan conundrum

2003-11-04 Thread Yong Huang
Hi, Ryan, Where's the 20 billion rows? There's 1 G rows and 20 G bytes. What are the values of NUM_ROWS in xxx_INDEXES for PK1 and xxx_TABLES for TABLE2? Did you analyze using ANALYZE command or DBMS_STATS? Yong Huang --- [EMAIL PROTECTED] wrote: I cant sql trace it now. I hae run statspack

Re: ** SQL WHERE clause order

2003-11-04 Thread Yong Huang
Oracle evaluates predicates in the WHERE clause. Not sure if that's true. You can try switching the predicates around and look at the execution plan for each. Documentation is wrong in saying that you should be put that hint in the WHERE clause. Yong Huang --- A Joshi [EMAIL PROTECTED] wrote

Re: ** other oracle forums

2003-11-03 Thread Yong Huang
-- T. Schick Jr Other than Lazy Dba (www.lazydba.com) and others, you can think of otn.oracle.com or Metalink forums or even asktom.oracle.com as forums. Only on-topic messages are allowed on these forums. Yong Huang --- A Joshi [EMAIL PROTECTED] wrote: Hi, Can someone post a list of other

Re: 10g new features

2003-11-03 Thread Yong Huang
are running on Linux now. Yong Huang --- [EMAIL PROTECTED] wrote: Found a site with some 10g new features. http://www.adp-gmbh.ch/ora/misc/10g.html I'm sure some will like the new 'alter tablespace rename' http://www.adp-gmbh.ch/ora/concepts/tablespaces.html#sysaux Jared

Re: 10g new features

2003-11-03 Thread Yong Huang
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

Re: 10g new features

2003-11-03 Thread Yong Huang
with 10g. Must be a joke here somewhere I'm missing. Jared On Mon, 2003-11-03 at 20:09, Yong Huang wrote: Gopal was joking about the fact that Jared only said 'alter tablespace rename' instead of ALTER TABLESPACE RENAME DATAFILE. In fact, 9.2 SQL Reference has this Moving

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

2003-10-30 Thread Yong Huang
: your transaction end marker says it's not rolling back; i.e. it's committing. Yong Huang --- Andy Rivenes [EMAIL PROTECTED] wrote: Looks sort spillage to disk due to the where clause. Andy Rivenes [EMAIL PROTECTED] At 06:44 AM 10/30/2003 -0800, Tim Onions wrote: Gurus I've applied many

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

2003-10-30 Thread Yong Huang
$sort_usage if you can run that DELETE again. XCTEND rlbk=0: your transaction end marker says it's not rolling back; i.e. it's committing. Yong Huang --- Andy Rivenes [EMAIL PROTECTED] wrote: Looks sort spillage to disk due to the where clause. Andy Rivenes [EMAIL PROTECTED

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

2003-10-30 Thread Yong Huang
table? Does the delete have cascaded delete on other tables? Yong Huang --- John Kanagaraj [EMAIL PROTECTED] wrote: Tim, As you have seen, this is due to writes to and reads from the TEMPORARY tablespace of that user. This could be due to both SORT segments (SORT_AREA_SIZE overflow) as well

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

2003-10-30 Thread Yong Huang
, commercial-free christian music 24x7x365 at http://www.klove.com ** The opinions and facts contained in this message are entirely mine and do not reflect those of my employer or customers ** -Original Message- From: Yong Huang [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003

RE: Finding the session causing compile to hang

2003-10-30 Thread Yong Huang
be used, I don't think a row showing in there always indicates a library cache pin (executing) on the object. Yong Huang --- Reardon, Bruce (CALBBAY) [EMAIL PROTECTED] wrote: David, You could use Steve Adam's script Executing_packages.sql at http://www.ixora.com.au/scripts/misc.htm to see what

RE: Finding the session causing compile to hang

2003-10-30 Thread Yong Huang
invalidation) and DL (direct loader) locks also use ID1 for object number. Yong Huang --- Reardon, Bruce (CALBBAY) [EMAIL PROTECTED] wrote: I don't think v$sql will give you the same information - it would show the top level actual package being executed, but not those which are called by that package

Re: Re: ora-600 question

2003-10-28 Thread Yong Huang
If there're already hints like ordered and use_nl that tell Oracle how to join, lack of statistics is less of a problem. In fact, you may need to use those two hints in some queries against data dictionary even in pre-9i Oracle. Yong Huang --- Tanel Poder [EMAIL PROTECTED] wrote: Hi! Just

RE: char vs. varchar2

2001-08-31 Thread yong huang
this problem. This test is done with block dumps on 8.1.7 on NT. Yong Huang [EMAIL PROTECTED] Miller, Jay wrote: Actually char has some minor performance advantages over varchar2 when the column is frequently updated to a larger size since the full space is already claimed within the block

RE: OT : kernel using 75% of CPU

2001-08-30 Thread yong huang
, indicate where the pause happens) Also let us know if there's anything special in alert.log and any new file in udump. Yong Huang [EMAIL PROTECTED] you wrote: PID USERNAME THR PRI NICE SIZE RES STATE TIMECPU COMMAND 2286 oracle 1 00 1844M 1814M run 9:44 13.90% oracle 11068

CPU number vs speed (Was: Comment on 'Practical Oracle 8i')

2001-08-17 Thread yong huang
what Sun does). Yong Huang [EMAIL PROTECTED] Jonathan Lewis wrote: Cary Millsap has an article on his website www.hotsos.com which describes a case where upgrading the CPUs to a higher speed (same number) resulted in the OLTP users complaining about a drop in performance

Re: Delete followed by Select Count(1) - SLOW

2001-08-17 Thread yong huang
I remember in slightly older versions of Oracle, delayed_logging_block_cleanouts is by default true, so redo won't be written immediately at block cleanout. Correct me if I'm wrong. Yong Huang [EMAIL PROTECTED] Jonathan Lewis wrote: bear in mind that a scan after deleting 100,000 rows would

Re: X$_kglcursor.kglnaobj

2001-08-15 Thread yong huang
Ian and Riyaj, These table_... objects look like Java classes. The way to find this out is matching the kgl handle address and looking at the indx column of x$kglob. Matching this indx column with dba_objects.object_id. Yong Huang [EMAIL PROTECTED] you wrote: I use the following statment when

Re: negative value for buffer cache hit ratio

2001-08-08 Thread yong huang
Interesting. In 8.1.7 32-bit oracle binary, select * from v$type_size where type = 'UB4' tells me it's 4 bytes. So it's 32 bit and the maximum is 4 billion. Glad to see Jonathan on this forum. Yong Huang [EMAIL PROTECTED] you wrote: From: K Gopalakrishnan Welcome Jonathan, I think most

RE: Year of Unix file

2001-07-29 Thread yong huang
and add 1970 to it. The above perl one-liner is just a convenient way to call stat(2). Yong Huang [EMAIL PROTECTED] you wrote: But the year replaces the time in the 8th field only when the last modification time for the file is more than 6 month (even if it is in the current year :) For example

comp.databases.oracle.server (Was: Re: DBMS_REPAIR package usage)

2001-03-25 Thread yong huang
_ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: yong huang INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 S

Re: APPEND hint (Was: Which is faster??)

2001-03-24 Thread yong huang
Hi, Connor, The append hint to insert does not disable generating rollback info. It does stop redo generation for a nologging table. Yong Huang [EMAIL PROTECTED] you wrote: If you're on 8.0 or higher, try insert /*+ APPEND */ into table select * from other_table; where "table"

Re: DBMS_REPAIR package usage

2001-03-23 Thread yong huang
email) can contain fractured blocks. Maybe Jeremiah Wilton can give a better answer. Yong Huang [EMAIL PROTECTED] you wrote: I have a datafile in my production box (a user data tablespace), when I run dbv against it, it showed that 5 blocks are "influxed" Page 458784 is influx - most li

RE: 8i - Seeing which columns disabled

2001-03-23 Thread yong huang
). Also note that Oracle documention says: You can view all tables with columns marked as unused in the data dictionary views USER_UNUSED_COL_TABS, DBA_UNUSED_COL_TABS, and ALL_UNUSED_COL_TABS Yong Huang [EMAIL PROTECTED] you wrote: I found though that once marked unused U couldn't find

Re: FK Constraints

2001-03-21 Thread yong huang
be hard to measure but I have not done it. Yong Huang [EMAIL PROTECTED] you wrote: We have a situation where are no relationships are defined at the database level. i.e no foreign keys constraints have established at the Database. The application is still at the Development Stage. Everything

Re: NT Batch processes continue to run

2001-03-16 Thread yong huang
Hi, Ron, Is this because you run batch files as CMD /K? If so, change it to CMD /C. If you're not using CMD command and if your script is not too long, please post it and we'll examine it for you. Yong Huang [EMAIL PROTECTED] you wrote: We have several NT Dos batch scripts that execute sql

Enqueue types TC and JI

2001-02-27 Thread yong huang
l come out. Yong Huang [EMAIL PROTECTED] __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: yong huang INET: [EMAIL PROTECTED]

Re: Thankx and more questions about SID

2001-02-19 Thread yong huang
Hi, Bipin, The statistic# is the same as in v$statname or v$sysstat or v$sesstat. By the way, select distinct sid from v$mystat is not as fast as select sid from v$mystat where rownum = 1, which is the fastest way I've known to get your own SID. Yong Huang [EMAIL PROTECTED] you wrote