Monday, 2010-06-07

*** PaulM05 has joined #ingres01:09
*** rossand has joined #ingres01:26
*** ChanServ sets mode: +o rossand01:26
* grantc is away: Away02:31
*** atrofast has joined #ingres03:54
*** KermitTheFragger has joined #ingres03:57
*** dyki has joined #ingres04:11
*** PaulM05 is now known as PaulM05_lunch04:29
*** PaulM05_lunch has quit IRC04:50
*** cthibert has joined #ingres05:26
*** awatkins_ has joined #ingres05:38
awatkins_hello, i understand that for copy, the best performance is using the byte copy, but for some of our tables it creates an unnecessarily large file becaus eof hte amount of nulls we have.  however, loading up a csv file is significantly slower, does anyone know of a happy medium?05:41
*** KermitTheFragger has quit IRC05:49
*** zxiiro has quit IRC05:51
*** dyki has quit IRC05:58
*** gerhard has joined #ingres06:09
*** mull has joined #ingres06:26
*** zxiiro has joined #ingres06:28
*** ChanServ sets mode: +v zxiiro06:28
*** PaulM05 has joined #ingres06:35
DarylMmember:awatkins_: Nulls in a binary copy should not create an unusually large output file.  Unless you are talking about a "copy table" in ascii mode.06:40
*** rossand has quit IRC06:43
awatkins_DarylM: the command we're using is copy <table> () into 'file';  the output is binary, however, for a varchar(255) field, the output padded for hte full 255 characters with \000, which makes the file quite large, since we have a lot of columns06:54
pboroawatkins_, you can overcome that problem by using ascii copy06:54
awatkins_pboro: right, but then isn't the reimport a fair amount slower?06:55
pboroawatkins_, I suggest you try it out at least, for us it wasnt06:56
DarylMIt isn't the nulls, it is a strict image copy of the data.  There is a trick.  You can use Unix named pipes as the "copy table" output file and route the binary data straight to gzip06:56
pboroawatkins_, also remember, than those varchar(255)s take the full 255 for every row in your db if you are not using compression06:56
awatkins_we're actually using vectorwise, and i'm pretty sure it does heavy compression06:57
DarylMProcess 1:  "copy table ..... into '/tmp/namedpipe'       Process 2:  gzip -c </tmp/namedpipe >yourfile06:57
pboroawatkins_, ah, not familiar with vectorwise06:58
awatkins_DarylM: huh, actually thats pretty cool, and then to reimport just pipe the output of gzip back to 'sql'?06:58
DarylMright.  Just reverse the process06:58
DarylMIt is a bit tricky and you incur the CPU overhead, but it works quite well06:59
DarylMThe only other common option is "-1" on the gzip.06:59
DarylMIt reduces CPU load substantially at minimum increases to disk space use.06:59
DarylMCaveat:  I have not tested that on a Vectorwise install but It should work fine.07:00
*** Alex| has quit IRC07:01
*** Alex| has joined #ingres07:01
*** ChanServ sets mode: +o Alex|07:01
*** DarylM has left #ingres07:01
*** DarylM has joined #ingres07:02
* DarylM hates it when he closes the wrong window07:02
awatkins_DarylM: after talking with one of hte engineers, the copy in/out was ripped directory from 10.0, so it should work07:08
*** Alex| has quit IRC07:09
*** KermitTheFragger has joined #ingres07:20
*** gerhard has quit IRC08:02
awatkins_has anyone every exported using hte binary copy, and then on reimport getting Unexpected End of File on row 1?08:41
*** Mud has joined #ingres08:53
*** grantc has quit IRC09:33
*** KermitTheFragger has quit IRC10:04
*** PaulM05 has quit IRC10:11
*** Alex| has joined #ingres10:23
*** ChanServ sets mode: +o Alex|10:23
*** Mud has quit IRC11:22
*** Mud has joined #ingres11:28
*** cthibert has left #ingres13:15
*** Alex| has quit IRC13:16
*** Mud has quit IRC13:28
*** rossand has joined #ingres13:29
*** ChanServ sets mode: +o rossand13:29
*** zxiiro has quit IRC13:32
*** zxiiro has joined #ingres14:21
*** ChanServ sets mode: +v zxiiro14:21
*** atrofast has quit IRC15:26
*** mull has quit IRC15:39
*** mull has joined #ingres16:27
*** rossand has quit IRC17:17
*** awatkins_ has quit IRC17:45
*** mull has quit IRC19:10
*** cytrinox has quit IRC19:24
*** cytrinox has joined #ingres19:25
*** Alex| has joined #ingres21:35
*** ChanServ sets mode: +o Alex|21:35
*** Mud has joined #ingres21:36
*** rossand has joined #ingres22:07
*** ChanServ sets mode: +o rossand22:07
*** Alex| has quit IRC22:08
*** Alex| has joined #ingres22:10
*** ChanServ sets mode: +o Alex|22:10
*** Alex| has quit IRC22:14
*** bonro011 has joined #ingres22:59
*** bonro01 has quit IRC23:01
*** bonro01 has joined #ingres23:03
*** bonro011 has quit IRC23:05
*** Mud has quit IRC23:22
*** Mud has joined #ingres23:28
*** rossand has quit IRC23:41
*** grantc has joined #ingres23:53

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