Labcodes logo symbol

blog

Labcodes logo mark
Labcodes logo symbol

blog

Labcodes logo mark
  • Services
  • Work
  • Our process
  • About us
  • Careers
  • Blog
  • Services
  • Work
  • Our process
  • About us
  • Careers
  • Blog
Get your custom offer
Labcodes logo mark
  • Home
  • Services
  • Work
  • Our process
  • About us
  • Careers
  • Blog
Get your custom offer
All posts Development Conferences Business Design

Post categories

  • All posts
  • Development
  • Conferences
  • Business
  • Design

Blog language

EN PT

Posts tagged with

data-pipelines
Post cover illustration Development

The fastest way to delete 95% of a database is to not delete it | Slicing Prod Data

Batched deletes still timed out, so we stopped deleting and started copying. Here’s the copy-truncate-reinsert approach in raw Postgres that finished the slice in under 2 hours.

Pedro Costa a 09 Nov 2026

5 min read

  • previous
  • 1
  • next
Clutch reviews score
Privacy policy
Services
Software design & development Discovery & Product concept
Design system Consulting
Services
Software design & development Discovery & Product concept
Design system Consulting

labcodes logo

creative commons attribution by

The content of our blog is licensed under Creative Commons Attribution 4.0 International.

Designed and coded with ❤ in Recife.

Directly from the labcodes logo

contact(at)labcodes.com.br

© 2026 LABCODES SOFTWARE STUDIO. All rights reserved.

Designed and coded with ❤ in Recife.

Directly from the labcodes logo

contact(at)labcodes.com.br

© 2026 LABCODES SOFTWARE STUDIO. All rights reserved.