ColdFusion Tutorial

Increasing the performance of CFQuery

Adding BLOCKFACTOR = "100" to your CFQuery tags can greatly improve the performance of your ODBC queries. Default ODBC hands recoreds back to ColdFusion 1 at a time. This setting allows ODBC to sent them in blocks of 100. The attribute works great even on smal queries with less than 100 records.

 

Example:

<cfquery blockfactor="100" datasource="your_db" name="users_info" >
SELECT * FROM USERS
</cfquery>

ColdFusion Tutorial test

Increasing the performance of CFQuery

No test is available or implemented for this ColdFusion Tutorial.

No User Comments.

No User Comments, be the first one to write your comments?

Add your comments

Your Name*:
Your Email:
Site URL:
Site Name:
Comemt Title*:
Your Comment*:
Key Phrase*:
i3T
Your IP Address: 38.103.63.62
 

ScandicWeb is own by Scandic Systems LTD [UK] Company No. 5984000. All other trademarks and copyrights are the property of their respective holders.

[Home [Site Map [Privacy Statement [Site Feedback] [About ScandicWeb]


[ColdFusion [Flash [Search Engine Optimization [Graphics [Cascading Style Sheets (CSS) [JavaScript (JS) [Software]

Partner sites: ScandicSoft


Server time: 19. November 2008 Wednesday