473,618 Members | 3,170 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mysqldump out of memory

I have some some large tables, 30 mil rows, some rows has long blogs
size (300M). I used mysqldump -q to dump it, but i still get out of
memory error.

Any suggestion?
Jul 19 '05 #1
3 7906
Here is the error message:
/usr/local/mysql/bin/mysqldump: Out of memory (Needed 260115456 bytes)

Here is my mysqldump --print-defaults
--port=3306 --socket=/tmp/mysql.sock --quick
--set-variable=max_al lowed_packet=51 2M
--set-variable=net_bu ffer_length=400 M

I am using innodb tables. The mysql server version is:
mysql Ver 12.21 Distrib 4.0.15, for ibm-aix5.1.0.0 (powerpc)
g0***@yahoo.com (g00g0) wrote in message news:<f5******* *************** **@posting.goog le.com>...
I have some some large tables, 30 mil rows, some rows has long blogs
size (300M). I used mysqldump -q to dump it, but i still get out of
memory error.

Any suggestion?

Jul 19 '05 #2
Here is the error message:
/usr/local/mysql/bin/mysqldump: Out of memory (Needed 260115456 bytes)

Here is my mysqldump --print-defaults
--port=3306 --socket=/tmp/mysql.sock --quick
--set-variable=max_al lowed_packet=51 2M
--set-variable=net_bu ffer_length=400 M

I am using innodb tables. The mysql server version is:
mysql Ver 12.21 Distrib 4.0.15, for ibm-aix5.1.0.0 (powerpc)
g0***@yahoo.com (g00g0) wrote in message news:<f5******* *************** **@posting.goog le.com>...
I have some some large tables, 30 mil rows, some rows has long blogs
size (300M). I used mysqldump -q to dump it, but i still get out of
memory error.

Any suggestion?

Jul 19 '05 #3
Here is the error message:
/usr/local/mysql/bin/mysqldump: Out of memory (Needed 260115456 bytes)

Here is my mysqldump --print-defaults
--port=3306 --socket=/tmp/mysql.sock --quick
--set-variable=max_al lowed_packet=51 2M
--set-variable=net_bu ffer_length=400 M

I am using innodb tables. The mysql server version is:
mysql Ver 12.21 Distrib 4.0.15, for ibm-aix5.1.0.0 (powerpc)
g0***@yahoo.com (g00g0) wrote in message news:<f5******* *************** **@posting.goog le.com>...
I have some some large tables, 30 mil rows, some rows has long blogs
size (300M). I used mysqldump -q to dump it, but i still get out of
memory error.

Any suggestion?

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2603
by: Mangina | last post by:
Hello all. Can anyone see why this snippet of code isnt dumping the databases using mysqldump ? All the credentials are correct (changed for the purpose of this post). $host = "localhost"; $user = "root"; $pass = "password"; $database = "database"; $dbname = array ("1","2","3","4","5");
0
647
by: g00g0 | last post by:
I have some some large tables, 30 mil rows, some rows has long blogs size (300M). I used mysqldump -q to dump it, but i still get out of memory error. Any suggestion?
0
493
by: Thiko | last post by:
Hi We currently use mysqldump to dump all our db's in quick mode to one file, backup.sql. This file has come quite large. mysqldump -Aq -u root > /MySQL/backup/backup.sql I would now like to split the mysqldump so that the output comprises of several files of less than 2 gigabytes each. Does anyone know the mysqldump options that could be used to do this? Or with using the >
7
7403
by: Adam Smith | last post by:
Hope this is the right news group!! I did a server upgrade and at the same time did a mysql update from 4.0.12 to Ver 12.22 Distrib 4.0.16 mach1# mysql --version mysql Ver 12.22 Distrib 4.0.16, for portbld-freebsd4.9 (i386) I attempted to restore the DB with
0
2259
by: mcstayinskool | last post by:
I'm trying to dump a bugzilla installation to a file, then restore it to a different database name (so as to test my db backup system). I use mysqldump to dump it to a file: # mysqldump -u root -p<passwd> (misc. options) bugs > bugs.sql Then try to restore it to an empty DB, "foobar" with this command # mysql -u root -p<passwd> foobar < bugs.sql It fails, with this not-too-helpful error:
1
4678
by: Greg.Harabedian | last post by:
I'll start off by saying I am using MySQL v4.0 and my question is...how do I get mysqldump to dump the actual binary values store in a blob? Here is an example: -- Create a test table create table dummy(col1 blob); -- Next insert a null ascii character (0) insert into dummy values (char(0)); -- To verify there is actually something there type: select length(col1) from dummy;
6
5965
by: Todd Cary | last post by:
My client is using a shared server running MySQL 2.4, however the in house server is 4.1.12 with mysqldump 10.9. Is there a way to have the 10.9 version output a format that is fully compatible with 2.4? Some of the CREATE TABLE statements in 10.9 are not accepted by 2.4. Currently, I am not using any of the switches in creating the output file other than the -u, -h and -p. Todd
6
6154
by: Antoni | last post by:
Hello, I'm trying to make a daily database backup. When executing "mysqldump - uxxx -pxxx database /home/backup/ddbb.sql -q &" the httpd server gets blocked and my site is "offline" for 30 minutes. I also tried using mysqlhotcopy, but with no success since it fails with error: "DBD::mysql::db do failed: Not unique table/alias: 'comments' at /usr/ bin/mysqlhotcopy line 466." I'd like to make a daily MySQL backup, but without freezing...
0
2921
by: Pratchaya | last post by:
How can i dump (mysqldump) with skip query logging ? Now, when i run mysqldump. mysql log ( query log ) default running/keeping all in result mysqldump. It's possible ? to run mysqldump without query logging ? ( when i run mysqldump .. i 'm not need to keey query log ) Thank you very much.
0
8150
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8593
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8303
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8453
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6098
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4064
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2582
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.