From akuchlin@mems-exchange.org Tue Sep 14 21:49:29 1999 From: akuchlin@mems-exchange.org (Andrew M. Kuchling) Date: Tue, 14 Sep 1999 16:49:29 -0400 (EDT) Subject: [DB-SIG] Database Topic Guide revisions Message-ID: <199909142049.QAA18428@amarok.cnri.reston.va.us> I'm trying to update the pages on python.org for which I'm responsible, and have just updated the database topic guide a bit. The major change is dropping the page of general database resources, and just linking to two relevant categories on dmoz.org. The rationale for this is that no one is going to maintain a collection of generic database links for python.org; this is precisely what dmoz.org does, so we can benefit from their effort. If you notice any omissions or outdated links in the topic guide, please let me know. -- A.M. Kuchling http://starship.python.net/crew/amk/ Men of action, I notice, are rarely humble, even in situations where action of any kind is a great mistake, and masterly inaction is called for. -- Robertson Davies, _The Table Talk of Samuel Marchbanks_ From adustman@comstar.net Tue Sep 14 22:57:01 1999 From: adustman@comstar.net (Andy Dustman) Date: Tue, 14 Sep 1999 17:57:01 -0400 (EDT) Subject: [DB-SIG] [ANNOUNCEMENT] MySQLdb-0.1.0 available Message-ID: -----BEGIN PGP SIGNED MESSAGE----- I'm happy to announce that MySQLdb is now officially beta and has been bumped up to version 0.1.0. You can find it at: http://starship.python.net/crew/adustman No real new features, a few minor bugfixes, including plugging a memory leak introduced into 0.0.3. The patch for ZMySQLDA has been updated and may actually work. Note that MySQLdb (and it's underlying _mysql module) are designed to work and play well with threaded apps like Zope, whereas MySQLmodule-1.4 was not, so if this patch really works (I notice ZMySQLDA still uses regex) you should see a performance increase. If the patch doesn't work, your performance will be shot to hell (as in, no performance at all). - -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d -----BEGIN PGP SIGNATURE----- Version: 2.6.3a Charset: noconv iQEPAwUBN97ErxOPBZTHLz8dAQHPLQfPcLKyvBKI0WJ2TZ3K4ysgRLJmA6H62NaE U46Cc+4YkI4xvOuj5Ls054x5uQnoHis7UYEMlGR/17HKNqEs6OLZhPnKmtW0Biak /PieeCJPkHFAuqukVW9WL2r/8zzY3W3RkTAsyKFJQKQ20JbMs4g87epqP+IzF+ME XMnpUWgh4ih/Tf/8AsfuInqMw2MldkKz2kny33GAx9SyqkNghfJ6g4PZtjibLAL0 I0tFlcmz+6IoTSzjAEvyBl6R9jkSZjpzDDiTyPoYb5CpS20b8GDlXFScGGFzo38v X3CYi3HU8ELHBrZNjcO9AgTC997Vz3YpywyWBcxeHhHPRw== =T8ad -----END PGP SIGNATURE----- From adustman@comstar.net Wed Sep 15 05:56:24 1999 From: adustman@comstar.net (Andy Dustman) Date: Wed, 15 Sep 1999 00:56:24 -0400 (EDT) Subject: [DB-SIG] Re: [Zope] [ANNOUNCEMENT] MySQLdb-0.1.0 available In-Reply-To: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- On Tue, 14 Sep 1999, Andy Dustman wrote: > I'm happy to announce that MySQLdb is now officially beta and has been > bumped up to version 0.1.0. You can find it at: > > http://starship.python.net/crew/adustman > > No real new features, a few minor bugfixes, including plugging a memory > leak introduced into 0.0.3. > > The patch for ZMySQLDA has been updated and may actually work. Note that > MySQLdb (and it's underlying _mysql module) are designed to work and play > well with threaded apps like Zope, whereas MySQLmodule-1.4 was not, so if > this patch really works (I notice ZMySQLDA still uses regex) you should > see a performance increase. If the patch doesn't work, your performance > will be shot to hell (as in, no performance at all). Good news and bad news, Zope smokers: I dug into ZMySQLDA to see how it works and to test it. The bad news is: My patch still wasn't quite right. The good news is: I think it actually works now. I've updated the tarball but left the version number alone. So, if you got it before 1 a.m. EST (0500 UTC), you probably have the old version. The funny thing is: The patched ZMySQLDA doesn't use MySQLdb at all; just _mysqlmodule. It was much easier this way, trust me on this, or read the patch. Make sure that you install MySQLdb and _mysql on your PYTHONPATH, install ZMySQLDA, patch it, and restart Zope. Let me know how it turns out. - -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d -----BEGIN PGP SIGNATURE----- Version: 2.6.3a Charset: noconv iQEPAwUBN98m+ROPBZTHLz8dAQF0SgfLBOuAYWHCtBOIPUOikt9C9KbH/jvbfoDP knoJqpbY1evM3gEp2esIFRIXYC5SZN5KfCmj7MkEpihzaIkylU9sfJNGu4IEf4dD JfYZbTPH2T1XHmijUtS8OgxSo8TSpq8BDaFT7VaHnOH39QNQbRSbzKz4NUCLcjCX /VRqudOtOaPo30nkuLeCJc9ucLyC62oMEBO8tThyJUHmvjx8V2pbsh5r6ZVDy3M7 eB2MvLTndYpBy0nm34QcT2DL0S3WCwAyfz/yu1MUZcr6dmioW626Eu9wcQLFuDeM dAx43R/YcTJFH/xE1yHZFYZm9iG8c9CzhffT9uM/gzsLpw== =MmyH -----END PGP SIGNATURE----- From guido@CNRI.Reston.VA.US Thu Sep 16 19:53:52 1999 From: guido@CNRI.Reston.VA.US (Guido van Rossum) Date: Thu, 16 Sep 1999 14:53:52 -0400 Subject: [DB-SIG] Reminder: Python Conference papers due soon! Message-ID: <199909161853.OAA01738@eric.cnri.reston.va.us> The deadline for paper submissions for the next Python conference is nearing! Make sure that if you are considering submitting a paper, the program chair sees your paper by SEPTEMBER 30. Papers can be on any Python, JPython or Zope related subject. Papers will be reviewed and the best papers will be selected for presentation. You will hear about selection by October 22. For more information, see the official call for papers: http://www.python.org/workshops/2000-01/cfp.html ** We are planning a significant Zope presence at this conference! ** The conference will be held from January 24-27 in Alexandria, VA (just across the Potomac from DC). Make Python the first conference in the new millennium you visit! For more info, see the conference home page: http://www.python.org/workshops/2000-01/ Send all email questions about papers to: ipc8papers@cs.uchicago.edu --Guido van Rossum (home page: http://www.python.org/~guido/) (And sorry for the broad spamming.) From hniksic@srce.hr Fri Sep 17 13:47:19 1999 From: hniksic@srce.hr (Hrvoje Niksic) Date: 17 Sep 1999 14:47:19 +0200 Subject: [DB-SIG] PostgreSQL and ODBC Message-ID: <87puzhbt7s.fsf@pc-hrvoje.srce.hr> Does anyone use PostgreSQL with a 2.0 API compliant module? I'd try it with mxODBC, but I haven't got ODBC to run yet. Has anyone else tried it? I wonder how hard it would be to right a 2.0 API compliant wrapper for PyGreSQL. From darcy@druid.net Fri Sep 17 20:03:33 1999 From: darcy@druid.net (D'Arcy J.M. Cain) Date: Fri, 17 Sep 1999 15:03:33 -0400 (EDT) Subject: [DB-SIG] PostgreSQL and ODBC In-Reply-To: <87puzhbt7s.fsf@pc-hrvoje.srce.hr> from Hrvoje Niksic at "Sep 17, 1999 02:47:19 pm" Message-ID: Thus spake Hrvoje Niksic > Does anyone use PostgreSQL with a 2.0 API compliant module? I'd try > it with mxODBC, but I haven't got ODBC to run yet. > > Has anyone else tried it? I wonder how hard it would be to right a > 2.0 API compliant wrapper for PyGreSQL. That is, in fact, the plan as soon as I have some spare time. I expect it to be pretty easy. Even the regular module is a wrapper around the C one. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner. From hniksic@srce.hr Mon Sep 20 18:34:18 1999 From: hniksic@srce.hr (Hrvoje Niksic) Date: 20 Sep 1999 19:34:18 +0200 Subject: [DB-SIG] Connecting to Microsoft SQL server from Python Message-ID: <87zoyhjxlx.fsf@pc-hrvoje.srce.hr> In the company where I'll soon work, there is an NT machine running Microsoft SQL Server 6.5. Next to it is a Linux box that runs programs that connect to the database. I'd like to connect to the database using Python. At this time all the programs that connect to the database are written in Perl, using a module that works with the Sybase development library (ctlib). The library connects to the Sybase driver installed on the NT machine, which in turn connects to the MS SQL server. This works nicely, but I'd rather use Python. I thought the Sybase stuff was ODBC-driven, so I tried to use mxODBC, but it wouldn't compile -- it seems that the Sybase Linux library doesn't come with the ODBC API. I tried Peter Godman's Sybase module, but it didn't seem usable. I guess I could write a new module from scratch based on the Perl module, but that would take a lot of time, as I know very little about the Python internals. So, my questions are: * Is there an ODBC library that can connect to the Microsoft SQL server on a remote machine? Does mxODBC work with it? * Is there a Python module that can connect to the Microsoft SQL server, with or without ODBC? * Is there another way to approach the problem? Help would be *much* appreciated. I'd hate spend several years of my life coding Perl, or having to write wrappers around Perl functions in order to use them from Python. From mal@lemburg.com Mon Sep 20 18:53:01 1999 From: mal@lemburg.com (M.-A. Lemburg) Date: Mon, 20 Sep 1999 19:53:01 +0200 Subject: [DB-SIG] Connecting to Microsoft SQL server from Python References: <87zoyhjxlx.fsf@pc-hrvoje.srce.hr> Message-ID: <37E6747D.55E453EF@lemburg.com> Hrvoje Niksic wrote: > > In the company where I'll soon work, there is an NT machine running > Microsoft SQL Server 6.5. Next to it is a Linux box that runs > programs that connect to the database. I'd like to connect to the > database using Python. > > At this time all the programs that connect to the database are written > in Perl, using a module that works with the Sybase development > library (ctlib). The library connects to the Sybase driver installed > on the NT machine, which in turn connects to the MS SQL server. > > This works nicely, but I'd rather use Python. I thought the Sybase > stuff was ODBC-driven, so I tried to use mxODBC, but it wouldn't > compile -- it seems that the Sybase Linux library doesn't come with > the ODBC API. I tried Peter Godman's Sybase module, but it didn't > seem usable. > > I guess I could write a new module from scratch based on the Perl > module, but that would take a lot of time, as I know very little about > the Python internals. > > So, my questions are: > > * Is there an ODBC library that can connect to the Microsoft SQL > server on a remote machine? Does mxODBC work with it? You could try one of the ODBC driver construction sets available from InterSolv and OpenLink. The EasySoft ODBC bridge should also work. Links etc. are on the mxODBC web-page. > * Is there a Python module that can connect to the Microsoft SQL > server, with or without ODBC? Don't know, but there is something interesting out there: http://helios.oit.unc.edu/freetds/index.html Perhaps someone has already conquered this protocol... > * Is there another way to approach the problem? Use RPC to transfer the queries to the NT Server and use the SQL Server ODBC drivers there. Should be easy to do in Python. > Help would be *much* appreciated. I'd hate spend several years of my > life coding Perl, or having to write wrappers around Perl functions in > order to use them from Python. -- Marc-Andre Lemburg ______________________________________________________________________ Y2000: 102 days left Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/ From hniksic@srce.hr Tue Sep 21 01:22:27 1999 From: hniksic@srce.hr (Hrvoje Niksic) Date: 21 Sep 1999 02:22:27 +0200 Subject: [DB-SIG] Connecting to Microsoft SQL server from Python In-Reply-To: "M.-A. Lemburg"'s message of "Mon, 20 Sep 1999 19:53:01 +0200" References: <87zoyhjxlx.fsf@pc-hrvoje.srce.hr> <37E6747D.55E453EF@lemburg.com> Message-ID: <87d7vdxge4.fsf@pc-hrvoje.srce.hr> "M.-A. Lemburg" writes: > > * Is there an ODBC library that can connect to the Microsoft SQL > > server on a remote machine? Does mxODBC work with it? > > You could try one of the ODBC driver construction sets available > from InterSolv and OpenLink. The EasySoft ODBC bridge should also > work. Links etc. are on the mxODBC web-page. Thanks; the EasySoft bridge appears to offer exactly what I need. If there is interest, I can summarize my experiences after I set up the system. From msrisney@ingr.com Tue Sep 21 06:20:23 1999 From: msrisney@ingr.com (Risney, Marc S) Date: Tue, 21 Sep 1999 00:20:23 -0500 Subject: [DB-SIG] Oracle Module for win32?? Message-ID: <0534AD5B0B58D21190B1080009B96E8978C84E@HQ2> Hey Pythoneers, I am attempting to work with Digitalk Creations DCOracle , but cannot get it to compile, does anyone please have a compiled .pyd or a decent Oracle module please help.. TIA From msrisney@ingr.com Tue Sep 21 07:04:41 1999 From: msrisney@ingr.com (Risney, Marc S) Date: Tue, 21 Sep 1999 01:04:41 -0500 Subject: [DB-SIG] Oracle Module for win32?? Message-ID: <0534AD5B0B58D21190B1080009B96E8978C84F@HQ2> Yes, both mxODBC and M. HAmmond's ODBC from the win32 do work however Performance, seems a bit off, on a joined query, where a 100K recordset table is keyed, the query takes roughly 30 - 40 secs to retrieve the resulting recordset..and roughly the same time in a VBA from using the supplied Oracle ODBC driver with an Oracle OLE object in a VB Form the same query results almost instantaneoulsy it seems that the overhead of the ODBC is slowing my app down, since I would like to develop a client that is "cross platform" using Tkinter< I am trying to work with this object any help would be appreciated -----Original Message----- From: Anthony Baxter [mailto:anthony@interlink.com.au] Sent: Monday, September 20, 1999 11:02 PM To: Risney, Marc S Subject: Re: [DB-SIG] Oracle Module for win32?? >>> "Risney, Marc S" wrote > Hey Pythoneers, > > I am attempting to work with Digitalk Creations DCOracle , but cannot get it > to compile, > does anyone please have a compiled .pyd or a decent Oracle module > please help.. Does ODBC not work for you? From Max.Slimmer@RightWorks.com Tue Sep 21 07:15:57 1999 From: Max.Slimmer@RightWorks.com (Max Slimmer) Date: Mon, 20 Sep 1999 23:15:57 -0700 Subject: [DB-SIG] Oracle Module for win32?? Message-ID: <7BB27EA0B07AD211B7E800A0C9B2143D632FFD@kirk2.corp.mediak.com> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BF03F8.C71B0DF8 Content-Type: text/plain; charset="iso-8859-1" Keep in mind that acquiring a connection to Oracle takes several seconds, you should run your test with a persistent connection. The differences in timing you are seeing are most surely because of this, and not ODBC. max -----Original Message----- From: Risney, Marc S [mailto:msrisney@ingr.com] Sent: Monday, September 20, 1999 11:05 PM To: 'Anthony Baxter'; 'db-sig@python.org' Subject: RE: [DB-SIG] Oracle Module for win32?? Yes, both mxODBC and M. HAmmond's ODBC from the win32 do work however Performance, seems a bit off, on a joined query, where a 100K recordset table is keyed, the query takes roughly 30 - 40 secs to retrieve the resulting recordset..and roughly the same time in a VBA from using the supplied Oracle ODBC driver with an Oracle OLE object in a VB Form the same query results almost instantaneoulsy it seems that the overhead of the ODBC is slowing my app down, since I would like to develop a client that is "cross platform" using Tkinter< I am trying to work with this object any help would be appreciated -----Original Message----- From: Anthony Baxter [mailto:anthony@interlink.com.au] Sent: Monday, September 20, 1999 11:02 PM To: Risney, Marc S Subject: Re: [DB-SIG] Oracle Module for win32?? >>> "Risney, Marc S" wrote > Hey Pythoneers, > > I am attempting to work with Digitalk Creations DCOracle , but cannot get it > to compile, > does anyone please have a compiled .pyd or a decent Oracle module > please help.. Does ODBC not work for you? _______________________________________________ DB-SIG maillist - DB-SIG@python.org http://www.python.org/mailman/listinfo/db-sig ------_=_NextPart_001_01BF03F8.C71B0DF8 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [DB-SIG] Oracle Module for win32??

