Re: [libreoffice-users] Base Compact and Shutdown
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+h...@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
Re: [libreoffice-users] Base Compact and Shutdown
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... -- For unsubscribe instructions e-mail to: users+h...@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
Re: [libreoffice-users] Base Compact and Shutdown
On 12/30/2012 04:11 AM, Ian Whitfield wrote: Hi All I've been using Base for some years now and every so often, or after doing a lot of editing, I would shutdown the system with the SQL command 'SHUTDOWN COMPACT' I managed last month to replace the embedded HSQL engine with MySQL (which is working SO MUCH better!!). I did a lot of work on the DB yesterday so decided I better do a "compact". I entered the above command as always but now get an error message about my syntax!! I looked through the SQL Manual but did not find much. Noticed one thing however and tried... MySQL_SHUTDOWN COMPACT - but it still gives me the syntax error. Does anyone know the correct syntax for this please?? (PCLinuxOS 2012,LO 3.6.2.2 MySQL 5.1.55) Thanks a lot IanW Pretoria RSA Did you install MySQL administrator? If not you should. It is probably available from the PCLinuxOS depositories. This is a GUI program that permits you to do all the administrative work for MySQL. Use it to shutdown the MySQL server. You can not do this from within Base that I know of. You looked through the SQL Manual, but have you looked through the MySQL Manual for 5.1? The latter is the one that has the information that you need to shutdown MySQL. It also describes how to compact any or all of the databases on the MySQL server. This manual is available in a variety of formats. (I have the manuals for 5.1 and 5.6 versions in ePUB format.) --Dan -- For unsubscribe instructions e-mail to: users+h...@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
[libreoffice-users] Base Compact and Shutdown
Hi All I've been using Base for some years now and every so often, or after doing a lot of editing, I would shutdown the system with the SQL command 'SHUTDOWN COMPACT' I managed last month to replace the embedded HSQL engine with MySQL (which is working SO MUCH better!!). I did a lot of work on the DB yesterday so decided I better do a "compact". I entered the above command as always but now get an error message about my syntax!! I looked through the SQL Manual but did not find much. Noticed one thing however and tried... MySQL_SHUTDOWN COMPACT - but it still gives me the syntax error. Does anyone know the correct syntax for this please?? (PCLinuxOS 2012,LO 3.6.2.2 MySQL 5.1.55) Thanks a lot IanW Pretoria RSA -- For unsubscribe instructions e-mail to: users+h...@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