473,386 Members | 1,785 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,386 software developers and data experts.

CONSTANT corruption on myISAM (4.0.20a w32)

mySQL (4.0.20a win32), dual amd2200 machine, 4 gigs of DDR ECC memory.

I have a series of 33 tables, identical in structure : (field names
shortened)

CREATE TABLE `dbtable1` (
`FS` varchar(254) NOT NULL default '',
`NAM` varchar(254) NOT NULL default '',
`H` int(11) NOT NULL default '0',
`SIZ` int(11) default NULL,
`R` char(1) default NULL,
`CI` varchar(254) default NULL,
`AV` char(1) default NULL,
`CL` int(11) default NULL,
`BW` int(11) default NULL,
`TS` timestamp(14) NOT NULL,
`CO` blob,
`AT` varchar(254) default '',
`NS` varchar(254) default '',
`NL` varchar(254) default NULL,
PRIMARY KEY (`FS`),
KEY `IDX_TS` (`TS`),
KEY `IDX_H` (`H`),
KEY `IDX_R` (`R`,`FS`)
) TYPE=MyISAM MAX_ROWS=100000000;

The tables are constantly going corrupt at random, IE : 'Can't open file
*.MYI (errno : 145)'

My understanding is that if the server is shut down incorrectly it can cause
this. The server has remained up and stable the whole time.

Also, if the table is closed incorrectly..? Is there any way to tell from
logs IF and WHEN this may be happening so I can figure out the source of
this constant corruption. When using ado/odbc do I have to tell the
connection to wait for anything??? My suspicion is it is happening on
deleting 1 record... not completely sure though...

HINT : Whenever I repair extended on a table, it nearly always says
'Duplicate key records' and it fixed the number of rows to 2 or 3 less (-)
than what it thought....

I did increase my key buffer to 1000, and sort buffer size = 2, other than
that the ONLY thing I changed was the network simultaneous connections to
200, are there other parameters I need to change to accommodate more memory
and more connections?

Could the memory be causing these errors, hardware, configuration? mySQL
bugs??
H E L P!!! ----ANY help on what to look for would be greatly appreciated.

-Craig
cs********@hotmail.com
Jul 20 '05 #1
1 1423
"Craig Stadler" wrote:
mySQL (4.0.20a win32), dual amd2200 machine, 4 gigs of DDR ECC memory.
I have a series of 33 tables, identical in structure : (field names
shortened)

CREATE TABLE `dbtable1` (
`FS` varchar(254) NOT NULL default ’’,
`NAM` varchar(254) NOT NULL default ’’,
`H` int(11) NOT NULL default ’0’,
`SIZ` int(11) default NULL,
`R` char(1) default NULL,
`CI` varchar(254) default NULL,
`AV` char(1) default NULL,
`CL` int(11) default NULL,
`BW` int(11) default NULL,
`TS` timestamp(14) NOT NULL,
`CO` blob,
`AT` varchar(254) default ’’,
`NS` varchar(254) default ’’,
`NL` varchar(254) default NULL,
PRIMARY KEY (`FS`),
KEY `IDX_TS` (`TS`),
KEY `IDX_H` (`H`),
KEY `IDX_R` (`R`,`FS`)
) TYPE=MyISAM MAX_ROWS=100000000;

The tables are constantly going corrupt at random, IE :
’Can’t open file
*.MYI (errno : 145)’

My understanding is that if the server is shut down incorrectly it can cause
this. The server has remained up and stable the whole time.

Also, if the table is closed incorrectly..? Is there any way to tell from
logs IF and WHEN this may be happening so I can figure out the source of
this constant corruption. When using ado/odbc do I have to tell the
connection to wait for anything??? My suspicion is it is happening on deleting 1 record... not completely sure though...

HINT : Whenever I repair extended on a table, it nearly always says
’Duplicate key records’ and it fixed the number of rows
to 2 or 3 less (-)
than what it thought....

I did increase my key buffer to 1000, and sort buffer size = 2, other than
that the ONLY thing I changed was the network simultaneous connections to
200, are there other parameters I need to change to accommodate more memory
and more connections?

Could the memory be causing these errors, hardware, configuration?
mySQL
bugs??
H E L P!!! ----ANY help on what to look for would be greatly
appreciated.

-Craig
cs********@hotmail.com


I am having the same problems, with corruptions showing up once every
2-3 days. Appreciate feedback as well. Running on RH Linux.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/mySQL-CONSTA...ict144467.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=486767
Jul 20 '05 #2

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

Similar topics

1
by: Craig Stadler | last post by:
mySQL (4.0.20a win32), dual amd2200 machine, 4 gigs of DDR ECC memory. I have a series of 33 tables, identical in structure : (field names shortened) CREATE TABLE `dbtable1` ( `FS`...
5
by: steve | last post by:
Hi, Besides transaction capability, is there anything else about innodb tables that makes it superior to myISAM? I really don’t need transactions, but for example, I need superior reliability...
19
by: Mark C. | last post by:
The company I work for has been running Access 2000 on a Windows NT server with Opportunistic Locking turned off on the server without issue for almost a year. We have just switched to a Windows...
1
by: Mark | last post by:
The company I work for has been running Access 2000 on a Windows NT server with Opportunistic Locking turned off on the server without issue for almost a year. We have just switched to a Windows...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
0
by: chasun | last post by:
I am using mysql-4.0.24 on a Windows2000 machine for a small but complicated application. A few times I've experienced corruption of tables. Most of the times the error was -"can't open file:...
42
by: Doug | last post by:
I am in a friendly debate with some co-workers... and my boss. We use Access 2003 for the frontend (on workstations) as well as for the backend (on a Dell PowerEdge running Windows 2000 server,...
0
by: Ivica Dimjasevic | last post by:
I don't know. This redo log corruption occurred on three machines with Personal 8.0.4., in period of two days, and on every system Bugbear was detected. We have installations of PE 8.0.4. in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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.