EnterpriseDB (EDB) Migration Toolkit migrates Oracle to PostgreSQL.<\/li>\n<\/ul>\n\nThe migration process is quite complex and can take a lot of time (especially when working with large datasets), which is another reason you need to be sure you choose the right database for your project. This choice can come down to cost.
\nAnother compatibility issue is the query language used to query the databases. PostgreSQL uses a variant of the SQL standard called the Postgres query language. The Postgres query language has many extensions to SQL, such as an extensible type system, inheritance, functions, and production rules. Nevertheless, it is not a full replacement for SQL, so developers and database administrators will need to learn the subtle differences between them.
\nAs for Oracle Database, it uses traditional SQL as its query language, so if your engineers have worked with databases using SQL (e.g., MS SQL and MySQL), they should have no trouble getting up to speed with Oracle Database.<\/p>\n\n
PostgreSQL vs. Oracle Database: Value for Money<\/h2>\n\n
This question is quite straightforward. PostgreSQL is free, while Oracle Database is not. Oracle is a commercial product and has a fairly high price, which can reach 4.5 million rubles for an enterprise license. Additional features also come at extra cost. On the other hand, PostgreSQL is an open-source solution, meaning it is completely free. And considering that both solutions perform similar tasks, PostgreSQL is hard to beat in terms of value for money.<\/p>\n\n
True, there is one small catch regarding value for money. Remember, Oracle Database uses the direct SQL query language, while PostgreSQL uses a modified version. If you have a team of database engineers who have used SQL their entire careers, and you suddenly present them with a variant, they will have to retrain. It抯 not that the task is very difficult. After all, the PostgreSQL query language is a variant of SQL, not a completely new way of doing things. So the learning curve is small, and most database engineers can adapt fairly quickly.
\nIf you want your teams to start working with the database immediately, then even though Oracle may have a higher price tag, depending on which engineers work with the database, the costs of training them on PostgreSQL could offset those budget opportunities.<\/p>\n\n
Another factor to consider is system requirements. The minimum system requirements for Oracle Database are 2 GB of RAM (though 8 GB is suggested as a practical minimum) and 10 GB of disk space. For PostgreSQL, the minimum requirements are a 1 GHz processor, 2 GB of RAM, and at least 512 MB of disk space. Of course, the minimum memory for PostgreSQL is only for installing the database. You will certainly need significantly more space for data storage.
\nHowever, this data becomes important when you start working with clustering and fault tolerance. An Oracle Database cluster will require significantly more powerful hardware. This means PostgreSQL will be significantly cheaper in terms of hardware.
\nBut this value equation may not hold when it comes to support.<\/p>\n\n
PostgreSQL vs. Oracle Database: Support<\/h2>\n\n
When it comes to support, one might think a proprietary solution would win by a landslide. However, PostgreSQL has a vast community, meaning support can be easily found with a quick search. Thus, with PostgreSQL, you get not only a free database management system but also a global community for support. That doesn't mean Oracle Database's support pales in comparison. However, a global community versus a much smaller number of support specialists at Oracle could mean the difference between a quick solution to a problem and waiting for a support specialist to respond.
\nA quick search for PostgreSQL reveals a wealth of available help. You will find links to:<\/p>\n\n
\n\t- Community<\/li>\n\t
- Contributors<\/li>\n\t
- Mailing lists<\/li>\n\t
- IRC<\/li>\n\t
- Local user groups<\/li>\n\t
- Events<\/li>\n\t
- International sites<\/li>\n<\/ul>\n\n
Even though developers, designers, and engineers may need more time to find answers to their questions, with PostgreSQL, at least there are multiple avenues.
\nThis doesn't mean Oracle Database doesn't have free support options. For example, there is the Oracle Community Forum where you can register and ask questions to other Oracle Database engineers.
\nOn one hand, you have a completely free database with a global support network; on the other, an expensive proprietary solution with a fixed number of support specialists. Ultimately, if your project budget is limited, PostgreSQL is the clear winner. If money is no object and you prefer vendor-backed support, Oracle Database is the obvious choice.
\nIt all comes down to budget. If you have it, Oracle is a great solution. If the budget is tight, PostgreSQL is your database.<\/p>\n\n
PostgreSQL vs. Oracle Database: Price<\/h2>\n\n
We have already mentioned that Oracle Database can cause sticker shock, but that is not the only price you will encounter. For example, Standard Edition 2 has the following prices:<\/p>\n\n
\n\t- Named User Plus (per user license) - 34,500 rubles.<\/li>\n\t
- Software Update License and Support (per user support) - 7,300 rubles.<\/li>\n\t
- Processor license - 1.5 million rubles.<\/li>\n\t
- Software Update License and Support - 370,000 rubles.<\/li>\n<\/ul>\n\n
Another option for using Oracle Database is cloud hosting. In this case, you don't need to worry about paying for hardware. This can be especially important when you need to scale the system with increasing amounts of hardware. If the cloud option seems suitable for your company, you can use their cost estimator to get an idea of how much it will cost to use Oracle Database in the cloud.<\/p>\n\n
Now the price idea becomes a bit muddier. On one hand, you have PostgreSQL, which is completely free, can run on existing hardware, has a global (and free) support community, but may be somewhat more expensive if your database engineers are not sufficiently familiar with the PostgreSQL query language.
\nOn the other hand, you have a very expensive database that also offers a cloud hosting option, potentially saving on hardware. At the same time, Oracle Database uses the SQL query language, which your engineers likely already know and can start using immediately.<\/p>\n\n
PostgreSQL vs. Oracle Database: Security<\/h2>\n\n
Since your database will likely contain highly sensitive information, security will be a key factor in the decision. One important factor to consider is that with Oracle Database, you will have to pay for more expensive versions to access advanced security features. However, if you pay that price, you get a more robust set of security features from Oracle Database.
\nThis doesn't mean PostgreSQL lacks sufficient security capabilities. PostgreSQL has roles and inherited roles to fine-tune access rights; it supports a built-in SSL protocol to encrypt all connections to the database server; and it provides additional access control through SE-PostgreSQL, which relies heavily on SELinux security policies.<\/p>\n\n
With Oracle Database, you get much more robust and resilient databases thanks to security assessment, data protection, auditing, and monitoring tools. Additionally, it provides better isolation between pluggable databases and independent encryption key management.
\nOracle also includes transparent data encryption, privileged user controls, mandatory access control, data masking and subsetting, database authentication and authorization, and a data vault.<\/p>\n\n

\nPostgreSQL security features include user authentication, usernames and groups, access control, functions and rules, and secure TCP\/IP connections.
\nThis is one area where Oracle Database clearly wins. Of course, one would expect a higher level of security from a proprietary solution than from a free one. But that doesn't mean PostgreSQL is an insecure database. It is also necessary to consider that there are many more parts to the security puzzle than just the DBMS itself.<\/p>
Эти статьи могут быть вам полезны