AW: Query Caching Limit?

2009-02-19 Thread Gert Franz
nkedin.com/e/gis/71368/0CF7D323BBC1 Bug tracker:http://jira.jboss.org/jira/browse/RAILO Railo Blog: http://www.railo-technologies.com/blog -Ursprüngliche Nachricht- Von: Robert Harrison [mailto:rob...@austin-williams.com] Gesendet: Donnerstag, 19. Februar 2009 15:20 An: cf-talk Betreff: R

RE: Query Caching Limit?

2009-02-19 Thread Robert Harrison
/or... It must be &. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Thursday, February 19, 2009 9:15 AM To: 'cf-talk@houseoffusion.com' Subject: Query Caching Limit? The default limit in CF Admin for cached queries is 100. We do cache queri

Query Caching Limit?

2009-02-19 Thread Robert Harrison
The default limit in CF Admin for cached queries is 100. We do cache queries, but have had some issues with query timeout. Is there a larger limit I can set that would be reasonable? Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge N

Re: Query Caching Function: Clearing Cached Query

2009-02-11 Thread Azadi Saryev
even whitespace inside sql statement must be the same! so mind those tabs/spaces in your code formatting... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Dave Watts wrote: >> What if at the end of the process I ran the query using the same query name >> and no caching. Would that actual

Re: Query Caching Function: Clearing Cached Query

2009-02-11 Thread Dave Watts
> What if at the end of the process I ran the query using the same query name > and no caching. Would that actually get rid of the cached query? That won't work, but you can flush a single query from the cache by rerunning the query with only one change - set CACHEDWITHIN to CreateTimeSpan(0, 0,

Re: Query Caching Function: Clearing Cached Query

2009-02-11 Thread Dave Watts
> I wonder if it also needs the same params, doesn't CF8 allow cached queries > with cfqueryparam? Maybe change the param to something that'll return an > empty result. CF 8 does allow cached queries with CFQUERYPARAM. However, it requires the bound parameter values to match before it uses the ca

RE: Query Caching Function: Clearing Cached Query

2009-02-11 Thread Adrian Lynch
uation? Adrian > -Original Message- > From: Robert Harrison [mailto:rob...@austin-williams.com] > Sent: 11 February 2009 16:23 > To: cf-talk > Subject: RE: Query Caching Function: Clearing Cached Query > > > I looked in the docs first. > > What if at the end of the

RE: Query Caching Function: Clearing Cached Query

2009-02-11 Thread Robert Harrison
I looked in the docs first. What if at the end of the process I ran the query using the same query name and no caching. Would that actually get rid of the cached query? Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631

RE: Query Caching Function: Clearing Cached Query

2009-02-11 Thread Adrian Lynch
16:07 > To: cf-talk > Subject: Query Caching Function: Clearing Cached Query > > > I have a huge query that is used in a timed loop process completes. The > process could take from a minute to 15 hours, and it runs the query > each > time is goes through a loop. > > If I

Query Caching Function: Clearing Cached Query

2009-02-11 Thread Robert Harrison
I have a huge query that is used in a timed loop process completes. The process could take from a minute to 15 hours, and it runs the query each time is goes through a loop. If I cache the query (cached within the last 15 hours), it can save a lot of re-querying processing... but what if the pro

Odd query caching

2007-08-31 Thread Cutter (CFRelated)
Running into some odd behavior, that maybe someone can give me insight on. On CF8, connecting to MS SQL, I'm seeing some very odd situations, whereby my query results are being cached, even though I haven't coded them to be. I run a template, that dumps query results, and get 23 values back. I

Re: Advice about query caching

2006-11-13 Thread Paul Boyd
Thanks everyone for your input. - Paul > Hello everyone, > > First post here, so don't get too hard on me. > > I'm developping a small e-commerce application with less than 1000 > products ( around 700). > As far as I know, only product prices would be updated on a weekly > basis. > > I'm no

