X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org
Received: from localhost (unknown [64.117.224.130])
by svr1.postgresql.org (Postfix) with ESMTP id E0AE9D1C4B9
for ;
Mon, 11 Aug 2003 09:00:03 +0000 (GMT)
Received: from svr1.postgresql.org ([64.117.224.193])
by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new,
port 10024) with ESMTP id 65226-08
for ;
Mon, 11 Aug 2003 05:58:35 -0300 (ADT)
Received: from lata.dp.ua (unknown [213.179.230.244])
by svr1.postgresql.org (Postfix) with ESMTP id BE6B0D1C4E3
for ;
Mon, 11 Aug 2003 05:59:46 -0300 (ADT)
Received: from [192.168.0.48] (helo=sergeyd)
by lata.dp.ua with esmtp (Exim 3.22 #1) id 19m8Wq-00027N-00
for pgsql-performance@postgresql.org; Mon, 11 Aug 2003 11:59:48 +0300
From: "Serge Dorofeev"
To:
Subject: How to force PostgreeSQL to work faster?
Date: Mon, 11 Aug 2003 11:59:45 +0300
Organization: .
Message-ID: <000101c35fe6$ea3fea80$3000a8c0@sergeyd>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0002_01C36000.0F8EA920"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Virus-Scanned: by amavisd-new at postgresql.org
X-Spam-Status: No, hits=1.8 tagged_above=0.0 required=5.0
tests=ASCII_FORM_ENTRY, HTML_80_90, HTML_MESSAGE, HTML_TAG_EXISTS_TBODY
X-Spam-Level: *
X-Archive-Number: 200308/161
X-Sequence-Number: 2978
This is a multi-part message in MIME format.
------=_NextPart_000_0002_01C36000.0F8EA920
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi PostrgeSQL team,
My PostrgeSQL installed as part of CYGWIN (Windows XP).
I have compared performance PostrgeSQL to MS SQL (I used a little Java
program with number of inserts in table).
MS SQL is faster in 12 times :-(
It's very strange results.
Guys who developed this server: what you can tell in this - what
customizations needs to increase of productivity?
How to force PostgreeSQL to work faster?
Speed (inserts/sec) Elapsed time (ms)
MS SQL (Average): 295 39 869
testInsert 5000
263 18 977
255 19 619
306 16 334
testInsert 10000
315 31 716
324 30 905
319 31 325
testInsert 20000
241 82 919
313 63 922
317 63 101
PostrgreSQL (Average): 24 520 160
testInsert 5000
26 191 434
26 191 264
26 192 295
testInsert 10000
22 463 669
25 393 510
24 409 528
testInsert 20000
24 834 911
17 1 184 613
24 820 218
MS SQL is faster (times): 12 13
______________________________________________________
With regards,
Serge.
------=_NextPart_000_0002_01C36000.0F8EA920
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Message
Hi PostrgeSQL team,
My PostrgeSQL installed as part of CYGW=
IN=20
(Windows XP).
I have compared performance PostrgeSQL to MS SQL (I used a=
=20
little Java program with number of inserts in table).
MS SQL is faster i=
n 12=20
times :-(
It's very strange results.
Guys who developed this server: =
what=20
you can tell in this - what customizations needs to increase of=20
productivity?
How to force PostgreeSQL to work faster?
| |
Speed (inserts/sec)<=
/TD>
| Elapsed time (ms) |
| MS SQL (Average):
| 295=
|
39=20
869 |
| |
testInsert 5000 |
|
| |
263
| 18 977 |
| |
255 |
19 619 |
| |
306 |
16 334 |
| |
|
|
| |
testInsert 10000 |
|
| |
315
| 31 716 |
| |
324
| 30 905 |
| |
319
| 31 325 |
| |
|
|
| |
testInsert 20000 |
|
| |
241
| 82 919 |
| |
313
| 63 922 |
| |
317 |
63 101 |
| |
|
<=
FONT=20
size=3D2> |
| PostrgreSQL (Average): |
24<=
/TD>
| 520=20
160 |
| |
testInsert 5000 |
|
| |
26 |
191 434 |
| |
26 |
191 264 |
| |
26 |
192 295 |
| |
|
|
| |
testInsert 10000 |
|
| |
22 |
463 669 |
| |
25 |
393 510 |
| |
24 |
409 528 |
| |
|
|
| |
testInsert 20000 |
|
| |
24 |
834 911 |
| |
17 |
1 184 613 |
| |
24 |
820 218 |
| MS SQL is faster=20
(times): |
12 |
13 |
___________________________________________________=
___
With=20
regards,
Serge.
------=_NextPart_000_0002_01C36000.0F8EA920--