Subject | Re: Table with more than 100 index. |
---|---|
Author | svanderclock |
Post date | 2009-12-07T19:03Z |
> If a user supply a filter condition that returns 2 million rows and wantyou understand my problem :)
> this result ordered, I don't know how you can prevent :)
> But, how much time would take to do a "select count(*) from Bla wheremore than the 100 ms that is a requierement for us :( unfortunatly in firebird the count(*) is what is the most slower :(
> SearchCondition" if the SearchCondition is not restrictive enough ?
> Another option, Can you try to not order on the server side, and fetchin fact it's an web application, we can not do like this :( and anyway i don't want that a single user use too much of server resource because he want to sort 2 000 000 rows !
> the results to the client, and if you reach a given limit (for example >
> 10000), sugest the user to try a more restrictive filter condition, or
> have patience to wait for the sorting, if the user insist in return a
> LOT of records, he must accept to wait for the sorting on the client side.
thanks for all
stephane