Re: Advice about query caching

2006-11-12 Thread Jon Clausen
Paul, I think your method would certainly work, however my experience with e-commerce has been that the full recordset of products is almost never used. By using QoQ against your full recordset, you do limit yourself in some of the functions like true full-text searching that the databas

RE: Advice about query caching

2006-11-12 Thread Dave Watts
> I'm not too sure how to handle caching. > So here is my question. Is it appropriate to store the > products recordset in an application variable within > onApplicationStart, and use QoQ for for data manipulation > in my different templates ? Any query that has significant reuse potential as

RE: Advice about query caching

2006-11-12 Thread Dave Watts
> You should never store database information into a memory > variable unless it is within your shopping cart and then I > would store it as a array. I'm sorry, but this is simply wrong. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber v

RE: Advice about query caching

2006-11-12 Thread Dave Watts
> Could you tell me why storing a recordset in an application > variable is not recommended. I saw this technique used > several times, and prefered over the cachedWithin method. > Apparently it's easier to control, to flush the cache, and I > guess you could use Cfqueryparam as well. There is

Re: Advice about query caching

2006-11-12 Thread Paul Boyd
t;communication are not necessarily those expressed by Reed Exhibitions." >Visit our website at http://www.reedexpo.com > >-Original Message- >From: James Holmes >To: CF-Talk >Sent: Sun Nov 12 14:13:51 2006 >Subject: Re: Advice about query caching > >Oh agreed -

Re: Advice about query caching

2006-11-12 Thread James Holmes
I'm going to to quote Ben Forta (et al) here: "ColdFusion is not a database server" If you intend to do frequent, perhaps complex QoQ on the query in memory, you may be better off simply going to the DB. Multiple calls to the DB in a page will reuse the same DB connection and for most purposes CF

Re: Advice about query caching

2006-11-12 Thread Robertson-Ravo, Neil (RX)
rom: James Holmes To: CF-Talk Sent: Sun Nov 12 14:13:51 2006 Subject: Re: Advice about query caching Oh agreed - it's often better use of resources to query the DB rather than to perform elaborate caching when each user needs different results etc. It depends on how big the query is, how much m

Re: Advice about query caching

2006-11-12 Thread James Holmes
pressed within this > communication are not necessarily those expressed by Reed Exhibitions." > Visit our website at http://www.reedexpo.com > > -Original Message- > From: James Holmes > To: CF-Talk > Sent: Sun Nov 12 13:50:29 2006 > Subject: Re: Advice about query cach

Re: Advice about query caching

2006-11-12 Thread Robertson-Ravo, Neil (RX)
:29 2006 Subject: Re: Advice about query caching Huh? Once it's in the Application scope it can stay there for as long as you want. On 11/12/06, Doug Brown <[EMAIL PROTECTED]> wrote: > Cachedwithin does load the dataset into server memory but stays there until > it times out,

Re: Advice about query caching

2006-11-12 Thread James Holmes
Huh? Once it's in the Application scope it can stay there for as long as you want. On 11/12/06, Doug Brown <[EMAIL PROTECTED]> wrote: > Cachedwithin does load the dataset into server memory but stays there until > it times out, and then refreshes. Setting it in the application scope > requires you

Re: Advice about query caching

2006-11-12 Thread Paul Boyd
" <[EMAIL PROTECTED]> >To: "CF-Talk" >Sent: Sunday, November 12, 2006 6:14 AM >Subject: Re: Advice about query caching > > >> It shouldn't have to be calling into the app scope for every request - >only >the >> intended recipient(s). If you are n

Re: Advice about query caching

2006-11-12 Thread Doug Brown
riginal Message - From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Sunday, November 12, 2006 6:14 AM Subject: Re: Advice about query caching > It shouldn't have to be calling into the app scope for every request - only > the first call -

Re: Advice about query caching

