Welcome back

Sign in to your Fakebase account.

or

Don't have an account? Create one

Studio

Indexes

Look through every index in your database, how big it is, and how often it's used in Fakebase Studio.

View as markdown

Open Indexes in the sidebar to see every index in the database.

The list

Each row shows:

  • The table and the columns the index covers
  • The index name, marked when it's a primary key or unique index
  • Its size on disk
  • How many times PostgreSQL has used it

An index with few or no uses may not be needed, and a large one costs disk space and slows down writes.

Search and sort

  • Search: type in Search for an index to filter by name.
  • Schema: pick a schema, or All schemas.
  • Sort: order the list by Index name (A–Z), Table (A–Z), Largest size, Most scans, or Least scans.

Index details

Select an index to see the SQL that defines it. Copy it to reuse it, for example in a migration.

This page is read-only. To add or drop an index, write the SQL in the SQL editor or a migration.


Next steps