Unix Technical Forum

" Copy to tmp table " optimize

This is a discussion on " Copy to tmp table " optimize within the MySQL General forum forums, part of the MySQL category; --> Hi list, An others question, I am working on projet and i made some test. I use large databases, ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 05:09 AM
Francis
 
Posts: n/a
Default " Copy to tmp table " optimize

Hi list,

An others question, I am working on projet and i made some test.
I use large databases, some table go up to 1.8g. The problem we have is
wend I try to select data in table whit a group by function and I got "
Copy to tmp table " This function take a long time to execute. I check
on my server for the cpu usage and no hang up, no hang up on hardrive,
the only hang up I have is on memory.

1 Question, the " copy to tmp table " function can optimize to
get faster ?
2 Question, what is the max table I can create in databses ?
because, the way I found to optimize " copy to tmp table " is by
spliting the data in my table in multiple tables to lower the size...But
if I do this way, the table counts on my database can go up to 600
tables :S I don't think is a good way to do this.

Ty for your help and sorry for my english...

Francis !


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:11 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com