Re: quick question on innodb_log_file_size

2008-08-21 Thread Mark Leith

Jenny Chen wrote:

Hi,

According to the reference manual, it was said that the combined lnnodb log
file size is less than 4G on 32-bit system. But I'm running on my 64-bit
solaris, I still got the error complaining the innodb log file 4G for my
64-bit MySQL. So I'm wondering is this 4G limit apply on 64-bit system as
well? Why?
  


Yes.

[EMAIL PROTECTED]:~/mysql/mysql-5.1/storage] $ grep -irn 
innobase_log_file_size ./*
./innobase/handler/ha_innodb.cc:105:static long long 
innobase_buffer_pool_size, innobase_log_file_size;
./innobase/handler/ha_innodb.cc:1466:   if 
(innobase_log_file_size  UINT_MAX32) {
./innobase/handler/ha_innodb.cc:1468:   
innobase_log_file_size can't be over 4GB
./innobase/handler/ha_innodb.cc:1580:   srv_log_file_size = (ulint) 
innobase_log_file_size;
./innobase/handler/ha_innodb.cc:8106:static 
MYSQL_SYSVAR_LONGLONG(log_file_size, innobase_log_file_size,


The docs are wrong - I'll have that updated.

Best regards

Mark

--
Mark Leith
MySQL Regional Support Manager, Americas
Sun Microsystems, Inc., http://www.sun.com/mysql/ 



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



quick question on innodb_log_file_size

2008-08-20 Thread Jenny Chen
Hi,

According to the reference manual, it was said that the combined lnnodb log
file size is less than 4G on 32-bit system. But I'm running on my 64-bit
solaris, I still got the error complaining the innodb log file 4G for my
64-bit MySQL. So I'm wondering is this 4G limit apply on 64-bit system as
well? Why?

Thanks in advance for your information.


Jenny