Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
simscitizen
· 2y ago · 0 comments
How does this work exactly? Is every log line a separate transaction in autocommit mode? Because I don't see any begin/commit statements in this codebase so far...
Comments
[–]
nine_k
2y ago
Maybe autocommit mode is set? I'd expect that.
[–]
simscitizen
OP
2y ago
Inserting a new row for each log line in autocommit mode would be absurdly inefficient compared to just appending a log line to a file.