pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: Viktor Bojović <viktor.bojovic@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: large xml database
Date: Sat, 30 Oct 2010 20:26:45 -0400
Message-ID: <m3r5f76wbm.fsf@jhcloos.com> (raw)
In-Reply-To: <AANLkTi=ZEO1W=FOxdH+S3twj_A1VCpyyzes7HFghJ7T-@mail.gmail.com>
References: <AANLkTi=ZEO1W=FOxdH+S3twj_A1VCpyyzes7HFghJ7T-@mail.gmail.com>

>>>>> "VB" == Viktor Bojović <viktor.bojovic@gmail.com> writes:

VB> i have very big XML documment which is larger than 50GB and want to
VB> import it into databse, and transform it to relational schema.

Were I doing such a conversion, I'd use perl to convert the xml into
something which COPY can grok.  Any other language, script or compiled,
would work just as well.  The goal is to avoid having to slurp the whole
xml structure into memory.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



view thread (12+ messages)  latest in thread

Message-ID: <m3r5f76wbm.fsf@jhcloos.com>
Permalink:  ../m3r5f76wbm.fsf@jhcloos.com/
Also on:    postgresql.org/message-id/m3r5f76wbm.fsf@jhcloos.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cloos@jhcloos.com, viktor.bojovic@gmail.com
  Subject: Re: large xml database
  In-Reply-To: <m3r5f76wbm.fsf@jhcloos.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox