News for hackers. Stuff that matters.
Re:Hstore development for 9.4 release by eCa on Thursday November 07, 2013 @10:44AM (#6689960)
Space is cheap. Time is expensive.
Re:Hstore development for 9.4 release by falcolas on Thursday November 07, 2013 @10:51AM (#6689998)
It takes a non-0 amount of time to load large indices into memory (upwards of 5 seconds, depending on your choice of disks and arrays), and to iterate through large indices once they are in memory.

Such large indices also limit how many of them can be stored in memory at the same time - making transactions against those indexes slower over time if the indices have to be loaded and unloaded from memory frequently.

You should always choose indexes with care, because indexes not only cost space, they cost time. And as you said, Time is expensive.

Re:Hstore development for 9.4 release by mason55 on Thursday November 07, 2013 @11:16AM (#6690187)
> It takes a non-0 amount of time to load large indices into memory (upwards of 5 seconds, depending on your choice of disks and arrays), and to iterate through large indices once they are in memory.

This is why MongoDB recommends all indices fit in memory

Re:Hstore development for 9.4 release by saosebastiao on Thursday November 07, 2013 @12:19PM (#6690669)
Space is cheap, but IOPS are not, and RAM always has an opportunity cost.
Re:Hstore development for 9.4 release by wobbleblob on Thursday November 07, 2013 @10:49AM (#6689979)
That's why your index should fit in RAM
Re:Hstore development for 9.4 release by penguat on Thursday November 07, 2013 @11:08AM (#6690121)
Is that 800Mb in RAM? That could get expensive.
Re:Hstore development for 9.4 release by bsg75 on Thursday November 07, 2013 @10:56AM (#6690044)
In space, no one can hear you scream.