169 похожих чатов

Hi. I set binlog_expire_logs_seconds=259200 (3 days) but bin log not

removed automatcially. Older logs removed after restart service or executed command FLUSH BINARY LOGS.
Can anyone help?

10 ответов

15 просмотров

You need to execute this query show global variables like '%binlog_exp%'; and check the values.

Alexander- Автор вопроса
Alexander
screenshot Show that the parameters are set correctly

show global variables like '%binlog_size%';

Alexander- Автор вопроса
Alexander
screenshot

How many binlog files are there after the limit time? How many days or hours do binlog files remain after the limit time expires? For example, now 20240808 11:43, you didn't do anything, and on the server there are binlog files older than 20240805 11:43. How many of these binlog files are there? Are these binlog files numbered in order?

Alexander- Автор вопроса
PavelDBA
How many binlog files are there after the limit ti...

Binlog are is order. After the limit time expires all binlog remain. Sometimes the service restarts and files cleaned, so how many days files remain i don't know. Longest storage period was 3 months.

Alexander
Binlog are is order. After the limit time expires ...

You need to check file '/etc/mysql/my.cnf' and another '*.cnf' files maybe there is parameter duplicated somewhere.

Alexander- Автор вопроса
PavelDBA
You need to check file '/etc/mysql/my.cnf' and ano...

Vary strange. Because execution 'SHOW GLOBAL VARIABLES...' show correct values.

Alexander- Автор вопроса
PavelDBA
In the file 'error.log' there are errors?

Nothing. Some warnings related with plugin mysql_native_password.

Похожие вопросы

Обсуждают сегодня

Какой-то там пердун в 90-х решил, что есть какая-то разная типизация. Кого вообще это волнует?
КТ315
49
void terminal_scroll() { memmove(terminal_buffer, terminal_buffer + VGA_WIDTH, buffer_size - VGA_WIDTH); memset(terminal_buffer + buffer_size - VGA_WIDTH, 0, VGA_WIDTH); ...
Егор
47
Всем привет! Подскажите, пожалуйста, в чем ошибка? Настраиваю подключение к MySQL. Либы лежат рядом с exe. Все как по "учебнику"
Евгений
16
А можете как-то проверить меня по знаниям по ассемблеру?
A A
132
Здравствуйте! У меня появилась возможность купить книгу "Изучай Haskell во имя добра!". Но я где-то слышал, что эта книга устарела. Насколько это правда??
E
22
Здравствуйте! Я вот на stepic решаю задачи на хаскеле https://stepik.org/lesson/8443/step/8?unit=1578 мой код import Data.List (isInfixOf) removing :: String -> [String] ->...
E
10
Камрады, кто тесно работал с vtv, хотел уточнить. Ширина column задаётся жёстко на этапе создания дерева или можно в рантайме ее менять программно (не мышкой)?
Ed Doc
10
да ладно ... что там неочевидного ? глянуть в исх-ки датасета и/или кверика чтобы понять в каком месте и как выполняется обращения к св-вам blablaSQL - минутное дело, даже е...
Сергей
7
Здесь для arm кто-нибудь кодит ?
Nothing
52
Всем привет, у меня есть сервер принимающий входящие HTTP подключения, как проверить, что подключение было через прокси или нет, есть какие то поля в заголовках по которым мо...
DS
8
Карта сайта