trace regular query; only sync regular(root) queries
delete old changes and inactive queries