![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I use mysql as my database server. I do a lot of batch adds to a database table. Must I do a database commit occasionally or after every transaction to flush transaction queues |
#3
| |||
| |||
|
|
On 22 June, 03:51, SpreadTooThin <bjobrie... (AT) gmail (DOT) com> wrote: I use mysql as my database server. I do a lot of batch adds to a database table. Must I do a database commit occasionally or after every transaction to flush transaction queues Only if you are running with the InnoDB transactional engine. |
#4
| |||
| |||
|
|
On 22 June, 03:51, SpreadTooThin <bjobrie... (AT) gmail (DOT) com> wrote: I use mysql as my database server. I do a lot of batch adds to a database table. Must I do a database commit occasionally or after every transaction to flush transaction queues Only if you are running with the InnoDB transactional engine. |
#5
| |||
| |||
|
|
On Jun 22, 3:35 am, Captain Paralytic<paul_laut... (AT) yahoo (DOT) com> wrote: On 22 June, 03:51, SpreadTooThin<bjobrie... (AT) gmail (DOT) com> wrote: I use mysql as my database server. I do a lot of batch adds to a database table. Must I do a database commit occasionally or after every transaction to flush transaction queues Only if you are running with the InnoDB transactional engine. Indeed I am using InnoDB. But must this commit be within the scope of a transaction... |
|
or is a simple commit statement after every INSERT command sufficient? |
#6
| |||
| |||
|
|
On Jun 22, 3:35*am, Captain Paralytic <paul_laut... (AT) yahoo (DOT) com> wrote: On 22 June, 03:51, SpreadTooThin <bjobrie... (AT) gmail (DOT) com> wrote: I use mysql as my database server. I do a lot of batch adds to a database table. Must I do a database commit occasionally or after every transaction to flush transaction queues Only if you are running with the InnoDB transactional engine. Indeed I am using InnoDB. But must this commit be within the scope of a transaction... or is a simple commit statement after every INSERT command sufficient? |
#7
| |||
| |||
|
|
On Jun 22, 3:35 am, Captain Paralytic <paul_laut... (AT) yahoo (DOT) com> wrote: On 22 June, 03:51, SpreadTooThin <bjobrie... (AT) gmail (DOT) com> wrote: I use mysql as my database server. I do a lot of batch adds to a database table. Must I do a database commit occasionally or after every transaction to flush transaction queues Only if you are running with the InnoDB transactional engine. Indeed I am using InnoDB. But must this commit be within the scope of a transaction... or is a simple commit statement after every INSERT command sufficient? |
#8
| |||
| |||
|
|
On Jun 22, 3:35=A0am, Captain Paralytic <paul_laut... (AT) yahoo (DOT) com> wrote: On 22 June, 03:51, SpreadTooThin <bjobrie... (AT) gmail (DOT) com> wrote: I use mysql as my database server. I do a lot of batch adds to a database table. Must I do a database commit occasionally or after every transaction to flush transaction queues Only if you are running with the InnoDB transactional engine. Indeed I am using InnoDB. But must this commit be within the scope of a transaction... or is a simple commit statement after every INSERT command sufficient? |
#9
| |||
| |||
|
|
In article 2827dca6-3081-4ce7-90e0-945085d9e08b...oglegroups.com>, SpreadTooThin<bjobrien62 (AT) gmail (DOT) com> wrote: I use mysql as my database server. I do a lot of batch adds to a database table. |
![]() |
| Thread Tools | |
| Display Modes | |
| |