Keep in mind that acquiring a connection to Oracle = takes several seconds, you should run your test with a persistent = connection. The differences in timing you are seeing are most surely = because of this, and not ODBC.

max

-----Original Message-----
From: Risney, Marc S [mailto:msrisney@ingr.com]
Sent: Monday, September 20, 1999 11:05 PM
To: 'Anthony Baxter'; 'db-sig@python.org'
Subject: RE: [DB-SIG] Oracle Module for win32?? =


Yes, both mxODBC and M. HAmmond's ODBC from the win32 = do work
however Performance, seems a bit off,
on a joined query, where a 100K recordset table is = keyed, the query takes
roughly 30 - 40 secs to retrieve the resulting = recordset..and roughly the
same time in a VBA from using the supplied Oracle = ODBC driver


with an Oracle OLE object in a VB Form the same query = results almost
instantaneoulsy

it seems that the overhead of the ODBC is slowing my = app down, since I would
like to develop a client that is "cross = platform" using Tkinter< I am trying
to work with this object

any help would be appreciated
 

-----Original Message-----
From: Anthony Baxter [mailto:anthony@interlink.com.au= ]
Sent: Monday, September 20, 1999 11:02 PM
To: Risney, Marc S
Subject: Re: [DB-SIG] Oracle Module for win32?? =


