Why Database Time Zone Handling Breaks Queries cover art

Why Database Time Zone Handling Breaks Queries

Why Database Time Zone Handling Breaks Queries

Listen for free

View show details
In this episode of Database Tech with Fexingo, Lucas and Luna dive into the hidden chaos of time zone handling in databases. Using the real-world example of a popular booking platform that lost millions in revenue due to incorrect time zone conversions, they explore why most developers underestimate the complexity. They discuss the difference between TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIME ZONE in PostgreSQL, how indexing breaks when time zones shift, and why daylight saving time transitions cause silent data corruption. The episode also covers practical strategies like storing all timestamps in UTC at the database level, using application-layer time zone conversion, and the importance of testing edge cases like the 'spring forward' and 'fall back' moments. Listeners will learn one concrete lesson: always store timestamps in UTC and convert at query time—unless you want your midnight reports to include yesterday's data. #DatabaseTimeZones #SQLTimestamp #PostgreSQL #UTCDatabase #DaylightSavingTime #QueryPerformance #DataIntegrity #TimeZoneHandling #DatabaseDesign #TechPodcast #DatabaseTech #FexingoBusiness #BusinessPodcast #SoftwareEngineering #BackendDevelopment #DataEngineering #SQLTips #DatabaseOptimization Keep every episode free: buymeacoffee.com/fexingo
adbl_web_anon_alc_button_suppression_t1
No reviews yet