Subject | RE: Re: [firebird-support] RE: Insert into Large Table is slowly! |
---|---|
Author | |
Post date | 2013-09-06T00:34:09Z |
sorry.
I mean Global Temporary Table.
--- In firebird-support@yahoogroups.com, <firebird-support@yahoogroups.com> wrote:GTT?
Em 05/09/2013 13:35, jym013@... escreveu:
ÂMaybe I've missed something about temporary tables, but it looks to me as if you'redoing two inserts and a delete per record. ÃÂ Why not just put the records into thereal table to start with?
Ann Harrison is right.I just use GTT resolve a question at last week.â§â½â¦
jimmy
--- In firebird-support@yahoogroups.com, <aharrison@...> wrote:
On Thu, Sep 5, 2013 at 3:50 AM, <jym013@...> wrote:
I insert data use follow:
1. start a transaction2. Insert a batch records into temp table TableTemp, It's structure like table13. Insert into Table1 select * from TableTempÃÂ ÃÂ Delete Data From TableTempÃÂ ÃÂ (about 30,000 record every tiime)4. commit transaction
but now, insert data become very slowly.
Maybe I've missed something about temporary tables, but it looks to me as if you'redoing two inserts and a delete per record. ÃÂ Why not just put the records into thereal table to start with?
Good luck,
AnnÃÂ
-- Atenciosamente, Hugo Eyng