Hi,

Why don't you try it yourself?

> is such an index useless?

It will only double performance, except if you use a multi-column index:

drop table test;
create table test(a boolean, b int);
create index idx_a_b on test(a, b);
analyze select * from test where a and b = 1;

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