Skip to main content

Syntax

Parameters

Examples

This statement removes the id_index index from the taxi_trips table in the default schema (public):
This statement removes the ad_id_index index from the ad_ctr_5min materialized view in the rw_schema schema:

Hanging or long running DROP INDEX

If your DROP INDEX command takes a long time to run, it could be due to high barrier latency. DROP commands need to be synchronized with barriers currently. To let DROP take effect immediately, you can use the RECOVER command in a separate session.

See also

CREATE INDEX

Construct an index on a table or a materialized view to speed up queries