pgwatch features vs percona monitoring and management - postgresql

I would like to know the main differences and the advantages that PMM (percona monitoring an management system) has over pgwatch

Related

How can I deploy Mongo database on AWS?

I am building my own webapp which requires a huge database. I want to build and manage my own Mongo database on AWS rather than using Mongo Atlas. Which will be more cost saving? And whether I should go for Mongo Atlas? What will be its advantage over my own database?
There are pros and cons for both approaches:
Running MongoDB on AWS
Pros:
Complete control over how you run the database and how resources are allocated on the server. This could even be together with an application server on the same EC2 instance depending on your traffic and load. This might help with cost saving if your database is huge but isn't likely to see much traffic.
Cons:
You will be responsible for ensuring database availability and applying security patches as and when they are available. You may also have to setup firewalls and protect the EC2 instance and database in other ways that would be trivial to do on a hosted service like Atlas.
Data sharding and clustering can be a real pain to manage by yourself.
Running on Atlas
Pros:
Completely managed service where you don't have to be concerned about performance optimization or scalability. You pay for the services and Mongodb takes care of the rest.
You can focus on building a great application instead of spending your time on administering the database and the EC2 instance on which the database runs.
Cons:
You will be constrained by the options offered by Atlas. For most use cases this should be fine, but if you really want a specific change, it would be difficult to implement it if Mongodb doesn't already support it as a part of Atlas.
Think running your application on EC2 vs buying a server on-premise and running your application on that.
Being a managed service, costs might also be higher if your database does not see much traffic.
HOSTING yourself: You can get one or more AWS ec2 instances(which are VMs) where you can install and run Mongo DB yourself and manage it like you wanted to, making sure that you spin up more instances when the workload becomes large and there are instances up and running at all times to enable high availability.
Cost (high) - Management responsibilities (lots) - Full MongoDB functionality
MongoDB Atlas is a managed service, you don't need to worry about management tasks like scaling of your database and high availability when a single/more instances die... You pay a very low cost for it - this is run by MongoDb themselves on AWS, Azure, Google cloud;
Cost (low) - Management responsibilities (some) - Full MongoDB functionality
Now AWS has its own Mongo compatible database called DocumentDB - this is also a managed database, so you don't need to worry about scalability, high availability etc. This is only available on AWS so super simple and convinient.
Cost (low) - Management responsibilities (minimal) - Limited MongoDB functionality

Is there any free WebUI tools for administrating and monitoring MongoDb server instance similar to Atlas Cloud?

I am searching for tool, which should provide collections overview, queries to them, replicas configurations, instance performance dashboards.
You can look for zabbix as elementary monitoring. However for querying the DB for data you need to use custom shell scripts or metric reporting tools to get that information

Arangodb remote replication

I am reading about Arangodb and it is what I want to use for a new startup. I am confused on the asynchronous replication. Can I do asynchronous replication without having the enterprise edition? I will likely have multiple machines receiving a read only copy for backup and maybe in different locations. The enterprise edition talks about datacenter to datacenter replication and so I am confused. Can I get a read only remote asynchronous replicant with the community edition?
Thanx
You can do remote replication the way you describe using the documented methods here:
https://docs.arangodb.com/3.3/Manual/Administration/Replication/
This is not per se an enterprise feature. The enterprise feature dc2dc just does the whole operational setup and runtime for you. Is there a specific reason, why you would like to stay clear of it? It is free for evaluation.
The evaluations T&C are here: https://www.arangodb.com/customer-agreement

wso2 - High availability with Postgres as database

In the documentation regarding Cluster/High availability of WSO2's databases, the example is using MySQL.
Is there any information or anyone using Postgres?
How is High Availability enforced?
Using pgpool-II, for example?
You need additional tool to enforce high availability (failover, failback, switchover) in Postgres - you know that. Here is very good illustrated article by Google on how they do it using Patroni or pg_auto_failover or disk replication and Linux tools: https://cloud.google.com/architecture/architectures-high-availability-postgresql-clusters-compute-engine
Here is a list of available HA tools - especially repmgr worth your attention: https://www.percona.com/blog/2018/09/28/high-availability-for-enterprise-grade-postgresql-environments/
And here is explained how they do HA in Azure: https://www.citusdata.com/blog/2019/05/30/introducing-pg-auto-failover/

Difference between Global Data Services and a DDBMS (Distributed Database Management System) with Oracle12c

I have to make a documentation about distributed databases with Oracle 12c. Could you help me understand if the new service GDS (Global Data Services) is the new DDBMS (distributed database management system) or is a completely different thing? What are the differences between them? I have understood that they do quite the same thing.