Tuesday, 2009-08-11

*** Gerhard has joined #ingres02:48
*** dyki has joined #ingres03:12
DeyanGerhard: is there any way to make faster insertion?04:30
Deyaninserting 1M rows into a table works at least 10x faster on MySQL 504:31
pboroyou could try disabling logging04:31
Deyanok, thanks04:32
pboroand using a heap table would also give more speed... and removing all indices... etc. :)04:32
*** rossand has joined #ingres05:09
*** ChanServ sets mode: +o rossand05:09
atrofastpboro: Heap tables are not necessarily faster if you're using multiple connections/sessions in concurrency05:15
atrofastSince a heap only has one insertion point (end at the table) in concurrency there will be a lot of wait05:15
pboroatrofast, is there a better option in heavily concurrent case?05:16
atrofasthash and btree with page or row level locking, althouigh there will be quite a bit of locking overhead with row level locking05:16
atrofastBut then you also got make sure you pre-allocate a good amount of pages so that they don't have to be created during insert, that will also speed it up05:17
pborook05:18
Deyanit is little bit faster, not nowhere near MySQL05:27
Deyani switched to read_commited isolation level just to check if it will work faster05:27
Deyanno change05:28
Deyanso now i am back to serialized05:28
pborobtw serialized is not a good option if you need concurrency05:28
Deyani know that05:28
Deyanwe need integrity05:29
Deyanconcurrency is not a big issue here05:29
atrofastI'm sorry to say Deyan that on a row by row insert, it is going to be kinda slow05:29
Deyanatrofast: yep05:29
atrofastIf the data is in a copy acceptable format, that would be faster05:30
Deyani am waiting for Grant05:30
Deyanbecause apparently php extension cannot in fact be used to do a bulk insert05:30
Deyanbecause ingres_query() will commit05:30
Deyaneven though i am not using autocommit05:30
Deyanthere is a bug there, i am 100% sure05:31
atrofastWhich version are you using?05:31
Deyanlatest05:31
Deyansvn05:31
atrofastOkay, I thought that bug was fixed05:31
Deyanbecause it fixes a bug i have discovered 2 weeks ago05:31
*** Gerhard has quit IRC06:05
*** DarylM has joined #ingres06:38
*** Deyan has quit IRC06:52
*** dyki has quit IRC06:54
*** mull has joined #ingres07:05
*** toumi01 has quit IRC08:16
*** toumi01 has joined #ingres08:16
*** toumi01 has left #ingres08:17
*** toumi01 has joined #ingres08:17
*** rossand has quit IRC08:48
*** Alex| has joined #ingres10:18
*** Nornagest has joined #ingres10:19
*** Alex| is now known as Alex|off10:20
*** Alex|off is now known as Alex|10:20
*** ChanServ sets mode: +o Alex|10:20
*** rossand has joined #ingres10:40
*** ChanServ sets mode: +o rossand10:40
*** zxiiro_ has joined #ingres11:57
*** zxiiro has quit IRC11:57
*** zxiiro_ is now known as zxiiro11:57
*** ChanServ sets mode: +v zxiiro11:57
*** mull has quit IRC12:32
*** Alex| is now known as Alex|off13:25
*** mull has joined #ingres14:12
*** zxiiro has quit IRC14:14
*** zxiiro has joined #ingres14:17
*** ChanServ sets mode: +v zxiiro14:17
*** DarylM has quit IRC15:29
*** omega187 has joined #ingres16:48
*** omega187 has joined #ingres16:49
*** omega187 has quit IRC16:52
*** omega187 has joined #ingres17:07
*** omega187 has quit IRC17:08
*** rossand has quit IRC17:10
*** zxiiro has quit IRC18:53
*** zxiiro has joined #ingres18:54
*** ChanServ sets mode: +v zxiiro18:54
*** zxiiro has quit IRC19:14
*** zxiiro has joined #ingres19:17
*** ChanServ sets mode: +v zxiiro19:17
*** rossand has joined #ingres19:35
*** ChanServ sets mode: +o rossand19:35
*** zxiiro has quit IRC19:54
*** zxiiro has joined #ingres19:55
*** ChanServ sets mode: +v zxiiro19:55
*** zxiiro has quit IRC20:34
*** zxiiro has joined #ingres20:35
*** ChanServ sets mode: +v zxiiro20:35
*** mull has quit IRC20:58
*** _Nornagest has joined #ingres21:05
*** Nornagest has quit IRC21:05
*** _Nornagest is now known as Nornagest21:06
*** rossand has quit IRC21:10
*** Alex|off is now known as Alex|22:36
*** Alex| is now known as Alex|off23:07
*** Alex|off is now known as Alex|23:24

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!