QuestDB LogoQuestDB Logo
Return to QuestDB.comDocumentationTutorialsBlogEnterprisePublic SlackDiscourse CommunityView QuestDB Repo
⚡️ QuestDB Enterprise
9.0.3|16.0k
  • Release Notes
  • Roadmap
  • Introduction
  • Quick start
  • Why QuestDB?
  • Schema Design
  • Ingestion Reference
  • Query & SQL Reference
    • Query & SQL Overview
    • PGWire Clients
      • Overview
      • Python
      • Go
      • Java
      • Rust
      • Node.js
      • .NET
      • PHP
      • R
    • Data types
    • SQL execution order
    • SQL Syntax
      • ADD USER
      • ALTER
        • ALTER COLUMN (TABLE)
        • ALTER COLUMN (VIEW)
          • ADD INDEX
          • DROP INDEX
        • ALTER SERVICE ACCOUNT
        • ALTER TABLE
        • ALTER MATERIALIZED VIEW
        • ALTER USER
      • ASSUME SERVICE ACCOUNT
      • CANCEL QUERY
      • CHECKPOINT
      • COPY
      • CREATE
      • DROP
      • EXIT SERVICE ACCOUNT
      • EXPLAIN
      • GRANT
      • INSERT
      • REFRESH MATERIALIZED VIEW
      • REINDEX
      • REMOVE USER
      • RENAME TABLE
      • REVOKE
      • SELECT
      • SHOW
      • SNAPSHOT
      • TRUNCATE TABLE
      • UNION EXCEPT INTERSECT
      • UPDATE
      • VACUUM TABLE
    • Functions
    • Operators
  • Deployment
  • Operations
  • Guides & Tutorials
  • Concepts
  • Architecture
  • Third-party Tools
  • Troubleshooting
  • Query & SQL Reference
  • SQL Syntax
  • ALTER
  • ALTER COLUMN (VIEW)
  • DROP INDEX

ALTER MATERIALIZED VIEW ALTER COLUMN DROP INDEX

Removes an existing index from a column of type symbol.

Syntax​

Flow chart showing the syntax of the ALTER MATERIALIZED VIEW keyword Flow chart showing the syntax of the ALTER MATERIELIZED with DROP INDEX keyword

Removing an index is an atomic, non-blocking, and non-waiting operation. Once the operation is completed, the SQL engine stops using the index for SQL executions, and all its associated files are deleted.

Example​

Removing an index from a materialized view
ALTER MATERIALIZED VIEW trades
ALTER COLUMN instrument DROP INDEX;
Edit this page
Previous
ADD INDEX
Next
ALTER SERVICE ACCOUNT
  • Syntax
  • Example

Need a hand? Join our vibrant public Slack and Discourse forum communities.

Copyright © 2025 QuestDB
PrivacyTerms