Hi all,
I am using two connections for the same user in 2 different processes. That is conn1 and conn2. conn1 is only of select from a table and conn2 is only for insert. I am facing an issue where I insert into the table using conn2, even after commit I cannot see the changes using 'select' query in conn1 all the time.
If I inserted say 10 records in conn2 and issued commit. Then go to conn1 and 1st time I run select retrieves only 2 records, 2nd time it retrieves 6 records and 3rd time all 10 records. Not sure why this is happening.
Any help would be appreciated.
The table is of InnoDB and here are my settings for innodb_flush_log_at_trx_commit=1 and sync_binlog=0
I am using two connections for the same user in 2 different processes. That is conn1 and conn2. conn1 is only of select from a table and conn2 is only for insert. I am facing an issue where I insert into the table using conn2, even after commit I cannot see the changes using 'select' query in conn1 all the time.
If I inserted say 10 records in conn2 and issued commit. Then go to conn1 and 1st time I run select retrieves only 2 records, 2nd time it retrieves 6 records and 3rd time all 10 records. Not sure why this is happening.
Any help would be appreciated.
The table is of InnoDB and here are my settings for innodb_flush_log_at_trx_commit=1 and sync_binlog=0