数据仓库的IO很高,不能入库
solaris 8 + oracle 8.17
做数据仓库用,每天都有入库操作,即把文本文件通过sqlloader把数据load到仓库中,但是从上个星期起,load的速度特慢,大概查了下,应该是IO的问题,不懂调整,请各位大虾帮忙
bash-2.03$ cat /etc/release
Solaris 8 2/04 s28s_hw4wos_05a SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Assembled 08 January 2004
bash-2.03$ uname -a
SunOS hn-dwsvr 5.8 Generic_117350-43 sun4u sparc SUNW,Sun-Fire-V440
#top
load averages: 1.72, 2.39, 2.14; up 807+03:47:39 16:32:09
172 processes: 169 sleeping, 1 zombie, 1 stopped, 1 on cpu
CPU states: 44.8% idle, 8.1% user, 2.0% kernel, 45.1% iowait, 0.0% swap
Memory: 16G phys mem, 7694M free mem, 31G swap, 31G free swap
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
sccli> show battery-status
sccli: this operation is only supported on Fibre Channel primary RAID controller devices
root@hn-dwsvr # iostat -En
c0t0d0 Soft Errors: 0 Hard Errors: 2 Transport Errors: 0
Vendor: TSSTcorp Product: DVD-ROM TS-L462C Revision: SI00 Serial No: SI
Size: 18446744073.71GB <-1 bytes>
Media Error: 0 Device Not Ready: 2 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d0 Soft Errors: 0 Hard Errors: 39 Transport Errors: 110
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF900
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 39 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: HUS10143ASUN146G Revision: PA05 Serial No: 33TXKY70
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: HUS10143ASUN146G Revision: PA05 Serial No: 33TXL0WH
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: HUS10143ASUN146G Revision: PA05 Serial No: 33TXL37R
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t3d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: HUS10143ASUN146G Revision: PA05 Serial No: 33TXKBLR
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d1 Soft Errors: 0 Hard Errors: 40 Transport Errors: 107
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF901
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 39 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d2 Soft Errors: 0 Hard Errors: 34 Transport Errors: 16
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF902
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 34 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d3 Soft Errors: 0 Hard Errors: 36 Transport Errors: 26
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF903
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 36 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d4 Soft Errors: 0 Hard Errors: 35 Transport Errors: 9
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF904
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 35 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d5 Soft Errors: 0 Hard Errors: 34 Transport Errors: 12
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF905
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 34 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d6 Soft Errors: 0 Hard Errors: 35 Transport Errors: 3
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF906
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 35 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d7 Soft Errors: 0 Hard Errors: 35 Transport Errors: 1
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF907
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 35 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d8 Soft Errors: 0 Hard Errors: 34 Transport Errors: 4
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF908
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 34 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d9 Soft Errors: 0 Hard Errors: 40 Transport Errors: 21
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF909
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 40 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d10 Soft Errors: 0 Hard Errors: 37 Transport Errors: 6
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF90A
Size: 73.19GB <73188507648 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 37 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
root@hn-dwsvr # prstat
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
13766 loginsvr 1094M 1061M sleep 59 0 0:00.00 1.7% JavaServer/14
7452 loginsvr 4984K 3408K sleep 59 0 14:40.30 0.2% ISH/1
13805 loginsvr 367M 335M sleep 59 0 0:00.00 0.2% java/24
13408 ipdrprox 59M 55M sleep 59 0 3:00.09 0.2% ipdr_server/7
13560 loginsvr 5000K 3360K sleep 59 0 11:59.31 0.1% ISH/1
6666 loginsvr 4992K 3416K sleep 59 0 12:47.30 0.0% ISH/1
29638 loginsvr 5032K 3352K sleep 59 0 22:28.58 0.0% ISH/1
703 ipdrprox 4784K 3096K sleep 59 0 12:06.47 0.0% ISH/1
28525 billing 1248K 928K sleep 59 0 0:00.00 0.0% more/1
12323 billing 2320K 1584K sleep 59 0 0:00.23 0.0% top/1
3584 card 20M 13M sleep 59 0 0:21.03 0.0% CardIDR/7
25244 ipdrprox 4960K 3352K sleep 59 0 22:13.35 0.0% ISH/1
20773 card 4904K 3304K sleep 59 0 0:16.57 0.0% ISH/1
28524 root 1680K 1424K cpu3 59 0 0:00.00 0.0% prstat/1
412 root 2664K 1976K sleep 59 0 0:00.00 0.0% vold/5
415 root 1752K 712K sleep 59 0 0:00.00 0.0% smcboot/1
348 root 3664K 2064K sleep 59 0 0:00.00 0.0% syslogd/16
328 root 2056K 1296K sleep 59 0 0:00.00 0.0% lockd/1
381 root 3136K 1040K sleep 59 0 0:00.00 0.0% lpsched/1
530 root 3728K 2488K sleep 59 0 0:00.00 0.0% snmpXdmid/4
537 root 1856K 1136K sleep 59 0 0:00.00 0.0% ttymon/1
20772 card 4952K 3336K sleep 59 0 0:14.46 0.0% ISH/1
335 root 3360K 1256K sleep 59 0 0:00.00 0.0% automountd/4
314 root 2496K 1808K sleep 59 0 0:00.05 0.0% inetd/1
540 root 1856K 1176K sleep 59 0 0:00.00 0.0% ttymon/1
414 root 1752K 1184K sleep 59 0 0:00.00 0.0% smcboot/1
Total: 145 processes, 649 lwps, load averages: 0.12, 0.14, 0.16
c2t3d11 Soft Errors: 0 Hard Errors: 35 Transport Errors: 29
Vendor: SUN Product: StorEdge 3320 Revision: 415G Serial No: 0AD17E53861CF90B
Size: 74.15GB <74151100416 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 35 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
== 马上贴出来
iostat -En
prstat
贴一下~
sccli> show battery-status
看一下输出。。
不懂solaris
root@hn-dwsvr # sccli
sccli: selected device /dev/rdsk/c2t3d0s2 [SUN StorEdge 3320 SN#0AD17E]
sccli> show disk
Ch Id Size Speed LD Status IDs Rev
----------------------------------------------------------------------------
0 0 136.73GB 320MB ld0 ONLINE SEAGATE ST314670LSUN146G 045A
S/N 304526A6
0 1 136.73GB 320MB ld0 ONLINE SEAGATE ST314670LSUN146G 045A
S/N 30453AS6
0 2 136.73GB 320MB ld0 ONLINE SEAGATE ST314670LSUN146G 045A
S/N 30452DHE
0 3 136.73GB 320MB ld0 ONLINE SEAGATE ST314670LSUN146G 045A
S/N 30452V8K
0 4 136.73GB 320MB ld0 ONLINE SEAGATE ST314670LSUN146G 045A
S/N 3045000B
0 5 136.73GB 320MB ld0 ONLINE SEAGATE ST314670LSUN146G 045A
S/N 304550VN
0 8 136.73GB 320MB ld0 ONLINE SEAGATE ST314670LSUN146G 045A
S/N 30452D3T
0 9 136.73GB 320MB ld1 ONLINE FUJITSU MAW3147NCSUN146G 1703
S/N 000646C0A5YG
0 10 136.73GB 320MB ld1 ONLINE FUJITSU MAW3147NCSUN146G 1703
S/N 000646C0A5YV
0 11 136.73GB 320MB ld1 ONLINE FUJITSU MAW3147NCSUN146G 1703
S/N 000646C0A5W6
0 12 136.73GB 320MB ld1 ONLINE FUJITSU MAW3147NCSUN146G 1703
S/N 000646C0A5S9
0 13 136.73GB 320MB GLOBAL STAND-BY FUJITSU MAW3147NCSUN146G 1703
S/N 000646C0A5WH
说不定挂了阵列,而阵列电池过期,write cache自动关了
等待IO的时间很长,看下IO那块有没有瓶颈。。iostat 看下 有没有外接存储。。
一般貌似仓库的话,需要更大的数据库块
但是这个,早起版本的oracle,在数据库创建后就不能改了
不是很懂,帮顶!