OSIFY

Starting to play around PostgreSql – what to begin

My client asks to work on a Java batch to migrate data from PostgreSql to Oracle via JDBC, with almost 2 days to spend around preparing the server, loading dump, starting dev. around as well.

Here wanna to share what I went on (not sure if I went to the right way, give advise if any)

[toc]

1. Download PostgreSql & Install

2. Download Administration tool for PostgreSql: pgAdmin

3. Configure the postgreSql server be able to accept remote access from other client PC

Suppose using the default port of PostgreSql (Port: 5432)

I corrected for following configuration file:

4. Connecting to the server for the first time

PostgreSql pgAdmin

PostgreSql pgAdmin Area

Generally the query is the same to MySql or Plsql of oracle as well for basically… I haven’t gone detail yet.

5. Loading existing dump to server

Go to DOS at PostgreSql/bin folder and follow for following step:

Notice: sometimes not work when the database is accessing my client PC or currently being connected; Stop the service and restart the service before perform above action.

My first task is done now…

We are going on with Jdbc connection of PostgreSql, I’m reading following post:

To continue with around Jdbc dev. later.