Sponsored Content
Special Forums UNIX and Linux Applications MySQL - optimize using other storage volume Post 302615539 by treesloth on Thursday 29th of March 2012 06:57:45 PM
Old 03-29-2012
MySQL - optimize using other storage volume

So, I need to optimize a very large MySQL table. This process creates a TMD that seems to approach the size of the original MYD. The problem is that we don't have that much space left on the volume that the MySQL files are on. Is there a way to get the system to use another storage volume on a one-time basis for the optimization? I can't quite wrap my head around any sort of link trickery that would get the job done. Many thanks in advance.

Last edited by treesloth; 03-30-2012 at 01:36 PM..
 

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

How to optimize apache and mysql on my dedicated server?

Hi, Any one please suggest me the best mysql, apache settings for the given below scenario. My Server config: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz 8GB RAM 300GB HDD Website: It's a famous wordpress blog Mysql DB size: 235MB Expectations: Server should be handle 600+ concurrent... (0 Replies)
Discussion started by: chandranjoy
0 Replies
MYSQL_ERROR(3)								 1							    MYSQL_ERROR(3)

mysql_error - Returns the text of the error message from previous MySQL operation

SYNOPSIS
Warning This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include: omysqli_error(3) o PDO::errorInfo string mysql_error ([resource $link_identifier = NULL]) DESCRIPTION
Returns the error text from the last MySQL function. Errors coming back from the MySQL database backend no longer issue warnings. Instead, use mysql_error(3) to retrieve the error text. Note that this function only returns the error text from the most recently executed MySQL function (not including mysql_error(3) and mysql_errno(3)), so if you want to use it, make sure you check the value before calling another MySQL function. o $ link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is assumed. If no such link is found, it will try to create one as if mysql_connect(3) was called with no arguments. If no connection is found or established, an E_WARNING level error is generated. Returns the error text from the last MySQL function, or '' (empty string) if no error occurred. Example #1 mysql_error(3) example <?php $link = mysql_connect("localhost", "mysql_user", "mysql_password"); mysql_select_db("nonexistentdb", $link); echo mysql_errno($link) . ": " . mysql_error($link). " "; mysql_select_db("kossu", $link); mysql_query("SELECT * FROM nonexistenttable", $link); echo mysql_errno($link) . ": " . mysql_error($link) . " "; ?> The above example will output something similar to: 1049: Unknown database 'nonexistentdb' 1146: Table 'kossu.nonexistenttable' doesn't exist mysql_errno(3), MySQL error codes. PHP Documentation Group MYSQL_ERROR(3)
All times are GMT -4. The time now is 05:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy