Hi,
i'm issuing an update against two tables with 150.000 records each and this transaction is running since 1 hour.
How to understand what's oracle doing now and how long
will it take?
What exactly happens during an update statement?
Following my update.
update mya p
set(name,lastname,email) =
(select name,lastname,email
from myb s
where p.cod=s.cod)
where exists
(select cod
from mya pp
where p.cod=pp.cod);
This is a test database with few sga allocated.
Could this be the problem?
show sga
Total System Global Area 174471292 bytes
Fixed Size 116860 bytes
Variable Size 108646400 bytes
Database Buffers 65536000 bytes
Redo Buffers 172032 bytes
I have to run this update twice, once with 600.000 records and second time with 1.000.000 records.
I will create an index on the cod column.
i'm issuing an update against two tables with 150.000 records each and this transaction is running since 1 hour.
How to understand what's oracle doing now and how long
will it take?
What exactly happens during an update statement?
Following my update.
update mya p
set(name,lastname,email) =
(select name,lastname,email
from myb s
where p.cod=s.cod)
where exists
(select cod
from mya pp
where p.cod=pp.cod);
This is a test database with few sga allocated.
Could this be the problem?
show sga
Total System Global Area 174471292 bytes
Fixed Size 116860 bytes
Variable Size 108646400 bytes
Database Buffers 65536000 bytes
Redo Buffers 172032 bytes
I have to run this update twice, once with 600.000 records and second time with 1.000.000 records.
I will create an index on the cod column.