We have two mysql sql RDS servers and we are facing an issue which i am not able to resolve. The query that we are using is a simple selection of max date row from the data set. This is working fine on the first server, where as this is not working correctly on the other server even on the same data set.
The query we are using is below:
SELECT `name`,last_update_date FROM
(SELECT * FROM `table1` ORDER BY last_update_date DESC) X GROUP BY `name`;
I am not sure why this is happening. I checked for the global variables on both the servers and found the below variables which are not present in the new server:
binlogging_impossible_mode
innodb_additional_mem_pool_size
innodb_mirrored_log_groups
innodb_use_sys_malloc
simplified_binlog_gtid_recovery
sql_log_bin
storage_engine
thread_concurrency
timed_mutexes
Any help is appreciated.