Wondering  which databases are trending in 2019 ? We asked hundreds
of developers, engineers, software architects, dev teams, and IT leaders at 
DeveloperWeek <https://www.developerweek.com/>   to discover the current
NoSQL vs. SQL usage, most popular databases, important metrics to track, and
their most time-consuming database management tasks. Get the latest insights
on  MySQL <https://scalegrid.io/mysql.html>  ,  MongoDB
<https://scalegrid.io/mongodb.html>  ,  PostgreSQL
<https://scalegrid.io/postgresql.html>  ,  Redis
<https://scalegrid.io/redis.html>  , and many others to see which database
management systems are most favored this year.
SQL vs. NoSQL
As any database administrator knows, the first question you have to ask
yourself is whether to use a SQL or NoSQL database for your application.
What's the difference between the two?
SQL Databases
Also known as relational databases, define and manipulate data based on
structured query language (SQL). These are most popularly used and useful
for handling structured data that organizes elements of data and
standardizes how they relate to one another and to different properties.
NoSQL Databases
Also known as non-relational databases, allow you to store and retrieve
unstructured data using a dynamic schema. NoSQL is popularly used for its
flexible ability to create a unique structure, and can be document, graph,
column, or even KeyValue organized as a data structure.
SQL has had a large lead over the non-relational alternatives for decades,
but NoSQL is quickly closing the gap with popular databases such as MongoDB,
Redis, and Cassandra. Though many organizations are choosing to migrate from
legacy databases, such as Oracle, not all are moving to NoSQL way. Based on
our findings, SQL still holds 60% with rising demand for systems such as
PostgreSQL:
SQL Database Use: 60.48%
NoSQL Database Use: 39.52%
<img class="size-full wp-image-4120"
src="https://scalegrid.io/blog/wp-content/uploads/2019/02/SQL-vs-NoSQL-Cloud-Database-Use-Stats.png";
alt="SQL vs. NoSQL Usage Pie Chart for 2019 - ScaleGrid Blog" width="1200"
height="742" />
<https://scalegrid.io/blog/wp-content/uploads/2019/02/SQL-vs-NoSQL-Cloud-Database-Use-Stats.png>
  
Most Popular Databases
So, which databases are most popular in 2019? Knowing that SQL was used by
over 3/5 of respondents, you might assume Oracle stole the show. Guess
again. MySQL dominated this report with 38.9% use, followed by MongoDB at
24.6%, PostgreSQL at 17.4%, Redis at 8.4%, and Cassandra at 3.0%. Oracle
trailed behind at just 1.8% from these database reporters, and CouchDB,
Berkeley DB, Microsoft SQL Server, Redshift, Firebase, Elasticsearch, and
InfluxDB users combined our Other category at 2.4%.
<img class="alignnone size-full wp-image-4130"
src="https://scalegrid.io/blog/wp-content/uploads/2019/02/Most-Popular-Databases-Used-MySQL-MongoDB-PostgreSQL-Redis-Cassandra-Oracle.png";
alt="Most Popular Databases in 2019: MySQL, MongoDB, PostgreSQL, Redis,
Cassandra, Oracle" width="1200" height="742" />
<https://scalegrid.io/blog/wp-content/uploads/2019/02/Most-Popular-Databases-Used-MySQL-MongoDB-PostgreSQL-Redis-Cassandra-Oracle.png>
  
While these numbers might shock, there's no mistaking the rise in popularity
of MySQL, MongoDB, and PostgreSQL. So how does this survey compare
to best-known source for database management system trends?  DB-Engines
Ranking - Trend Popularity <https://db-engines.com/en/ranking_trend>  
report places these leaders in the top 5, but Oracle keeps hold at number
one and Microsoft SQL Server at number 3.
<img class="alignnone size-full wp-image-4132"
src="https://scalegrid.io/blog/wp-content/uploads/2019/02/DB-Engines-Ranking-Trend-Popularity-All-Databases-February-2019.png";
alt="DB-Engines Ranking Trend Popularity - All Databases February 2019"
width="992" height="523" />
<https://scalegrid.io/blog/wp-content/uploads/2019/02/DB-Engines-Ranking-Trend-Popularity-All-Databases-February-2019.png>
  
While we expected to see a much higher presence of Oracle database users,
their representation was low at the world's largest developer expo.
Single Database vs. Multi-Database Use
Multi-database type use has exploded over the past decade, compared to the
traditional strategy of throwing all of your eggs in one basket. How much
so? Almost half of the organizations we spoke with actually use more than
one type of database to power their applications than a single database!
44.3% reported using multiple databases, while 55.7% are operating with one:
<img class="alignnone size-full wp-image-4135"
src="https://scalegrid.io/blog/wp-content/uploads/2019/02/Single-Database-vs-Multiple-Database-Use-Trends.png";
alt="Single Database vs. Multiple Database Use Trends - ScaleGrid Blog"
width="1200" height="742" />
<https://scalegrid.io/blog/wp-content/uploads/2019/02/Single-Database-vs-Multiple-Database-Use-Trends.png>
  
SQL &amp; NoSQL Multiple Database Combinations
So, knowing that almost half of our respondents are combining multiple
databases to support their products, what types of database management
systems are they using together? This one is less of a shocker, 75.6% of
multiple database type use is made up of a combination of both SQL and NoSQL
databases. This solidifies that case that, for many organizations, one size
does not fit all. While you might have a preference over SQL vs. NoSQL,
there's no denying the fact that they both offer clear advantages of the
other. Instead of limiting your organization to one database type, evolve
(or develop) your data strategy for compatibility so that these powerful
database management systems can complement each other and fill the gaps in
your data needs!
SQL + NoSQL Database Use: 75.6%
SQL + SQL Database Use: 14.6%
NoSQL + NoSQL Database Use: 9.8%
<img class="alignnone size-full wp-image-4137"
src="https://scalegrid.io/blog/wp-content/uploads/2019/02/Multiple-Database-Use-Combinations-SQL-and-NoSQL.png";
alt="Multiple Database Use Combinations - SQL and NoSQL" width="1200"
height="742" />
<https://scalegrid.io/blog/wp-content/uploads/2019/02/Multiple-Database-Use-Combinations-SQL-and-NoSQL.png>
  
