I have a table with about 1.5G data. I need to update one column for this table like:
update mytab set col = value.
In order to see the log space growth, before running update, I truncate log. then run update. After that, check logsegment for log growth, there are almost 1.5G data and indexes, total 3G on logsegment. So with this update, the log increased to fast with simple update.
Confused with 2 question:
Event there is no index on mytab, on logsegment still have same size of index as data.
Why log space increased so fast, with so simple sql statement. it's easy to cause logfull and make system pending.
my sybase is ase 12.5