[sqlalchemy] Re: How to calculate the size of the Oracle and PostgreSQL schema !!!!!

2008-06-10 Thread Paul Johnston
Hi, My development team and me are working in a application to migrate Oracle databases to PostgreSQL databases, and we need this information to do this. I've done successful migrations using autocode, http://code.google.com/p/sqlautocode/ The procedure, roughly is: 1) Use autocode to

[sqlalchemy] Re: How to calculate the size of the Oracle and PostgreSQL schema !!!!!

2008-06-10 Thread az
On Tuesday 10 June 2008 20:22:08 Paul Johnston wrote: Hi, My development team and me are working in a application to migrate Oracle databases to PostgreSQL databases, and we need this information to do this. I've done successful migrations using autocode,

[sqlalchemy] Re: How to calculate the size of the Oracle and PostgreSQL schema !!!!!

2008-06-08 Thread Michael Bayer
sqla offers this: engine = create_engine('postgres://user:[EMAIL PROTECTED]/database') meta = MetaData(engine) meta.reflect() for t in meta.tables.values(): print t On Jun 6, 2008, at 10:34 PM, Marcos Ortiz Valmaseda wrote: I´m very new with SQLAlchemy and I have a trouble,