In my application n microservices are running on m nodes. Each microservice has its own database and is responsible for issuing VACUUM ANALYZE
once in a while.
Since the scheduling of this routine job is the same for each microservice, in my naive implementation I have m instances of the same microservice executing the VACUUM ANALYZE
command at the same time.
Can this pose a problem?
I guess not, because PostgreSQL will detect the parallel invocations and handle this situation gracefully. But I'd like to be sure.