473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 7881
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_allowed_packet=512M
--set-variable=net_buffer_length=400M

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.google.co m>...
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_allowed_packet=512M
--set-variable=net_buffer_length=400M

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.google.co m>...
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_allowed_packet=512M
--set-variable=net_buffer_length=400M

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.google.co m>...
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
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";...
0
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
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...
7
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...
0
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...
1
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...
6
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...
6
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.