Re: tricky performance problem on DELETE
Posted in 2006
Topics: Performance & Tuning, Triggers, Constraints & Referential Integrity, Versions, Editions & End-of-Life
Any triggers on that table ? How about any constraints ?
Can you see the sql running or is it waiting on something ? ( onstat -u , onstat -g sql, onstat -g ses )
========================
-<<Floyd Wellershaus>>-
Database Administrator
Unix Administrator
email: fwellers@yahoo.com
Home: 703-430-0805
Cell: 703-477-6045
========================
http://www.one.org/
----- Original Message ----
From: Erik Kurz <erik.kurz@analytika.at>
To: informix-list@iiug.org
Sent: Thursday, August 3, 2006 9:26:33 AM
Subject: tricky performance problem on DELETE
hello,
i have following problem on my IDS 7.31 :
Table A (with 20 columns) has 450 000 records; and an index on
column ID.
executing an select ....from A where ID = 1234 is OK (very fast)
BUT
when i execute
delete from A where ID = 1234 it takes 10 to 20 seconds !!!
i did an "update statistics", but i have the same behaviour.
any suggestions ????
thanks a lot
Erik
begin 666 confused.gif
M1TE&.#EA#P`6`/<``````( ```" `(" ````@( `@ " @,# P,#<P*;*\\ ``
M`#(L`#8Q`#LU`#\\[%EI1`&I?`'YP`(-V`)*"`)B(`*"/`*&0`*:4`*B6`*N8
M`*Z;`*^=`+&>`+.@`+:B`+BD`+ZJ`,2O`,6P`,JT`-&[`-O#`-C$&>/+`.C/
M`.S2`/#6`/C=`/[C`/_K0?_N8__O:<"ZB/_SC/_VKO_WM/_YR__[\\*"@I("
M@/\\```#_`/__````__\\`_P#______P" @ ``````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M`````````````````````"'Y! $``#\\`+ `````/`!8```B_`'_\\\\"%0(,&"
M!P<J5'B08,*%!@M"?$A1HL6+$BLBQ,@1(X"/'SD"<&!BA0H4(!H`L @`1HP6
M+$Z>*%%AI<"6-&:XB(FB1(D1%&PZB#%#QHN8,TF,$,'@!P`3+5Q\\7('BQ$<1
M("Q,9<'B8XJ9'T%\\^/!1A5F9)4B$`.'!`X>/*.+.3(O5K08-8>="`/F 0P8,
M$U8V\\ F 0ET)`#!@6'"S@M*U;O]>BJ6&Q'38HILR2@84/F2<LJ,P2).D?
$`0$`.P``
`
end
_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list
yes there is(was) a BAD trigger which we transferred from an old system.
we have forgotten to convert it.
thank's for the hint.
PROBLEM IS SOLVED
Erik
"Floyd Wellershaus" <fwellers@yahoo.com> schrieb im Newsbeitrag
news:mailman.128.1154612550.20706.informix-list@iiug.org...
Any triggers on that table ? How about any constraints ?
Can you see the sql running or is it waiting on something ? ( onstat -u ,
onstat -g sql, onstat -g ses )
========================
-<<Floyd Wellershaus>>-
Database Administrator
Unix Administrator
email: fwellers@yahoo.com
Home: 703-430-0805
Cell: 703-477-6045
========================
http://www.one.org/
----- Original Message ----
From: Erik Kurz <erik.kurz@analytika.at>
To: informix-list@iiug.org
Sent: Thursday, August 3, 2006 9:26:33 AM
Subject: tricky performance problem on DELETE
hello,
i have following problem on my IDS 7.31 :
Table A (with 20 columns) has 450 000 records; and an index on
column ID.
executing an select ....from A where ID = 1234 is OK (very fast)
BUT
when i execute
delete from A where ID = 1234 it takes 10 to 20 seconds !!!
i did an "update statistics", but i have the same behaviour.
any suggestions ????
thanks a lot
Erik
begin 666 confused.gif
M1TE&.#EA#P`6`/<``````( ```" `(" ````@( `@ " @,# P,#<P*;*\\ ``
M`#(L`#8Q`#LU`#\\[%EI1`&I?`'YP`(-V`)*"`)B(`*"/`*&0`*:4`*B6`*N8
M`*Z;`*^=`+&>`+.@`+:B`+BD`+ZJ`,2O`,6P`,JT`-&[`-O#`-C$&>/+`.C/
M`.S2`/#6`/C=`/[C`/_K0?_N8__O:<"ZB/_SC/_VKO_WM/_YR__[\\*"@I("
M@/\\```#_`/__````__\\`_P#______P" @ ``````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M`````````````````````"'Y! $``#\\`+ `````/`!8```B_`'_\\\\"%0(,&"
M!P<J5'B08,*%!@M"?$A1HL6+$BLBQ,@1(X"/'SD"<&!BA0H4(!H`L @`1HP6
M+$Z>*%%AI<"6-&:XB(FB1(D1%&PZB#%#QHN8,TF,$,'@!P`3+5Q\\7('BQ$<1
M("Q,9<'B8XJ9'T%\\^/!1A5F9)4B$`.'!`X>/*.+.3(O5K08-8>="`/F 0P8,
M$U8V\\ F 0ET)`#!@6'"S@M*U;O]>BJ6&Q'38HILR2@84/F2<LJ,P2).D?
$`0$`.P``
`
end
_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list