MySQL Forums
Forum List  »  InnoDB

Re: mysql 8.0.27 went crash
Posted by: Peter Brawley
Date: April 19, 2022 10:58PM

Does it slow down before it crashes? How big is the swap file? How much RAM is available to MySQL?

Can you post the result of this qty?

innodb_ft_total_cache_size +
innodb_additional_mem_pool_size +
innodb_log_buffer_size +
tmp_table_size +
key_buffer_size +
max_connections * (
thread_stack
+ max( max_allowed_packet, net_buffer_length )
+ net_buffer_length
+ read_buffer_size
+ read_rnd_buffer_size
+ sort_buffer_size
+ join_buffer_size
)

and the result of this query ...

select engine,data,indexes,total
from (
  select 
    ifnull(engine,'TOTALS') as engine, 
    concat(data,' GB') as data, 
    concat(indexes,' GB') as indexes, 
    concat(tot,' GB') as total,
    if(engine is null,-1,tot) as ord
  from (
    select   
      engine,  
      round( sum(data_length)/1024/1024/1024, 2 ) as data,  
      round( sum(index_length)/1024/1024/1024, 2 ) as indexes,  
      round( sum(data_length+index_length)/1024/1024/1024, 2 ) as tot
    from information_schema.tables
    where engine is not null and engine not in('information_schema','performance_schema')
    group by engine with rollup
  ) sums
) list
order by list.ord desc;

Or alternatively run the process described under "Optimisation cheatsheet" at https://www.artfulsoftware.com/infotree/mysqltips.php and post the result inside BBCode code tags.

Options: ReplyQuote


Subject
Views
Written By
Posted
3259
y y
April 19, 2022 07:09PM
Re: mysql 8.0.27 went crash
912
April 19, 2022 10:58PM
909
y y
April 20, 2022 01:41AM
763
y y
April 20, 2022 01:50AM
851
April 20, 2022 10:19AM
844
y y
April 20, 2022 06:20PM
766
April 20, 2022 06:53PM
721
y y
April 23, 2022 06:52PM
844
April 25, 2022 12:22AM
782
April 25, 2022 05:50AM
827
April 25, 2022 09:48AM
795
y y
April 25, 2022 08:36PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.