aaP_zahidbiswas840
Hello, it is recommended to read the official mysql manual
The size of these files depends on the amount of data in mysql
ib_logfile file:
A set of files, typically named ib_logfile0 and ib_logfile1, that form the redo log. Also sometimes referred to as the log group. These files record statements that attempt to change data in InnoDB tables. These statements are replayed automatically to correct data written by incomplete transactions, on startup following a crash.
https://dev.mysql.com/doc/refman/8.0/en/glossary.html#glos_ib_logfile
mysql-bin file:
A file containing a record of all statements or row changes that attempt to change table data. The contents of the binary log can be replayed to bring replicas up to date in a replication scenario, or to bring a database up to date after restoring table data from a backup. The binary logging feature can be turned on and off, although Oracle recommends always enabling it if you use replication or perform backups.
https://dev.mysql.com/doc/refman/8.0/en/binary-log.html