View Single Post
Old 03-04-2009, 07:27 PM  
NextBigTube
Confirmed User
 
Join Date: Oct 2008
Posts: 352
Quote:
Originally Posted by teh ghey View Post
The content management system im using for my site is creating temp tables and copying them to disk with every query its slowing down my site.

So I only have 100 users on my site but my site is fucking sloow.
How SHOULD queries be made? Should it be doing this in memory?

Is it hard to switch this from copying things to disk to copying them to memory?
Im going to complain to them but want a better idea of what Im talking about first.
thanks
I am confused by your statement "creating temp tables and copying them to disk". Temp tables are created explicitly. In Sybase it is "CREATE #tablename", in MySQL, it appears to be "CREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name"

If your CMS is running queries (rather an SQL script) that creates a temp table, then there must be a good reason (or bad programming). e.g. A lot of times temp tables are created when it is necessary to iterate the rows.

Can post the queries to provide a better understanding of the issue ?
__________________

Porn Tubes Hawt Tube,Next Big Tube,
Gay Tube Tube 4 Gay
Amazon.com Discount Finder

Last edited by NextBigTube; 03-04-2009 at 07:28 PM..
NextBigTube is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote