在同一台服务器上运行 MySQL 和 PostgreSQL
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15132523/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Run MySQL and PostgreSQL on same server
提问by user1977050
For our customer the application which is running is using MySQL database. However, this server is without monitoring. I want to install OpenNMS (which uses PostgreSQL) application to monitor the solution and send the traps to main NMS system.
对于我们的客户,正在运行的应用程序使用 MySQL 数据库。但是,此服务器不受监控。我想安装 OpenNMS(使用 PostgreSQL)应用程序来监视解决方案并将陷阱发送到主 NMS 系统。
Is there any problem having both on the same server?
两者在同一台服务器上有什么问题吗?
回答by a_horse_with_no_name
No, there is no technical problem. Both default to different ports they listen on.
不,没有技术问题。两者都默认为它们侦听的不同端口。
The only problem that couldarise is that each individual DB might be slower compared to an installation on separate phyiscal machines because they are both share (and fight for) for the same resources (I/O, memory, CPU, network, ...)
唯一可能出现的问题是,与安装在单独的物理机器上相比,每个单独的 DB 可能会更慢,因为它们都共享(并争夺)相同的资源(I/O、内存、CPU、网络等)。 )