Increasing max data file length?

2001-12-28 Thread Guðmundur Ólafsson

Hi,

I have a table that has now reached 4gb but I thought that shouldn't be a
problem since the table is running with raid. I noticed that the Datafile
length has reached the Max Datafile length and I tried to increase it with
myisamchk -r --data-file-length=8589934588 with no success. Do I need to
clean the table up bigtime or can I increase this somehow? Can anyone please
help me? :)

Best regards,
Gudmundur


uname -a:
Linux cartman 2.4.9-6smp #1 SMP Thu Oct 18 09:22:57 EDT 2001 i686 unknown


myisamchk -dv:

MyISAM file: data
Record format:   Packed
Character set:   latin1 (8)
File-version:1
Creation time:   2001-06-28 13:29:11
Recover time:2001-12-28 15:18:12
Status:  changed
Auto increment key:  1  Last value:450036
RAID:Type:  1   Chunks: 6  Chunksize: 65536
Data records:   295294  Deleted blocks: 0
Datafile parts: 295294  Deleted data:   0
Datafile pointer (bytes):4  Keyfile pointer (bytes):4
Datafile length:4294912120  Keyfile length:   8341504
Max datafile length:4294967294  Max keyfile length: 4398046510079
Recordlength:  131



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Mysql wont start up correctly

2001-06-28 Thread Guðmundur Ólafsson

Hi,

I am running mysql 3.23.38-log with the my-huge.cnf and I saw that one table was 
getting pretty close to the 2gb's so I decided to recompile the mysql with the 
--with-raid parameter. And I do so, the compile goes fine and when I tried to run up 
the server it did this:

root 15677  1.0  0.0  2140 1028 pts/2S10:48   0:00 /bin/sh 
/usr/local/bin/safe_mysqld --datadir=/u01/mysql --pid-file=/u01/mysql/cartman.pid
root 15702  3.0  0.0 11988 1668 pts/2S10:48   0:00 
/usr/local/libexec/mysqld --basedir=/usr/local --datadir=/u01/mysql --user=root 
--pid-file=/u
root 15704  0.0  0.0 00 pts/2Z10:48   0:00 [mysqld defunct]

And just stopped there. I checked all the tables with myisamchk, tried starting it up 
without the config, recompiling the server with the old configure line. Then when I 
changed the mysql-server to startup safe_mysqld with strace to try to see where it 
stopped it started up normally. Ok I thought the problem was solved so I take out the 
strace and run it again and the server halts. Since I needed the server to be running 
it worked fine if I started the mysql without the safe_mysqld directly from command 
line.

./mysqld --basedir=/usr/local --datadir=/u01/mysql --user=root 
--pid-file=/u01/mysql/cartman.pid --skip-locking 

Has anyone seen anything like that or have any solutions for me? Since I don't want to 
be running the server like that.

regards,
Gudmundur


Some info on the machine:

RedHat 7.1
Linux cartman 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 unknown

Filesystem   1k-blocks  Used Available Use% Mounted on
/dev/sda3  6048352   2473604   3267508  44% /
/dev/sda131079 14120 15355  48% /boot
/dev/sdb1104957340  25894880  73730892  26% /u01
/dev/sda4 10381036   3465764   6387940  36% /var

HP NetServer LT6000r 
2 x Intel PIII Xeon 700 1M Cache
4 GB ECC RAM 
2 x HP 18.2GB 10K Ultra3 Wide keyrandi Raid 1
6 x HP 36.4GB 10K Ultra3 Wide keyrandi Raid 0,1 in a RS 12.





Tables exceeding 2gb

2001-06-26 Thread Guðmundur Ólafsson

Hi,

I have a Linux machine (Linux cartman 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 
i686 unknown) that is running MySQL 3.23.38-log and now I have a table that is getting 
VERY near to the ext2 filesystem limitation of 2gb. Exact size of the table is: 
2039867196 :) So my question is. What happens? Does mysql write into another file and 
automatically merge them on the fly or does the table stop or what? Also what 
suggestions do you have concerning this matter?

regards,
Gudmundur