Subject Re: [firebird-support] Deactivating transactions for a while
Author Lorenzo Lamas
I have a program that duplicates some part of my database and do it sentece by sentence and it is very slow it last more than five hours

Thanks

Lorenzo

Martijn Tonies <m.tonies@...> escribió:


> I am trying to insert a big amount of data in my database but the process
is too slow even thougth I have deactivated the indexes in the database. I
believe it could be due to the transaction management and I would like to
deactivate transaction management during the data load. Is it there a
sentence or something else that lets me do this. Thanks in advance
>

You cannot de-activate transactions.

But ... it's not clear if you're doing 1 transaction per record
inserted, or if you're doing "batches" of, for example, 10000
records per transaction.

What are you doing?

Either way, doing batches will be quicker.

Martijn Tonies
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://firebird.sourceforge.net and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




SPONSORED LINKS
Technical support Computer technical support Compaq computer technical support Compaq technical support Hewlett packard technical support Microsoft technical support

---------------------------------
YAHOO! GROUPS LINKS


Visit your group "firebird-support" on the web.

To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------




__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/

[Non-text portions of this message have been removed]