Re: Import large dataset to Postgres instance in CF

Nicholas Calugar

Hi Siva,

You'll have to tell us more about how your PostgreSQL and CF was deployed,
but you might be able to connect to it from your local machine using the
psql CLI and the credentials for one of your bound apps. This takes CF out
of the equation other than the service binding providing the credentials.

If this doesn't work, there are a number of things that could be in the
way, i.e. firewall that only allows connection from CF or the PostgreSQL
server is on a different subnet. You can then try using some machine as a
jump box that will allow access to the PostgreSQL.


On Wed, Dec 9, 2015 at 9:40 AM Siva Balan <mailsiva(a)> wrote:

Below is my requirement:
I have a postgres instance deployed on our corporate CF deployment. I have
created a service instance of this postgres and bound my app to it. Now I
need to import a very large dataset(millions of records) into this postgres
As a CF user, I do not have access to any ports on CF other than 80 and
443. So I am not be able to use any of the native postgresql tools to
import the data. I can view and run simple SQL commands on this postgres
instance using the phppgadmin app that is also bound to my postgres service
Now, what is the best way for me to import this large dataset to my
postgres service instance?
All thoughts and suggestions welcome.

Siva Balan


Join to automatically receive all group messages.