[Xapian-discuss] Large database problem

Kevin Duraj kevin.softdev at gmail.com
Tue Nov 9 02:40:04 GMT 2010


Henry,

I've got 300 million documents indexed, searching for "Henry Henka",
and search result comes out in 23 milliseconds.

http://find1friend.com/search?q=Henry+Henka

real	0m0.238s
user	0m0.020s
sys	0m0.010s

Kevin Duraj
http://find1friend.com





On Wed, Oct 20, 2010 at 11:58 PM, Henry C. <henka at cityweb.co.za> wrote:
> On Thu, October 21, 2010 06:47, ³Ì³Ï wrote:
>> Hi!
>> 2,000,000 document in database and 200,000 document be queried£¬It takes
>> about 4 seconds first time,and  next time takes less than 0.5 second for the
>> same query.Please explain it for me ? What method can shorten the time of the
>> first queries? Thanks£¡
>
> The first time xapian has to read from disk, which is slow.
> The second time data is cached in RAM, which is faster.
>
> This is common across all applications.
>
> Regards
> Henry
>
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>



More information about the Xapian-discuss mailing list