Re: key_buffer_size and InnoDB tables

2007-04-12 Thread Ding Deng
"Jim" <[EMAIL PROTECTED]> writes: > On the following page and in the example ini files installed with MySQL > it's suggested that key_buffer_size is an option that affects MyISAM > performance. > > http://dev.mysql.com/doc/refman/5.0/en/server-system-variable

key_buffer_size and InnoDB tables

2007-04-12 Thread Jim
On the following page and in the example ini files installed with MySQL it's suggested that key_buffer_size is an option that affects MyISAM performance. http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html But on the following page about tuning MySQL server parameters, it

key_buffer_size - need help

2006-09-27 Thread Ratheesh K J
Hlo, We have all our tables as Innodb type. As I understand the variable key_buffer_size is used only for MyISAM tables. Currently we have this var set to 256M on a 4GB RAM machine. Only the Temporary tables created using (CREATE TEMPORARY TABLE) will be of MyISAM type. And there are a lot of

Re[2]: key_buffer_size and memory used by mysqld

2006-03-11 Thread Denis Solovyov
3.4% (twenty MB or so in my case) of memory it is not indeed true and actually the usage for every thread is less than `ps` shows as I understand it? KJ> Also its very easy to set key_buffer_size , just add up the KJ> total size of your indexes in the mysql data dir ( *.MYI files) and KJ&g

Re: key_buffer_size and memory used by mysqld

2006-03-09 Thread Kishore Jalleda
read_buffer join_buffer read_rnd_buffer and global_buffers includes: key_buffer innodb_buffer_pool innodb_log_buffer innodb_additional_mem_pool net_buffer Also its very easy to set key_buffer_size , just add up the total size of your indexes in the mysql data dir ( *.MYI files) and

key_buffer_size and memory used by mysqld

2006-03-09 Thread Denis Solovyov
Please explain to me how mysqld's "key buffer" uses memory under Linux (kernel 2.4, glibc 2.3, mysql 4.1). I'd want to know for sure if every mysqld thread (forked upon an incoming connection) uses its own memory for key buffer (key_buffer_size) or key buffer is

Re: key_buffer_size vs innodb_buffer_pool_size

2006-01-24 Thread sheeri kritzer
innodb_buffer_pool_size + key_buffer_size + max_connections*(sort_buffer_size + read_buffer_size + binlog_cache_size) + max_connections*2MB is what I was told recently on this list. -Sheeri Kritzer On 1/16/06, Grant Giddens <[EMAIL PROTECTED]> wrote: > I don't know if I still fu

Re: key_buffer_size vs innodb_buffer_pool_size

2006-01-16 Thread Grant Giddens
I don't know if I still fully understand. Say I have a database with a good mix of myisam and innodb type tables. If my server has 1 gig of ram and I set key_buffer_size=256M and innodb_buffer_pool_size=256M then wouldn't mysql be constrained to 512M of the ram and leave the

Re: key_buffer_size vs innodb_buffer_pool_size

2006-01-15 Thread Eric Bergen
The difference in recommendation size comes from the different techniques each storage engine uses for caching data. myisam (key_buffer_size) only stores indexes where innodb_buffer_pool_size stores both indexes and data. mysiam relies on the operating system to cache data in ram which is why you

key_buffer_size vs innodb_buffer_pool_size

2006-01-14 Thread Grant Giddens
Hi, After reading through the example my.cnf files (large, huge, etc), I started to wonder what the difference was between the isam key_buffer_size and the innodb innodb_buffer_pool_size. I realize that they are two different table types, but some of the docs says to set the

RE: really big key_buffer_size (> 4GB)?

2005-11-10 Thread Lopez David E-r9374c
To: mysql@lists.mysql.com Cc: [EMAIL PROTECTED] Subject: really big key_buffer_size (> 4GB)? I'm running 4.0.25 on NetBSD 3 on an amd64. It appears that the key_buffer_size is being truncated to 4GB, even though I've set it larger. Could someone give me a hint about where to look? I&#x

Re: really big key_buffer_size (> 4GB)?

2005-11-10 Thread Chris Kantarjiev
Chris Wells wrote: Chris Kantarjiev wrote: I'm running 4.0.25 on NetBSD 3 on an amd64. It appears that the key_buffer_size is being truncated to 4GB, even though I've set it larger. Could someone give me a hint about where to look? I'm a little suspicious of ha_resize_key_c

Re: really big key_buffer_size (> 4GB)?

