completed database function, multi-node very slow, need to check MQ