2006-11-12 Thread Robertson-Ravo, Neil (RX)
ithin this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -Original Message- From: Doug Brown To: CF-Talk Sent: Sun Nov 12 13:14:10 2006 Subject: Re: Advice about query caching Cachedwithin does load the dataset into se

Re: Advice about query caching

2006-11-12 Thread Doug Brown
. - Original Message - From: "Paul Boyd" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Sunday, November 12, 2006 4:55 AM Subject: Re: Advice about query caching > Thanks Doug, > > Your feedback is greatly appreciated. > Could you tell me why storing a recordset in an a

Re: Advice about query caching

2006-11-12 Thread Paul Boyd
this helps. > > >Doug B. > > >- Original Message - >From: "Paul Boyd" <[EMAIL PROTECTED]> >To: "CF-Talk" >Sent: Sunday, November 12, 2006 4:05 AM >Subject: Advice about query caching > > >> Hello everyone, >> &g

Re: Advice about query caching

2006-11-12 Thread Doug Brown
timeout of say 6 days. Hope this helps. Doug B. - Original Message - From: "Paul Boyd" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Sunday, November 12, 2006 4:05 AM Subject: Advice about query caching > Hello everyone, > > First post here, so don't g

Advice about query caching

2006-11-12 Thread Paul Boyd
Hello everyone, First post here, so don't get too hard on me. I'm developping a small e-commerce application with less than 1000 products ( around 700). As far as I know, only product prices would be updated on a weekly basis. I'm not too sure how to handle caching. So here is my question. Is

RE: Large count query > caching

2006-03-17 Thread Mark A Kruger
: Large count query > caching Aaron Rouse wrote: > What is a bitmap index? The short explanation: Most types of database index contain the value of the indexed field plus a pointer to the rest of the row. So if you are indexing a bigint, that is 8 bytes for the value, another 8 bytes for the p

Re: Large count query > caching

2006-03-17 Thread Jochem van Dieten
Aaron Rouse wrote: > What is a bitmap index? The short explanation: Most types of database index contain the value of the indexed field plus a pointer to the rest of the row. So if you are indexing a bigint, that is 8 bytes for the value, another 8 bytes for the pointer and some room for metada

Re: Large count query > caching

2006-03-17 Thread Jochem van Dieten
Wolfe, Aaron wrote: > You should use a field name in the count instead of the *. It should > speed it up. > SELECT COUNT( fieldname ) FROM myTable > With the * it has to return all records and all fields. COUNT(fieldname) has a different meaning then COUNT(*). Jochem

RE: Large count query > caching

2006-03-17 Thread Mark A Kruger
CTED] Sent: Friday, March 17, 2006 10:29 AM To: CF-Talk Subject: Re: Large count query > caching Hi Aaron, Are you sure about that? I just tried three different queries (count(*), count(field) and count(0)) on two joined tables with a date selection which return a count of about 50 recor

Re: Large count query > caching