>>> "Risney, Marc S" wrote
> Hey Pythoneers,
>
> I am attempting to work with Digitalk Creations = DCOracle , but cannot get
it
> to compile,
> does anyone please have a compiled .pyd or a = decent Oracle module
> please help..

Does ODBC not work for you?


_______________________________________________
DB-SIG maillist  -  = DB-SIG@python.org
http://www.python.org/mailman/listinfo/db-sig

------_=_NextPart_001_01BF03F8.C71B0DF8-- From mal@lemburg.com Tue Sep 21 09:25:37 1999 From: mal@lemburg.com (M.-A. Lemburg) Date: Tue, 21 Sep 1999 10:25:37 +0200 Subject: [DB-SIG] Connecting to Microsoft SQL server from Python References: <87zoyhjxlx.fsf@pc-hrvoje.srce.hr> <37E6747D.55E453EF@lemburg.com> <87d7vdxge4.fsf@pc-hrvoje.srce.hr> Message-ID: <37E74101.67FA614B@lemburg.com> Hrvoje Niksic wrote: > > "M.-A. Lemburg" writes: > > > > * Is there an ODBC library that can connect to the Microsoft SQL > > > server on a remote machine? Does mxODBC work with it? > > > > You could try one of the ODBC driver construction sets available > > from InterSolv and OpenLink. The EasySoft ODBC bridge should also > > work. Links etc. are on the mxODBC web-page. > > Thanks; the EasySoft bridge appears to offer exactly what I need. > > If there is interest, I can summarize my experiences after I set up > the system. Please do; these experience reports should probably also go into the topic guide on www.python.org. If they are mxODBC related I'd also like to integrate them into the mxODBC docs. -- Marc-Andre Lemburg ______________________________________________________________________ Y2000: 101 days left Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/