Re: str_replace does not like empty quotes [message #186313 is a reply to message #186309] |
Tue, 24 June 2014 11:12 |
Doug Miller
Messages: 171 Registered: August 2011
Karma:
|
Senior Member |
|
|
Geoff Muldoon <geoff(dot)muldoon(at)trap(dot)gmail(dot)com> wrote in news:MPG.2e138ecff04eddb9d1
@news.albasani.net:
[...]
> Additionally, just because a site has high volumes that doesn't
> necessarily mean lots of different SQL statements.
I would argue just the opposite, in fact -- the higher the volume, the more likely that a large
number of SQL statements are substantially the same.
> I've worked on very
> high volume sites where 80+% of the database calls are made using less
> than 10 different queries - find a product, add product to order
> (looping), show an order, write an invoice, etc. In these cases, with
> correct cache size tweaking, performace was substantially improved by
> using bind variables.
Exactly so.
|
|
|