Cache
Meaning in databases & SQL, with examples
In databases & SQL, cache means: A fast storage layer that keeps copies of frequently used data or query results so that they can be returned without asking the database again.
In Turkish: önbellek, cache
How it is used
Can sit in the application (Redis, Memcached) or inside the database itself (the buffer pool in MySQL, shared_buffers in PostgreSQL). Key phrases: cache hit, cache miss, warm cache, cold cache and cache invalidation, which means removing stale data when the source changes.
Example sentences
We cache the product list for five minutes, so the database gets far fewer queries.
The first run is slow because the cache is cold.
Common collocations
- cache hit
- cache miss
- cache invalidation
- clear the cache
- warm cache
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: Indexes and Query Performance
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
