Index scans and index-only scans - Deepstash

Index scans and index-only scans

An example of an index scan is the earlier query. As there is an index on the user column and we asked for all the user details, after the value is found in the index, Postgre then goes to the heap and fetches the other fields.

An index-only scan means that all the needed information is found in the index and there is no need to go to memory. This is useful when querying a pair of fields multiple times - creating an index on those fields will output quicker results.

10

15 reads

CURATED FROM

IDEAS CURATED BY

Similar ideas to Index scans and index-only scans

Natural Sugar and Added Sugar

Natural Sugar and Added Sugar

Natural sugar can be found in most nutritious foods like fruits and vegetables, and if you're looking for added sugar, it goes by 61 different names and it's quite hard to memorize them all.

The two most common sources for processed food sugars are sug...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates