# Store Compressed Option

**URL:** <https://www.ruby-forum.com/t/store-compressed-option/78463>\
**Category:** Ferret\
**Created:** [December 5, 2006, 11:53pm UTC](https://www.ruby-forum.com/t/store-compressed-option/78463 "2006-12-05T23:53:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [December 5, 2006, 11:53pm UTC](https://www.ruby-forum.com/t/store-compressed-option/78463/1 "2006-12-05T23:53:13Z")

</div>

I noticed that store has a ‘compressed’ option, but was unsure what  
advantages/disadvantages are associated with it versus using the normal  
or ‘yes’ option. Does anyone know?

Cheers!

---

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [December 5, 2006, 11:59pm UTC](https://www.ruby-forum.com/t/store-compressed-option/78463/2 "2006-12-05T23:59:06Z")

</div>

On Dec 5, 2006, at 23:53, Raymond O’connor wrote:

> I noticed that store has a ‘compressed’ option, but was unsure what  
> advantages/disadvantages are associated with it versus using the  
> normal  
> or ‘yes’ option. Does anyone know?

Hey …

the compressed value is stored in the index, not the uncompressed  
(plain) …

keeps the index small, but you need cpu cycles to uncompress the  
data, if you  
access them or want to sort by them… i guess it depends on the size  
of the  
data you want to store, typical queries, the size of your index and  
maybe the  
speed of your hard disk 🙂

Ben
