News for hackers. Stuff that matters.
Re:MySQL-Manage Memory Usage Efficiently by spratap0309 on Wednesday April 10, 2024 @06:16AM (#39989025)
loved the insights on mySql memory management, your practical tips are super helpful and easy to understand. Trying these out. Thanks for sharing!
Re:MySQL-Manage Memory Usage Efficiently by sgarland on Thursday April 11, 2024 @05:22PM (#40006961)
Re: online buffer pool resizing, it’s important to note that you can only resize in multiples of innodb_buffer_pool_chunk_size, and the resulting size must be a multiple of innodb_buffer_pool_chunk_size * innodb_buffer_pool_instances.

Because of this and other complications / desired optimizations, I wrote a script [0] to calculate the necessary parameters, given either a desired percentage of system RAM, or an absolute size.

[0]: https://gist.github.com/stephanGarland/cd6a5c667e8406cf9cfb6...

Re:MySQL-Manage Memory Usage Efficiently by sjtly16 on Friday April 19, 2024 @03:01AM (#40084110)
Re: Calculates various parameters for the InnoDB buffer pool based on a simple input

Thanks for mentioning it, I will go through it.

Re:MySQL-Manage Memory Usage Efficiently by gmuslera on Thursday April 11, 2024 @06:05PM (#40007315)
Having a running record on how those buffers and connections are used is always helpful. Percona’s PMM looks great in that sense. But in general tracking those metrics (and more) in your time series based monitoring, whatever solution it is has been pretty useful to me.
Re:MySQL-Manage Memory Usage Efficiently by bpbp-mango on Thursday April 11, 2024 @06:47PM (#40007618)
Does anyone know if MySQL is now in maintenance mode?
Re:MySQL-Manage Memory Usage Efficiently by sgarland on Thursday April 11, 2024 @07:01PM (#40007719)
No? It’s still under active development; 8.3.0 came out in January of this year.
Re:MySQL-Manage Memory Usage Efficiently by anticodon on Friday April 12, 2024 @03:42AM (#40010287)
Not much in terms of new features.
Re:MySQL-Manage Memory Usage Efficiently by throwaway38375 on Friday April 12, 2024 @04:19AM (#40010453)
Not many new features are needed
Re:MySQL-Manage Memory Usage Efficiently by cess11 on Friday April 12, 2024 @04:21AM (#40010459)
What features are you waiting for?

If someone wants to check notes for Oracle:s implementation: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-36....

Re:MySQL-Manage Memory Usage Efficiently by makmanalp on Thursday April 11, 2024 @09:19PM (#40008550)
SUM_TIMER_WAIT from performance_schema.events_stages_summary_global_by_event_name does not track memory allocations - it's a counter for time spent on that query stage.
Re:MySQL-Manage Memory Usage Efficiently by nightshift1 on Saturday April 13, 2024 @02:50AM (#40021098)
I am not a dba but I have successfully tuned a couple of mysql/mariadb servers in the past with the help of Mysqltuner

https://github.com/major/MySQLTuner-perl