-->
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: Hibernate+PostgreSQL Performance Issues
PostPosted: Wed Aug 20, 2008 8:55 am 
Newbie

Joined: Wed Aug 20, 2008 8:27 am
Posts: 3
Hi,

Can anyone suggest the performance tips for PostgreSQL using Hibernate.

One of the queries:

- PostgreSQL has INDEX concept and Hibernate also has Column INDEXes. Which is better among them? or creating either of them is enough? or need to create both of them?

and any more performace aspects ?

Thanks in advance.

==
KP


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 20, 2008 1:15 pm 
Expert
Expert

Joined: Wed Mar 03, 2004 6:35 am
Posts: 1240
Location: Lund, Sweden
I think you have misunderstood this feature. The index attribute for properties and other things are not really used by the Hibernate core. As far as I know, it is only used by the schema generation tool to create indexed column(s) in the database. So, if you are planning to use the schema generation tool, you may want to put index attributes on some properties. If you already have an existing database with the proper indexes created, I don't think it matters if you have the index attribute or not. Except maybe for documentation purposes. You can find more information about the schema generation tool here: http://www.hibernate.org/hib_docs/v3/re ... guide.html


Top
 Profile  
 
 Post subject: indexes
PostPosted: Thu Aug 21, 2008 3:07 am 
Newbie

Joined: Wed Aug 20, 2008 8:27 am
Posts: 3
thanks for the reply. that gives me the info i was looking for.


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.