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)
        • ADD INDEX
        • CACHE | NOCACHE
        • COLUMN TYPE
        • DROP INDEX
        • SYMBOL CAPACITY
      • ALTER COLUMN (VIEW)
      • 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 (TABLE)
  • CACHE | NOCACHE

ALTER TABLE COLUMN CACHE | NOCACHE

ALTER TABLE ALTER COLUMN CACHE | NOCACHE changes the cache setting for a symbol column.

Syntax​

Flow chart showing the syntax of ALTER TABLE ALTER COLUMN NOCACHE | CACHE

  • columnName is the symbol data type.
  • By default, a symbol column is cached.
  • Refer to the Guide on symbol for the advantages of caching symbols.

Examples​

ALTER TABLE 'taxi_ride' ALTER COLUMN passenger_count NOCACHE;
Edit this page
Previous
ADD INDEX
Next
COLUMN TYPE
  • Syntax
  • Examples

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

Copyright © 2025 QuestDB
PrivacyTerms