Re: The important question

2002-09-26 Thread Heikki Tuuri

Dyego,

the user should submit a repeatable test case if he suspects that a
transaction only partially went to the database. Has he checked that the
return value from his SQL statements was ok, and none was rolled back?

About the reliability problems he had with Windows 2000: he could try
upgrading to Windows XP Professional. In my tests, Windows XP Compaq AMD 1.5
GHz has been rock-solid, except for some temporary freezes under high
load.The freezes resolved themselves in a few minutes. Looks like the
Windows XP kernel sometimes starts to process something and the applications
freeze for a while.

Miguel could study if we can lower the process priority of mysqld on
Windows. It might help if the Windows kernel, or whatever is causing the
freezes, could run more freely.

InnoDB-4.0.4 and 3.23.53 again use unbuffered i/o in Windows. That might
also help to avoid freezes if the very poor read performance of the Windows
2000 and XP file cache is to blame.

Best regards,

Heikki Tuuri
Innobase Oy
---
Order technical MySQL/InnoDB support at https://order.mysql.com/
See http://www.innodb.com for the online manual and latest news on InnoDB

- Original Message -
From: "Dyego Souza do Carmo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 2:23 PM
Subject: Please... give-me your opinion


> Hi,
>
>I had been using mySql for a long time in lots of different
>computers, but now I had a strange problem and I would like to know
>if anyone can send me a message to help me solving the problem.
>
>I installed mySql 3.23.49 on a Dell PowerEdge 2400 with 1Gb RAM,
>dual processor, RAID 3 and Windows 2000 Server. Unfortunately, the
>machine was freezing every day, and some times twice a day. Some
>times, and really frequently, mySql was stopping execution showing
>the message on the screen: "The memory could not be
>read ... mysqld-max-nt.exe". Well, it was clear for me that the
>problem was the machine, then I called DELL Suport Services and
>they said to me that they would send me, by e-mail, some drivers
>and firmwares updates. I received it and they gave me instructions
>to install everything they sent. After that, the problems was the
>same. Then they came to the office and replaced my old RAM for new
>ones. Well, the problem wasn't solved, but the computer became a
>little bit better, freezing less. But it still freezing! The
>next step done by Dell was replacing the motherboard, and as
>before, the problem wasn't solved, but the machine became a little
>bit better, freezing less. Now the machine could work an entire
>week without freezing, but it still freezing.
>
>The worst problem I had using that machine was losing data. I was
>using myIsam tables and, of course, I could not expect all the data
>was in the disk when the machine freezes. After all this, I stoped
>using mySqld-max-nt and started using mySqld-nt, and I don't know
>why I had no new problems with data lost.
>
>Another problem I had using myIsam is that when any user starts a
>select command and it takes long time to finish, all other users
>that was inserting or updating data have to wait. The users was
>asking for a solution for it, and the only way I could find was
>converting to innoDb table. And I was hopping that it could solve
>this problems and also, bring safety to my data, because innoDb
>supports transactions. Then I installed mySql 3.23.52, back using
>mySqld-max-nt and changed my tables to innoDb to use transactions,
>believing my data would be safe after a COMMIT statement. But for
>my surprise, the machine did not freeze and I lost 1 record that
>was inside a begin...commit statemant. The most strange is that
>other records inserted in the same begin...commit was in the disk,
>and only one of that records was lost. My application just insert
>data into that table, and there is not delete or update command
>that could cause it.
>
>This server is used by 25 users and the database is composed by 40
>tables. Some tables have up to 1.5 million records and all database
>has about 10 million records. All tables have up to 20 indexes and
>using myIsam it gets 4 GB (or 16 GB using innoDb).
>
>===
>my.cnf used when all tables was myIsam:
>===
>
> [client]
> #password=my_password
> port=3306
> #socket=MySQL
>
> [mysqld]
> port=3306
> #socket=MySQL
> skip-locking
> default-character-set=latin1
>
> set-variable = key_buffer  = 256M
> set-variable = join_buffer = 16M
> set-variable = myisam_sort_buffer_size = 256M
> set-variable = sort_buffer = 128M
> set-variable = record_buffer   = 8M
> set-variable = max_allowed_packet  = 20M
> set-variable = max_connections = 500
> set-variable = flush_time

Re: The Important question

2002-09-24 Thread mos

At 07:59 AM 9/24/2002, you wrote:

>The developer in my software house put this message...
>
>
>
>Hi,
>
>I had been using mySql for a long time in lots of different
>computers, but now I had a strange problem and I would like to know
>if anyone can send me a message to help me solving the problem.
>
>I installed mySql 3.23.49 on a Dell PowerEdge 2400 with 1Gb RAM,
>dual processor, RAID 3 and Windows 2000 Server. Unfortunately, the
>machine was freezing every day, and some times twice a day. Some
>times, and really frequently, mySql was stopping execution showing
>the message on the screen: "The memory could not be
>read ... mysqld-max-nt.exe".

I've had a similar problem "Cannot read from memory..." or "Cannot write to 
memory..." that would occur a few times a week. It would occur with several 
different applications like text editors, graphics programs etc., so the 
problem is not with a single foreground application. I'm running Win2k 
update pack 2. I changed the memory a couple of days ago so it is too soon 
to tell if that was the problem. I suspect the problem may be a task 
running in the background like Norton Anti-virus or perhaps MySQL server 
itself. Are you running NAV? I'm running  MySQL 4.0.1-alpha-max-nt. I 
changed firewalls and that did not help.

Mike



-
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




Re: The Important question

2002-09-24 Thread Danny Haworth

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

filter: mysql sql query


Hi!