2005-11-10 Thread Chris Wells
Chris Kantarjiev wrote: I'm running 4.0.25 on NetBSD 3 on an amd64. It appears that the key_buffer_size is being truncated to 4GB, even though I've set it larger. Could someone give me a hint about where to look? I'm a little suspicious of ha_resize_key_cache() which is using l

really big key_buffer_size (> 4GB)?

2005-11-10 Thread Chris Kantarjiev
I'm running 4.0.25 on NetBSD 3 on an amd64. It appears that the key_buffer_size is being truncated to 4GB, even though I've set it larger. Could someone give me a hint about where to look? I'm a little suspicious of ha_resize_key_cache() which is using longs internally to hold t

problems with key_buffer_size > 4 GBytes

2005-10-20 Thread Lopez David E-r9374c
solaris box with 16 Gbytes of memory os using 5.8, mysql at 4.0.20_64bit with key_buffer_size set to 6144m, the mysqld crashes and re-starts (mysql_safe) under heavy load (1day to 1week). prior to this, key_buffer_size set to 1.5G and no crashes since early 2004. the process size is 2G even

Re: key_buffer or key_buffer_size

2004-06-10 Thread Egor Egorov
Chambon <[EMAIL PROTECTED]> wrote: > Can somebody tell me if 'key_buffer' and 'key_buffer_size' are the same variables ? Yes. _size is deprecated. > Perhaps it is just a question of syntax, I mean, in the my.cnf >you write key_buffer=100M > or you

key_buffer or key_buffer_size

2004-06-07 Thread Chambon
Hi, Can somebody tell me if 'key_buffer' and 'key_buffer_size' are the same variables ? Perhaps it is just a question of syntax, I mean, in the my.cnf you write key_buffer=100M or you write set-variable = key_buffer_size=100M Same question for sort_buffer and sort_buffer

Re: key_buffer_size and INNODB

2004-04-19 Thread Paul DuBois
At 9:45 -0700 4/19/04, Emmett Bishop wrote: Is the key_buffer_size server variable useful for tuning databases that only have innodb tables or do I need to use the innodb_buffer_pool_size variable for this? The buffer controlled by key_buffer_size is used only for MyISAM and ISAM tables. -- Paul

key_buffer_size and INNODB

2004-04-19 Thread Emmett Bishop
Is the key_buffer_size server variable useful for tuning databases that only have innodb tables or do I need to use the innodb_buffer_pool_size variable for this? Thx, Tripp __ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital

Re: tuning key_buffer_size

2004-01-09 Thread walt
 Thomas wrote: > > Hello all, > > My mySQL 4.1.0 server is currently set to use a key_buffer_size of 32M. My > server has 1GB of RAM, and is now using only InnoDB tables. > > The manual says that 'Key_reads/Key_read_request ratio should normally be < > 0.01&#

tuning key_buffer_size

2004-01-09 Thread Joshua Thomas
Hello all, My mySQL 4.1.0 server is currently set to use a key_buffer_size of 32M. My server has 1GB of RAM, and is now using only InnoDB tables. The manual says that 'Key_reads/Key_read_request ratio should normally be < 0.01'; mine is ~ 0.12; the manual also says 'Key_write/

Re: Key_buffer_size

2003-09-30 Thread Paul DuBois
At 14:12 -0700 9/30/03, Jeremy Zawodny wrote: On Tue, Sep 30, 2003 at 09:11:59PM +0100, [EMAIL PROTECTED] wrote: Mysql database have only innodb tables. I'm not using MyISAM. Really? Unless I'm smoking crack, there used to be code in InnoDB that refused to convert the mysql.* tables to InnoDB. I

RE: Key_buffer_size

2003-09-30 Thread Marvin Wright
13 To: [EMAIL PROTECTED] Cc: Misaochankun; [EMAIL PROTECTED] Subject: Re: Key_buffer_size On Tue, Sep 30, 2003 at 09:11:59PM +0100, [EMAIL PROTECTED] wrote: > > Mysql database have only innodb tables. I'm not using MyISAM. Really? Unless I'm smoking crack, there used to be code i

Re: Key_buffer_size

2003-09-30 Thread Jeremy Zawodny
On Tue, Sep 30, 2003 at 09:11:59PM +0100, [EMAIL PROTECTED] wrote: > > Mysql database have only innodb tables. I'm not using MyISAM. Really? Unless I'm smoking crack, there used to be code in InnoDB that refused to convert the mysql.* tables to InnoDB. If that's changed, I'd love to know why.

