Re: How many no. of clients can access database simultaneously?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Namrata <nlabade(at)nulinkinc(dot)com>
Cc: postgres <pgsql-general(at)postgresql(dot)org>
Subject: Re: How many no. of clients can access database simultaneously?
Date: 2001-06-12 17:21:28
Message-ID: Pine.LNX.4.30.0106121917160.756-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Namrata writes:

> 1: How many maximum number of clients can access the same database at a time?

The compiled-in default is 1024, the run-time default is 32. Both can be
changed to a couple of million if you have the memory. (Not that an OS
will usually support that many processes.)

> 2: What is the recovery mechanism provided for PostgreSQL? Is there any provision for comma separated records or file?

Make regular backups. ;-)

> 3: Are there any interfaces provided in C/C++ to change or set the DATESTYLE and TIMESTAMP?

No, but there's an SQL interface that you can call from C or C++.

> 4: When client accesses the database from other host machine, we provide the ipaddress and hostname for connection. My question is about, priority is
> given to which parameter for connecting to the remote host, ipaddress or hoatname, which is having highest priority?

IP address

> 5: What type of the connection exits when client connects to remote database server? Is that TCP or UDP?

TCP

> 6: Is there any provision for database spaaning on multiple diska?

Not within PostgreSQL, but you can use a logical volumen manager in your
operating system.

> 7: How the database recovery is provided in case if the connection between the client and server breaks while the transaction is in process and client
> & server are on separate machines/hosts?

Transaction is rolled back.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2001-06-12 17:39:00 Re: ideas on optimization
Previous Message Peter Eisentraut 2001-06-12 17:16:48 Re: total newbie question