Hi,

Did you run ANALYZE?

Regards,
Thomas

On Tue, Nov 4, 2008 at 12:56 PM, Dhruv Patel <[EMAIL PROTECTED]> wrote:
>
> Hi thomas,
>
> i am using H2 1.0.70.
>
> i have only one table "DATATBL"
>
> having 8 columns
>
> total "3862753" rows
>
> wheni fire this query
>
> SELECT DISTINCT(CATEGORY) FROM DATATBL
>
> the result was "(146 rows, 327446 ms--  327 seconds)" on web console
>
> my column is having index and type is varchar(20)
>
> why does it is so slow??
>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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