Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
flossly
· 5mo ago · 0 comments
Years ago I heard Oracle's db had an edge on PG when it comes to DELETEs. I guess that's still the case...
Comments
[–]
mike_hearn
5mo ago
Oracle has ALTER TABLE [name] MOVE ONLINE INCLUDING ROWS [predicates]. This is basically what you want - it keeps only the data matching the predicate, it's efficient and it works without disrupting the app. That might be the edge you heard about.
[–]
asgeirn
5mo ago
Also ALTER TABLE DROP PARTITION