Y
Hacker News
new
|
ask
|
show
|
jobs
by
PudgePacket
2233 days ago
Maybe a silly question but what is the point of an insert-only table. Surely it must be read/used in some capacity ? Do they mean "insert heavy"?
2 comments
brianwawok
2233 days ago
Means not updated. Say Www visitor logs. No reason to ever update a previous log. What happened happened.
link
PudgePacket
2233 days ago
.
link
CameronNemo
2233 days ago
Selects would still work. But non insert DML would be disallowed I assume (delete, update).
link
blattimwind
2233 days ago
Data is only inserted, not changed or deleted.
link
PudgePacket
2233 days ago
.
link
22c
2233 days ago
You seem to be missing that data can still be read after it is insterted, provided it is not updated. So think if more like WORM rather than write-only.
link
sandGorgon
2233 days ago
for compliance. you want this behavior to be enforced at the database level so that any buggy code does not edit a previous row.
link