Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Request for test help

Re: Request for test help

From: joel garry <joel-garry_at_home.com>
Date: Tue, 17 Jul 2007 11:06:38 -0700
Message-ID: <1184695598.998891.42070@z24g2000prh.googlegroups.com>


On Jul 16, 6:23 pm, DA Morgan <damor..._at_psoug.org> wrote:
> Tom Swier wrote:
> > On Fri, 13 Jul 2007 14:54:50 -0700, DA Morgan <damor..._at_psoug.org>
> > wrote:
>
> >> Can anyone get this to work in any version of 10gR1 or 10gR2?
>
> >> col instart_fmt noprint;
> >> col inst_name format a12 heading 'Instance';
> >> col db_name format a12 heading 'DB Name';
> >> col snap_id format 99999990 heading 'Snap Id';
> >> col snapdat format a18 heading 'Snap Started' just c;
> >> col lvl format 99 heading 'Snap|Level';
> >> set heading on;
> >> break on inst_name on db_name on host on instart_fmt skip 1;
> >> ttitle off;
>
> >> SELECT TO_CHAR(s.startup_time,' DD MON "at" HH24:MI:SS') INSTART_FMT,
> >> di.instance_name INST_NAME, di.db_name DB_NAME, s.snap_id SNAP_ID,
> >> TO_CHAR(s.end_interval_time,'DD MON YYYY HH24:MI') SNAPDAT,
> >> s.snap_level LVL
> >>FROM dba_hist_snapshot s, dba_hist_database_instance di
> >> WHERE di.dbid = s.dbid
> >> AND di.instance_number = s.instance_number
> >> AND di.startup_time = s.startup_time
> >> ORDER BY snap_id;
>
> >> SELECT dbms_undo_adv.undo_advisor(<starting_snap_id, <ending_snap_id>,
> >> 1) FROM dual;
>
> >> For example:
>
> >> SELECT dbms_undo_adv.undo_advisor(587, 600, 1)
> >>FROM dual;
> >> If you do not have a license to access the two dba_hist tables
> >> please do not do so at your employer's expense.
>
> >> I would like to know the exact version number of 4 decimal places
> >> and whether it succeeds or fails. Thanks.
>
> > Tru64 UNIX does the same thing.
>
> > Compaq Tru64 UNIX V5.1B (Rev. 2650); Fri Jul 28 10:53:10 EDT 2006
> > ******************************************************************
>
> > SQL*Plus: Release 10.1.0.3.0 - Production on Mon Jul 16 10:06:53 2007
> > Copyright (c) 1982, 2004, Oracle. All rights reserved.
>
> > Connected to:
> > Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
> > With the Partitioning, OLAP and Data Mining options
> > SQL> SELECT dbms_undo_adv.undo_advisor(13354, 13529, 1) FROM dual;
> > SELECT dbms_undo_adv.undo_advisor(13354, 13529, 1) FROM dual
> > *
> > ERROR at line 1:
> > ORA-14552: cannot perform a DDL, commit or rollback inside a query or
> > DML
> > ORA-06512: at "SYS.PRVT_ADVISOR", line 3658
> > ORA-14551: cannot perform a DML operation inside a query
> > ORA-06512: at "SYS.DBMS_UNDO_ADV", line 703
> > ORA-06512: at "SYS.DBMS_UNDO_ADV", line 752
>
> > Elapsed: 00:00:01.17
> > SQL>
>
> Thanks everyone that helped. Oracle has now opened an official bug on
> this and I expect we won't be seeing it in 11gR1. Though it would also
> seem no one in four years has tried that particular overload before.
>

This is one thing I've been pondering for years - does no one at oracle have the job of simply trying everything in the major production releases to see if they work? I'd think a lot of it could be automated... why wait until customers are complaining? I can understand using complaints to order priority, I can understand some things just aren't important, I can understand there are a lot of things, I can't understand not even trying. Since I don't understand, all I can do is speculate the systems in place put too much emphasis on tracking bugs rather than quality, so that leads to a mentality of "if it isn't an easily proven bug, it probably isn't important."

jg

--
@home.com is bogus.
'if I put something on the Net and don't tell anybody,'
http://news.yahoo.com/s/ap/military_online_insecurity;_ylt=Aixup_YEMhxbq7rTtPYTDaNhr7sF
Received on Tue Jul 17 2007 - 13:06:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US