Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Performance issue while loading large amount of data
"Richard Foote" <richard.foote_at_bigpond.com> wrote in message
news:LUwV9.25533$jM5.67666_at_newsfeeds.bigpond.com...
> "Niall Litchfield" <n-litchfield_at_audit-commission.gov.uk> wrote in message
> news:3e257155$0$235$ed9e5944_at_reading.news.pipex.net...
>
> < cutty roo>
smirk
> > alter system dump datafile 2 block 398 (which I read as being the undo
> block
> > referred to above) I get a whole set of undo records *none* of which
refer
> > to objn 30399. Presumably I'm doing something daft here?
> >
>
> Not sure ? The undo typically has some dd stuff ...
>
Ok So Maybe I was being a bit daft.
As before
SQL> insert /*+ append */ into insert_demo select * from dba_objects;
29524 rows created.
SQL> @show_transaction_stats
START_UBAFIL UBAFIL START_UBABLK UBABLK USED_UBLK USED_UREC ------------ ---------- ------------ ---------- ---------- ----------
2 0 937 0 1 1
OK so this time its file 2 block 937. Dump it and scan through more carefully. My comments with ####
*-----------------------------
#### obj# 1 that's curious I don't have one * Layer: 14 (Transaction Extent) opc: 5 rci 0x00 #### Ah ha an extent map type thing. Makes sense since I just truncated the table prior to doing all this work.
Undo type: Regular undo Last buffer split: No
Temp Object: No
Tablespace Undo: Yes
rdba: 0x00000000
*----------------------------- kteopu undo - undo operation on extent map segdba: 0x240004b class: 4 mapdba:0x240004b offset: 3rbr extent - dba: 0x0 nbk: 0x0
ADD: dba:0x24000c1 len:8 at offset:15
DEFAULT: ???
SETSTAT: exts:16 blks:128 lastmap:0x0 mapcnt:0
#### both the undo and redo data appear to be recorded in the same place, that really does look odd.
*-----------------------------
*-----------------------------
flg: C--- lkc: 0 scn: 0x0000.00a91a2aKDO Op code: URP row dependencies Disabled xtype: XA bdba: 0x0040005d hdba: 0x00400059
itli: 2 ispac: 0 maxfr: 4863 tabn: 2 slot: 0(0x0) flag: 0x6c lock: 0 ckix: 0 ncol: 7 nnew: 6 size: 0 col 1: [ 1] 80 col 2: [ 3] c2 02 5d col 3: [ 3] 3e 64 66 col 4: [ 1] 80
#### what is this?
1 select object_name from dba_objects
2* where object_id=60
SQL> /
OBJECT_NAME
So in summary I appear to have the physical blocks being allocated and updates to the DD -specifically TSQ$.
-- Niall Litchfield Oracle DBA Audit Commission UK ***************************************** Please include version and platform and SQL where applicable It makes life easier and increases the likelihood of a good answer ******************************************Received on Thu Jan 16 2003 - 07:07:29 CST