List:General Discussion« Previous MessageNext Message »
From:Alex Arul Lurthu Date:May 26 2008 9:57am
Subject:Re: running optimize/analyze command
View as plain text  
On Mon, May 26, 2008 at 2:40 PM, chandru <pradeep.chandru@stripped>
wrote:

> Hi anand,
>  To add to alex's views, I see that you do two major operations
> 1. Insert
>
>   * Use a temporary table that loads the data initially and then you
>     copy the same to the original table, which can prevent load on the
>     original table and shall be faster as well.
>

Its a good point that Chandru is making here. One more optimization to go
with this is the following :

If you have  csv engine compiled into your binaries, then the temporary
table can created just by preparing the file with comma separated values and
moving the file to data directory and then start the load from there.


-- 
Thanks
Alex
http://alexlurthu.wordpress.com

Thread
running optimize/analyze commandAnanda Kumar29 Apr
  • Re: running optimize/analyze commandSebastian Mendel29 Apr
    • Re: running optimize/analyze commandAnanda Kumar26 May
      • Re: running optimize/analyze commandAlex Arul Lurthu26 May
        • Re: running optimize/analyze commandAnanda Kumar26 May
          • Re: running optimize/analyze commandCraig Huffstetler26 May
            • Re: running optimize/analyze commandAnanda Kumar26 May
          • Re: running optimize/analyze commandAlex Arul Lurthu26 May
        • Re: running optimize/analyze commandchandru26 May
          • Re: running optimize/analyze commandAlex Arul Lurthu26 May
            • Re: running optimize/analyze commandAnanda Kumar26 May
              • Re: running optimize/analyze commandAlex Arul Lurthu26 May
                • Re: running optimize/analyze commandAnanda Kumar26 May
                  • Re: running optimize/analyze commandAlex Arul Lurthu26 May
Re: running optimize/analyze commandNagaraj S26 May
  • Re: running optimize/analyze commandchandru26 May
    • Re: running optimize/analyze commandNagaraj S27 May