2006-03-17 Thread Mingo Hagen
UNT( fieldname ) FROM myTable > With the * it has to return all records and all fields. > > > -Original Message- > From: Jeremy Bunton [mailto:[EMAIL PROTECTED] > Sent: Friday, March 17, 2006 9:28 AM > To: CF-Talk > Subject: Large count query > caching &g

RE: Large count query > caching

2006-03-17 Thread Jeremy Bunton
I'll check that out, I am not using them now. Jeremy -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 11:09 AM To: CF-Talk Subject: RE: Large count query > caching If you cannot cache on the web server - make sure and bind the da

RE: Large count query > caching

2006-03-17 Thread Mark A Kruger
-Mark -Original Message- From: Jeremy Bunton [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 8:28 AM To: CF-Talk Subject: Large count query > caching I have a query counting records in a 25 million plus database. Even with indexing and what not it takes about 25 seconds to ru

RE: Large count query > caching

2006-03-17 Thread Munson, Jacob
> oddly enough the more "ands" in the where clause > the faster the > clustered index seems to go. That does seem odd, but that's the way it usually works. The 'ands' are cutting off chunks of data from the whole, and making the search cover smaller areas. Also, if your 'ands' are part of your

Re: Large count query > caching

2006-03-17 Thread Aaron Rouse
age- > From: mark [mailto:[EMAIL PROTECTED] > Sent: Friday, March 17, 2006 10:43 AM > To: CF-Talk > Subject: RE: Large count query > caching > > Is there a finite number of options for a count? Even if the number is > 50, > you could run the queries late at night and

RE: Large count query > caching

2006-03-17 Thread Jeremy Bunton
clustered index seems to go. I need oracle's bitmap indexes I think to do it right. I'm pretty sure my indexes are ok. Jeremy -Original Message- From: mark [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 10:43 AM To: CF-Talk Subject: RE: Large count query > caching I

RE: Large count query > caching

2006-03-17 Thread mark
EMAIL PROTECTED] Sent: Friday, March 17, 2006 10:08 AM To: CF-Talk Subject: Re: Large count query > caching If you were taking the route of a cached query then yes/no that you are wrong. If the count() is going to change based upon the where clause then you would have to have a single master cach

RE: Large count query > caching

2006-03-17 Thread Wolfe, Aaron
: CF-Talk Subject: Large count query > caching I have a query counting records in a 25 million plus database. Even with indexing and what not it takes about 25 seconds to run this query. (count * from table where date > 19000101) Is there a way I could cache the query so that if it is ran i

Re: Large count query > caching

2006-03-17 Thread Aaron Rouse
If you were taking the route of a cached query then yes/no that you are wrong. If the count() is going to change based upon the where clause then you would have to have a single master cached query that pulled out everything possibly needed so that you could then do QoQ on that for the dynamic whe

RE: Large count query > caching

2006-03-17 Thread Jeremy Bunton
know I can't fit the whole record set in ram. Jeremy -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 9:44 AM To: CF-Talk Subject: Re: Large count query > caching The only problem with this is the query can change due to the dynamic bui

Re: Large count query > caching

2006-03-17 Thread John Paul Ashenfelter
On 3/17/06, Jeremy Bunton <[EMAIL PROTECTED]> wrote: > I have a query counting records in a 25 million plus database. Even with > indexing and what not it takes about 25 seconds to run this query. (count * > from table where date > 19000101) Is there a way I could cache the query so > that if it is

Re: Large count query > caching

2006-03-17 Thread Aaron Rouse
The only problem with this is the query can change due to the dynamic building of the where clause. Could do a cached query that selects everything that could be in the where clause then do QoQ on that for dynamic where clause needs. I'd just be a little fearful of how much would need to be selec

Re: Large count query > caching

2006-03-17 Thread Mingo Hagen
Hi Jeremy, Yes, you can very easily cache queries using the cachedwithin="" attribute of Like so: SELECT COUNT( * ) FROM myTable WHERE myDate > '1900-01-01' This will cache your query for one day. You could also put the result of the query into an application variable or something l

Large count query > caching

2006-03-17 Thread Jeremy Bunton
I have a query counting records in a 25 million plus database. Even with indexing and what not it takes about 25 seconds to run this query. (count * from table where date > 19000101) Is there a way I could cache the query so that if it is ran in that same way it very quickly returns the full count.

Re: JSP Question (Does query caching existing)

2005-01-03 Thread Barney Boisvert
You can just stash the recordset in the application scope, much like you would in CF. or if you're not using JSTL <% application.setAttribute("myRecordSet", recordset) %> cheers, barneyb On Mon, 3 Jan 2005 17:43:57 -, Ciliotta, Mario <[EMAIL PROTECTED]> wrote: > Hi, > > Sorry for asking

RE: JSP Question (Does query caching existing)

2005-01-03 Thread Dave Watts
> Sorry for asking a JSP question here but I have not been able > to find a mailing as good as CFTALK for Java/JSP issues. > > I am in the process of converting a CF application over to > JSP running under WebLogic as practice to see how long it > takes to do the same coding vs. using CFMX. >

JSP Question (Does query caching existing)

2005-01-03 Thread Ciliotta, Mario
Hi, Sorry for asking a JSP question here but I have not been able to find a mailing as good as CFTALK for Java/JSP issues. I am in the process of converting a CF application over to JSP running under WebLogic as practice to see how long it takes to do the same coding vs. using CFMX. In my CF ap

Re: query caching and cfcs

2004-08-27 Thread S . Isaac Dealey
OTECTED]> wrote: >> Ok, I got a cfc named goo.  Inside goo I perform a query. >> Now this cfc goo >> has an instance stored in the application scope.  I want >> to employ query >> caching on that query via the cfquery tags cachedwithin >> attribute. >> Someth

Re: query caching and cfcs

2004-08-27 Thread lists
that's what I figured...danke -- --- Douglas Knudsen http://www.cubicleman.com "If you don't like something, change it. If you can't change it, change your attitude. Don't complain." - Maya Angelou [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donati

Re: query caching and cfcs

2004-08-27 Thread Nando
m a query.  Now this cfc goo > has an instance stored in the application scope.  I want to employ query > caching on that query via the cfquery tags cachedwithin attribute. > Something tells me this no so good for thread safteyness, eh?  Thoughts? > Yes, I var scoped the query name.  

Re: query caching and cfcs

2004-08-27 Thread Barney Boisvert
wrote: > Ok, I got a cfc named goo.  Inside goo I perform a query.  Now this cfc goo > has an instance stored in the application scope.  I want to employ query > caching on that query via the cfquery tags cachedwithin attribute. > Something tells me this no so good for thread saftey

query caching and cfcs

2004-08-26 Thread Douglas Knudsen
Ok, I got a cfc named goo.  Inside goo I perform a query.  Now this cfc goo has an instance stored in the application scope.  I want to employ query caching on that query via the cfquery tags cachedwithin attribute. Something tells me this no so good for thread safteyness, eh?  Thoughts? Yes, I

RE: query caching (was: RE: CFC performance difficulties)

2003-06-29 Thread Dave Watts
> Is there any documentation on how to handle cached queries > across a load balanced environment? No, not to my knowledge. > I've noticed some oddities on ours, and was wondering if we > were missing something obvious. Could you be more specific? Are you referring to caching queries using the

RE: Query Caching

2003-01-30 Thread Burcham, Steve
- Field Support Team RDO Equipment Co. Phone (701) 239-8755 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -Original Message- From: jon hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:58 PM To: CF-Talk Subject: Re: Query Caching No they wont. Query caching takes mor

Re: Query Caching

2003-01-30 Thread jon hall
No they wont. Query caching takes more than the query name into account. Think of the sql string and the cfquery parameters as a hash that CF uses to look up to see if the query is in it's cache. If the parameters _and_ the string match exactly then the query will be pulled from cache, othe

RE: Query Caching

2003-01-30 Thread Owens, Howard
AIL PROTECTED]] > Sent: Thursday, January 30, 2003 1:03 PM > To: CF-Talk > Subject: Query Caching > > I have a 'Telemarketing' application, don't worry we only call existing > customers to update there profile information for the new sales process, > that

