On 5/14/07, Hongli Lai <[EMAIL PROTECTED]> wrote:
> And I'm not sure that using prepared statements (and immediately
> deleting them) really makes things slower. Why would it be?

It'll be somewhat slower than just throwing a SQL statement at the
database because it adds extra synchronous communication associated
with preparing the statement. In most cases it'll be negligible.

>From past experiences, I would expect to see a noticeable, if not
huge, gain from caching prepared statements. At least, with Oracle.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to