Detect Duplicates in Postgres with Cartesian Product

InstructorBrett Cassette

Share this video with your friends

Send Tweet

The cartesian product is a humdinger -- it relates all data in one table to all data in another! Now that’s a lot of rows, and fast. Surprisingly, cartesian products are as fast as inner joins at duplicate detection, thanks to the magic of the query planner!