Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
ODBC - ODBC with the MySQL Connector/ODBC driver
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Sorry for the dumb question how do I fix table is full?

Sorry for the dumb question how do I fix table is full?

2006-06-28       - By Brent Baisley

 Back
Reply:     1     2     3     4     5     6  

MySQL by default limits tables to 4GB, it looks like you hit that limit. It's
fairly easy to change that limit, ideally when you
create the table. Before MySQL 5.0.6., the default pointer size was 4bytes,
which limits you to 4GB. That's the default size, if you
specify a max_rows, that size will change.

Bottom line, run this command (it may take a while):
ALTER TABLE data max_rows=100000000

I just picked 100 million as the max_rows as an arbitrary number. You can set
it lower or higher (higher than your current 8.5
million). Here are some links that go into more detail.
http://jeremy.zawodny.com/blog/archives/000796.html
http://dev.mysql.com/doc/refman/5.0/en/full-table.html


-- -- Original Message -- --
From: "Jacob, Raymond A Jr" <raymond.jacob@(protected)>
To: "Dan Buettner" <drbuettner@(protected)>
Cc: <mysql@(protected)>
Sent: Wednesday, June 28, 2006 3:01 PM
Subject: RE: Sorry for the dumb question how do I fix table is full?


mysql> SHOW TABLE STATUS LIKE 'data';
+-- ---+-- -----+-- ------+-- ---- ----+-- ------+-- ---- ---- ---+-- --
-- -----+-- ---- ---- ----+-- ---
-- -----+-- ---- ---+-- ---- ---- ---+-- ---- ---- ---- ---+-- ---- ----
-- ------+-- ---- ----+-- ---- --
-- ------+-- ---- --+-- ---- ---- ---+-- ------+
| Name | Engine | Version | Row_format | Rows    | Avg_row_length |
Data_length | Max_data_length | Index
_length | Data_free | Auto_increment | Create_time         | Update_time
| Check_time | Collation
        | Checksum | Create_options | Comment |
+-- ---+-- -----+-- ------+-- ---- ----+-- ------+-- ---- ---- ---+-- --
-- -----+-- ---- ---- ----+-- ---
-- -----+-- ---- ---+-- ---- ---- ---+-- ---- ---- ---- ---+-- ---- ----
-- ------+-- ---- ----+-- ---- --
-- ------+-- ---- --+-- ---- ---- ---+-- ------+
| data | MyISAM |       9 | Dynamic    | 8593198 |            499 |
4294967280 |      4294967295 |    11
5791872 |         0 |           NULL | 2006-03-02 18:47:02 | 2006-06-09
21:08:48 | NULL       | latin1_sw
edish_ci |     NULL |                |         |
+-- ---+-- -----+-- ------+-- ---- ----+-- ------+-- ---- ---- ---+-- --
-- -----+-- ---- ---- ----+-- ---
-- -----+-- ---- ---+-- ---- ---- ---+-- ---- ---- ---- ---+-- ---- ----
-- ------+-- ---- ----+-- ---- --
-- ------+-- ---- --+-- ---- ---- ---+-- ------+
1 row in set (0.07 sec)

mysql>

-- --Original Message-- --
From: Dan Buettner [mailto:drbuettner@(protected)]
Sent: Wednesday, June 28, 2006 12:43
To: Jacob, Raymond A Jr
Cc: mysql@(protected)
Subject: Re: Sorry for the dumb question how do I fix table is full?

Raymond, can you post the output of

SHOW TABLE STATUS LIKE 'data';

that should show how big your table is and how big it can be...

Dan



On 6/28/06, Jacob, Raymond A Jr <raymond.jacob@(protected)> wrote:
> Environment: Freebsd 6.0
> Mysql : mysql Ver 14.7 Distrib 4.1.18, for porbld-freebsd6.0 (i386)
> using 5.0
>
> On the client, I get /var/log/messages, I get the errors:
>  kernel: 9643D22706C
>  and
> database: mysql_error: The table 'data' is full SQL=INSERT INTO data
> (sid,cid,data_payload) VALUES"
>
>
> I have 7Gig free on the database Server.
>
> I assumed tables became full when I ran out of disk space. I guess I
> was wrong.
>
> On the server /var/log/messages is clear except for entries when I ran

> out of disk space On June 3,2006.
>
> Please tell what do I need to do stop the client from generating error

> messages and sending Data to the server?
>
> Thank you,
> raymond

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=brenttech@(protected)


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=mysql@(protected)