Hey everyone, in this post we’ll see a very simple example of how indexes can drastically improve read speeds. We will take a simple enough scenario where in we have 2 tables, student and school. CREATE TABLE public.school (
id serial,
PRIMARY KEY (id),
name varchar(255)
);
CREATE TABLE public.student (
id serial,
name varchar(255),
school_id int,
PRIMARY KEY…