Query Caching

2003-01-30 Thread Burcham, Steve
I have a 'Telemarketing' application, don't worry we only call existing customers to update there profile information for the new sales process, that caches a list of the first 50 customers based on the search criteria. This works great for now, but we are adding a second person to make calls at th

Re: Next N" Navigation and query caching theory question

2003-01-17 Thread Samuel R. Neff
I should also point out that when I used the primary key caching technique I was doing a full-text search against a Verity collection to return the primary keys and then using those to get the details out of a database. So in my particular case, I had to do two queries (one against verity, one

Re: Next N" Navigation and query caching theory question

2003-01-17 Thread paul smith
Interesting. That's basically what I do at SMARTERyellowpages.com for full-text queries, except I store the list of primary keys in a cached query. For example, using "office" as a search term in www.SMARTERyellowpages.com I find 1941 Listings that I can page thru 50 at a time. For drill-dow

Re: Next N" Navigation and query caching theory question

2003-01-17 Thread Samuel R. Neff
Instead of querying all the data for the entire list on every page (even with caching), you an often get better results by just querying the primary keys first, and then query the data for the 50 records you're displaying in this page--filter by primary key is very fast. Then pass the complete

Re: Next N" Navigation and query caching theory question

2003-01-17 Thread paul smith
the query is built, I store it as > >a session variable so that I can use it as the user pages through their >results. However, that still means that as each page gets loaded, the >query still needs to be run. > >It is my understanding of/experience with query caching that results are

Re: Next N" Navigation and query caching theory question

2003-01-17 Thread Dave Carabetta
>It is my understanding of/experience with query caching that results are >cached based on the name of the query, and not the actual "guts" of the >query, so having multiple users each with their own dynamic queries but all >run under the same query name will mean that

Re: Next N" Navigation and query caching theory question

2003-01-17 Thread Paris Lundis
- From: "Pete Ruckelshaus" <[EMAIL PROTECTED]> Date: Fri, 17 Jan 2003 09:02:22 -0500 Subject: Next N" Navigation and query caching theory question > Hi, > > I am rebuilding my employer's bug tracking application; quite a job, > but it's been fun (seriou

Re: Next N" Navigation and query caching theory question

2003-01-17 Thread Zac Spitzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | needs to get run again? Should I do something like append the | CFTOKEN for that user's session to the query name so that it is | unique? Or should I store the query output as an array in a session | variable? store them in a session structure key

Next N" Navigation and query caching theory question

2003-01-17 Thread Pete Ruckelshaus
as a session variable so that I can use it as the user pages through their results. However, that still means that as each page gets loaded, the query still needs to be run. It is my understanding of/experience with query caching that results are cached based on the name of the query, and not t

Re: Query Caching Question

2003-01-16 Thread paul smith
've been reading up on query caching today and I think I've run >into something that may cause me problems unless there is a way to >dynamically name queries. > >I have an application that houses data for multiple "sites" - the data >is referenced by a siteID t

RE: Query Caching Question

2003-01-16 Thread Jim Davis
Well, you can't dynamically "name" queries, but remember that query caching requires the EXACT same SQL to be used. So if you do this: SELECT sitename FROM tblSites WHERE siteID=#session.siteID# Then you'll cache each query using a different siteid. This is done at the S

Re: Query Caching Question

2003-01-16 Thread jon hall
information coming back from the query specific to the user then I don't see a problem... If the query does actually have user specific information, you may be better off just adding a userid field to the query. Caching it isn't a problem then. SELECT sitename FROM tblSites WHERE siteID=#sess

RE: Query Caching Question

2003-01-16 Thread Owens, Howard
namic needs? H. > -Original Message- > From: Joshua Miller [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 10:25 AM > To: CF-Talk > Subject: Query Caching Question > > Ok, I've been reading up on query caching today and I think I've run > into som

RE: Query Caching Question

2003-01-16 Thread Raymond Camden
"My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Joshua Miller [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 12:25 PM > To: CF-Talk > Subject: Query Caching Question > > > Ok, I've been r

Query Caching Question

2003-01-16 Thread Joshua Miller
Ok, I've been reading up on query caching today and I think I've run into something that may cause me problems unless there is a way to dynamically name queries. I have an application that houses data for multiple "sites" - the data is referenced by a siteID that is set a

RE: Query caching

2002-11-04 Thread Haggerty, Mike
*EXPLICATIVE* Thanks M -Original Message- From: Raymond Camden [mailto:jedimaster@;macromedia.com] Sent: Monday, November 04, 2002 5:05 PM To: CF-Talk Subject: RE: Query caching Nope - sorry. :) Your isdefined check needs a read lock around it. Quick code that my have typos+pseudo

RE: Query caching

2002-11-04 Thread Raymond Camden
02 4:43 PM > To: CF-Talk > Subject: RE: Query caching > > > Thank you for your comments. > > >type="EXCLUSIVE"> > > > SELECT lastname, firstname, party, state, >

RE: Query caching

2002-11-04 Thread Haggerty, Mike
state#' #session.temp.recordcount# Happy now? Hoping I did this right, M -Original Message- From: Raymond Camden [mailto:jedimaster@;macromedia.com] Sent: Monday, November 04, 2002 4:33 PM To: CF-Talk Subject: RE: Que

Re: Query caching

2002-11-04 Thread Howie Hamlin
I'll make sure our developer uses the locks... Thanks, Howie - Original Message - From: "Raymond Camden" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 4:33 PM Subject: RE: Query caching > This example is

Re: Query caching

2002-11-04 Thread Howie Hamlin
To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 4:30 PM Subject: Re: Query caching > > So, is it possible to cache a query for a session? > > Why would you want to? Caching looks at both the name and the SQL > statement. If they are the same,

RE: Query caching

2002-11-04 Thread Raymond Camden
ovember 04, 2002 4:17 PM > To: CF-Talk > Subject: RE: Query caching > > > Here's an example on CF 4.5: > > > SELECTlastname, firstname, party, state, > website, email > FROMsenators > WHERE state =

Re: Query caching

2002-11-04 Thread Jochem van Dieten
Howie Hamlin wrote: > I have an application where I would like one or two queries cached > during a session. I know that you can use > cachedwithin to cache a query globally for an application but I don't > think that would be based on session... cachedwithin is server-wide. > So, is it possi

Re: Query caching

2002-11-04 Thread Howie Hamlin
I had a feeling it was something like that but I wanted to make sure. Thanks, Howie - Original Message - From: "Haggerty, Mike" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 4:17 PM Subject: RE: Query caching

RE: Query caching

2002-11-04 Thread Raymond Camden
ay, November 04, 2002 4:17 PM > To: CF-Talk > Subject: RE: Query caching > > > Just store the query in session scope. > > > > -Original Message- > From: Howie Hamlin [mailto:howie@;coolfusion.com] > Sent: Monday, November 04, 2002 2:15 PM > To: CF-Ta

RE: Query caching

2002-11-04 Thread Haggerty, Mike
;coolfusion.com] Sent: Monday, November 04, 2002 4:15 PM To: CF-Talk Subject: Query caching I have an application where I would like one or two queries cached during a session. I know that you can use cachedwithin to cache a query globally for an application but I don't think that would be bas

