Quantcast
Channel: SCN : All Content - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 757

log increase too fast

$
0
0

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


Viewing all articles
Browse latest Browse all 757

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>