Hi, This is a bug in myisamchk. The problem is already fixed in mysql-4.0.2 :
http://www.mysql.com/doc/N/e/News-4.0.2.html "Fixed new bug in myisamchk where it didn't correctly update number of ``parts'' in the MyISAM index file. " Best Regards, Jocelyn Fournier Presence-PC ----- Original Message ----- From: "Amir Aliabadi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 18, 2002 6:58 AM Subject: Re: Warning, Found xxx parts Should be: 0 parts > I had a typo I was trying to use myisamchk -r not -f to fix it which did > not fix it. > > myisamchk -o seems to fix the problem. > > The real question is why am i getting this when creating index(s). > Although I'm using the Alpha version, I don't get a warm fuzzy.... > > Any responses on what could be causing this would be great. > > On Sun, 2002-02-17 at 20:36, [EMAIL PROTECTED] wrote: > > Description: > > After inserting 1062351 records into a table I create 2 index on the table. > > It seems like after creating the indexs (test have shown that the error appears after creating the first index) I get the following warning when i do a CHECK TABLES mytablename or a mysisamchk -a mytablename: > > > > Found 1062351 parts Should be: 0 parts > > > > I have tried to fix with myisamchk -f mytablename but it does not correct the problem > > > > How-To-Repeat: > > I cannot include the data set I am loading. > > the basic step are: > > DROP mytablename IF EXISTS mytablename; > > CREATE TABLE mytablename > > ( myid1 int, > > title text, > > description text, > > classid int, > > distribution int > > ); > > LOAD DATA CONCURRENT INFILE "/usr/mydataset/mydata.dat" INTO TABLE mytablename FIELDS TERMINATED BY '~~'; > > ALTER TABLE mytablename ADD INDEX idx_myid1 (myid1); > > ALTER TABLE mytablename ADD INDEX idx_dist (distribution); > > CHECK TABLES mytablename; > > > > after the above step i get the warning: > > Found 1062351 parts Should be: 0 parts > > > > The number of record in mytablename is 1062351 > > > > Fix: > > This is a warning. I don't have a fix > > > > >Submitter-Id: <submitter ID> > > >Originator: [EMAIL PROTECTED] > > >Organization: > > > > >MySQL support: none > > >Synopsis: Warning: Found 1062351 parts Should be: 0 parts after creating index > > >Severity: non-critical > > >Priority: low > > >Category: mysql > > >Class: sw-bug > > >Release: mysql-4.0.1-alpha (Official MySQL RPM) > > >Server: /usr/bin/mysqladmin Ver 8.23 Distrib 4.0.1-alpha, for pc-linux-gnu on i686 > > Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB > > This software comes with ABSOLUTELY NO WARRANTY. This is free software, > > and you are welcome to modify and redistribute it under the GPL license > > > > Server version 4.0.1-alpha > > Protocol version 10 > > Connection Localhost via UNIX socket > > UNIX socket /var/lib/mysql/mysql.sock > > Uptime: 4 days 16 hours 14 min 1 sec > > > > Threads: 2 Questions: 1582 Slow queries: 87 Opens: 409 Flush tables: 6 Open tables: 6 Queries per second avg: 0.004 > > >Environment: > > > > System: Linux bigbone 2.4.16 #3 SMP Thu Dec 13 21:15:14 PST 2001 i686 unknown > > Architecture: i686 > > > > Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc > > GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs > > gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) > > Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium' CXX='gcc' CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors -fno-ex ceptions -fno-rtti -mpentium' LDFLAGS='' > > LIBC: > > lrwxrwxrwx 1 root root 13 Dec 23 09:39 /lib/libc.so.6 -> libc-2.2.4.so > > -rwxr-xr-x 1 root root 5723311 Dec 8 06:04 /lib/libc-2.2.4.so > > -rw-r--r-- 1 root root 27314296 Dec 8 06:02 /usr/lib/libc.a > > -rw-r--r-- 1 root root 178 Dec 8 06:02 /usr/lib/libc.so > > Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static --with-clien t-ldflags=-all-static --without-berkeley-db --with-innodb --enable-assembler --with-mysqld-user=mysql --with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/ --with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/us r/sbin --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql --infodir=/usr/info --includedir=/usr/include --mandir=/usr/man --with-embe dded-server --enable-thread-safe-client '--with-comment=Official MySQL RPM' > > > > > > > > --------------------------------------------------------------------- > > 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 > > > > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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