Showing results for 
Search instead for 
Did you mean: 

Limitations: PostgreSQL on Amazon RDS


Limitations: PostgreSQL on Amazon RDS

We have a software using SQL Server. We provide a special RDS edition of our database because of SQL Server limitations in RDS.

Now I am going to migrate the software to PostgreSQL and in RDS too.


What limitations, special requirements has PostgreSQL in Amazon RDS in comparison with usual installations?


Tags (2)
Community Manager

Re: Limitations: PostgreSQL on Amazon RDS



Similar to other RDS offerings, there are limitations that are specific to PostgreSQL and some which are simply inherent to RDS.  Specific to RDS, database upgrades are limited to versions which are supported by RDS - so availability may lag behind the community release dates.  Also, OS upgrades, which are related to Amazon's Machine Image (in this case, their Linux AMI), are managed by Amazon.  You're able to configure the "when" element, via the usual RDS inputs (console, API, or AWS's CLI), though the image is hardened to their Linux AMI (more on that here if necessary).  


Storage-wise, instances require a minimum of 5GB, with a max of 6TB per instance.  You're capped at 40 instances of PostgreSQL overall.


Connections to that storage require a *minimum* of three reserved for RDS-level actions by Amazon, so when setting the value for max_connections, you have to add those three to your overall maximum.  Given that you're already in RDS, it may not be worth mentioning, but from a tablespace perspective, you can't use those parameters to increase IO efficiency (IE, splitting the IOPs, isolating tablespaces for performance requirements).  Tablespaces *are* supported, but they're all housed on a single LV.  Finally, altering data types (alter enum) has been around on PostgreSQL since 9.1, but isn't supported on RDS on versions lower than 9.5.6/9.6.2.


Many of the differences or contrasts are really "How do we know what is best on RDS" questions based on needs, such as using Logical Replication versus read replicas, failover requirements versus multi-zone HA, connection limitations based on memory defined for the RDS instance, etc.  Some of these are dealt with here in the Amazon documentation for RDS at large.  


Are there are any things in particular you're concerned with while going through the migration?  Hopefully these are a decent start in getting some answers to questions you may have.






Re: Limitations: PostgreSQL on Amazon RDS

Hi Jamie,

Thank you for your answer.


Yes, I have 2 important steps:

1. Migration SQL Server->PostgreSQL

2. Creation the RDS compatible PostgreSQL database from existing(p.1.) PostgreSQL database.

The p.1. I am completing, PG database migration is near finish, only some bottlenecks are: hierarchyid, service broker, sql_variant fields and some other.

And my question was about p.2: i.e. are there any database specific requirements, limitations etc, for exapmple: datatypes, db features which are different for RDS PG databases and so on.



Re: Limitations: PostgreSQL on Amazon RDS

Following link contains the Features and Extensions supported by Amazon RDS::


Supported PostgreSQL Features and Extensions


As such it does not state any limitation on datatypes or for that matter other db specfic features.


Hope this helps, Amit