add more socket_stats and _bonus to sql