Shane Rutter BlogMy place on the web

  • Home
  • About Me
  • Contact Me
  • Privacy Policy

How I deleted 530 million records from a large MySQL database table hitting nearly 200GB

  • 19th January 2021
  • /
  • MySQL, Servers
  • /
  • No Comments

Came across the need to perform maintenance on a MySQL database which holds millions of records, we needed to remove all data which was 2+ years old which involved deleting around 530 million records from a very large table, hitting nearly 200GB.
Continue reading...

  • big data database db mysql server

Laravel, time zones and carbon

  • 26th June 2017
  • /
  • Hints, Tips & Techniques, Laravel, PHP
  • /
  • No Comments

Laravel defaults to storing all dates in UTC format, this is highly recommended as UTC time never changes unlike other time zones which have daylight savings. It is best practice to store and read dates in UTC, and then convert UTC to your required time zone for the user interface. Great article below of a
Continue reading...

  • db dev development hints laravel php ui

Repairing damaged or crashed MySQL tables

  • 9th June 2017
  • /
  • Hints, Tips & Techniques, MySQL
  • /
  • No Comments

Damaged or crashed MySQL tables due to an unsafe server shut downs, disk space limits or general MySQL failures? Do a find and find and repair on your damaged MySQL tables.
Continue reading...

  • corruption damaged database db failure howto mariadb mysql rds repair server web
Shane Rutter
Copyright 2025 © Shane Rutter