php - MySQL's InnoDB - avoid flushing log buffer for a single transaction? -
is possible programmatically tell mysql not flush log buffer current transaction, regardless of innodb_flush_log_at_trx_commit
setting?
let's want acid compliance data safe power/hardware faults. have innodb_flush_log_at_trx_commit = 1
but in application, have 1 particular insert query needs return quickly, , it's not important have same level of integrity protection. can skip flush (at end of transaction) query/transaction? , can programmatically, sql query or in php's pdo?
i think answer can't done - unless willing switch myisam particular table in question.
Comments
Post a Comment