Are database indexes only stored in memory, or are they also stored on disk (presumably using Badger if they are)?
Thanks.
Are database indexes only stored in memory, or are they also stored on disk (presumably using Badger if they are)?
Thanks.
The second. Also, basically 99% of the DBs out there, except Redis, stores indexes on disk. It was always expensive to use RAM as storage of something. And expand a 20GB dataset with its indexes by default would require a lot of RAM.
Thanks. I figured as much.