Re: Utilizing the Database Server's Cache

2001-10-28 Thread Michael Widenius
Hi! > "Sinisa" == Sinisa Milivojevic <[EMAIL PROTECTED]> writes: Sinisa> Jeremy Zawodny writes: >> >> Monty recently proposed some changes to MySQL's client/server protocol >> which will enable "real" prepared statements. So I'd guess it'll >> happen somewhere in the 4.x tree. >> >> > Al

Re: Utilizing the Database Server's Cache

2001-10-22 Thread Sinisa Milivojevic
Jeremy Zawodny writes: > > Monty recently proposed some changes to MySQL's client/server protocol > which will enable "real" prepared statements. So I'd guess it'll > happen somewhere in the 4.x tree. > > > Also just out of curiousity, how much of a performance hit does > > mysql take in compil

Re: Utilizing the Database Server's Cache

2001-10-20 Thread Jeremy Zawodny
On Sat, Oct 20, 2001 at 07:40:18PM +0100, Mark Maunder wrote: > Jeremy Zawodny wrote: > > > > so the database server can reuse the old execution plan. Let me > > > know if you want a example. > > > > That's true for some database servers but not MySQL (yet). > > I wasn't aware of that - thanks J

Re: Utilizing the Database Server's Cache

2001-10-20 Thread Mark Maunder
Jeremy Zawodny wrote: > On Sat, Oct 20, 2001 at 05:02:22PM +0100, Mark Maunder wrote: > > > > The only time you'll see a real performance increase is where you're > > repeadedly calling execute() on the same statement handle with > > different values for the placeholders - usually this occurs in

Re: Utilizing the Database Server's Cache

2001-10-20 Thread Jeremy Zawodny
On Sat, Oct 20, 2001 at 05:02:22PM +0100, Mark Maunder wrote: > > The only time you'll see a real performance increase is where you're > repeadedly calling execute() on the same statement handle with > different values for the placeholders - usually this occurs in a > loop. This will save you havi

Re: Utilizing the Database Server's Cache

2001-10-20 Thread Mark Maunder
Scott Alexander wrote: > I've been reading a document at > http://www.saturn5.com/~jwb/dbi-performance.html > by Jeffrey William Baker. > > And I have changed my perl code in one script to use placeholders and > bound parameters. > > On my test server 500 mhz rh 7.1 128 MB I haven't noticed any s