I read here that
You need buffer pool a bit (say 10%) larger than your data (total size of Innodb TableSpaces)
On the other hand I've read elswher that innodb_buffer_pool_size must be up to %80 of the memory. So I'm really confused how should I choose the best size for the pool. My database size is about 6GB and my total memory 64GB. Also I'm wondering if I increase the buffer pool size, I should shrink the number of maximum connections to make room for extra buffer, or these parameters are independent. Thanks
max_connections
is probably not necessary. 80% (51G) is a reasonable value for 64GB of RAM. 80% is too big for, say, 4GB of RAM; even 70% is tight.