# Questions about query and index loading performance

**URL:** <https://www.ruby-forum.com/t/questions-about-query-and-index-loading-performance/172051>\
**Category:** Ferret\
**Created:** [July 13, 2009, 10:48pm UTC](https://www.ruby-forum.com/t/questions-about-query-and-index-loading-performance/172051 "2009-07-13T22:48:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bira](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c89c15/32.png) [@Bira](https://www.ruby-forum.com/u/Bira)\
**Post date:** [July 13, 2009, 10:48pm UTC](https://www.ruby-forum.com/t/questions-about-query-and-index-loading-performance/172051/1 "2009-07-13T22:48:46Z")

</div>

Hello,

I have a few questions about Ferret’s performance when loading and  
querying indexes. How do load time and query time scale with the  
number of indexes being loaded or searched at once? Does the size of  
these indexes matter?

> From what I have seen here, the time it takes to load the indexes  
> seems to scale more or less linerarly (i.e., O(n)) with the number of  
> indexes to load, but not necessarily with their size. Is that correct?  
> What about query times?

On a semi-related note, is there a way to figure out how many  
documents are there in an index without running a query on it?

–  
Bira

> **[Computaria Explícita](https://compexplicita.wordpress.com)**
>
> I know it hurts. Try not to think.

> **[Computaria Explícita](https://compexplicita.tumblr.com/)**
>
> Sem putaria explícita.
