Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-29 Thread Christopher Kings-Lynne
PROTECTED]> To: "Greg Quinn" <[EMAIL PROTECTED]> Sent: Wednesday, March 29, 2006 11:02 AM Subject: Re: [PERFORM] Slow performance on Windows .NET and OleDb select * from users which returns 4 varchar fields, there is no where clause how many rows does it return ? a few, or

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-29 Thread Merlin Moncure
On 3/29/06, Greg Quinn <[EMAIL PROTECTED]> wrote: > > how many rows does it return ? a few, or a lot ? > > 3000 Rows - 7 seconds - very slow > > Which client library may have a problem? I am using OleDb, though haven't > tried the .NET connector yet. esilo=# create temp table use_npgsql as select

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-29 Thread PFC
3000 Rows - 7 seconds - very slow On my PC (athlon 64 3000+ running Linux), selecting 3000 rows with 4 columns out of a 29 column table takes about 105 ms, including time to transfer the results and convert them to native Python objects. It takes about 85 ms on a test table with only th

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-29 Thread Markus Schaber
Hi, Greg, Greg Quinn wrote: >>> I populate 3000 records into the table to test PostGreSql's speed. >>> It takes about 3-4 seconds. >> When you do the population, is it via inserts or copy? > Via insert Are those inserts encapsulated into a single transaction? If not, that's the reason why it's so

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-29 Thread Greg Quinn
g Ram. Windows XP - Original Message - From: "PFC" <[EMAIL PROTECTED]> To: "Greg Quinn" <[EMAIL PROTECTED]> Sent: Wednesday, March 29, 2006 11:02 AM Subject: Re: [PERFORM] Slow performance on Windows .NET and OleDb select * from users which returns 4 var

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-28 Thread Chris
Ruben Rubio Rey wrote: Greg Quinn wrote: The query is, select * from users which returns 4 varchar fields, there is no where clause Yes, I am running the default postgres config. Basically I have been a MySQL user and thought I would like to check out PostGreSql. So I did a quick performan

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-28 Thread Ruben Rubio Rey
Greg Quinn wrote: The query is, select * from users which returns 4 varchar fields, there is no where clause Yes, I am running the default postgres config. Basically I have been a MySQL user and thought I would like to check out PostGreSql. So I did a quick performance test. The performance

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-28 Thread Greg Quinn
Via insert When you do the population, is it via inserts or copy? Joshua D. Drake -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 19

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-28 Thread Greg Quinn
give me some tips? Thanks - Original Message - From: "Joshua D. Drake" <[EMAIL PROTECTED]> To: "Jim C. Nasby" <[EMAIL PROTECTED]> Cc: "Greg Quinn" <[EMAIL PROTECTED]>; Sent: Tuesday, March 28, 2006 7:52 PM Subject: Re: [PERFORM] Slow perfo

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-28 Thread Joshua D. Drake
Jim C. Nasby wrote: On Tue, Mar 28, 2006 at 02:14:00PM +0200, Greg Quinn wrote: Hello, I have just installed PostGreSql 8.1 on my Windows XP PC. I created a simple table called users with 4 varchar fields. I am using the OleDb connection driver. In my .NET application, I populate 3000 recor

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-28 Thread Jim C. Nasby
On Tue, Mar 28, 2006 at 02:14:00PM +0200, Greg Quinn wrote: > Hello, > > I have just installed PostGreSql 8.1 on my Windows XP PC. I created a > simple table called users with 4 varchar fields. > > I am using the OleDb connection driver. In my .NET application, I populate > 3000 records into th

Re: [PERFORM] Slow performance on Windows .NET and OleDb

2006-03-28 Thread Merlin Moncure
On 3/28/06, Greg Quinn <[EMAIL PROTECTED]> wrote: > I am using the OleDb connection driver. In my .NET application, I populate > 3000 records into the table to test PostGreSql's speed. It takes about 3-4 > seconds. have you tried: 1. npgsql .net data provider 2. odbc ado.net bridge merlin --

[PERFORM] Slow performance on Windows .NET and OleDb

2006-03-28 Thread Greg Quinn
Hello, I have just installed PostGreSql 8.1 on my Windows XP PC. I created a simple table called users with 4 varchar fields. I am using the OleDb connection driver. In my .NET application, I populate 3000 records into the table to test PostGreSql's speed. It takes about 3-4 seconds. Even