|I installed mySql 3.23.49 on a Dell PowerEdge 2400 with 1Gb RAM,
|dual processor, RAID 3 and Windows 2000 Server. Unfortunately, the
|machine was freezing every day, and some times twice a day. Some
|times, and really frequently, mySql was stopping execution showing
|the message on the screen: "The memory could not be
|read ... mysqld-max-nt.exe". Well, it was clear for me that the

I had a simmilar problem with a "low-end" server a while back. Seem's
the manufacturer (also dell in this case) used resonably "cheap" ram.

I managed to get the thing going by reducing the FSB speed down a notch
(in this case is was from 133Mhz to 100Mhz) and immediately the freezing
stopped.

Have only had this problem once will a dell machine. Usually they seem
to use pretty good parts. Anyway, I swapped the ram out for some nice
Kingston ram and switched the FSB to 133Mhz again and still no problems.

HTH

Danny

- --

Danny Haworth
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ge2 System Administrator
Gas~Elec Safety Systems
Tel : 01895 422 997
Email : [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED])
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9kHU9UKf+497XC3QRAlN6AJ99CocTIv/LfFeKdEEf64gQhwHgkwCfYmdx
0B+1adngtVdzR2CmjToM5M4=
=mk5c
-END PGP SIGNATURE-


-
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




The Important question

2002-09-24 Thread Dyego Souza do Carmo


The developer in my software house put this message...



Hi,

   I had been using mySql for a long time in lots of different
   computers, but now I had a strange problem and I would like to know
   if anyone can send me a message to help me solving the problem.

   I installed mySql 3.23.49 on a Dell PowerEdge 2400 with 1Gb RAM,
   dual processor, RAID 3 and Windows 2000 Server. Unfortunately, the
   machine was freezing every day, and some times twice a day. Some
   times, and really frequently, mySql was stopping execution showing
   the message on the screen: "The memory could not be
   read ... mysqld-max-nt.exe". Well, it was clear for me that the
   problem was the machine, then I called DELL Suport Services and
   they said to me that they would send me, by e-mail, some drivers
   and firmwares updates. I received it and they gave me instructions
   to install everything they sent. After that, the problems was the
   same. Then they came to the office and replaced my old RAM for new
   ones. Well, the problem wasn't solved, but the computer became a
   little bit better, freezing less. But it still freezing! The
   next step done by Dell was replacing the motherboard, and as
   before, the problem wasn't solved, but the machine became a little
   bit better, freezing less. Now the machine could work an entire
   week without freezing, but it still freezing.

   The worst problem I had using that machine was losing data. I was
   using myIsam tables and, of course, I could not expect all the data
   was in the disk when the machine freezes. After all this, I stoped
   using mySqld-max-nt and started using mySqld-nt, and I don't know
   why I had no new problems with data lost.

   Another problem I had using myIsam is that when any user starts a
   select command and it takes long time to finish, all other users
   that was inserting or updating data have to wait. The users was
   asking for a solution for it, and the only way I could find was
   converting to innoDb table. And I was hopping that it could solve
   this problems and also, bring safety to my data, because innoDb
   supports transactions. Then I installed mySql 3.23.52, back using
   mySqld-max-nt and changed my tables to innoDb to use transactions,
   believing my data would be safe after a COMMIT statement. But for
   my surprise, the machine did not freeze and I lost 1 record that
   was inside a begin...commit statemant. The most strange is that
   other records inserted in the same begin...commit was in the disk,
   and only one of that records was lost. My application just insert
   data into that table, and there is not delete or update command
   that could cause it.

   This server is used by 25 users and the database is composed by 40
   tables. Some tables have up to 1.5 million records and all database
   has about 10 million records. All tables have up to 20 indexes and
   using myIsam it gets 4 GB (or 16 GB using innoDb).

   ===
   my.cnf used when all tables was myIsam:
   ===

[client]
#password=my_password
port=3306
#socket=MySQL

[mysqld]
port=3306
#socket=MySQL
skip-locking
default-character-set=latin1

set-variable = key_buffer  = 256M
set-variable = join_buffer = 16M
set-variable = myisam_sort_buffer_size = 256M
set-variable = sort_buffer = 128M
set-variable = record_buffer   = 8M
set-variable = max_allowed_packet  = 20M
set-variable = max_connections = 500
set-variable = flush_time  = 2000

#set-variable = thread_cache= 8
#set-variable = thread_concurrency  = 16
#set-variable = thread_stack= 128K
#set-variable = table_cahe  = 512

#set-variable = interactive_timeout = 300
#set-variable = wait_timeout= 300

basedir = e:/mysql/
datadir = e:/mysql/data/

[mysqldump]
quick
set-variable = max_allowed_packet = 20M

#[mysql]
#no-auto-rehash

[isamchk]
set-variable = key_buffer= 256M
set-variable = sort_buffer   = 256M
set-variable = read_buffer   = 8M
set-variable = write_buffer  = 8M

[myisamchk]
set-variable = key_buffer= 256M
set-variable = sort_buffer   = 256M
set-variable = read_buffer   = 8M
set-variable = write_buffer  = 8M

   ==
   my.cnf used when it was changed to innoDb:
   ==

[client]
#password=my_password
port=3306
#socket=MySQL

[mysqld]
port=3306
#socket=MySQL
skip-locking
default-character-set=latin1

set-variable = key_buffer  = 16M
set-variable = join_buffer = 16M
set-variable = myisam_sort_buffer_size = 256M
set-variable = sort_buffer = 16M
set-variable = record_buffer   = 8M
set-variable = max_allowed_packet  = 20M
set-variable = max_connections = 500
#set-variable = flush_time  = 2000

#set-variable = thread_cache= 8
#set-variable = thre