About Block Dump
Hi,
Recently I try to learn BBED to analyze data block.
I create a test table, and run query as below:
BBED@linora>select file_id, block_id from dba_extents
2 where segment_name = 'BLOCK_LAB';
FILE_ID BLOCK_ID
9 1825
I knew that the block 1825 is the table BLOCK_LAB's header block. The data block is in the immediate next block ,so in this example, will be 1826.
But when I run below query, it's result not as expect!
BBED@linora>SELECT
2 dbms_rowid.rowid_relative_fno(rowid) REL_FNO,
3 dbms_rowid.rowid_block_number(rowid) BLOCKNO,
4 dbms_rowid.rowid_row_number(rowid) ROWNO
5 from block_lab
6 where id=1
7 /
REL_FNO BLOCKNO ROWNO
9 1832 0
how could this happened?
Edited by: user12957738 on 2013-6-6 上午12:31
Fung.Kong wrote:
Hi,
Recently I try to learn BBED to analyze data block.
I create a test table, and run query as below:
BBED@linora>select file_id, block_id from dba_extents
2 where segment_name = 'BLOCK_LAB';
FILE_ID BLOCK_ID
9 1825
I knew that the block 1825 is the table BLOCK_LAB's header block. The data block is in the immediate next block ,so in this example, will be 1826.The first block of the first extent isn't necessarily the segment header block; and the first block used for an insert isn't necessarily the first block after the segment header block. You have to check whether you're using freelists or bitmaps for segment space management, and if it's freelist management you have to allow for the freelist blocks if you've declared multiple freelist groups for a segment, and if it's bitmap management the first used block might be almost anywhere in the first extent.
Quick demo to show the potential mismatch between dba_extents and dba_segments:
SQL> select segment_name, file_id, block_id from dba_extents where owner = 'TEST_USER' and extent_id = 0;
SEGMENT_NAME FILE_ID BLOCK_ID
T1 5 128
T2 6 128
2 rows selected.
SQL> select segment_name, header_file, header_block from dba_segments where owner = 'TEST_USER';
SEGMENT_NAME HEADER_FILE HEADER_BLOCK
T1 5 128
T2 6 131File 5 is using freelist management - the segment header block is the first block of the first extent
FIle 6 is using ASSM - with a relatively small first extent size - the segment header block follows 2 level 1 bitmap blocks and a level 2 bitmap block.
Regards
Jonathan Lewis
Similar Messages
-
Interpreting an index data block dump
I have seen a few postings about reading index data blocks, mine doesnt quite look like those.
Ok: 11Gr1 (linux)
Tracing down a hot block issue with an index, I performed
alter system dump datafile 11 block 4030208;
Looking at the Web page "Index Block Dump: Index Only Section Part II (Station To Station)" and others they show a dump like this:
row#0[8021] flag: ——, lock: 0, len=15
col 0; len 5; (5): 42 4f 57 49 45
col 1; len 6; (6): 02 01 48 8a 00 00
row#1[8002] flag: ——, lock: 0, len=19
col 0; len 9; (9): 4d 41 4a 4f 52 20 54 4f 4d
col 1; len 6; (6): 02 01 48 8a 00 02
row#2[7987] flag: ——, lock: 0, len=15
col 0; len 5; (5): 5a 49 47 47 59
col 1; len 6; (6): 02 01 48 8a 00 01
—– end of leaf block dump —–
End dump data blocks tsn: 8 file#: 8 minblk 84234 maxblk 84234
I dont see anything that "obvious" in my dump. Am I looking at something other then an leaf block perhaps?
I am expecting/hoping to see some sort of pairs for an index like X(y number, z number)
Block dump from cache:
Dump of buffer cache at level 4 for tsn=6, rdba=50167552
BH (0x275f2aec8) file#: 11 rdba: 0x02fd7f00 (11/4030208) class: 4 ba: 0x274992000
set: 111 bsz: 8192 bsi: 0 sflg: 0 pwc: 0, 25 lid: 0x00000000,0x00000000
dbwrid: 2 obj: 127499 objn: 77784 tsn: 6 afn: 11
hash: [0x403d34650,0x403d34650] lru: [0x333f32878,0x209f4ea88]
lru-flags: hot_buffer
ckptq: [NULL] fileq: [NULL] objq: [0x22dede3f8,0x30ff9c3f8]
st: XCURRENT md: NULL tch: 2
flags: block_written_once redo_since_read gotten_in_current_mode
LRBA: [0x0.0.0] LSCN: [0x0.0] HSCN: [0xffff.ffffffff] HSUB: [34]
cr pin refcnt: 0 sh pin refcnt: 0
buffer tsn: 6 rdba: 0x02fd7f00 (11/4030208)
scn: 0x0001.19bccf84 seq: 0x02 flg: 0x04 tail: 0xcf841002
frmt: 0x02 chkval: 0x987f type: 0x10=DATA SEGMENT HEADER - UNLIMITED
Hex dump of block: st=0, typ_found=1
Dump of memory from 0x0000000274992000 to 0x0000000274994000
274992000 0000A210 02FD7F00 19BCCF84 04020001 [................]
274993FF0 00000000 00000000 00000000 CF841002 [................]
Extent Control Header
Extent Header:: spare1: 0 spare2: 0 #extents: 66 #blocks: 10239
last map 0x00000000 #maps: 0 offset: 4128
Highwater:: 0x047feb5b ext#: 65 blk#: 731 ext size: 1024
#blocks in seg. hdr's freelists: 0
#blocks below: 9946
mapblk 0x00000000 offset: 65
Unlocked
Map Header:: next 0x00000000 #extents: 66 obj#: 127499 flag: 0x40000000
Extent Map
0x02fd7f01 length: 127
0x0339ea80 length: 128
...Some time ago, I wrote a python script to print decimal form integer values from an index block dump. I don't know if it will help you, but it may be a start. It only prints the integer equivalent of the first column in the index, as that is what I needed at the time.
It is called as...
18:55:31 oracle@oh1xcwcdb01 /u02/admin/wcperf/udump >./blockdump.py wcperf1_ora_21618.trc
col 0: [ 4] c4 48 2a 53 converts to 71418200 on line #526 in the block dump.
col 0: [ 5] c4 48 2a 53 1d converts to 71418228 on line #640 in the block dump.
col 0: [ 6] c5 08 02 20 61 3f converts to 701319662 on line #648 in the block dump.
col 0: [ 6] c5 08 03 2f 33 17 converts to 702465022 on line #785 in the block dump.
col 0: [ 6] c5 08 03 2f 33 5f converts to 702465094 on line #793 in the block dump.
col 0: [ 6] c5 08 03 2f 40 38 converts to 702466355 on line #801 in the block dump.
col 0: [ 6] c5 08 03 30 09 5c converts to 702470891 on line #809 in the block dump.
col 0: [ 6] c5 08 03 32 61 05 converts to 702499604 on line #817 in the block dump.
col 0: [ 6] c5 08 03 33 0b 06 converts to 702501005 on line #827 in the block dump.
col 0: [ 6] c5 08 03 33 19 4b converts to 702502474 on line #835 in the block dump.
col 0: [ 6] c5 08 03 33 44 3d converts to 702506760 on line #843 in the block dump.
col 0: [ 6] c5 08 03 33 45 08 converts to 702506807 on line #851 in the block dump.
col 0: [ 6] c5 08 03 33 4e 5a converts to 702507789 on line #859 in the block dump.
col 0: [ 6] c5 08 03 33 5f 3b converts to 702509458 on line #867 in the block dump.
col 0: [ 6] c5 09 01 01 21 64 converts to 800003299 on line #875 in the block dump.
col 0: [ 6] c5 09 01 01 22 3b converts to 800003358 on line #883 in the block dump.
18:55:41 oracle@oh1xcwcdb01 /u02/admin/wcperf/udump >...and the script itself is below...
#!/usr/bin/python
#Author: Steve Howard
#Date: March 23, 2009
#Organization: AppCrawler
#Purpose: Simple script to print integer equivalents of block dump values in index.
import fileinput
import string
import sys
import re
#boo=1
boo=0
j=0
for line in fileinput.input([sys.argv[1:][0]]):
j=j+1
if re.match('^col 0:', line):
#print line
dep=int(string.replace(string.split(string.split(line,"]")[1])[0],"c","")) - 1
#print dep
i=0
tot=0
exp=dep
for col in string.split(string.split(line,"]")[1]):
if i > 0:
tot = tot + ((int(col, 16) - 1) * (100**exp))
exp = exp - 1
i = i + 1
print line.rstrip("\n") + " converts to " + str(tot) + " on line #" + str(j) + " in the block dump." -
ORACLE7/ORACLE8/OS에서 DATAFILE의 BLOCK DUMP를 얻는 방법
제품 : ORACLE SERVER
작성날짜 : 1999-05-24
Oracle7 / Oracle8 / OS에서 datafile의 block dump를 얻는 방법
'block dump'는 database 내의 block의 내용을 dump받도록 해준다.
이렇게 얻어진 dump에는 block 내에 포함된 모든 내용을 포함하는데 단, 이것은
OS level의 image dump는 아니며, oracle에서 user가 이해하는 데 도움이 되도록
정해진 SYMBOL로 표현되므로 이렇게 얻어진 내용을 해석하기 위해서는
Oracle에 dependent하며, 별도의 자료를 참조하여야 한다.
여기에서는 해석 방법은 포함하지 않으며 dump를 얻는 방법에 대해서만 기술하였다.
1. Oracle7에서 block dump 사용하는 방법
oracle7에서 block dump를 얻기 위해서는 항상 database가 OPEN 상태에서만 가
능하며, datafile도 ONLINE 상태여야 한다.
(1) dump하고자 하는 block의 DBA를 십진수 값으로 얻는다.
file 번호와 block 번호를 이용해 DBA를 얻는 방법은 <Bulletin:11508>을
이용한다.
(2) 다음 문장을 실행하여 dump 내용을 포함하는 trace file을 생성한다.
sqlplus system/manager
SQL>alter session set events 'immediate trace name BLOCKDUMP level <DBA>';
(3) 다음과 같이 trace file이 생성된 위치를 확인한다.
os>svrmgrl
SVRMGR>connect internal
SVRMGR>show parameter user_dump_dest
2. Oracle8 에서 BLOCK DUMP
Oracle7에서는 block dump를 얻기 위해서는 DBA를 얻어야하고 DBA를 이용하여
dump를 생성하는 sql 문의 syntax도 친숙하지 않은 것이었다. Oracle8에서는
보다 간단하고 사용자에게 익숙한 형태로 block dump가 가능하도록 하였다.
sqlplus로 접속한 상태에서 아래에 나열된 것과 같이 file 이름이나 번호,
block 번호나 범위를 지정하여 dump를 얻을 수 있다.
- ALTER SYSTEM DUMP DATAFILE {'filename'}|{filenumber};
- ALTER SYSTEM DUMP DATAFILE {'filename'}|{filenumber} BLOCK {blockno};
- ALTER SYSTEM DUMP DATAFILE {'filename'}|{filenumber} BLOCK MIN {blockno}
BLOCK MAX {blockno};
여기에서 blockno는 dump하고자 하는 block의 십진수 값이다.
예를 들어 다음과 같이 하면 된다.
- ALTER SYSTEM DUMP DATAFILE 1 BLOCK 5586;
- ALTER SYSTEM DUMP DATAFILE 1 BLOCK MIN 5585 BLOCK MAX 5586;
- ALTER SYSTEM DUMP DATAFILE '/u01/oradata/MYDB/system01.dbf' BLOCK 98;
주의: 그런데 이 때 잘못된 block file number를 입력하는 등의 잘못된 명령에도
불구하고 'Statement processed'라는 정상 처리 형태의 메시지가 나타난다.
이러한 경우 trace file에는 dump 내용 대신 다음과 같은 오류 메시지가
적혀 있다.
Error: alter system dump datafile: input file # 100 is too big
BLOCK 절을 생략하면 datafile의 모든 block에 대해서 dump가 생성된다.
이 때 trace file의 크기는 MAX_DUMP_FILE_SIZE에 의해 제한을 받으므로 전체
block을 모두 포함하지 않는 dump가 생성될 수 있다.
{filenumber} 를 사용할 때에는 database는 항상 OPEN된 상태이고 file은 ONLINE
이어야 한다. 그리고 이 때의 {filenumber}는 tablespace 내의 상대적인 값이 아닌,
절대적인 값이어야 한다.
'filename' 을 사용하면 같은 block size를 가지고 있는 다른 데이타베이스의
데이타화일도 dump를 할 수 있다. 이러한 경우에 dump를 수행하는 instance는
최소한nomount는 되어야 한다. 즉 다음과 같이 하면 된다.
SVRMGR>startup nomount
SVRMGR>alter system dump datafile mnt3/rctest73/server/eykim/test01.dbf'
block 88;
dump의 결과가 저장되는 trace 화일은 USER_DUMP_DEST 디렉토리에 생성된다.
USER_DUMP_DEST를 확인하는 방법은 1-(3)번(Oracle7)에서 기술하였다.
3. OS block dump
UNIX: dd if=dbfile.dbf bs=2k skip={block} count=1 | od -x > dump.out
여기에서 {block}은 dump 하지 않기 위해 skip하고자 하는 block의 갯
수를 지정한다.
NT: 다음과 같은 제품들이 사용가능하다.
MKS Toolkit , FileView (Shareware), HEdit -
Index block dump: "header address" doesn't match rdba
I did a dump on index leaf block, and I found "header address" doesn't match rdba, what's the "header address"? I also found several leaf blocks have the same "header address".
buffer tsn: 11 rdba: 0x1684d120 (90/315680)
========> 0x1684d120 (1)
header address 4403265988=0x1067481c4
========> 0x1067481c4 (2)
*** SERVICE NAME:(SYS$USERS) 2009-08-04 04:37:36.335
*** SESSION ID:(14234.24426) 2009-08-04 04:37:36.335
Start dump data blocks tsn: 11 file#: 90 minblk 315680 maxblk 315680
buffer tsn: 11 rdba: 0x1684d120 (90/315680)
========> 0x1684d120 (1)
scn: 0x0324.dda9ec3d seq: 0x01 flg: 0x04 tail: 0xec3d0601
frmt: 0x02 chkval: 0xeb2a type: 0x06=trans data
Hex dump of block: st=0, typ_found=1
Block header dump: 0x1684d120
Object id on Block? Y
seg/obj: 0x7ca10 csc: 0x324.dda9ec3d itc: 17 flg: O typ: 2 - INDEX
fsl: 0 fnx: 0x1684cf72 ver: 0x01
Itl Xid Uba Flag Lck Scn/Fsc
Leaf block dump
===============
header address 4403265988=0x1067481c4
========> 0x1067481c4 (2)
kdxcolev 0
KDXCOLEV Flags = - - -
kdxcolok 0
kdxcoopc 0x90: opcode=0: iot flags=I-- is converted=Y
kdxconco 2
kdxcosdc 5
kdxconro 0
kdxcofbo 36=0x24
kdxcofeo 7672=0x1df8
kdxcoavs 7636
kdxlespl 0
kdxlende 0
kdxlenxt 373579108=0x16445d64
kdxleprv 377801347=0x1684ca83
kdxledsz 0
kdxlebksz 7672
----- end of leaf block dump -----Thanks,
DanielHi user646745
You didn't say why you need to do index block dump ?
Also take are that block structures and dumps some time are different from a ver to ver it 9i and 10g. Unless you now what exectaly you are looking for
Thanks -
Applet loading as white screen with title as about:block
i am loading applet from asp page, sometimes it is displaying white screen and title as about:block
please suggest in what scenarios applet title shows as about:block title
Thanks in advancei am loading applet from asp page, sometimes it is
displaying white screen and title as about:block
please suggest in what scenarios applet title shows
as about:block title
Thanks in advance"Applet title"? It looks simply like you can't access your ASP to me. It has nothing to do with applets. -
Leaf Block Dump / Output varies
Hello guys,
i have faced the following issues on a leaf block dump:
First)
row#0[8024] flag: ------, lock: 0, len=12, data:(6): 00 40 76 fa 00 00
col 0; len 2; (2): c1 02
col 1; NULL
row#1[7998] flag: ------, lock: 0, len=14, data:(6): 00 40 76 fa 00 02
col 0; len 2; (2): c1 03
col 1; len 2; (2): c1 02
.......Second)
1103F5A90 3D91D858 000C0100 03303130 0944454C [=..X.....010.DEL]
1103F5AA0 494E535F 494E0832 30303730 36303106 [0505.20070601.]
1103F5AB0 30303535 3331063D 91D85800 0D010003 [005531.=..X.....]
1103F5AC0 30313009 44454C49 4E535F49 4E083230 [010.DAT050_IN.20]
1103F5AD0 30373036 30310630 30353533 34063D91 [070601.005534.=.]
1103F5AE0 D858000E 01000330 31300944 454C494E [.X.....010.DAT03]
1103F5AF0 535F494E 08323030 37303630 31063030 [S_IN.20070601.00]
1103F5B00 35353334 063D91D8 58000F01 00033031 [5534.=..X.....01]
1103F5B10 30094445 4C494E53 5F494E08 32303037 [0.DAT050_IN.2007]Sometimes i am facing the row#n output like in the first example and sometimes i am facing only the "real data" like in the second example when i am doing a leaf block dump. Both examples are from different indeces...
When does one occur? Has anyone any idea?
Regards
StefanHi,
File is truncated by trace file limit. Yeah but the file is not big enough.. i only dumped one block.. and the limit is up to 10MB
But as far as I'm aware, a memory dump is normally not included in block dump. Did you check what's at the top? Really interesting... i have done the same on our test system on the same index.. and there the section leaf block dump includes the information. The same command on the same index (i have cloned the database 3 days ago to our test system).
Leaf block dump
===============
row#0[3514] flag: ---D--, lock: 2, len=39
col 0; len 3; (3): 30 31 30
col 1; len 9; (9): 44 45 4c 49 4e 53 5f 49 4e
col 2; len 8; (8): 32 30 30 37 30 36 30 31
col 3; len 6; (6): 30 30 35 35 31 39
col 4; len 6; (6): 3d 91 d7 d8 00 13
----- end of leaf block dump -----Can this leaf block cleaned out (by deletes) and not include any pointers anymore?
I have compared the leaf block attributes:
-> kdxcoavs 3298 (with row#n entries)
-> kdxcoavs 6988 (without row#n entries)
So the dump were are no row#n entries has much more available space - this would be confirm my guess.
Regards
Stefan -
Alert About battery dumped using showfaults is not present in syslog
Hello,
My problem is the following: when I am connected on sc and with showfaults command I can see the warning concerning the battery threshold, but this warning do not appear in syslog under /var/log/. And also when using prtdiag -v command nothing is dumped about voltage, fan or temperature.
In fact I use a service to grep syslog and create an alarm file which is the first entry point to detect any problem on system.
I need to know how to configure such warning to be dumped in syslog?
My server is a "Sun Microsystems sun4v Sun Fire T2000"
sc> showfaults -v
Last POST run: THU MAR 19 07:37:52 2009
POST status: Passed all devices
ID Time FRU Fault
1 SEP 16 05:24:42 SC/BAT BATTERY at SC/BAT/V_BAT has exceeded low
warning threshold.
sc>
sc> showlogs
Log entries since FEB 02 17:46:45
FEB 02 17:46:45: 00040068: "BATTERY at SC/BAT/V_BAT has exceeded low warning threshold."
FEB 02 18:46:48: 00040068: "BATTERY at SC/BAT/V_BAT has exceeded low warning threshold."
FEB 02 19:46:49: 00040068: "BATTERY at SC/BAT/V_BAT has exceeded low warning threshold."
FEB 02 20:46:53: 00040068: "BATTERY at SC/BAT/V_BAT has exceeded low warning threshold."
FEB 03 12:47:21: 00040068: "BATTERY at SC/BAT/V_BAT has exceeded low warning threshold."
sc>
user> prtdiag -v
System Configuration: Sun Microsystems sun4v Sun Fire T200
Memory size: 32640 Megabytes
================================ Virtual CPUs ================================
CPU ID Frequency Implementation Status
0 1200 MHz SUNW,UltraSPARC-T1 on-line
1 1200 MHz SUNW,UltraSPARC-T1 on-line
2 1200 MHz SUNW,UltraSPARC-T1 on-line
3 1200 MHz SUNW,UltraSPARC-T1 on-line
4 1200 MHz SUNW,UltraSPARC-T1 on-line
5 1200 MHz SUNW,UltraSPARC-T1 on-line
6 1200 MHz SUNW,UltraSPARC-T1 on-line
7 1200 MHz SUNW,UltraSPARC-T1 on-line
8 1200 MHz SUNW,UltraSPARC-T1 on-line
9 1200 MHz SUNW,UltraSPARC-T1 on-line
10 1200 MHz SUNW,UltraSPARC-T1 on-line
11 1200 MHz SUNW,UltraSPARC-T1 on-line
12 1200 MHz SUNW,UltraSPARC-T1 on-line
13 1200 MHz SUNW,UltraSPARC-T1 on-line
14 1200 MHz SUNW,UltraSPARC-T1 on-line
15 1200 MHz SUNW,UltraSPARC-T1 on-line
16 1200 MHz SUNW,UltraSPARC-T1 on-line
17 1200 MHz SUNW,UltraSPARC-T1 on-line
18 1200 MHz SUNW,UltraSPARC-T1 on-line
19 1200 MHz SUNW,UltraSPARC-T1 on-line
20 1200 MHz SUNW,UltraSPARC-T1 on-line
21 1200 MHz SUNW,UltraSPARC-T1 on-line
22 1200 MHz SUNW,UltraSPARC-T1 on-line
23 1200 MHz SUNW,UltraSPARC-T1 on-line
24 1200 MHz SUNW,UltraSPARC-T1 on-line
25 1200 MHz SUNW,UltraSPARC-T1 on-line
26 1200 MHz SUNW,UltraSPARC-T1 on-line
27 1200 MHz SUNW,UltraSPARC-T1 on-line
28 1200 MHz SUNW,UltraSPARC-T1 on-line
29 1200 MHz SUNW,UltraSPARC-T1 on-line
30 1200 MHz SUNW,UltraSPARC-T1 on-line
31 1200 MHz SUNW,UltraSPARC-T1 on-line
========================= IO Configuration =========================
IO
Location Type Slot Path Name Model
IOBD/NET0 PCIE IOBD /pci@780/pci@0/pci@1/network@0 network-pciex8086,105e
IOBD/NET1 PCIE IOBD /pci@780/pci@0/pci@1/network@0,1 network-pciex8086,105e
IOBD/PCIE PCIE IOBD /pci@780/pci@0/pci@9/scsi@0 scsi-pciex1000,56 LSI,1064E
IOBD/NET2 PCIE IOBD /pci@7c0/pci@0/pci@2/network@0 network-pciex8086,105e
IOBD/NET3 PCIE IOBD /pci@7c0/pci@0/pci@2/network@0,1 network-pciex8086,105e
IOBD/PCIE1 PCIE 1 /pci@7c0/pci@0/pci@8/network@0 network-pciex8086,105e SUNW,pcie+
IOBD/PCIE1 PCIE 1 /pci@7c0/pci@0/pci@8/network@0,1 network-pciex8086,105e SUNW,pcie+
IOBD/PCIE0 PCIE 0 /pci@780/pci@0/pci@8/pci@0/scsi@8 scsi-pci1000,30 LSI,1030
IOBD/PCIE0 PCIE 0 /pci@780/pci@0/pci@8/pci@0/scsi@8,1 scsi-pci1000,30 LSI,1030
IOBD/PCIX PCIX IOBD /pci@7c0/pci@0/pci@1/pci@0/isa@2 isa
IOBD/PCIX PCIX IOBD /pci@7c0/pci@0/pci@1/pci@0/usb@5 usb-pciclass,0c0310
IOBD/PCIX PCIX IOBD /pci@7c0/pci@0/pci@1/pci@0/usb@6 usb-pciclass,0c0310
IOBD/PCIX PCIX IOBD /pci@7c0/pci@0/pci@1/pci@0/ide@8 ide-pci10b9,5229
IOBD/PCIE2 PCIE 2 /pci@7c0/pci@0/pci@9/pci@0/scsi@8 scsi-pci1000,30 LSI,1030
IOBD/PCIE2 PCIE 2 /pci@7c0/pci@0/pci@9/pci@0/scsi@8,1 scsi-pci1000,30 LSI,1030
========================= HW Revisions =======================================
System PROM revisions:
OBP 4.27.11 2008/01/08 14:53
IO ASIC revisions:
Location Path Device Revision
IOBD/SAS-SATA-HBA /pci@780 SUNW,sun4v-pci 0
IOBD/SAS-SATA-HBA /pci@780/pci@0 pciex10b5,8532.bc 188
IOBD/SAS-SATA-HBA /pci@780/pci@0/pci@9 pciex10b5,8532.bc 188
IOBD/IO-BRIDGE /pci@7c0 SUNW,sun4v-pci 0
IOBD/PCI-SWITCH1 /pci@7c0/pci@0 pciex10b5,8532.bc 188
IOBD/PCI-BRIDGE /pci@7c0/pci@0/pci@1/pci@0,2 pciex8086,341.9 9
IOBD/GBE0 /pci@780/pci@0/pci@1/network@0 pciex8086,105e.108e.105e.6 6
IOBD/GBE0 /pci@780/pci@0/pci@1/network@0,1 pciex8086,105e.108e.105e.6 6
IOBD/GBE1 /pci@7c0/pci@0/pci@2/network@0 pciex8086,105e.108e.105e.6 6
IOBD/GBE1 /pci@7c0/pci@0/pci@2/network@0,1 pciex8086,105e.108e.105e.6 6
IOBD/SAS-SATA-HBA /pci@780/pci@0/pci@9/scsi@0 pciex1000,56.1000.1000.2 2915482 wrote:
Hello,
My problem is the following: when I am connected on sc and with showfaults command I can see the warning concerning the battery threshold, but this warning do not appear in syslog under /var/log/.
In fact I use a service to grep syslog and create an alarm file which is the first entry point to detect any problem on system.
I need to know how to configure such warning to be dumped in syslog?
My server is a "Sun Microsystems sun4v Sun Fire T2000"
I don't think such messages ever go to syslog. If they are anywhere, they'll be reported to your /var/adm/messages file(s). You might be able to configure the system to add them to syslog but others will need to give guidance on doing that.
... when using prtdiag -v command nothing is dumped about voltage, fan or temperature.When prtdiag is run as only a user of the system, it commonly yields a simplified and/or truncated output. Run it with the same verbose `-v` command switch as root user and observe whether there are any differences.
"BATTERY at SC/BAT/V_BAT has exceeded low warning thresholdIn the meantime, just go ahead and schedule a maintenance window where you can shut the system down and replace the CR2032 coin cell battery that is on the System Controller ( SC/BAT ) . "Exceeded low voltage" means the battery is at or near zero volts and needs to be replaced.
Here's a direct link to the T2000 Service Manual in PDF format:
http://docs.oracle.com/cd/E19076-01/t2k.srvr/819-2548-14/819-2548-14.pdf -
A clarification about block# wait event parameter ....
Hi ,
In Oracle Database Reference of 10g (Part Number B14237-02) about the block# wait event parameter is pointed out ... :
This is the block number of the block for which Oracle needs to wait. The block number is relative to the start of the file. To find the object to which this block belongs, enter the following SQL statements:
select name, kind
from ext_to_obj_view
where file# = file#
and lowb <= block#
and highb >= block#;Can you give me a simple example of using the above sql statement.... as ext_to_obj_view object does not exist.....
Many thanks ,
SimonThis view is created by $ORACLE_HOME/rdbms/admin/catclust.sql script (to be run by sys user).
http://download-uk.oracle.com/docs/cd/B19306_01/rac.102/b14197/monitor.htm#RACAD718
Nicolas. -
About jvm dump file EXCEPTION_ACCESS_VIOLATION (0xc0000005)
Hi folks,
Well, Unfortunately We are facing some issue which cause a Tomcat service is down in the following environment.
OS : Windows Server 2003 R2 SP2
TOMCAT version=5.5.23
JVM version=1.5.0_12
We try to find the cause using attached dump file which generated the one. but not sure why this issue happen in sometime(about once a month)
Could anyone know what could be wrong? i am baz, did you get to solve this same problem?
Thanks in advance...
---following a dump file
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c97be3e, pid=3608, tid=5976
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode, sharing)
# Problematic frame:
# C [ntdll.dll+0x2be3e]
--------------- T H R E A D ---------------
Current thread (0x02d88850): JavaThread "http-8080-Processor18" daemon [_thread_in_native, id=5976]
siginfo: ExceptionCode=0xc0000005, reading address 0xfffffff8
Registers:
EAX=0x00000380, EBX=0x00000000, ECX=0x0000037f, EDX=0x00000000
ESP=0x0383f068, EBP=0x0383f074, ESI=0x00570178, EDI=0x00800000
EIP=0x7c97be3e, EFLAGS=0x00010206
Top of Stack: (sp=0x0383f068)
0x0383f068: 00570000 00000581 02fb9000 0383f098
0x0383f078: 7c97b561 00570178 00000581 02fb9000
0x0383f088: 00570000 02f80000 02f80000 03800000
0x0383f098: 0383f0e0 7c97ba81 00000581 00fb9000
0x0383f0a8: 00000581 00570000 02fb9000 00000000
0x0383f0b8: 00000c08 02fbb000 0383f0dc 02f80000
0x0383f0c8: 00000000 00000000 02fb8e70 00000000
0x0383f0d8: 00000000 00000181 0383f1c4 7c97b646
Instructions: (pc=0x7c97be3e)
0x7c97be2e: 57 64 8b 14 8a 83 c2 08 3b f2 0f 84 d5 fe ff ff
0x7c97be3e: 0f b7 5a f8 3b 5d 0c 73 0b 8b 12 3b f2 75 f1 e9
Stack: [0x03800000,0x03840000), sp=0x0383f068, free space=252k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x2be3e]
C [ntdll.dll+0x2b561]
C [ntdll.dll+0x2ba81]
C [ntdll.dll+0x2b646]
C [MSVCRT.dll+0x1cef6]
C [net.dll+0x6a86]
J java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I
J java.net.SocketInputStream.read([BII)I
J org.apache.coyote.http11.InternalInputBuffer.fill()Z
J org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V
J org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V
j org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113
j org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45
j org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V+102
j org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x87599]
V [jvm.dll+0xdfbb2]
V [jvm.dll+0x8746a]
V [jvm.dll+0x871c7]
V [jvm.dll+0xa2048]
V [jvm.dll+0x1110d8]
V [jvm.dll+0x1110a6]
C [MSVCRT.dll+0x2b530]
C [kernel32.dll+0x24829]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I
J java.net.SocketInputStream.read([BII)I
J org.apache.coyote.http11.InternalInputBuffer.fill()Z
J org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V
J org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V
j org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113
j org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45
j org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V+102
j org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x02ee7820 JavaThread "File Reaper" daemon [_thread_blocked, id=4744]
0x02e23958 JavaThread "TP-Monitor" daemon [_thread_blocked, id=6000]
0x033159e8 JavaThread "TP-Processor4" daemon [_thread_in_native, id=7532]
0x033153c8 JavaThread "TP-Processor3" daemon [_thread_blocked, id=5932]
0x03305b28 JavaThread "TP-Processor2" daemon [_thread_blocked, id=6036]
0x02e2bd10 JavaThread "TP-Processor1" daemon [_thread_blocked, id=4816]
0x03102020 JavaThread "http-8080-Monitor" [_thread_blocked, id=4708]
0x031562f0 JavaThread "http-8080-Processor25" daemon [_thread_blocked, id=2668]
0x03155790 JavaThread "http-8080-Processor24" daemon [_thread_blocked, id=2092]
0x032d8410 JavaThread "http-8080-Processor23" daemon [_thread_blocked, id=5984]
0x03250808 JavaThread "http-8080-Processor22" daemon [_thread_blocked, id=7388]
0x02f80ba8 JavaThread "http-8080-Processor21" daemon [_thread_blocked, id=7956]
0x02f80048 JavaThread "http-8080-Processor20" daemon [_thread_blocked, id=8020]
0x02fc0448 JavaThread "http-8080-Processor19" daemon [_thread_in_native, id=1636]
=>0x02d88850 JavaThread "http-8080-Processor18" daemon [_thread_in_native, id=5976]
0x02ff2b20 JavaThread "http-8080-Processor17" daemon [_thread_blocked, id=2832]
0x02ff2058 JavaThread "http-8080-Processor16" daemon [_thread_blocked, id=7988]
0x03056468 JavaThread "http-8080-Processor15" daemon [_thread_blocked, id=2856]
0x031c55e0 JavaThread "http-8080-Processor14" daemon [_thread_blocked, id=2164]
0x02f7e808 JavaThread "http-8080-Processor13" daemon [_thread_blocked, id=3368]
0x0337ca28 JavaThread "http-8080-Processor12" daemon [_thread_blocked, id=2824]
0x0337c008 JavaThread "http-8080-Processor11" daemon [_thread_blocked, id=2820]
0x0315dc60 JavaThread "http-8080-Processor10" daemon [_thread_blocked, id=2888]
0x0325f408 JavaThread "http-8080-Processor9" daemon [_thread_blocked, id=5112]
0x02f24780 JavaThread "http-8080-Processor8" daemon [_thread_blocked, id=4692]
0x02ee4a48 JavaThread "http-8080-Processor7" daemon [_thread_blocked, id=2860]
0x02efcb80 JavaThread "http-8080-Processor6" daemon [_thread_blocked, id=5952]
0x031bbd58 JavaThread "http-8080-Processor5" daemon [_thread_blocked, id=7168]
0x031bb298 JavaThread "http-8080-Processor4" daemon [_thread_blocked, id=5940]
0x0335f910 JavaThread "http-8080-Processor3" daemon [_thread_blocked, id=2848]
0x03185b68 JavaThread "http-8080-Processor2" daemon [_thread_blocked, id=2672]
0x03339528 JavaThread "http-8080-Processor1" daemon [_thread_blocked, id=2800]
0x031e3e60 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=4752]
0x009080b0 JavaThread "Thread-1" [_thread_in_native, id=2152]
0x008d0998 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3040]
0x008cf6b8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6844]
0x008bf4b8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4916]
0x008a9ac0 JavaThread "Finalizer" daemon [_thread_blocked, id=1072]
0x008a8ee8 JavaThread "Reference Handler" daemon [_thread_blocked, id=1948]
0x00575ee0 JavaThread "main" [_thread_in_native, id=5488]
Other Threads:
0x008a7c98 VMThread [id=3224]
0x008d1dc8 WatcherThread [id=6332]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 36288K, used 1273K [0x06b50000, 0x092b0000, 0x092b0000)
eden space 32256K, 2% used [0x06b50000, 0x06c02b20, 0x08ad0000)
from space 4032K, 13% used [0x08ad0000, 0x08b5baf8, 0x08ec0000)
to space 4032K, 0% used [0x08ec0000, 0x08ec0000, 0x092b0000)
tenured generation total 483968K, used 17895K [0x092b0000, 0x26b50000, 0x26b50000)
the space 483968K, 3% used [0x092b0000, 0x0a429c30, 0x0a429e00, 0x26b50000)
compacting perm gen total 14336K, used 14104K [0x26b50000, 0x27950000, 0x2ab50000)
the space 14336K, 98% used [0x26b50000, 0x27916088, 0x27916200, 0x27950000)
ro space 8192K, 63% used [0x2ab50000, 0x2b060590, 0x2b060600, 0x2b350000)
rw space 12288K, 46% used [0x2b350000, 0x2b8f21b0, 0x2b8f2200, 0x2bf50000)
Dynamic libraries:
0x00400000 - 0x0040e000 D:\App\Tomcat\bin\tomcat5.exe
0x7c950000 - 0x7ca2a000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c941000 C:\WINDOWS\system32\kernel32.dll
0x77e90000 - 0x77f20000 C:\WINDOWS\system32\USER32.dll
0x77ba0000 - 0x77be8000 C:\WINDOWS\system32\GDI32.dll
0x77de0000 - 0x77e8a000 C:\WINDOWS\system32\ADVAPI32.dll
0x77bf0000 - 0x77c8f000 C:\WINDOWS\system32\RPCRT4.dll
0x76e60000 - 0x76e73000 C:\WINDOWS\system32\Secur32.dll
0x77b40000 - 0x77b9a000 C:\WINDOWS\system32\MSVCRT.dll
0x7ca30000 - 0x7d218000 C:\WINDOWS\system32\SHELL32.dll
0x773d0000 - 0x77422000 C:\WINDOWS\system32\SHLWAPI.dll
0x76120000 - 0x7613d000 C:\WINDOWS\system32\IMM32.DLL
0x7f000000 - 0x7f009000 C:\WINDOWS\system32\LPK.DLL
0x75220000 - 0x75285000 C:\WINDOWS\system32\USP10.dll
0x77ca0000 - 0x77da3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll
0x6d640000 - 0x6d7dd000 D:\App\jre\jre1.5.0_12\bin\client\jvm.dll
0x76990000 - 0x769bb000 C:\WINDOWS\system32\WINMM.dll
0x71a60000 - 0x71a68000 C:\WINDOWS\system32\rdpsnd.dll
0x77ab0000 - 0x77ac1000 C:\WINDOWS\system32\WINSTA.dll
0x71ae0000 - 0x71b37000 C:\WINDOWS\system32\NETAPI32.dll
0x76a60000 - 0x76a6b000 C:\WINDOWS\system32\PSAPI.DLL
0x6d290000 - 0x6d298000 D:\App\jre\jre1.5.0_12\bin\hpi.dll
0x6d610000 - 0x6d61c000 D:\App\jre\jre1.5.0_12\bin\verify.dll
0x6d310000 - 0x6d32d000 D:\App\jre\jre1.5.0_12\bin\java.dll
0x6d630000 - 0x6d63f000 D:\App\jre\jre1.5.0_12\bin\zip.dll
0x6d4d0000 - 0x6d4e3000 D:\App\jre\jre1.5.0_12\bin\net.dll
0x71aa0000 - 0x71ab7000 C:\WINDOWS\system32\WS2_32.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\system32\WS2HELP.dll
0x719c0000 - 0x71a01000 C:\WINDOWS\system32\mswsock.dll
0x5ba20000 - 0x5ba78000 C:\WINDOWS\system32\hnetcfg.dll
0x71980000 - 0x71988000 C:\WINDOWS\System32\wshtcpip.dll
0x76de0000 - 0x76e0b000 C:\WINDOWS\system32\DNSAPI.dll
0x76e80000 - 0x76e87000 C:\WINDOWS\System32\winrnr.dll
0x76e20000 - 0x76e4e000 C:\WINDOWS\system32\WLDAP32.dll
0x76e90000 - 0x76e95000 C:\WINDOWS\system32\rasadhlp.dll
0x68000000 - 0x68035000 C:\WINDOWS\system32\rsaenh.dll
VM Arguments:
jvm_args: -Dcatalina.home=D:\App\Tomcat -Dcatalina.base=D:\App\Tomcat -Djava.endorsed.dirs=D:\App\Tomcat\common\endorsed -Djava.io.tmpdir=D:\App\Tomcat\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=D:\App\Tomcat\conf\logging.properties vfprintf -Xms512m -Xmx512m
java_command: <unknown>
Launcher Type: generic
Environment Variables:
PATH=C:\Program Files\Windows Resource Kits\Tools\;D:\App\Oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\HITACHI\SERVER~1\SERVER~1\PROGRAM;C:\Program Files\Intel\DMIX;C:\Program Files\Common Files\Hitachi;C:\Program Files\Hitachi\JP1Base\bin;C:\Program Files\HITACHI\JP1AJS2\bin;C:\WINDOWS\hitachi;C:\Program Files\Hitachi\Script\Bin
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 6 Stepping 4, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790 Service Pack 2
CPU:total 8 (cores per cpu 2, threads per core 2) family 15 model 6 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
Memory: 4k page, physical 2097151k(1993784k free), swap 4194303k(4194303k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_12-b04) for windows-x86, built on May 2 2007 02:07:59 by "java_re" with MS VC++ 6.0Did you ever find the root cause of this?
We are also seeing this on various machines, all on 2003 server...
(his is an embedded Jetty engine)
Thanks!
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c97a36b, pid=900, tid=956
# Java VM: Java HotSpot(TM) Server VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# C [ntdll.dll+0x2a36b]
--------------- T H R E A D ---------------
Current thread (0x00968150): JavaThread "SharedThreadPool-8" [_thread_in_native, id=956]
siginfo: ExceptionCode=0xc0000005, reading address 0x320a0d2d
Registers:
EAX=0x2d0a0d32, EBX=0x003d0000, ECX=0x320a0d2d, EDX=0x00c02f90
ESP=0x1d03ef28, EBP=0x1d03f144, ESI=0x00c02f88, EDI=0x00000401
EIP=0x7c97a36b, EFLAGS=0x00010202
Top of Stack: (sp=0x1d03ef28)
0x1d03ef28: 00002000 00000000 7c979fd6 00968150
0x1d03ef38: 6d9d990d 00000000 00968150 1d03efd8
0x1d03ef48: 00000002 00c37700 0000000a 1d03f058
0x1d03ef58: 00968150 0096b500 0096b800 0096b848
0x1d03ef68: 0096bbf4 1d03fc04 00968150 00938670
0x1d03ef78: 045b9448 16183618 1d03f988 00d3d565
0x1d03ef88: 00000000 2d0a0d32 00000000 1d03f050
0x1d03ef98: 6db014b4 0096b838 00000000 1d03f090
Instructions: (pc=0x7c97a36b)
0x7c97a35b: 02 89 85 48 fe ff ff 8b 4a 04 89 8d f8 fe ff ff
0x7c97a36b: 8b 39 3b 78 04 0f 85 51 73 01 00 3b fa 0f 85 49
Stack: [0x1cf40000,0x1d040000), sp=0x1d03ef28, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x2a36b]
C [MSVCRT.dll+0x1d08c]
C [net.dll+0x693c]
J java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I
J java.net.SocketInputStream.read([BII)I
J org.mortbay.util.LineInput.fill()V
J org.mortbay.util.LineInput.fillLine(I)I
J org.mortbay.http.HttpConnection.handleNext()Z
J org.mortbay.http.HttpConnection.handle()V
J org.mortbay.http.SocketListener.handleConnection(Ljava/net/Socket;)V
J org.mortbay.util.ThreadedServer.handle(Ljava/lang/Object;)V
J org.mortbay.util.ThreadPool$PoolThread.run()V
v ~I2CAdapter
v ~StubRoutines::call_stub
<snip/>
VM Arguments:
jvm_args: -Xms256M -Xmx256M -Djava.library.path=lib -Dfms.home=C:\UGS\TEAMCE~1\TC2007~1.4\fsc -Dfms.config=fmsmaster_FSC_pnj1_vol02.xml -Dfsc.config=FSC_pnj1_vol02.xml -Dsun.net.client.defaultConnectTimeout=90000 -Dsun.net.client.defaultReadTimeout=90000 -Dcom.teamcenter.mld.logging.prefix=FSC_pnj1_vol02 exit
java_command: <unknown>
Launcher Type: generic
Environment Variables:
JAVA_HOME=C:\UGS\Teamcenter\Tc2007\install\install\jre
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\HITACHI\DynamicLinkManager\bin;C:\Program Files\HITACHI\DynamicLinkManager\lib;C:\Program Files\HDVM\HBaseAgent\bin;C:\Program Files\HDVM\HBaseAgent\util\bin;C:\Program Files\Common Files\Hitachi;C:\PROGRA~1\HITACHI\SERVER~1\SERVER~1\PROGRAM;lib
USERNAME=infodba
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790 Service Pack 2
CPU:total 4 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)
vm_info: Java HotSpot(TM) Server VM (1.5.0_11-b03) for windows-x86, built on Dec 15 2006 00:54:53 by "java_re" with MS VC++ 6.0 -
Just wanted to look into creating a more controlled environment at home and wanted to learn about how to block certain URLs through my Firefox browser. I've done some searching but I can't figure it out.
-> [[Parental controls]]
* http://kb.mozillazine.org/Parental_controls
Check and tell if its working. -
Question about block viewer software
Hi,
please tell me have anybody used terlingua The Block Viewer for Oracle?
I have tried to get key to use demo of this software, but nobody replay.
I know about bbed.
Best regards.If you know about BBED and how to use it, I don't think you should spend time on this product since no one is better capable than oracle itself to tell you how their blocks work and how to deal with the internal stuff. I am not sure about the views that these guys are mentioning in their pdf but I am not very convinced that I can think of spending time over this software.
Stik with BBEd and other commands from Oracle to deal and work with its internal strucutres IMO!
HTH
Aman.... -
Sharing some info about Export dumps
Just to share some info about exports happenig in our system
I have a 20GB Database but the dump size is 10GB it keeps growing..the data too grows but the dump has also getting increased significantly...
Has anyone seen encountered soemthing like this...
Strange but to live with it
Oracle 8i on Win2kIs this your Production Database? Did you schedule this export? During peak/off peak business hours? Production
Yes
Off Peak hours
Apart from this export, what database backup procedure you have in place? Full Backups/Incremental all in place
You said, you take export regularly as part of procedure. Is this a strange behavior today or did you observe this previously as well??I have been observing since i joined this company.It was 14GB and Dump was around 7 ..now the DB is 20GB and dump is around 10GB
I was just thinkking for a TB database how much the export would be...:)
Adding on i had a 100Gb db generating 8Gb dump...Looked strange..)BUt that 100GB did not have so amny objects like what i have now...
Thanks -
In a blockdump a rowid is represented like 01 00 03 00 00 00.
I think I have found that this is parsed as file 010 block 00300 and row 0000. That makes sense for block and row. For file I think I've pieced together some info which would indicate that file 010 would point to file 4. The way this supposedly happens is that 010 is divided by four. Since 010 hex is 16 decimal and 16/4=4.
That is all good, but can anyone explain why it is done this way, what the other values for files are used for and if there is any known documentation for this effect.
My understanding then for that rowid is that it points to file 4, block 768 and row 0. That is exactly where it should point so that part is god. I just want to understand the file calculation better.In a blockdump a rowid is represented like 01 00 03 00 00 00.
I think I have found that this is parsed as file 010 block 00300 and row 0000. That makes sense for block and row. For file I think I've pieced together some info which would indicate that file 010 would point to file 4. The way this supposedly happens is that 010 is divided by four. Since 010 hex is 16 decimal and 16/4=4.
That is all good, but can anyone explain why it is done this way, what the other values for files are used for and if there is any known documentation for this effect.
My understanding then for that rowid is that it points to file 4, block 768 and row 0. That is exactly where it should point so that part is god. I just want to understand the file calculation better. -
Need clarification about block in Sale order
we would like to know is there any other standard t-code available to do the sales order block removal which we are doing through VA02. blocks like schedule line block, road permit block. Thescenario is as follows:
Line Item Vise :
Z1 Block - If the Customer Doenst want the material / Order waiting for Statutory Document / PO issue / Off Spec ,Z1 Block on the line Item level is used inorder to stop MO during Order Loading
Z3 Block - If an order has more than one line items and Business / Customer needs only 1 Item to be fulfilled and remg items to be fulfilled at the later stage or material has to be diverted to Other orders Z3 block is used during scheduling subject to Business Approvals.
Header Vise :
Z1 Block - Customer cancellation happens post order loading and post mfg ,Z1 block is used in Header Level - done during Post Order Loading Subject to business Approvals.
Z3 Block - If the Demand is More than the supply and Business / Customer Needs critical order delivery to happen for specific Orders,Z3 block is used in order make the FG free and allocate specific Orders subject to Business Approvals.
Partial Delivery of a PO on Allocation:
Business requires Material for T Models to go on Allocation .Suppose 2 MTMs are loaded in the same SO but business needs only one MTM to be billed and hold Other MTM Delivery Grouping is changed in the SO and qty has to be broken in accordance with the allocation
Partial Delivery of a PO on Relation:
If Supply is not there for the Entire PO and still Customer requires Partial Qty whatever it has then the same will made Partillay after getting customer concurrence
what is the standard t code availabel in the sceanrioHi,
You can try TCode V.00
This transaction when executed will give you the list of all the sales documents blocked for delivery per sales organization. There are various other criteria which might be useful. This transaction will allow you to edit each sales document.
If this is not the one that you want, then perhaps you might have to develop one.
Thanks
Mukund S -
Simple question about block splitting
Hello Experts,
My question is, aren't the following DML performing 90-10 block split?? Because it has been said that the first one performs 50-50 block splitting.
SQL> CREATE TABLE album_sales_IOT(album_id number, country_id number, total_sals number, album_colour varchar2(20),
CONSTRAINT album_sales_iot_pk PRIMARY KEY(album_id, country_id)) ORGANIZATION INDEX;
Table created.
1
SQL> BEGIN
2 FOR i IN 5001..10000 LOOP
3 FOR c IN 201..300 LOOP
4 INSERT INTO album_sales_iot VALUES(i,c,ceil(dbms_random.value(1,5000000)), 'Yet more new rows');
5 END LOOP;
6 END LOOP;
7 COMMIT;
8 END;
9 /
PL/SQL procedure successfully completed.
1
2
3
4
5
6
7
8
9
10
11
SQL> BEGIN
2 FOR i IN 1..5000 LOOP
3 FOR c IN 101..200 LOOP
4 INSERT INTO album_sales_iot
5 VALUES(i,c,ceil(dbms_random.value(1,5000000)), 'Some new rows');
6 END LOOP;
7 END LOOP;
8 COMMIT;
9 END;
10 /
PL/SQL procedure successfully completed.Hi NightWing,
> Because it has been said that the first one performs 50-50 block splitting.
Who said it? .. However it can easily be answered with Snapper by Tanel Poder.
First PL/SQL procedure
SID, USERNAME , TYPE, STATISTIC , DELTA, HDELTA/SEC, %TIME, GRAPH , NUM_WAITS, WAITS/SEC,
8, SYS , STAT, leaf node splits , 2427, 12.14, , , , ,
8, SYS , STAT, leaf node 90-10 splits , 2427, 12.14, , , , ,
8, SYS , STAT, branch node splits , 4, .02, , , , ,
8, SYS , STAT, root node splits , 1, .01, , , , ,
Second PL/SQL procedure
SID, USERNAME , TYPE, STATISTIC , DELTA, HDELTA/SEC, %TIME, GRAPH , NUM_WAITS, WAITS/SEC,
8, SYS , STAT, leaf node splits , 2179, 10.9, , , , ,
8, SYS , STAT, branch node splits , 8, .04, , , , ,
Regards
Stefan
Maybe you are looking for
-
Need help in Activating office 365 from my BizSpark
I need help in Activating office 365 from my BizSpark. When I tried to activate it asks for office 365 ac id. i don't know how to sign up for that. Please provide step by step instructions for that. thanks, Albin
-
My imac 5.1 freezes or coloured spinning wheel then shuts down.
Hi My imac 5.i freezes or has a spinning coloured wheel and locks up, or the screen goes white or shuts down on it's own . Any help !
-
When I create the proxy service and choose to be created from the WSDL, I have two options for selecting the port and binding, could you explain the difference in choosing between the port or binding? Thanks!
-
Map Update Why Oh Why is there is never enough mem...
How stupid is map update? Every time there is an update I am not allowed to do it as their is not enough memory free on C: However after I uninstall lots of apps and remove maps it will install Then I re-install all the apps I un-installed and re-dow
-
I want to be able to see who is accessing my wireless network. Is there any way to do this given I'm running Airport Express 7.6.3? I'm running OSX 10.7.5 on my Macbook pro. THere was a link posted in a forum dated 2006 for this, but the page in q