Hi,

I think your solution is very good. I would do the same.

Maybe it's better to use the auto-generated id instead of the indexed
timestamp. Reason: the id is the "clustered index", meaning no index
lookup is required. In theory it should speed up querying a bit (maybe
10% or so). Also you may not need an index for the timestamp, which
would increase insert performance. Do you have a lot of rows with the
same timestamp?

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to