Sun Sep 16 01:27:49 PDT 2007
- Previous message: [Slony1-general] size of requests stored in sl_log_x
- Next message: [Slony1-general] size of requests stored in sl_log_x
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Filip Rembiałkowski wrote: > Guys, this discussion went quite offtopic, but maybe you missed one > fact that Cyril may no know about. > > In postgres, setting N columns to NULL is just N bits of physical writes. > > So the overhead of > > INSERT INTO t1 ( id, data1, data2, data3, ..., data100 ) > VALUES( 12345, 'the only non-null data', NULL,NULL, ..., NULL ) > > is not so terrible. > Thanks filip, but I didn't talk about the performance when applying this request, but the fact that storing a longer request than a simple insert into t1(col1,col2) values(valcol1,valcol2) causes slony tables to grow faster, and needs more network bandwidth, that's all :-) > In regard to UPDATEs, we _have_to_ specify all columns anyway; > and DELETEs are handled by PK value. > > So there's not much to optimize / without making a revolutionary changes / > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Slony1-general mailing list > Slony1-general at lists.slony.info > http://lists.slony.info/mailman/listinfo/slony1-general >
- Previous message: [Slony1-general] size of requests stored in sl_log_x
- Next message: [Slony1-general] size of requests stored in sl_log_x
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list