Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 779 Bytes

cql-extensions.md

File metadata and controls

22 lines (17 loc) · 779 Bytes

Scylla CQL extensions

Scylla extends the CQL language to provide a few extra features. This document lists those extensions.

BYPASS CACHE clause

The BYPASS CACHE clause on SELECT statements informs the database that the data being read is unlikely to be read again in the near future, and also was unlikely to have been read in the near past; therefore no attempt should be made to read it from the cache or to populate the cache with the data. This is mostly useful for range scans; these typically process large amounts of data with no temporal locality and do not benefit from the cache.

The clause is placed immediately after the optional ALLOW FILTERING clause:

SELECT ... FROM ...
WHERE ...
ALLOW FILTERING          -- optional
BYPASS CACHE