|
|||||||||||
|
Re: Help with large database import
From: Matthew Montgomery <mmontgomery(at)mysql.com>
Date: Tue Oct 23 2007 - 01:35:19 EDT
On Tue, 2007-10-23 at 11:05 +0530, chandru wrote:
Sometimes it can be faster to insert the data as a MyISAM table then convert it to ndb using ALTER TABLE. > 2. Can i forcefully tell mysql to stop creating undo logs/files while You can tell mysqld not to write binary logs but you cannot tell the ndbd (cluster) nodes not to write their redo logs. With SUPER privilege you can 'SET SQL_LOG_BIN = 0'. This will skip binlogging for the duration of the import session. This can speed up the import quite a bit. > 3. I have taken extended dump of the table. Is there a variable like Nothing directly like this... there is however the UndoIndexBuffer, UndoDataBuffer and RedoBuffer which can be tuned to increase the performance of large insert operations. In 5.1 with disk data you will also want to configure SharedGlobalMemoryArea
See:
-- Matthew Montgomery, Support Engineer San Antonio, TX MySQL Inc, www.mysql.com -- MySQL Cluster Mailing List For list archives: http://lists.mysql.com/cluster To unsubscribe: http://lists.mysql.com/cluster?unsub=lists@pantek.comReceived on Tue Oct 23 01:36:29 2007 This archive was generated by hypermail 2.1.8 : Thu Jul 03 2008 - 08:34:34 EDT |
||||||||||
|
|||||||||||