Re: Postgresql - Mailing list pgsql-general

From Chris Travers
Subject Re: Postgresql
Date
Msg-id CAKt_Zfvj8JmEK4iEmePrb0bwDtsLxO2xKww-brzh4VLC4B0M7Q@mail.gmail.com
Whole thread Raw
In response to Re: Postgresql  (Sonam Sharma <sonams1209@gmail.com>)
List pgsql-general


On Sun, Aug 19, 2018 at 7:57 PM Sonam Sharma <sonams1209@gmail.com> wrote:
Thank you! Can you please help me with any advantages/disadvantages.. my db size is less than 10gb. I am very new to this.

At 10GB you are unlikely to hit performance limitations that make you think about how to use PostgreSQL more effectively.  You will have to avoid doing the sorts of things you want to avoid doing on all databases.

DB2 and PostgreSQL are both very feature-rich databases but in somewhat different directions.   For example, DB2 has more storage options than PostgreSQL does.   But again at 10GB it is unlikely you will have to worry about these.

Where PostgreSQL really shines is in generally workload tuning and programmability.  Especially programmability.  PostgreSQL is extremely extensible and this means not only can you build your own extensions for whatever you need to do (assuming some skill) but there are tons of extensions you can use for free including great ones like PostGIS.

Generally you can expect at 10GB to have to avoid needless complexity like repeated sequential scans. Indexing becomes a bit important.  By 100GB you have to pay significant attention to index strategies and disk access.  I am aware of single databases of up to 50TB in size used in production and federated storage environments into the petabytes.

In general I can think of no reason not to use PostgreSQL unless your salary depends on paying license fees....

On Sun, Aug 19, 2018, 11:25 PM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 08/19/2018 10:53 AM, Sonam Sharma wrote:
>
>
>
>
> I am planning to migrate my db from db2 to postgresql. Before that I
> wanted to know is postgresql better than db2? Is it completely free ?
> Any performance issues or any limitations?

Yes, yes, depends

--
Adrian Klaver
adrian.klaver@aklaver.com


--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: cache lookup failed for function 125940
Next
From: TalGloz
Date:
Subject: Re: Linker errors while creating a PostgreSQL C extension function.