Re: [SQL] Database diagram

Lists: pgsql-adminpgsql-sql
From: "Ganesan Kanavathy" <ganesh(at)magnusquest(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
Subject: Database diagram
Date: 2004-01-20 06:38:12
Message-ID: 200401200638.i0K6caI4007124@magnusquest.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

I have a postgres database with many tables.

How do I create database diagram? Are there any free tools available to
create database diagram from pgsql database?

Regards,
Ganesan


From: "Denis" <sqllist(at)coralindia(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Database diagram
Date: 2004-01-20 07:01:02
Message-ID: 005c01c3df23$2b58dfc0$0f32a8c0@denisnew
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql


Hi Ganesan,

You can try ERWin (by CA).

It creates Logical data model of the database. (though.. i haven't used
it..)

HTH

Thanx

Denis

----- Original Message -----
From: "Ganesan Kanavathy" <ganesh(at)magnusquest(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>; <pgsql-sql(at)postgresql(dot)org>
Sent: Tuesday, January 20, 2004 12:08 PM
Subject: [SQL] Database diagram

> I have a postgres database with many tables.
>
> How do I create database diagram? Are there any free tools available to
> create database diagram from pgsql database?
>
> Regards,
> Ganesan
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend


From: Roberto Mello <rmello(at)cc(dot)usu(dot)edu>
To: Ganesan Kanavathy <ganesh(at)magnusquest(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Database diagram
Date: 2004-01-20 07:17:05
Message-ID: 20040120071705.GD24868@cc.usu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

On Tue, Jan 20, 2004 at 02:38:12PM +0800, Ganesan Kanavathy wrote:
> I have a postgres database with many tables.
>
> How do I create database diagram? Are there any free tools available to
> create database diagram from pgsql database?

There are several such tools:

http://www.rbt.ca/autodoc/
dbVisualizer - gratis, but not Free

and many others. Search in freshmeat.net and google.

-Roberto

--
+----| Roberto Mello - http://www.brasileiro.net/ |------+
+ Computer Science Graduate Student, Utah State University +
+ USU Free Software & GNU/Linux Club - http://fslc.usu.edu/ +
Veni, Vidi, VCR - I came, I saw, I videotaped it


From: Jodi Kanter <jkanter(at)virginia(dot)edu>
To: Ganesan Kanavathy <ganesh(at)magnusquest(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Database diagram
Date: 2004-01-20 13:44:34
Message-ID: 400D30C2.3080401@virginia.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

I use Microsoft Visio. It also has reverse engineering. I ma having
trouble with the refresh option which is quite frustrating but other
than that it works fine. I used Erwin in the past and really like that
but it is pricey and we already had a license available for Visio.
Jodi

Ganesan Kanavathy wrote:

>I have a postgres database with many tables.
>
>How do I create database diagram? Are there any free tools available to
>create database diagram from pgsql database?
>
>Regards,
>Ganesan
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 7: don't forget to increase your free space map settings
>
>
>

--

/_______________________________
//Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter(at)virginia(dot)edu <mailto:jkanter(at)virginia(dot)edu>/

/ /

/ /


From: Luis Sousa <llsousa(at)ualg(dot)pt>
To: Ganesan Kanavathy <ganesh(at)magnusquest(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Database diagram
Date: 2004-01-20 14:30:57
Message-ID: 400D3BA1.5040504@ualg.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

Ganesan Kanavathy wrote:

>I have a postgres database with many tables.
>
>How do I create database diagram? Are there any free tools available to
>create database diagram from pgsql database?
>
>Regards,
>Ganesan
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 8: explain analyze is your friend
>
>
>
>
Did you already tried dia?
I never used it, but someone told me that imports data definition from
PostgreSQL. You can try it.

Luis Sousa


From: "Chris Travers" <chris(at)travelamericas(dot)com>
To: "Ganesan Kanavathy" <ganesh(at)magnusquest(dot)com>, <pgsql-admin(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: [SQL] Database diagram
Date: 2004-01-22 08:38:31
Message-ID: 01f501c3e0cc$19defc20$bf285e3d@winxp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

There is a free Perl script which is called something like pgautodoc which
creates DIA diagrams from databases. Take a look for it on Freshmeat.
----- Original Message -----
From: "Ganesan Kanavathy" <ganesh(at)magnusquest(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>; <pgsql-sql(at)postgresql(dot)org>
Sent: Tuesday, January 20, 2004 1:38 PM
Subject: [SQL] Database diagram

> I have a postgres database with many tables.
>
> How do I create database diagram? Are there any free tools available to
> create database diagram from pgsql database?
>
> Regards,
> Ganesan
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
>


From: Rita Rossinelli-Biagioni <Rita(at)ares(dot)com>
To: Chris Travers <chris(at)travelamericas(dot)com>
Cc: Ganesan Kanavathy <ganesh(at)magnusquest(dot)com>, pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Database diagram
Date: 2004-01-22 16:31:44
Message-ID: 400FFAF0.4050705@ares.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

http://freshmeat.net/projects/postgresql_autodoc/?topic_id=66

Postgresql AutoDoc - Default branch
by Rod Taylor - Thursday, July 19th 2001 11:15 PST Section: Software

About:
Postgresql AutoDoc has the ability to output XML, which can be loaded
into Dia to create a UML diagram of the database (complete with table
relations and descriptive information), an HTML form for further
detailed information, GraphViz .dot output, and Docbook 4.1 style SGML
for inclusion with project documentation as an appendix. It works on any
7.x PostgreSQL-based database.

Chris Travers wrote:
> There is a free Perl script which is called something like pgautodoc which
> creates DIA diagrams from databases. Take a look for it on Freshmeat.
> ----- Original Message -----
> From: "Ganesan Kanavathy" <ganesh(at)magnusquest(dot)com>
> To: <pgsql-admin(at)postgresql(dot)org>; <pgsql-sql(at)postgresql(dot)org>
> Sent: Tuesday, January 20, 2004 1:38 PM
> Subject: [SQL] Database diagram
>
>
>
>>I have a postgres database with many tables.
>>
>>How do I create database diagram? Are there any free tools available to
>>create database diagram from pgsql database?
>>
>>Regards,
>>Ganesan
>>
>>
>>
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 8: explain analyze is your friend
>>
>>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>
>


From: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
To: Chris Travers <chris(at)travelamericas(dot)com>
Cc: Ganesan Kanavathy <ganesh(at)magnusquest(dot)com>, pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Database diagram
Date: 2004-01-23 18:16:30
Message-ID: 401164FE.4060604@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

Dear Ganesan,

pgautodoc (for dot output) + dot (from graphviz.org , creates
postscript) +
epssplit ( splits the postscript into multipage so that one can create
poster size
diagrams) works well for me.

I have 45 tables in the database though.

Regds
mallah.

Chris Travers wrote:

>There is a free Perl script which is called something like pgautodoc which
>creates DIA diagrams from databases. Take a look for it on Freshmeat.
>----- Original Message -----
>From: "Ganesan Kanavathy" <ganesh(at)magnusquest(dot)com>
>To: <pgsql-admin(at)postgresql(dot)org>; <pgsql-sql(at)postgresql(dot)org>
>Sent: Tuesday, January 20, 2004 1:38 PM
>Subject: [SQL] Database diagram
>
>
>
>
>>I have a postgres database with many tables.
>>
>>How do I create database diagram? Are there any free tools available to
>>create database diagram from pgsql database?
>>
>>Regards,
>>Ganesan
>>
>>
>>
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 8: explain analyze is your friend
>>
>>
>>
>>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>
>


From: Gary Stainburn <gary(dot)stainburn(at)ringways(dot)co(dot)uk>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: [SQL] Database diagram
Date: 2004-01-26 10:50:48
Message-ID: 200401261050.48112.gary.stainburn@ringways.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

On Friday 23 January 2004 6:16 pm, Rajesh Kumar Mallah wrote:
> Dear Ganesan,
>
> pgautodoc (for dot output) + dot (from graphviz.org , creates
> postscript) +
> epssplit ( splits the postscript into multipage so that one can create
> poster size
> diagrams) works well for me.
>
> I have 45 tables in the database though.

Can anyone point me to a download for pgautodoc. I had a look on freshmeat
(as Chris suggested) and couldn't find it. The only other thing I could find
were RPMS that wouldn't go on my system.

Gary

>
>
> Regds
> mallah.
>
> Chris Travers wrote:
> >There is a free Perl script which is called something like pgautodoc which
> >creates DIA diagrams from databases. Take a look for it on Freshmeat.
> >----- Original Message -----
[snip]
--
Gary Stainburn

This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000


From: "Chris Travers" <chris(at)travelamericas(dot)com>
To: "Gary Stainburn" <gary(dot)stainburn(at)ringways(dot)co(dot)uk>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [SQL] Database diagram
Date: 2004-01-26 11:02:59
Message-ID: 00be01c3e3fb$facf4550$a8285e3d@winxp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

Sorry, it is called postgresql_autodoc. It can be found at
http://freshmeat.net/projects/postgresql_autodoc, iirc.

I have been having trouble with it crashing (segfault) which is surprising
since it is written in Perl (must be a bum CPAN module, but I will have to
wait to figure out which one).

Best Wishes,
Chris Travers

----- Original Message -----
From: "Gary Stainburn" <gary(dot)stainburn(at)ringways(dot)co(dot)uk>
To: <pgsql-admin(at)postgresql(dot)org>
Sent: Monday, January 26, 2004 5:50 PM
Subject: Re: [ADMIN] [SQL] Database diagram

On Friday 23 January 2004 6:16 pm, Rajesh Kumar Mallah wrote:
> Dear Ganesan,
>
> pgautodoc (for dot output) + dot (from graphviz.org , creates
> postscript) +
> epssplit ( splits the postscript into multipage so that one can create
> poster size
> diagrams) works well for me.
>
> I have 45 tables in the database though.

Can anyone point me to a download for pgautodoc. I had a look on freshmeat
(as Chris suggested) and couldn't find it. The only other thing I could find
were RPMS that wouldn't go on my system.

Gary

>
>
> Regds
> mallah.
>
> Chris Travers wrote:
> >There is a free Perl script which is called something like pgautodoc
which
> >creates DIA diagrams from databases. Take a look for it on Freshmeat.
> >----- Original Message -----
[snip]
--
Gary Stainburn

This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly


From: Robert Creager <Robert_Creager(at)LogicalChaos(dot)org>
To: "Chris Travers" <chris(at)travelamericas(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: [SQL] Database diagram
Date: 2004-01-26 12:28:59
Message-ID: 20040126052859.299a31c1.Robert_Creager@LogicalChaos.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

When grilled further on (Mon, 26 Jan 2004 18:02:59 +0700),
"Chris Travers" <chris(at)travelamericas(dot)com> confessed:

> I have been having trouble with it crashing (segfault) which is surprising
> since it is written in Perl (must be a bum CPAN module, but I will have to
> wait to figure out which one).

Just wondering which version of DBD::Pg you are using? When I upgrade from 1.22
to 1.31 (DBI 1.37), Perl was segfaulting
(http://gborg.postgresql.org/project/dbdpg/bugs/bugupdate.php?628) for me when
using fetch with bind_columns.

GBorg developers cannot seem to reproduce the problem, and I have not had the
time to try and bake a simple reproduction. They got back to me 1 1/2 months
later, and still closed the bug. Kind of like the EDS crew which 'manages' our
computer systems at work :-(

Cheers,
Rob

--
05:15:30 up 28 days, 19:01, 4 users, load average: 2.00, 2.02, 2.00


From: "Chris Travers" <chris(at)travelamericas(dot)com>
To: "Robert Creager" <Robert_Creager(at)LogicalChaos(dot)org>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [SQL] Database diagram
Date: 2004-01-26 13:17:57
Message-ID: 012001c3e41a$0c4f44b0$a8285e3d@winxp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql

Hi Robert;

I am using DBD::Pg 1.31. That may be the problem. Any suggestions
regarding repairing this problem at the moment?

Best Wishes,
Chris Travers
----- Original Message -----
From: "Robert Creager" <Robert_Creager(at)LogicalChaos(dot)org>
To: "Chris Travers" <chris(at)travelamericas(dot)com>; <pgsql-admin(at)postgresql(dot)org>
Sent: Monday, January 26, 2004 7:28 PM
Subject: Re: [ADMIN] [SQL] Database diagram


From: Robert Creager <Robert_Creager(at)LogicalChaos(dot)org>
To: "Chris Travers" <chris(at)travelamericas(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [SQL] Database diagram
Date: 2004-01-27 03:23:38
Message-ID: 20040126202338.145a8bd7.Robert_Creager@LogicalChaos.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-sql


Hey Chris,

I just installed version 1.22 from cpan and it fixed the problem. From a CPAN
prompt (if you use it) <install D/DW/DWHEELER/DBD-Pg-1.22.tar.gz>.

Cheers,
Rob

When grilled further on (Mon, 26 Jan 2004 20:17:57 +0700),
"Chris Travers" <chris(at)travelamericas(dot)com> confessed:

> I am using DBD::Pg 1.31. That may be the problem. Any suggestions
> regarding repairing this problem at the moment?

--
20:17:03 up 29 days, 10:02, 4 users, load average: 1.01, 1.06, 1.01