Re: Fast DB access

2001-04-22 Thread Murali V
; Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 19, 2001 8:08 PM Subject: [OT] Re: Fast DB access > On 18 Apr 2001, Clayton Cottingham aka drfrog wrote: > > > [drfrog]$ perl fast_db.pl > > postgres > > 16 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) @ 400.00/s (

Re: Fast DB access

2001-04-22 Thread Murali V
Hi,   We've continuing this discussions   Reponses to queries raised in the last 24 hours.   WIM > Could you post the SQL statements used to create the tables as well? See our posting on April 17th. Our attachments have the create table sql too.   CLAYTON > [drfrog]$ perl fast_db.plCLAYTON >

Re: Fast DB access

2001-04-22 Thread Murali V
ROTECTED]> Sent: Thursday, April 19, 2001 4:13 AM Subject: Re: Fast DB access > > "Chutzpah" is an interesting way of putting it. I've been thinking > > of them as "slimeballs in the busy of conning webkids into > > thinking they have a real RDBM product

Re: [OT] Re: Fast DB access

2001-04-22 Thread Murali V
Thanks for pointing out the mistake in postgres. Your Advice makes lots of sense. V Murali - Original Message - From: Cees Hek <[EMAIL PROTECTED]> To: Murali V <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 1:45 AM Subject: [OT] Re: Fast DB a

Fw: [OT] Re: Fast DB access

2001-04-19 Thread Differentiated Software Solutions Pvt. Ltd.,
www.diffsoft.com > - Original Message - > From: Cees Hek <[EMAIL PROTECTED]> > To: Murali V <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, April 20, 2001 1:45 AM > Subject: [OT] Re: Fast DB access > > > > > > On Thu, 19 Apr 2001,

Re: Fast DB access

2001-04-19 Thread clayton cottingham
please be advised i also posted this benchmark to [EMAIL PROTECTED] some interesting thoughts etc on this there too thread is: [SQL] any proper benchmark scripts? if anyone is on the mysql lists please post to there

Re: Fast DB access

2001-04-19 Thread Cees Hek
On Thu, 19 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: > I get a feeling that the point we were trying to make is going to be > missed. MLDBM is not a bad alternative to databases under specific > conditions !! That point was definately not missed by me, and I have learned som

Re: Fast DB access

2001-04-19 Thread Differentiated Software Solutions Pvt. Ltd.,
1 80 3631445, 3431470 Visit us at www.diffsoft.com > - Original Message - > From: Perrin Harkins <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; Joe Brenner <[EMAIL PROTECTED]> > Sent: Thursday, April 19, 2001 4:13 AM > Subject: Re: Fast DB access > >

[OT] Re: Fast DB access

2001-04-19 Thread Cees Hek
On Thu, 19 Apr 2001, Murali V wrote: > Hi, > > If you read the code more deeply, you'll find that the timeit is only > wrapped around select and not around insert. > We've written the insert code so that in the first round you can populate > the database. > You comment out the insert code after

Re: Fast DB access

