Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 12/31/2012 03:26 AM, Mark Stanton wrote:
Even if it existed, I would be quite surprised if such a thing is
necessary for MySQL.

Looking through the (5.1) manual, the only references to "compact"
(as a verb) as to do with dumping data and a storage structure
option.  There is nothing (that I can see) listed for it as a
shutdown option.

It's the difference between an "embedded" database file and a
database engine.  MySQL is a database engine.  You only need to send
it requests and get answers back from it.  Otherwise it does all its
own housekeeping and management.  You don't tell it to compact its
data.

Regards
Mark Stanton
One small step for mankind...compact
     From the MySQL Reference Manual 5.1:

"InnoDB tables use a compact storage format. In versions of MySQL earlier than 5.0.3, InnoDB rows contain some redundant information, such as the number of columns and the length of each column, even for fixed-size columns. By default, tables are created in the compact format (ROW_FORMAT=COMPACT). If you wish to downgrade to older versions of MySQL, you can request the old format with ROW_FORMAT=REDUNDANT."

I also noticed that mysqldump--compact is used on the command line. There are some known bugs when using this to backup the database that are also listed in the reference manual. Personally, I would use MySQL Administrator for the administrative duties databases require when using MySQL 5.1. For MySQL 5.6 which is also available, MySQL Workbench serves the same purpose. (MySQL Navigator 5.6 can perform some duties such as create new databases and their tables.)

--Dan




--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.