Re: Trying to understand why Select running out of memory if table not used

2006-07-12 Thread Gerald L. Clark
Gabriel PREDA wrote: The JOIN criteria was there: 'event.cid=data.cid' It was not there in the upper example he gave where he stated the problem. It was there in the later query he said he also tried. His query was fine: Select event.cid, event.timestamp from event, data Where ( event.time

Re: Trying to understand why Select running out of memory if table not used

2006-07-12 Thread Gabriel PREDA
The JOIN criteria was there: 'event.cid=data.cid' His query was fine: Select event.cid, event.timestamp from event, data Where ( event.timestamp between '2006-05-01' AND '2006-05-15' ) and event.cid=data.cid; It may be rewritten into: SELECT event.cid, event.timestamp FROM event JOIN data ON ev

Re: Trying to understand why Select running out of memory if table not used

2006-07-12 Thread Brent Baisley
OTECTED]> To: Sent: Tuesday, July 11, 2006 6:13 PM Subject: Trying to understand why Select running out of memory if table not used When I try to retrieve all rows in the event table that are in a particular range and then try to determine if the cid is in the data table the join takes for

Trying to understand why Select running out of memory if table not used

2006-07-11 Thread Jacob, Raymond A Jr
When I try to retrieve all rows in the event table that are in a particular range and then try to determine if the cid is in the data table the join takes forever. So I tried just tried adding the table to see if the where clause was slowing things down. Below is a portion on my session. mys