Hacker News new | past | comments | ask | show | jobs | submit login

UPDATE:

In Oracle, when you use literals any change to the text results in another hard parse on the database side. However, you can use bind variables instead of literals and it can re-use the query plan even when you are searching for different values.

http://www.akadia.com/services/ora_bind_variables.html

The OP is talking about LINQ. I assume that its Oracle implementation is smart enough to use bind variables, but I am not going to look that up right now...




the article gives an example of how to do compiled queries. which strongly implies that "ordinary" linq queries are not compiled as you seem to expect.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: