RE: Best Configuration on Production Server

2010-03-19 Thread Gavin Towey
What changed between your test that took 5ms and the current production system? -Original Message- From: Abdul Mohid Khan [mailto:abdulmohid.k...@magnaquest.com] Sent: Friday, March 19, 2010 12:27 AM To: mysql@lists.mysql.com Cc: Abdul Mohid Khan Subject: Best Configuration on Production S

Re: MySQL Encryption

2010-03-19 Thread Jim
Thanks for the reply, John. What you are describing seems to be the approach I've seen on the few places I've seen this topic discussed. I've been considering something along those lines, essentially a two part key. Part one of the key is made from some data that is in the record I want to

Re: Innodb and bulk writes

2010-03-19 Thread Max Bube
Hi Raj, Ananda, the schema is very simple, we don't have any blob or text column. I thought the same about the log files, so I tried with diferent sizes but nothing change. This is the output of iostat -x 1 when the performance is slow running a restore avg-cpu: %user %nice %system %iowait %

setting auto_increment value with a local variable

2010-03-19 Thread Suresh Kuna
Hi, Is there any way to set the auto_increment value with the variable like below. mysql> set @id=10; mysql> alter table suresh_copy auto_increme...@id; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to u

Re: Slow queries when using left join

2010-03-19 Thread Johan De Meersman
2010/3/19 Olav Mørkrid > Dear MySQL forum. > > I have performance problems when using "left join x" combined with > "where x.y is null", in particularily when combining three tables this > way. > With a left join, particularly when you're using *is (not) null*, you can't use index selecting on y

Re: MySQL Encryption

2010-03-19 Thread John Daisley
Jim, I tend to derive a key based on a separate character string and the contents of the data in the same or a related table. This means each row has a unique encryption key and you never have to have the whole key stored somewhere (you don't even know it :p ). Biggest advantage to this is should

Slow queries when using left join

2010-03-19 Thread Olav Mørkrid
Dear MySQL forum. I have performance problems when using "left join x" combined with "where x.y is null", in particularily when combining three tables this way. Please contact me by e-mail if you are familiar with these issues and know how to eliminate slow queries. I would really appreciate you

Best Configuration on Production Server

2010-03-19 Thread Abdul Mohid Khan
Hi list, I am having a problem with one of our production server. The performance of the server get decrease considerably in production server. We are using mysql data base of a Authentication Server. When we have tested same server on test environment (2GB RAM, 2 CPU) we are getting 5 ms but