2001-04-18 Thread Differentiated Software Solutions Pvt. Ltd.,
;[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, April 19, 2001 8:08 PM > Subject: [OT] Re: Fast DB access > > > > On 18 Apr 2001, Clayton Cottingham aka drfrog wrote: > > > > > [drfrog]$ perl fast_db.pl > > > postgres > > >

Re: Fast DB access

2001-04-18 Thread Differentiated Software Solutions Pvt. Ltd.,
Hi,   We've continuing this discussions   Reponses to queries raised in the last 24 hours.   WIM > Could you post the SQL statements used to create the tables as well? See our posting on April 17th. Our attachments have the create table sql too.   CLAYTON > [drfrog]$ perl fast_db.plCLAYTON >

[OT] Re: Fast DB access

2001-04-18 Thread Cees Hek
On 18 Apr 2001, Clayton Cottingham aka drfrog wrote: > [drfrog]$ perl fast_db.pl > postgres > 16 wallclock secs ( 0.05 usr +0.00 sys = 0.05 CPU) @ 400.00/s (n=20) > mysql > 3 wallclock secs ( 0.07 usr +0.00 sys = 0.07 CPU) @ 285.71/s (n=20) > postgres > 17 wallclock secs ( 0.06

Re: Fast DB access

2001-04-18 Thread Wim Kerkhoff
Clayton Cottingham aka drfrog wrote: > > [drfrog]$ perl fast_db.pl > postgres > 16 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) @ 400.00/s (n=20) > mysql > 3 wallclock secs ( 0.07 usr + 0.00 sys = 0.07 CPU) @ 285.71/s (n=20) > postgres > 17 wallclock secs ( 0.06 usr + 0.00 sys = 0.06 C

Re: Fast DB access

2001-04-18 Thread Clayton Cottingham aka drfrog
[drfrog]$ perl fast_db.pl postgres 16 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) @ 400.00/s (n=20) mysql 3 wallclock secs ( 0.07 usr + 0.00 sys = 0.07 CPU) @ 285.71/s (n=20) postgres 17 wallclock secs ( 0.06 usr + 0.00 sys = 0.06 CPU) @ 333.33/s (n=20) mysql 3 wallclock secs ( 0.01 u

Re: Fast DB access

2001-04-18 Thread Robert Landrum
At 3:43 PM -0700 4/18/01, Perrin Harkins wrote: > > "Chutzpah" is an interesting way of putting it. I've been thinking >> of them as "slimeballs in the busy of conning webkids into >> thinking they have a real RDBM product". >> >> (It isn't a moot point, because it's the same people working on >>

Re: Fast DB access

2001-04-18 Thread Perrin Harkins
> "Chutzpah" is an interesting way of putting it. I've been thinking > of them as "slimeballs in the busy of conning webkids into > thinking they have a real RDBM product". > > (It isn't a moot point, because it's the same people working on > it: human character issues are actually relevant when

Re: Fast DB access

2001-04-18 Thread Joe Brenner
[EMAIL PROTECTED] wrote: > Matthew Kennedy wrote: > > > I'm on several postgresql mailing lists and couldn't find a recent post > > from you complaining about 6.5.3 performance problems (not even by an > > archive search). Your benchmark is worthless until you try postgresql > > 7.1. There have

Re: Fast DB access

2001-04-18 Thread Matt Sergeant
On Wed, 18 Apr 2001, ed phillips wrote: > You can scale any of these databases; Oracle, MySQL or PostgreSQL, but > please research each one thoroughly and tune it properly before you do > your benchmarking. And, again, MySQL does support transactions now. > Such chutzpah for them to have promote

Re: (OT) Re: Fast DB access

2001-04-18 Thread clayton cottingham
Matthew Kennedy wrote: > This might help too: > > http://www.angelfire.com/nv/aldev/pgsql/GreatBridge.html > > Of course benchmarks are so debatable anyway.. > > Matt i saw those they are pretty good but greatbridge is tied into postgres somehow im looking for impartial benchmarks nonethe

(OT) Re: Fast DB access

2001-04-18 Thread Matthew Kennedy
On 18 Apr 2001 08:49:38 -0700, clayton cottingham wrote: > Matthew Kennedy wrote: > > > > On 17 Apr 2001 18:24:43 -0700, clayton wrote: > > > > > > i wanted a good benchmark for postgres and mysql > > > {i hope to transpose the sql properly!} > > > > > > > This is a good comparison of MySQL and

Re: Fast DB access

2001-04-18 Thread Dave Hodgkinson
clayton cottingham <[EMAIL PROTECTED]> writes: > Matthew Kennedy wrote: > > > > On 17 Apr 2001 18:24:43 -0700, clayton wrote: > > > > > > i wanted a good benchmark for postgres and mysql > > > {i hope to transpose the sql properly!} > > > > > > > This is a good comparison of MySQL and PostgreSQ

Re: Fast DB access

2001-04-18 Thread ed phillips
Matthew Kennedy wrote: > I'm on several postgresql mailing lists and couldn't find a recent post > from you complaining about 6.5.3 performance problems (not even by an > archive search). Your benchmark is worthless until you try postgresql > 7.1. There have been two major releases of postgresql

Re: Fast DB access

2001-04-18 Thread clayton cottingham
Matthew Kennedy wrote: > > On 17 Apr 2001 18:24:43 -0700, clayton wrote: > > > > i wanted a good benchmark for postgres and mysql > > {i hope to transpose the sql properly!} > > > > This is a good comparison of MySQL and PostgreSQL 7.0: > > "Open Source Databases: As The Tables Turn" -- > http:

Re: Fast DB access

2001-04-18 Thread Matthew Kennedy
On 18 Apr 2001 12:00:57 +0530, Differentiated Software Solutions Pvt. Ltd., wrote: > Hi, > > There are 4 responses to our results. We will answer them to the best of our ability. > > MATT >This is a very very old version of postgresql. Try it again with 7.1 for > MATT >more respectable results.

Re: Fast DB access

2001-04-18 Thread Matthew Kennedy
On 17 Apr 2001 18:24:43 -0700, clayton wrote: > > i wanted a good benchmark for postgres and mysql > {i hope to transpose the sql properly!} > This is a good comparison of MySQL and PostgreSQL 7.0: "Open Source Databases: As The Tables Turn" -- http://www.phpbuilder.com/columns/tim20001112.php

Re: Fast DB access

2001-04-18 Thread Matt Sergeant
On Wed, 18 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: > Hi, > > There are 4 responses to our results. We will answer them to the best of our ability. > > MATT >This is a very very old version of postgresql. Try it again with 7.1 for > MATT >more respectable results. > > Acce

Re: Fast DB access

2001-04-17 Thread Differentiated Software Solutions Pvt. Ltd.,
Hi,   There are 4 responses to our results. We will answer them to the best of our ability.   MATT >This is a very very old version of postgresql. Try it again with 7.1 forMATT >more respectable results. Accepted. We knew this when we conducted the benchmarks. We've had terrible experience w

Re: Fast DB access

2001-04-17 Thread clayton
Matt Sergeant wrote: > On Tue, 17 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: > >> H/W : Celeron 433 with 64 MB RAM, IDE HDD using RH 6.1, perl 5.005, >> Postgres 6.5.3 > > > This is a very very old version of postgresql. Try it again with 7.1 for > more respectable results.

Re: Fast DB access

2001-04-17 Thread Perrin Harkins
> b) Flat file : Create a Linux directory structure with the same hierarchy as > the attributesi.e., directory structure has > ///. ip numbers is the file name which > contains a list of ads. Objective is to pick the right file, open this file >and create a hash with the contents of the file.

Re: Fast DB access

2001-04-17 Thread Bruce Albrecht
Matt Sergeant writes: > On Tue, 17 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: > > > H/W : Celeron 433 with 64 MB RAM, IDE HDD using RH 6.1, perl 5.005, > > Postgres 6.5.3 > > This is a very very old version of postgresql. Try it again with 7.1 for > more respectable res

Re: Fast DB access

2001-04-17 Thread Matt Sergeant
On Tue, 17 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: > H/W : Celeron 433 with 64 MB RAM, IDE HDD using RH 6.1, perl 5.005, > Postgres 6.5.3 This is a very very old version of postgresql. Try it again with 7.1 for more respectable results. -- /||** Founder and CTO

Re: Fast DB access

2000-11-11 Thread Leon Brocard
Matt Sergeant sent the following bits through the ether: > Note that Theo Schlossnagel was saying over lunch at ApacheCon that if > your filename has more than 8 characters on Linux (ext2fs) it skips from a > hashed algorithm to a linear algorithm (or something to that affect). So > go careful th

Re: Fast DB access

2000-11-10 Thread clayton cottingham
Matthew Byng-Maddick wrote: > > On Fri, 10 Nov 2000, Les Mikesell wrote: > [ReiserFS] > > production just to avoid the possibility of a slow fsck after a crash, > > but it is enormously faster at creating and deleting files too because > > everything is indexed so it would be an ideal stash for f

Re: Fast DB access

2000-11-10 Thread Matthew Byng-Maddick
On Fri, 10 Nov 2000, Les Mikesell wrote: [ReiserFS] > production just to avoid the possibility of a slow fsck after a crash, > but it is enormously faster at creating and deleting files too because > everything is indexed so it would be an ideal stash for fast changing > session data. If you don

Re: Fast DB access

2000-11-10 Thread Les Mikesell
ginal Message - From: "Gunther Birznieks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 10, 2000 12:58 AM Subject: Re: Fast DB access > Isn't that a beta-level filesystem? > > At 12:47 AM 11/10/2000 -0600, Les Mikesell wrote: > > &g

Re: Fast DB access

2000-11-10 Thread Bill Moseley
At 09:20 PM 11/09/00 +, Tim Bunce wrote: >On Thu, Nov 09, 2000 at 08:27:29PM +, Matt Sergeant wrote: >> On Thu, 9 Nov 2000, Ask Bjoern Hansen wrote: >> > If you're always looking stuff up on simple ID numbers and >> > "stuff" is a very simple data structure, then I doubt any DBMS can >> >

Re: Fast DB access

2000-11-09 Thread Gunther Birznieks
Isn't that a beta-level filesystem? At 12:47 AM 11/10/2000 -0600, Les Mikesell wrote: >- Original Message - >From: "Tim Bunce" <[EMAIL PROTECTED]> > > > > > If you're always looking stuff up on simple ID numbers and > > > > "stuff" is a very simple data structure, then I doubt any DBMS c

Re: Fast DB access

2000-11-09 Thread Les Mikesell
- Original Message - From: "Tim Bunce" <[EMAIL PROTECTED]> > > > If you're always looking stuff up on simple ID numbers and > > > "stuff" is a very simple data structure, then I doubt any DBMS can > > > beat > > > > > > open D, "/data/1/12/123456" or ... > > > > > > from a fast local fi

Re: Fast DB access

2000-11-09 Thread Differentiated Software Solutions Pvt. Ltd
: Tim Sweetman <[EMAIL PROTECTED]> To: Differentiated Software Solutions Pvt. Ltd <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, November 09, 2000 8:59 PM Subject: Re: Fast DB access > Hi, > > Firstly, thanks for bringing these results back to the mailing li

Re: Fast DB access

2000-11-09 Thread Tim Bunce
On Thu, Nov 09, 2000 at 11:54:42AM -0800, Ask Bjoern Hansen wrote: > On Wed, 11 Oct 2000, Matt Sergeant wrote: > > If you're always looking stuff up on simple ID numbers and > "stuff" is a very simple data structure, then I doubt any DBMS can > beat > > open D, "/data/1/12/123456" or ... > >

Re: Fast DB access

2000-11-09 Thread Tim Bunce
On Thu, Nov 09, 2000 at 08:27:29PM +, Matt Sergeant wrote: > On Thu, 9 Nov 2000, Ask Bjoern Hansen wrote: > > > On Wed, 11 Oct 2000, Matt Sergeant wrote: > > > > > > > Most modern DBMS software should be able to handle 50 queries per second > > > > > on decent hardware, provided the conditio

Re: Fast DB access

2000-11-09 Thread Matt Sergeant
On Thu, 9 Nov 2000, Ask Bjoern Hansen wrote: > On Wed, 11 Oct 2000, Matt Sergeant wrote: > > > > > Most modern DBMS software should be able to handle 50 queries per second > > > > on decent hardware, provided the conditions are right. You're not going to > > > > get anything better with flat fil

Re: Fast DB access

2000-11-09 Thread Ask Bjoern Hansen
On Wed, 11 Oct 2000, Matt Sergeant wrote: > > > Most modern DBMS software should be able to handle 50 queries per second > > > on decent hardware, provided the conditions are right. You're not going to > > > get anything better with flat files. > > > > Hmm... I guess it all depends on what your

Re: Fast DB access

2000-11-09 Thread Tim Sweetman
Hi, Firstly, thanks for bringing these results back to the mailing list... having seen this sort of problem previously, but without (IIRC) having done side-by-side comparisons between these various techniques, I'm keen to see what you find. "Differentiated Software Solutions Pvt. Ltd" wrote: > 2

Re: Fast DB access

2000-11-08 Thread Perrin Harkins
On Thu, 9 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote: > When we rebuild the hash in the RAM it takes too much time. Did you try using Storable as the data format? It has a function to load from files which is very fast. - Perrin

Re: Fast DB access

2000-11-08 Thread Differentiated Software Solutions Pvt. Ltd
- From: Perrin Harkins <[EMAIL PROTECTED]> To: Differentiated Software Solutions Pvt. Ltd <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, November 09, 2000 12:19 AM Subject: Re: Fast DB access > "Differentiated Software Solutions Pvt. Ltd" wrote: >

Re: Fast DB access

2000-11-08 Thread Differentiated Software Solutions Pvt. Ltd
November 08, 2000 5:44 PM Subject: Re: Fast DB access > Hi there, > > On Wed, 8 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote: > > > We are returning after extensive tests of various options suggested. > > Did you try different indexing mechanisms in your tests? > > 73, > Ged. >

Re: Fast DB access

2000-11-08 Thread barries
On Wed, Nov 08, 2000 at 10:49:00AM -0800, Perrin Harkins wrote: > > Also, you could try using mmap for reading the files, or possibly the > Cache::Mmap module. If you do play with mmap, note that it can lose some or all of it's effeciency in SMP environments, or so I've read. - Barrie

Re: Fast DB access

2000-11-08 Thread Perrin Harkins
"Differentiated Software Solutions Pvt. Ltd" wrote: > 3. We have a problem rebuilding this database in the ram even say every > 1000 requests. What problem are you having with it? > We tried using dbm and found it a good compromise solution. > We found that it is about 8 times faster than po

Re: Fast DB access

2000-11-08 Thread G.W. Haywood
Hi there, On Wed, 8 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote: > We are returning after extensive tests of various options suggested. Did you try different indexing mechanisms in your tests? 73, Ged.

Re: Fast DB access

2000-11-08 Thread Differentiated Software Solutions Pvt. Ltd
Pvt. Ltd <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 11, 2000 1:56 PM Subject: Re: Fast DB access > > "Differentiated Software Solutions Pvt. Ltd" wrote: > > > > Hi, > > > > We have an application where we will have

Re: Fast DB access

2000-11-08 Thread Differentiated Software Solutions Pvt. Ltd
day, October 12, 2000 2:35 AM Subject: Re: Fast DB access > On Wed, 11 Oct 2000, Matt Sergeant wrote: > > > > I really think that sometimes going for a flat file layout *can* be much > > > more reliable and scalable then RDBMS software. It all really depends on > > > wh

Re: Fast DB access

2000-10-11 Thread Sander van Zoest
On Wed, 11 Oct 2000, Matt Sergeant wrote: > On Wed, 11 Oct 2000, Sander van Zoest wrote: > > On Wed, 11 Oct 2000, Matt Sergeant wrote: > > Lots of places use databases for read-only queries. Having a database > > that gets lots of similar queries that are read-only makes it an > > unnecessary si

Re: Fast DB access

2000-10-11 Thread Matt Sergeant
On Wed, 11 Oct 2000, Sander van Zoest wrote: > On Wed, 11 Oct 2000, Matt Sergeant wrote: > > Lots of places use databases for read-only queries. Having a database > that gets lots of similar queries that are read-only makes it an > unnecessary single point of failure. Why not use the local disk

Re: Fast DB access

2000-10-11 Thread Sander van Zoest
On Wed, 11 Oct 2000, Matt Sergeant wrote: > > I really think that sometimes going for a flat file layout *can* be much > > more reliable and scalable then RDBMS software. It all really depends on > > what you plan to do with the data and what you would like to get out of > > it. > I think you cho

Re: Fast DB access

2000-10-11 Thread Matt Sergeant
On Wed, 11 Oct 2000, Sander van Zoest wrote: > On Wed, 11 Oct 2000, Matt Sergeant wrote: > > > Most modern DBMS software should be able to handle 50 queries per second > > on decent hardware, provided the conditions are right. You're not going to > > get anything better with flat files. > > Hmm

Re: Fast DB access

2000-10-11 Thread Sander van Zoest
On Wed, 11 Oct 2000, Matt Sergeant wrote: > Most modern DBMS software should be able to handle 50 queries per second > on decent hardware, provided the conditions are right. You're not going to > get anything better with flat files. Hmm... I guess it all depends on what your queries look like, b

Re: Fast DB access

2000-10-11 Thread remco
Hi, On Wed, 11 Oct 2000, Differentiated Software Solutions Pvt. Ltd wrote: > Hi, > > We have an application where we will have to service as high as 50 queries a second. > We've discovered that most database just cannot keep pace. Are all of these queries for the same http-request? In that ca

Re: Fast DB access

2000-10-11 Thread Joe Schaefer
"Differentiated Software Solutions Pvt. Ltd" <[EMAIL PROTECTED]> writes: > We have an application where we will have to service as high as 50 = > queries a second. > We've discovered that most database just cannot keep pace. > > The only option we know is to service queries out of flat files. >

Re: Fast DB access

2000-10-11 Thread Sean D. Cook
On Wed, 11 Oct 2000, Differentiated Software Solutions Pvt. Ltd wrote: > Hi, > > We have an application where we will have to service as high as 50 queries a second. > We've discovered that most database just cannot keep pace. > > The only option we know is to service queries out of flat file

Re: Fast DB access

2000-10-11 Thread Francesc Guasch
> "Differentiated Software Solutions Pvt. Ltd" wrote: > > Hi, > > We have an application where we will have to service as high as 50 > queries a second. > We've discovered that most database just cannot keep pace. > > The only option we know is to service queries out of flat files. There is a

Re: Fast DB access

2000-10-11 Thread Matt Sergeant
On Wed, 11 Oct 2000, Differentiated Software Solutions Pvt. Ltd wrote: > Hi, > > We have an application where we will have to service as high as 50 > queries a second. We've discovered that most database just cannot keep > pace. > > The only option we know is to service queries out of flat file