QuestDB LogoQuestDB Logo
Return to QuestDB.comDocumentationTutorialsBlogEnterprisePublic SlackDiscourse CommunityView QuestDB Repo
⚡️ QuestDB Enterprise
9.2.3|16.5k
  • Release Notes
  • Roadmap
  • Getting Started
    • Introduction
    • Quick startPopular
    • Why QuestDB?Popular
    • Schema Design EssentialsPopular
    • Capacity planning
    • Create a sample database
    • Upgrade to EnterpriseEnterprise
    • Enterprise Quick StartEnterprise
    • Web Console
  • Connect & Ingest
  • Query Data
  • Concepts
  • Architecture
  • Configuration
  • SecurityEnterprise
  • High AvailabilityEnterprise
  • Operations
  • Deployment
  • Integrations
  • Tutorials
  • Troubleshooting
  • SQL Reference
    • ADD USEREnterprise
    • ALTER
      • ALTER COLUMN (TABLE)
      • ALTER COLUMN (VIEW)
        • ADD INDEX
        • DROP INDEX
      • ALTER SERVICE ACCOUNTEnterprise
      • ALTER TABLE
      • ALTER MATERIALIZED VIEW
      • ALTER USEREnterprise
      • ALTER VIEW
    • ASSUME SERVICE ACCOUNTEnterprise
    • CANCEL QUERY
    • CHECKPOINT
    • COMPILE VIEW
    • COPY
    • CREATE
    • DROP
    • EXIT SERVICE ACCOUNTEnterprise
    • EXPLAIN
    • GRANTEnterprise
    • INSERT
    • REFRESH MATERIALIZED VIEW
    • REINDEX
    • REMOVE USEREnterprise
    • RENAME TABLE
    • REVOKEEnterprise
    • SELECT
    • SHOW
    • SNAPSHOT
    • TRUNCATE TABLE
    • UNION EXCEPT INTERSECT
    • UPDATE
    • VACUUM TABLE
  • Release Notes
  • SQL Reference
  • 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