qQuery (Datasource=snippet_farm, Time=3ms, Records=1) in
C:\UniServer_7_1_1\www\_Snippet_Farm\_admin\cfc\DataMgrEngine_cf8.cfc @
11:30:35.035
SHOW TABLES LIKE 'snippets'
qQuery (Datasource=snippet_farm, Time=12ms, Records=16)
in C:\UniServer_7_1_1\www\_Snippet_Farm\_admin\cfc\DataMgrEngine_cf8.cfc
@ 11:30:35.035
SHOW COLUMNS FROM snippets
qQuery (Datasource=snippet_farm, Time=2ms, Records=1) in
C:\UniServer_7_1_1\www\_Snippet_Farm\_admin\cfc\DataMgrEngine_cf8.cfc @
11:30:35.035
SELECT `snippets`.`snippets_id` , `snippets`.`users_user_ID` , `snippets`.`languages_language_ID` , `snippets`.`languages_language2_ID` , `snippets`.`txt_snip_title` , `snippets`.`txt_snip_description` , `snippets`.`txt_snip_raw_code` , `snippets`.`txt_snip_colorized_code` , `snippets`.`txt_PasteBinID` , `snippets`.`txt_PasteBin_Subdomain` , `snippets`.`txt_Author_Email` , `snippets`.`date_posted` , `snippets`.`parent_snippets_id` , `snippets`.`ip_address` , `snippets`.`bit_private` , `snippets`.`languages_language_ID1` FROM `snippets` WHERE 1 = 1 AND `snippets`.`snippets_id` = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 3
The first two queries are going to execute the first time a given
instance of DataMgr touches a specific table. That means that if you
are instantiating DataMgr fresh every time that you use it then you
are going to see this overhead.
I generally instantiate DataMgr into the broadest and longest living
scope that I can for a given problem. That usually means that I have
DataMgr instantiated into Application scope.
If you have it in Application scope then those two queries will run
the first time that it touches a table, but not again after that.
Let me know how that works out for you.
Thanks,
Steve
--
You received this message because you are subscribed to the Google Groups "DataMgr" group.
To post to this group, send email to dat...@googlegroups.com.
To unsubscribe from this group, send email to datamgr+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/datamgr?hl=en.
Glad that worked for you!
Thanks for the kind words as well, I really appreciate that.
Steve