-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: indexing on ram vs FS
PostPosted: Mon Jun 30, 2008 11:18 pm 
Regular
Regular

Joined: Tue Apr 01, 2008 5:39 pm
Posts: 61
Hi i have general question:

What is the benefit of indexing on ram vs. indexing on FS.

Search Performance which is better?
Indexing Performance which is better?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 01, 2008 4:39 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
when using the index in ram you'll loose it at any application reboot, you probably don't want that.
It could be faster, but good modern OSes just can buffer efficiently and transparently give you about the same performance if you flush correctly.
Also consider that FS buffers are managed by your clever os, and he can swap or flush them when needed, when using JVM ram you have to ensure you're not going to kill your app for low mem problems.

On windows RAM is a bit faster, so good for development (if you don't mind loosing it each time); on linux I never saw a difference.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 02, 2008 1:40 am 
Regular
Regular

Joined: Tue Apr 01, 2008 5:39 pm
Posts: 61
cool thanks a lot.

Wonder if their is anyone with different opinions.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.