RE: Key_buffer_size

2003-09-30 Thread Dathan Vance Pattishall
nal Message- -->From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] -->Sent: Tuesday, September 30, 2003 1:12 PM -->To: Misaochankun -->Cc: [EMAIL PROTECTED] -->Subject: RE: Key_buffer_size --> --> -->Mysql database have only innodb tables. I'm not using MyISAM. --&

RE: Key_buffer_size

2003-09-30 Thread aguia
ber 30, 2003 12:35 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Key_buffer_size > > On Tue, Sep 30, 2003 at 08:17:20PM +0100, [EMAIL PROTECTED] wrote: > > > > > > Hi all :) > > > > I'm working with InnoDB tables only, and i re

RE: Key_buffer_size

2003-09-30 Thread Misaochankun
Most likely your mysql database is still MyISAM, right? -Original Message- From: Jeremy Zawodny [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 12:35 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Key_buffer_size On Tue, Sep 30, 2003 at 08:17:20PM +0100, [EMAIL

Re: Key_buffer_size

2003-09-30 Thread Jeremy Zawodny
On Tue, Sep 30, 2003 at 08:17:20PM +0100, [EMAIL PROTECTED] wrote: > > > Hi all :) > > I'm working with InnoDB tables only, and i read that the Key_buffer_size is only > used for MyISAM tables. Is it true? > If yes, i can put this variable to 0? Why not leave it at th

Key_buffer_size

2003-09-30 Thread aguia
Hi all :) I'm working with InnoDB tables only, and i read that the Key_buffer_size is only used for MyISAM tables. Is it true? If yes, i can put this variable to 0? Thx Alexis -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Re: trouble setting key_buffer_size on a debian slave

2003-02-28 Thread Liz Derr
> I'm using the same MySQL version on debian and have no problem > setting the key_buffer size. I take it you are setting > "key_buffer" and not "key_buffer_size" in the my.cnf file ? > eg. > set-variable= key_buffer=32M Yes, this is what I'm d

re: trouble setting key_buffer_size on a debian slave

2003-02-28 Thread Martin Waite
Hi, I'm using the same MySQL version on debian and have no problem setting the key_buffer size. I take it you are setting "key_buffer" and not "key_buffer_size" in the my.cnf file ? eg. set-variable= key_buffer=32M I don't know why it has a different nam

re: trouble setting key_buffer_size on a debian slave

2003-02-27 Thread Liz Derr
t redo the slave database, so I took a fresh snapshot of the master (now with the larger key_buffer_size), scp'ed to the slave, shutdown mysqld on the slave, untarred it into the mysql dirs, deleted master.info, confirmed my.cnf was how I wanted it (with the larger buffer specified), started up mys

re: trouble setting key_buffer_size on a debian slave

2003-02-27 Thread William R. Mussatto
he status and variable settings (detailed below) and >> the MySQL online manual, I decided that I needed to up the >> key_buffer_size. Unfortunately, I've not been successful in doing >> this. >> >> I tried setting it at the command line: >> mysql&

re: trouble setting key_buffer_size on a debian slave

2003-02-27 Thread Egor Egorov
(detailed below) and the > MySQL online manual, I decided that I needed to up the key_buffer_size. > Unfortunately, I've not been successful in doing this. > > I tried setting it at the command line: > mysql> set key_buffer_size=32M; > ERROR 1064: You have an error in y

trouble setting key_buffer_size on a debian slave

2003-02-26 Thread Liz Derr
cided that I needed to up the key_buffer_size. Unfortunately, I've not been successful in doing this. I tried setting it at the command line: mysql> set key_buffer_size=32M; ERROR 1064: You have an error in your SQL syntax near 'key_buffer_size=32M' at line 1 I tried setting

Re: setting key_buffer_size correctly

2001-02-16 Thread Benjamin Pflugmann
Hi. On Fri, Feb 16, 2001 at 03:05:35AM -0500, [EMAIL PROTECTED] wrote: > Hello, I have a large database with a lot of queries and was trying to > tune MySQL to get the best performance. I was reading the manuals and it > said to set the key_buffer_size to the best value, you take the fi

setting key_buffer_size correctly

2001-02-15 Thread twilight
Hello, I have a large database with a lot of queries and was trying to tune MySQL to get the best performance. I was reading the manuals and it said to set the key_buffer_size to the best value, you take the first two of the following values and divide by each other. I believe it said you should