Subject | RE: [firebird-support] Re: How to improve Firebird performance on a large table? |
---|---|
Author | Bogdan |
Post date | 2013-03-04T10:32:18Z |
>Dear Alan,firebird server works heavily.
>Thanks for your reply.
>This is my table ddl :
>>CREATE TABLE LOG
>(
>ID Integer NOT NULL,
>ID_TBL Integer NOT NULL,
>TBL_NM Varchar(40) NOT NULL,
>OPR Char(1) NOT NULL,
>>LOG_AT Timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL,
>SNC Smallint DEFAULT 0,
>PRIMARY KEY (ID)
>);
>I think, I found the problem.
>I made a small app that seek for snc's value every second. It seems makes
>Changing seeking time from 1 second to 10 seconds seems solved the problem.Hi
>Thanks anyway for your suggestions.
>Best regards,
>Anto.
I would also add a compounded index snc + ID, or just snc
Regards Bogdan
[Non-text portions of this message have been removed]