> > > How to estimate the size of log space when I need to run "INSERT INTO
> > > tgt_tbl SELECT * FROM src_tbl WHERE..." ?
[quoted text clipped - 19 lines]
> reference from the db2 documentation. Do you know what the difference is
> between the before&after image when db2 log both transactions?
If both transactions do the same amount of work (ie, same number of inserts,
same data), then the amount of log space used will be the same.
--
Matt Emmerton
Fan Ruo Xin - 30 Nov 2004 03:42 GMT
> > > > How to estimate the size of log space when I need to run "INSERT INTO
> > > > tgt_tbl SELECT * FROM src_tbl WHERE..." ?
[quoted text clipped - 28 lines]
> --
> Matt Emmerton
Hi, Matt,
I did a test (maybe) two months ago - I build a table A and load a couple of
records, and copy the ddl and data to tableB.
The "delete from tableA" and empty tableA and then "import ... into tableA"
without COMMITCOUNT failed as "log full". But not "insert into tableA select
* from tableB".
I will double check if I can reproduce the scenario.
Thanks,
FRX