Subject | Re: Either update conflict or count slow - Cant implement mail functionality |
---|---|
Author | Ali Gökçen |
Post date | 2004-05-28T11:33:16Z |
--- In firebird-support@yahoogroups.com, "GOVINDKRISHNA"
<gkrishna@j...> wrote:
You can create table for each counter type for speed/store
optimisation. ( with only 3 integer fields)
main point is, insert counter record and be sure it is commited.
Then, rebuild tables to sync. with last state with lock tolerated
operation. (don't forget to rollback if there is lock exception)
it will be as fast as possible with minimum table size.
Take it easy.
Ali
<gkrishna@j...> wrote:
> Ali,You are welcome.
>
> This looks good.
>
> Thank you very much.
>
>
>
> Regards
>
> S. Govindkrishna
> JL Infomatrix Limited
>
You can create table for each counter type for speed/store
optimisation. ( with only 3 integer fields)
main point is, insert counter record and be sure it is commited.
Then, rebuild tables to sync. with last state with lock tolerated
operation. (don't forget to rollback if there is lock exception)
it will be as fast as possible with minimum table size.
Take it easy.
Ali