develooper Front page | perl.dbi.users | Postings from August 2006

RE: $dbh->{RowCacheSize} = 1000

Thread Previous | Thread Next
From:
Garrett, Philip
Date:
August 31, 2006 14:44
Subject:
RE: $dbh->{RowCacheSize} = 1000
Message ID:
D9C13100F14E4C4795A1E83B125B40350232B554@MSCEXCHS02.man.co
Loo, Peter # PHX wrote:
>
> "RowCacheSize"  (integer)
> 
> What would you recommend I set this option to if I am sending all the
> SELECTed rows to a named pipe?

I'd recommend you leave it alone, unless your database roundtrips are
really expensive.  And if they are, the only thing that can tell you
what the best value would be is to benchmark different settings.

It will only help if the program on the other end of the named pipe can
accept data faster than you can send it.

Philip

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About