InnoDB engine getting disabled after decreasing innodb_page_size to 4K I'm trying to optimize my database (mariadb) for high write (insert &amp; update).
Database is running fine with default  innodb_page_size (16K), but when I decrease the value of innodb_page_size=4K.
Database server starts successfully, but getting error while creating table on InnoDB engine.
Error Code: 1286. Unknown storage engine 'InnoDB'
Here is my.cnf
[mysqld]
log-error=/var/lib/mysql/mysql-3.kannel.com.err
performance-schema=0

max_allowed_packet=268435456

event_scheduler = ON
#innodb_page_size=16384
#innodb_page_size=8192
innodb_page_size=4K
innodb_file_per_table=4
innodb_buffer_pool_size=3G
innodb_buffer_pool_instances=2
innodb_log_file_size=1024M
innodb_log_files_in_group=4
innodb_log_buffer_size=64M
innodb_log_write_ahead_size=64M
innodb_flush_log_at_trx_commit =2
innodb_read_io_threads=32
innodb_write_io_threads=128
innodb_io_capacity=10000
innodb_thread_concurrency=2
innodb_flush_method=o_direct


join_buffer_size=512M
sort_buffer_size=20M
read_rnd_buffer_size=200M
datadir=/var/lib/mysql
max_allowed_packet=26843545600
#open_files_limit=10000
default-storage-engine=MyISAM
#default-storage-engine=InnoDB
max_connections = 500

Thanks!
max_allowed_packet is limited to 1G, not 26843545600.
join_buffer_size should not be more than 1% of RAM.
How much RAM do you have?