In-memory indexes in in-memory databases

43 views
Skip to first unread message

maz...@gmail.com

unread,
Dec 18, 2012, 1:23:19 AM12/18/12
to h2-da...@googlegroups.com
Hi

The H2 document explains that the in-memory indexes are automatically used for in-memory databases.

Does this means the H2 will translates CREATE INDEX ... to CREATE HASH INDEX ... automatically when run in the in-memory database?
Both CREATE INDEX and CREATE HASH INDEX are the same when run in the in-memory database?

Thomas Mueller

unread,
Jan 3, 2013, 1:55:27 PM1/3/13
to H2 Google Group
Hi,

No, hash indexes and in-memory indexes are not the same. There are also non-hash in-memory indexes, similar to java.util.HashMap and java.util.TreeMap.

Regards,
Thomas




--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/DG592-3x3OEJ.
To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.

Reply all
Reply to author
Forward
0 new messages