Unix Technical Forum

New to Postgres

This is a discussion on New to Postgres within the pgsql Novice forums, part of the PostgreSQL category; --> I'm new to PostgreSQL. I have a background as an Oracle PL/SQL programmer.I'm wondering if there's a comparable Postgres ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 11:06 PM
Mike Nees
 
Posts: n/a
Default New to Postgres

I'm new to PostgreSQL. I have a background as an Oracle PL/SQL programmer.I'm wondering if there's a comparable Postgres utility to Oracle's SQL*Loader? I have several large fixed record length files that I need to load into the Postgres db. Currently, I'm using the COPY command to load the data into temporary tables; I then parse the data and insert into a new table.I'm wondering if there is a better solution. Any help would be appreciated.J. Michael Nees jmnees@hotmail.com
__________________________________________________ _______________
Try Live.com: where your online world comes together - with news, sports, weather, and much more.
http://www.live.com/getstarted
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 11:06 PM
Richard Broersma Jr
 
Posts: n/a
Default Re: New to Postgres

> I'm new to PostgreSQL. I have a background as an Oracle PL/SQL programmer. I'm wondering if
> there's a comparable Postgres utility to Oracle's SQL*Loader? I have several large fixed record
> length files that I need to load into the Postgres db. Currently, I'm using the COPY command to
> load the data into temporary tables; I then parse the data and insert into a new table. I'm
> wondering if there is a better solution. Any help would be appreciated.J. Michael Nees
> jmnees@hotmail.com


The may be some tools that you could search for under the section "other software"
http://www.postgresql.org/download/


However, most of the answers to questions like yours boil down to how well you know perl or
plperl.

:-)

Regards,

Richard Broersma Jr.

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 11:06 PM
Andrej Ricnik-Bay
 
Posts: n/a
Default Re: New to Postgres

On 8/12/06, Mike Nees <jmnees@hotmail.com> wrote:
>
> I'm new to PostgreSQL. I have a background as an Oracle PL/SQL programmer.
> I'm wondering if there's a comparable Postgres utility to Oracle's
> SQL*Loader? I have several large fixed record length files that I need to
> load into the Postgres db. Currently, I'm using the COPY command to load
> the data into temporary tables; I then parse the data and insert into a new
> table. I'm wondering if there is a better solution. Any help would be
> appreciated.

Or, in addition to Richards suggestion, you could conceivably
(you forgot to mention which OS you're using Postgres under)
use command-line tools like awk to put your data into a proper
format before you pipe it to your COPY command.

Cheers,
Andrej

--
Please don't top post, and don't use HTML e-Mail :} Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com