Turn off INFORMATION_SCHEMA requests?

6 views
Skip to first unread message

Revolution Wines

unread,
Mar 24, 2009, 10:15:49 AM3/24/09
to Reactor
Hello,

Is there a way to tell reactor that I want the data objects to be
"static". In other words, when I run the CF Debugger I see that
reactor is querying the system catalogs. My db schema is pretty
static, and I guess I don't want that overhead each time I run my app.

Joe

Tom Chiverton

unread,
Mar 24, 2009, 10:47:27 AM3/24/09
to reacto...@googlegroups.com
On Tuesday 24 Mar 2009, Revolution Wines wrote:
> reactor is querying the system catalogs. My db schema is pretty
> static, and I guess I don't want that overhead each time I run my app.

It shouldn't in production mode, unless you are recreating the
reactor 'factory' on every request/session ?

--
Tom Chiverton

****************************************************


This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word “partner” to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

Revolution Wines

unread,
Mar 25, 2009, 1:12:52 AM3/25/09
to Reactor
<cfset Reactor = CreateObject("Component",
"reactor.reactorFactory").init(expandPath("reactor.xml")) />

Is there another way to instanciate reactor than the way above? Each
time that think is executed reactor queries the DB meta data. I even
put reactor into "production" mode and the behavior still continues.

Joe


On Mar 24, 7:47 am, Tom Chiverton <tom.chiver...@halliwells.com>
wrote:

Eric Knipp

unread,
Mar 25, 2009, 1:22:59 AM3/25/09
to reacto...@googlegroups.com, Reactor
If this is happening frequently you might consider placing the factory
into application scope and only running unit onApplicationStart().

Sent from my iPhone

On Mar 25, 2009, at 12:12 AM, Revolution Wines <revolut...@gmail.com

Doug Hughes

unread,
Mar 25, 2009, 7:37:25 AM3/25/09
to reacto...@googlegroups.com
Joe -

I'd recommend making sure you're running the latest code in SVN.  There was a bug some time ago where even though reactor was being loaded into a persistent scope and was configured in production mode the queries for the table structure always ran.  So, in other words, do this:

1) Make sure the reactor factory is in a persistent scope and not being reloaded on each request (or each usage!)

2) Make sure that in the reactor configuration you're setting the mode to production.  (If you're using CS, it'd be in your coldspring.xml file, otherwise it'd be in your reactor.xml file).

3) Get latest from SVN

Thanks,

Doug Hughes, President
Alagad Inc.
dhu...@alagad.com
888 Alagad4 (x300)
Office: 919-550-0755
Fax: 888-248-7836
Reply all
Reply to author
Forward
0 new messages