To update 10 rows take 10 mins?
Sounds like your DB needs a good sorting out.
You got millions of unindexed records?
Main Topics
Browse All Topicsi want to update records in Oracle 8:
update bclient set sum = 0, visits = 0 where visits > 0
but query can't be finished (i need to make end proccess)
to update 10 rows takes about 5 minutes
why so long?
is it posible to do it faster? or there my mistake?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
i found triger, maybe this is problem?
CREATE OR REPLACE TRIGGER CLIENT_AIU
AFTER INSERT
OR UPDATE
ON CLIENT
FOR EACH ROW
DECLARE
vl_operation varchar2(6);
BEGIN
IF INSERTING THEN
vl_operation := 'INSERT';
ELSIF UPDATING THEN
vl_operation := 'UPDATE';
END IF;
mis.newbclient('C:\WINDOWS
:new.id_cli, :new.id_cas_ori,
:new.nom, :new.prenom,
:new.cod_typcli, :new.id_titre,
:new.nom_jf, :new.pseudonyme,
:new.boo_interd,
:new.dat_nai,
:new.boo_fideli);
END;
Check mis.newbclient. It's seems that it is procedure in schema mis.
If it linked to another external database than there where can be performance problems.
As solution, you can create additional table, and put in it new values 'C:\WINDOWS\system32\',vl_
:new.id_cli, :new.id_cas_ori,
:new.nom, :new.prenom,
:new.cod_typcli, :new.id_titre,
:new.nom_jf, :new.pseudonyme,
:new.boo_interd,
:new.dat_nai,
:new.boo_fideli
Remove mis.newbclient(..) from trigger, then create job, which periodically executes mis.newbclient(..) with data from this intermediate table and delete, or mark data in this table after execution.
Business Accounts
Answer for Membership
by: oraelbisPosted on 2005-11-05 at 00:21:44ID: 15230266
Try create index for field "visits".
Make field "visits" not nullable with default value 0.
Gather database statistics.