RE: Query caching

2002-11-04 Thread Andy Clary
Just store the query in session scope. -Original Message- From: Howie Hamlin [mailto:howie@;coolfusion.com] Sent: Monday, November 04, 2002 2:15 PM To: CF-Talk Subject: Query caching I have an application where I would like one or two queries cached during a session. I know that you

Query caching

2002-11-04 Thread Howie Hamlin
I have an application where I would like one or two queries cached during a session. I know that you can use cachedwithin to cache a query globally for an application but I don't think that would be based on session... So, is it possible to cache a query for a session? If so, a small code exa

RE: Question About Query Caching

2002-03-13 Thread Dave Watts
> So both the SQL (all statements) and the Query NAME must be > IDENTICAL to the cached query? > > I would rather just run a blank (bare-bones SQL statement > that returns just one or zero records) because the actual > query returns 8,000 records and takes a few seconds to > execute. Yes, bo

RE: Question About Query Caching

2002-03-13 Thread Owens, Howard
nal Message- > From: Brian Scandale [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 2:18 PM > To: CF-Talk > Subject: RE: Question About Query Caching > > Now I'm a bit confused... > > I thought that as long as the query had not expired that cf w

RE: Question About Query Caching

2002-03-13 Thread Brian Scandale
led by donkeys than by airplane crashes each year" > > >-Original Message- >From: Bud [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, March 13, 2002 1:27 PM >To: CF-Talk >Subject: RE: Question About Query Caching > > >On 3/13/02, John Wilker penned: >>My idea wo

RE: Question About Query Caching

2002-03-13 Thread John Wilker
al Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 1:27 PM To: CF-Talk Subject: RE: Question About Query Caching On 3/13/02, John Wilker penned: >My idea would be to put a query with the same name on the page that >updates the database. The new query will over

RE: Question About Query Caching

2002-03-13 Thread Bud
On 3/13/02, John Wilker penned: >My idea would be to put a query with the same name on the page that >updates the database. The new query will overwrite the cached one as >long as the SQL is different, then the first time some one runs the real >query it will re cache that one. You mean as long a

RE: Question About Query Caching

2002-03-13 Thread John Wilker
1:46 AM To: CF-Talk Subject: Question About Query Caching Let's say I have a query that is cached ... Let's say a user adds a new item to the table called in the query. Now we all know that so long as the query is cached, the new item won't show up in the output. But what if I want

RE: Question About Query Caching

2002-03-13 Thread Chip Griffin
You can run the query with the cache set to 0 minutes: cachedwithin= "#CreateTimeSpan(0,0,0,0)#" -Original Message- But what if I want it to show up right away? Is there a way to dump the current cache as soon as a new item is inserted, so that the query is re-cached the next time it is

Question About Query Caching

2002-03-13 Thread Owens, Howard
Let's say I have a query that is cached ... Let's say a user adds a new item to the table called in the query. Now we all know that so long as the query is cached, the new item won't show up in the output. But what if I want it to show up right away? Is there a way to dump the current cache as

Re: Query Caching?

2001-09-15 Thread Jochem van Dieten
Andrew Scott wrote: > Quick question! > > When using the cachedwithin parameter of the cfquery, can someone remind > me is this cached per client or by application? It has escaped me, if it > was cached for everyone or not. For everyone. Jochem

Query Caching?

2001-09-14 Thread Andrew Scott
Quick question! When using the cachedwithin parameter of the cfquery, can someone remind me is this cached per client or by application? It has escaped me, if it was cached for everyone or not. Regards, Andrew Scott ~~ Your ad could be here. Moni

RE: Query Caching..

2001-08-17 Thread Philip Arnold - ASP
> Ahh, so basically caching a query with the same name and > application within > an application that uses different templates (e.g. dsp_list.cfm and > dsp_list2.cfm) but the same query is pointless? NO - a Cached query persists for the same SQL and datasource, it has nothing to do with the templ

RE: Query Caching..

2001-08-16 Thread Darryl Lyons
17, 2001 4:32 PM To: CF-Talk Subject: Re: Query Caching.. The cached query will persist for the template it was run from, and the only way to override it (even if CF gets newer info from the database in an identical query elsewhere) is to use the cfobjectcache tag (5.0 only) like this: The syntax

Re: Query Caching..

2001-08-16 Thread Daniel Larson
days,hours,minutes,seconds. - Original Message - > Just a quick question about query caching (using CACHEDWITHIN attrib) -- > > Is the cached query tied to a particular application? Sincerely, Daniel Larson [ [EMAIL PROTECTED] | www.larsonint

RE: Stop query caching UPDATE

2001-02-15 Thread Josh R
ny reasons for two action pages.) Even if someone goes through the trouble of tracing the URL's so what? The only variable they'll see is worthless as far as getting any important data. Crap, who cares what variables I'm using? All I'm trying to do is get some help about how to

  1   2   >