I'm trying to execute vacuumdb command from Java runtime and it is stuck forever(without throwing any error). The same when executed directly in the terminal is working properly. Command I used:
<path>/vacuumdb <dbname> --verbose --analyze
I have tried this for an empty database as well(size is not the issue), but the result is the same. Anyone faced this before either in Greenplum or Postgres? Any thoughts on the issue will be really helpful.
Thanks!