Most Popular Multiple Database Type Combinations
If you're a single database type user who's considering adding another
database type to your mix, this section might be of high interest - which
databases, SQL and NoSQL alike, are most popularly used together.
The clear winner with over 1/3 of multiple database type use is the
combination of MySQL and MongoDB. While MongoDB is often considered an
alternative to MySQL, the two databases do work well together when properly
designed. The second most popular combination was MySQL and PostgreSQL
together. These two SQL databases are clear competitors, but can be jointly
used to store different data sets. As you can see in the above section
graph, the 9.76% representation of MySQL and PostgreSQL comprises a large
majority of the SQL + SQL use in multiple databases.
MySQL + MongoDB: 34.15%
MySQL + PostgreSQL: 9.76%
MongoDB + PostgreSQL: 7.32%
MongoDB + Redis: 7.32%
MySQL + MongoDB + PostgreSQL: 4.88%
MySQL + MongoDB + PostgreSQL + Redis: 4.88%
<img class="alignnone size-full wp-image-4141"
src="https://scalegrid.io/blog/wp-content/uploads/2019/02/Most-Popular-Multiple-Database-Type-Use-Combinations.png";
alt="Most Popular Multiple Database Type Combinations - ScaleGrid Blog"
width="1200" height="742" />
<https://scalegrid.io/blog/wp-content/uploads/2019/02/Most-Popular-Multiple-Database-Type-Use-Combinations.png>
  
Most Time-Consuming Database Management Task
So, now that we know which database management systems, types, and use
combinations are most popular, let's take a look at what's eating up
our time on the database management front. As anyone who's managed a
database before knows, there are countless tasks involved with maintaining a
healthy production deployment. So, we were not surprised to see such a
diverse response in our most time-consuming database management task
question.
Monitoring came in at number one with 12.6% from our respondents, barely
breaking ahead of backups, managing disk space, scaling, and joining tables
who all tied for number two with 11.6% each. Standalone at number three was
maintaining and redistributing changes between views and stored programs at
8.7%, and again a tie at number 4 with 7.2% for each cleaning and database
setup. Upgrades came in at number five with 6.5%, and a dozen other tasks
made up the 11.6% Other category, including migrations, queries, comparing,
tuning, and replication.
<img class="alignnone size-full wp-image-4146"
src="https://scalegrid.io/blog/wp-content/uploads/2019/02/Most-Time-Consuming-Database-Management-Task-Chart.png";
alt="Most Time-Consuming Database Management Task Chart - ScaleGrid Blog"
width="1200" height="742" />
<https://scalegrid.io/blog/wp-content/uploads/2019/02/Most-Time-Consuming-Database-Management-Task-Chart.png>
  
Most Important Metric Tracked For Database Performance
While we saw a wide variety of responses for the most important database
management task, the most important metric to track for performance had
three significant leaders.
Query response time was not only the most tracked metric, but also the
majority with 51.8% of responses! We expected this to lead as it came in at
30.8% from a  Most Time-Consuming PostgreSQL Management Task
<https://scalegrid.io/blog/latest-postgresql-trends-most-time-consuming-tasks-important-metrics-to-track/>
  
report we compiled in October of 2018, but significantly increased when we
expanded this question to all database management systems. Query speed is an
extremely important metric to track on a continuous basis so you can
identify slow-running queries that could be affecting your application
performance. Many DBA's use a  Slow Query Analyzer
<https://help.scalegrid.io/docs/mysql-monitoring-slow-query-analyzer>   tool
to identify problem queries, see which sort of query it is associated with,
understand their queries by time range, and find the top queries causing
read-load in your system to identify those queries that are not indexed.
Coming in at number two was reliability with 18.2% from our respondents.
Needless to say, while outages are less common than slow queries, if your
databases goes down, it will have the most serious impact on your
performance. That's why it's critically important to implement a  high
availability framework
<https://scalegrid.io/blog/mysql-high-availability-framework-explained-part-1/> 
 
for your production deployments to keep your databases online if there's an
outage in one of your datacenters.
Memory then came in at number three with 8.2% of responses. The more memory
you have available, the better your database should perform. Both
understanding and  monitoring memory usage
<https://scalegrid.io/blog/tracking-mongodb-memory-usage/>   should be high
on your list, as insufficient or exhausted memory will cause your database
to read and write data to your disk which is dramatically slower.
<img class="alignnone size-full wp-image-4148"
src="https://scalegrid.io/blog/wp-content/uploads/2019/02/Most-Important-Metric-Tracked-For-Database-Performance-Queries-Reliability-Memory.png";
alt="Most Important Metric Tracked For Database Performance - Queries,
Reliability &amp; Memory" width="1200" height="742" />
<https://scalegrid.io/blog/wp-content/uploads/2019/02/Most-Important-Metric-Tracked-For-Database-Performance-Queries-Reliability-Memory.png>
  
Thanks to the hundreds of participants who contributed to the cloud database
trends report at DeveloperWeek 2019! We are excited to share these insights,
and hope to hear your thoughts below in our comments.




--
Sent from: 
http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html

Reply via email to