Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esxNN-0002iI-VS for pgsql-general@arkaria.postgresql.org; Mon, 05 Mar 2018 21:10:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1esxNL-0007Dv-Or for pgsql-general@arkaria.postgresql.org; Mon, 05 Mar 2018 21:10:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esxNL-0007Di-9D for pgsql-general@lists.postgresql.org; Mon, 05 Mar 2018 21:10:27 +0000 Received: from mail-pg0-x22f.google.com ([2607:f8b0:400e:c05::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1esxNE-0002xh-6P for pgsql-general@lists.postgresql.org; Mon, 05 Mar 2018 21:10:25 +0000 Received: by mail-pg0-x22f.google.com with SMTP id e3so2674285pga.6 for ; Mon, 05 Mar 2018 13:10:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=sc0+6Zw12I/KXLh/BvsDxiLs7gnLmUhgTRws/cqng1c=; b=dBifpC/67dStixEyXsRt9lYd0SkgN+2jTazVOk7IVwtOOZY3F0/f/i6tzBaS2xMGcc uR7oisZ3eIsB0vHwkIV/ao0rrO7GySmTNjNzXUqCBFvbOfRfgr9FxPPCMy+bcIevUwF1 QOafSkznlQrmdlPmAD2EypSI4r+L5oNWdIIDXApmDoyCpAqkkzNgb4GbNuwgejz8aQTf 49XhNUDwuwGb64tAJImpI1aWR5rlrooh4iclilH0xMM3lYzoje85+czOinBERYTuuQ2q kjQl+jUP48cpMnJ/oK8P5G4MHmJDeBGZX16xogT39mwa65QaAP19deh3rwBo+Y8Sc60y dNhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=sc0+6Zw12I/KXLh/BvsDxiLs7gnLmUhgTRws/cqng1c=; b=cP8Rhxo+4ZbjLTg2JIavkgbRHY1+G9JnrS2Dzl6pAEpduo9iZS096NmUmQmb+rcPFH 9RrMT180YkttwFlPRZX9FxGGDf7ZSdaI/pvgeAE+xKnPe3Tk4ncjFPcXYjpBl+GkV1Qa Nz6+sXBnTR0A6jClQ5W/AwkyvAGyDe3QnVE9uR3USulsd8xh60d4SRKRrDqutrKqmF/b Rh1Pd5MRAOAZEuj0gIEcIANVf+VNOeqhUeZRvQ6XMpf31yN3zjGkiVxvMHAMVPD2g8R5 b5UvaVJ9qKYJhzOqj/I0704kRdRCSOmBAj64uBUvvPyZJ+8/x/Uc0L5FOv9Fc+VSXeNn jpWg== X-Gm-Message-State: APf1xPDdoleTO6vTQsBaO6wwepuV4xsDdpEAXtyf7h5lnRsdUS2jcTwa isTnNh5pfNYbkQzROBYX6kGyLVLZ X-Google-Smtp-Source: AG47ELsFFmpO+ts8fceZUCJHW7hVHiJjo3LbKs/1zyFtxMYIgFdZHUxE5oNXcO+gOISYgp0/yQP6gQ== X-Received: by 10.99.174.5 with SMTP id q5mr13208399pgf.170.1520284218588; Mon, 05 Mar 2018 13:10:18 -0800 (PST) Received: from tim-desktop (2001-44b8-31f2-bb00-3959-b82b-6a9a-32f5.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:3959:b82b:6a9a:32f5]) by smtp.gmail.com with ESMTPSA id a6sm6415512pgq.82.2018.03.05.13.10.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Mar 2018 13:10:17 -0800 (PST) References: User-agent: mu4e 0.9.18; emacs 25.3.1 From: Tim Cross To: David Gauthier Cc: "pgsql-generallists.postgresql.org" Subject: Re: Best options for new PG instance In-reply-to: Date: Tue, 06 Mar 2018 08:10:07 +1100 Message-ID: <87muzm1b68.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk David Gauthier writes: > Hi: > > I'm going to be requesting a PG DB instance (v9.6.7) from an IT dept in a > large corp setting. I was wondering if anyone could comment on the > pros/cons of getting this put on a virtual machine vs hard metal ? Locally > mounted disk vs nfs ? > This is a hard question to answer as there are too many variables. However, I would say that my experience has been that most large organisations are pretty much using VMs for everything, so asking for something on a 'bare metal' basis is likely to result in your request needing special attention and justification. On the other hand, if you make a standard request, it will likely be fulfilled more rapidly. Sys admins are likely to be resistant to a bare metal setup if their infrastructure is based around VMs due tot he additional work and maintenance overheads. All our databases are running on VMs. Some of them are storing fairly large amounts of data (i.e. one application stores large amounts of weather data - adding 650 million records a day with a consolidation after every 100 days. Currently, the DB is using about 6Tb, so not huge, but not insignificant). Disk storage is via SAN. Getting the right performance will require tweaking of memory, cpus etc. The good news is that adding additional memory and CPUs is relatively trivial. For our situation, VMs have been fine and there has been some advantages with SAN storage infrastructure, such as fast snapshots for backups etc. In general, I usually find it best to work with the system admins and follow their recommendations. Provide them with details of your performance requirements and where you feel resource demands may peak and let them propose what they feel would be best suited given whatever infrastructure they have. Tim -- Tim Cross