Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 1E7092E0040 for ; Fri, 4 Apr 2008 03:21:18 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 23788-10 for ; Fri, 4 Apr 2008 03:21:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from vilnius.balt.net (vilnius.balt.net [195.14.170.14]) by developer.postgresql.org (Postfix) with ESMTP id C2CA22E002D for ; Fri, 4 Apr 2008 03:21:12 -0300 (ADT) Received: from nSoft.lt (unknown [217.117.29.29]) by vilnius.balt.net (Postfix) with ESMTP id 99F4738BA2E for ; Fri, 4 Apr 2008 09:21:10 +0300 (EEST) Received: from [192.168.16.191] (unknown [192.168.16.191]) by nSoft.lt (Postfix) with ESMTP id 54202BEFC1 for ; Fri, 4 Apr 2008 10:11:52 +0000 (GMT) Message-ID: <47F5C8D7.9070904@nsoft.lt> Date: Fri, 04 Apr 2008 09:21:11 +0300 From: Julius Tuskenis User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: store different tables in different locations References: <011101c89609$eaa96060$131c480a@nsl.ad.nec.co.jp> In-Reply-To: <011101c89609$eaa96060$131c480a@nsl.ad.nec.co.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200804/35 X-Sequence-Number: 28799 Hello, 1) To store tables in different locations use different tablespaces, witch can be stored in different locations in your hard drive. Same goes for the databases. 2) a) Postgresql is fine data base management system, so I see no reasons why you should not use it. b) I'm not sure I fully understand you on that one. You want to estimate, that after inserting some record into your database it will reach your maximum size? Any way I don't know how to do this... Duan Ligong rašė: > Hi, all > > I have several questions to bother you. :) > > 1 For postgresql, is it POSSIBLE to store different tables in > different locations where we specify? For one postgresql management > process, > is it POSSIBLE to store different database in differentlocations > where we specify? > > 2 Is it appropriate to use Postgresql to store data for the following > situation: > The whole system consists of about 400 machines and I have to develop > a program collecting the information about capacity and performance > and networt setting and so on of each machines and displaying them for > the administrators and some related guys. Moreover, I have to store > some history data to display graphes > and curvers. My design is as follows: one daemon process running on > each machine to collect data and send it to the database which is in > one specified machine. > The bad thing is that the size of database is asked to be resricted in > 900MB for some reasons. > The questions are: > (a) Is it appropriate to use postgresql database in this case? If not, > any sugguestion will be appreciated. > In fact considered using common file to store data. but you know, > it is possible that daemon processes on other 399 machines send data > simultaneously, ... > > (b) It seems hard to estimate the maximum size of the database, > because frequently updating and inserting opreations will cause unused > space not acclaiming in time and we have to routinely vaccum. > Is there any good and easy, :) way to estimate the maximum size of > postgresql database accurately? > > Best regards, > Duan > > > -- > Duan Ligong > TEL : 0561-75-1925-6201 > 800-81-569-6201 > E-Mail : l-duan@zd.cnes.jp.nec.com > -- Julius Tuskenis Programuotojas UAB nSoft mob. +37068233050