RE: Very large temporary file(s)

2008-07-07 Thread Jerry Schwartz
ay, June 30, 2008 4:52 PM >To: 'Jerry Schwartz'; 'Ananda Kumar' >Cc: 'mysql@lists.mysql.com' >Subject: RE: Very large temporary file(s) > >Ananda, I tried your suggestion of adding "ORDER BY NULL" to the end of >my query, but if anything it to

RE: Very large temporary file(s)

2008-06-30 Thread Jerry Schwartz
temporary space. >-Original Message- >From: Jerry Schwartz [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 25, 2008 9:54 AM >To: 'Ananda Kumar' >Cc: mysql@lists.mysql.com >Subject: RE: Very large temporary file(s) > >From: Ananda Kumar [mailto:[EMAIL PROTECTED]

RE: Very large temporary file(s)

2008-06-25 Thread Jerry Schwartz
From: Ananda Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 10:55 AM To: Jerry Schwartz Cc: mysql@lists.mysql.com Subject: Re: Very large temporary file(s) True, if you explicitly use group by and order by, there would a group operation after which sorting happens, but the

Re: Very large temporary file(s)

2008-06-25 Thread Ananda Kumar
ailto:[EMAIL PROTECTED] > *Sent:* Tuesday, June 24, 2008 10:50 PM > *To:* Jerry Schwartz > *Cc:* mysql@lists.mysql.com > *Subject:* Re: Very large temporary file(s) > > > > In mysql, GROUP BY also by default does sorting using "ORDER BY", so you an > avoid it by

RE: Very large temporary file(s)

2008-06-25 Thread Jerry Schwartz
From: Ananda Kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 10:50 PM To: Jerry Schwartz Cc: mysql@lists.mysql.com Subject: Re: Very large temporary file(s) In mysql, GROUP BY also by default does sorting using "ORDER BY", so you an avoid it by including "ORDER

Re: Very large temporary file(s)

2008-06-24 Thread Ananda Kumar
In mysql, GROUP BY also by default does sorting using "ORDER BY", so you an avoid it by including "ORDER BY NULL" after GROUP BY, this should help. On 6/24/08, Jerry Schwartz <[EMAIL PROTECTED]> wrote: > > In all of that information, I forgot to post the actual query: > > INSERT INTO consolidated

Re: Very large temporary file(s)

2008-06-23 Thread Jerry Schwartz
In all of that information, I forgot to post the actual query: INSERT INTO consolidated_customer_data SELECT customers.customer_id, account.account_name, customers.email, customers.email_status, customers.dm_status, customers.status, cus

RE: Very large temporary file(s)

2008-06-20 Thread Jerry Schwartz
Double nuts! I corrected the wrong number. This time, I am reading my message more carefully. The temporary space used is indeed 800 MEGABYTES! I still need help, though. Regards, Jerry Schwartz The Infoshop by Global Information Incorporated 195 Farmington Ave. Farmington, CT 06032 -- MySQ

RE: Very large temporary file(s)

2008-06-20 Thread Jerry Schwartz
Nuts: not only did I write a huge message, but I made a booboo up at the top! I won't repost the whole thing. >I'm running MySQL 4.1.22-standard Community on CentOS. My problem is a >query >that is using about 800mb for what I assume is a temporary sort file, [JS] That should be 800Gb. -- MyS

Very large temporary file(s)

2008-06-20 Thread Jerry Schwartz
I'm running MySQL 4.1.22-standard Community on CentOS. My problem is a query that is using about 800mb for what I assume is a temporary sort file, and I'm hoping that I can do something about it. The purpose of this query is to populate an unnormalized table with data from several other tables. I