<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Databases Archives - OVHcloud Blog</title>
	<atom:link href="https://blog.ovhcloud.com/tag/databases/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.ovhcloud.com/tag/databases/</link>
	<description>Innovation for Freedom</description>
	<lastBuildDate>Thu, 06 Jun 2024 12:22:42 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.ovhcloud.com/wp-content/uploads/2019/07/cropped-cropped-nouveau-logo-ovh-rebranding-32x32.gif</url>
	<title>Databases Archives - OVHcloud Blog</title>
	<link>https://blog.ovhcloud.com/tag/databases/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>When should you choose MongoDB over a relational database management system (RDBMS) like MySQL?</title>
		<link>https://blog.ovhcloud.com/when-should-you-choose-mongodb-over-a-relational-database-management-system-rdbms-like-mysql/</link>
		
		<dc:creator><![CDATA[Dimitri Fague]]></dc:creator>
		<pubDate>Thu, 23 May 2024 10:57:28 +0000</pubDate>
				<category><![CDATA[OVHcloud Product News]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[DBaaS]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[OVHcloud]]></category>
		<category><![CDATA[Public Cloud]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=26740</guid>

					<description><![CDATA[Of all the non-relational database engines (NoSQL) that have emerged in the last decade, MongoDB is without a doubt the most widely used. Source-available, powerful, flexible and scalable, MongoDB covers a wide range of use cases. Many, including startups, choose it to ensure they are not limited in their technological choices, so they can scale [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fwhen-should-you-choose-mongodb-over-a-relational-database-management-system-rdbms-like-mysql%2F&amp;action_name=When%20should%20you%20choose%20MongoDB%20over%20a%20relational%20database%20management%20system%20%28RDBMS%29%20like%20MySQL%3F&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>Of all the non-relational database engines (NoSQL) that have emerged in the last decade, MongoDB is without a doubt the most widely used. Source-available, powerful, flexible and scalable, MongoDB covers a wide range of use cases. Many, including startups, choose it to ensure they are not limited in their technological choices, so they can scale and adapt to different use cases. The possibility of switching from MySQL to MongoDB might come up when updating or revamping an existing app. So, let’s see when this switch might be relevant, and why using the <a href="https://www.ovhcloud.com/en-ie/public-cloud/mongodb/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">MongoDB service managed by OVHcloud</a> could be the ideal option.</p>



<h6 class="wp-block-heading"><span class="Aucun"><b><span lang="EN-US" style=",sans-serif"></span></b></span></h6>



<h3 class="wp-block-heading"><strong>The flexibility of the NoSQL data model</strong></h3>



<p>Unlike traditional databases, MongoDB can gather data without a predefined structure and adapt its dynamic scheme as needed. The tabular schema is no longer used, as regards NoSQL databases, the logical representation of a NoSQL database resembles a tree structure. MongoDB is a document-oriented database management system that organises data in JSON documents and collections. These documents contain pairs of values or keys of different types, including nested documents and arrays. The structure of key/value pairs can vary across different documents. Additionally, MongoDB also allows for the use of GridFS, which enables it to function as a file system using the JavaScript query language.</p>



<h3 class="wp-block-heading"><strong>Advantages – based on use cases</strong></h3>



<p>MongoDB and MySQL both have their various strengths and benefits, which include indexing, query language (both rely on natural language and offer a graphical interface when needed), security (each offers authentication, access control and data encryption), and compatibility with various programming languages (Java, Python, Node.js, server-side PHP, Ruby and C#). Scalability and strong read-write performance set MongoDB apart in multiple use cases.</p>



<p>MySQL only allows for vertical scaling, i.e., you can only add resources to the database server (RAM, CPU) for scalability. During the replication process, read-only copies are created on other machines, which may result in delays in updates and the user’s access to information.</p>



<p>MongoDB goes even further by incorporating both vertical and horizontal scaling into its design. Two mechanisms, clustering and sharding, are used to achieve this. Clustering, which involves groups of MongoDB servers with identical data (three servers minimum), and sharding, which spreads different parts of the data across multiple servers for load distribution, high availability, and security in case of hardware failure.</p>



<figure class="wp-block-image aligncenter size-full is-resized"><img decoding="async" width="363" height="100" src="https://blog.ovhcloud.com/wp-content/uploads/2024/05/black.webp" alt="" class="wp-image-26742" style="width:345px;height:auto" srcset="https://blog.ovhcloud.com/wp-content/uploads/2024/05/black.webp 363w, https://blog.ovhcloud.com/wp-content/uploads/2024/05/black-300x83.webp 300w" sizes="(max-width: 363px) 100vw, 363px" /></figure>



<p>MongoDB stands out from the rest in terms of performance, particularly in writing, when using the “insertMany()” API command to insert or update numerous records. When dealing with a high volume of records, MySQL is the faster option.</p>



<p>So, your project, available hardware, and the type of data you work with (structured, semi-structured or unstructured) will determine the most suitable technology. </p>



<p>Of course, there are alternatives or plugins to address the limitations of MySQL or make up for missing features – depending on the use case. For instance, with an RDBMS like MariaDB, you can enable multi-master clustering using this approach. However, attempting to adapt a technology to needs it wasn’t designed for in the first place will inevitably make maintenance complex, increase the risk of malfunctions, and lower performance.</p>



<p>On the other hand, if MongoDB proves to be more suitable, we can’t overlook the skills needed to deploy, configure and maintain MongoDB’s architecture, as well as understand replicate set and sharding<a> </a><a id="_ftnref1" href="#_ftn1"><sup>[1]</sup></a> (<a href="https://www.mongodb.com/basics/replication" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Find out more about the differences between the two</a>). If you need it, choosing an OVHcloud-managed solution like Managed Databases for MongoDB could be the ideal option. </p>



<h3 class="wp-block-heading"><strong>Why choose MongoDB over any other non-relational database management system?</strong></h3>



<p>There are many other document-oriented databases out there, including Couchbase, CouchDB, Oracle NoSQL Database, Amazon DocumentDB, Azure Cosmos DB, and more. Nonetheless, MongoDB is notable for its versatility, performance, scalability, and features. This makes it a popular DBMS for various use cases, including e-commerce catalogues, web/mobile apps with user-specific content customisation (e.g., social media), payment systems, serverless design, workload migration, content management, gaming, IoT data collection, and much more. It spans use cases involving big data and artificial intelligence.<a id="_msocom_1"></a></p>



<h3 class="wp-block-heading"><strong>Unlock MongoDB’s full potential effortlessly with OVHcloud</strong></h3>



<p>Installing MongoDB on a single server, VPS or Public Cloud instance is straightforward. However, things might get more complex when the project enters production and/or gains momentum, or requires a stable environment and deployment of a multi-node cluster. This also includes mobilising specialised resources that could be allocated to your main business, like developing applications. This particularly holds true for use cases that demand solid compliance, such as health data hosting and management.</p>



<p>OVHcloud offers a managed MongoDB solution — i.e., it is managed for you by our team and hosted in a sovereign cloud. — designed and delivered in partnership with MongoDB’s teams. Since our Database as a Service (DBaaS) is not shared, it allows you to free up your SysAdmins without compromising performance and compliance. Each user has their own environment, except for the Free Tier <a href="https://www.ovhcloud.com/en-gb/lp/mongodb-discovery/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Discovery</a> offer, where CPU and RAM resources are shared. This service also helps you tackle the challenge of scaling your database, syncing and distributing data across several nodes, as well as backing it up (included in our plans).</p>



<div class="wp-block-media-text has-media-on-the-right is-stacked-on-mobile" style="grid-template-columns:auto 23%"><div class="wp-block-media-text__content">
<p>Find out why you should choose <a href="https://www.ovhcloud.com/en-ie/public-cloud/mongodb/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">MongoDB managed on OVHcloud</a>, an expert in MongoDB infrastructure – including deployment and administration. You can achieve greater efficiency and build more reliable, powerful and secure applications, while optimising the total cost of ownership (TCO) of your data.</p>
</div><figure class="wp-block-media-text__media"><a href="https://www.ovhcloud.com/en-ie/public-cloud/mongodb/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer"><img fetchpriority="high" decoding="async" width="1024" height="1024" src="https://blog.ovhcloud.com/wp-content/uploads/2024/05/OVHcloud_MONGODB_FR_FR_GPAYMAX_C_1200x12001-1024x1024.jpg" alt="" class="wp-image-26745 size-full" srcset="https://blog.ovhcloud.com/wp-content/uploads/2024/05/OVHcloud_MONGODB_FR_FR_GPAYMAX_C_1200x12001-1024x1024.jpg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2024/05/OVHcloud_MONGODB_FR_FR_GPAYMAX_C_1200x12001-300x300.jpg 300w, https://blog.ovhcloud.com/wp-content/uploads/2024/05/OVHcloud_MONGODB_FR_FR_GPAYMAX_C_1200x12001-150x150.jpg 150w, https://blog.ovhcloud.com/wp-content/uploads/2024/05/OVHcloud_MONGODB_FR_FR_GPAYMAX_C_1200x12001-768x768.jpg 768w, https://blog.ovhcloud.com/wp-content/uploads/2024/05/OVHcloud_MONGODB_FR_FR_GPAYMAX_C_1200x12001-70x70.jpg 70w, https://blog.ovhcloud.com/wp-content/uploads/2024/05/OVHcloud_MONGODB_FR_FR_GPAYMAX_C_1200x12001.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure></div>



<p><a id="_msocom_1"></a></p>



<h3 class="wp-block-heading"><strong>Want to go further ?</strong></h3>



<p>At first glance, the idea might seem absurd: migrating to NoSQL, a non-relational database management system, while using a MySQL or Oracle database. It’s like putting petrol in a diesel car. Of course, the code will need be altered, but it is certainly doable. Read the MongoDB webinar “<a href="https://www.mongodb.com/en-gb/presentations/moving-workloads-relational-to-innovative-english" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Migrating relational database workloads to the MongoDB Document Model”</a></p>



<p><a href="#_ftnref1" id="_ftn1"><sup>[1]</sup></a> Soon, <a href="https://github.com/orgs/ovh/projects/16/views/1?sliceBy%5Bvalue%5D=Managed+Databases" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">the OVHcloud Managed Databases for MongoDB service</a> will include the sharding set-up feature. This has been added to our roadmap.</p>



<p><a id="_msocom_1"></a></p>



<p></p>
<img decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fwhen-should-you-choose-mongodb-over-a-relational-database-management-system-rdbms-like-mysql%2F&amp;action_name=When%20should%20you%20choose%20MongoDB%20over%20a%20relational%20database%20management%20system%20%28RDBMS%29%20like%20MySQL%3F&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Major improvements for Public Cloud Databases</title>
		<link>https://blog.ovhcloud.com/major-improvements-for-public-cloud-databases/</link>
		
		<dc:creator><![CDATA[Bastien Verdebout]]></dc:creator>
		<pubDate>Thu, 11 May 2023 09:49:14 +0000</pubDate>
				<category><![CDATA[OVHcloud Engineering]]></category>
		<category><![CDATA[Databases]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=24979</guid>

					<description><![CDATA[Did you know that our managed databases offers are more flexible and resilient than ever ? Let&#8217;s discover together what we released recently ! What&#8217;s new? Over the past months, we continued to gather feedback from our customers and improve our offers. Now powering thousands of databases clusters, we focused on the major requests discussed [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fmajor-improvements-for-public-cloud-databases%2F&amp;action_name=Major%20improvements%20for%20Public%20Cloud%20Databases&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>Did you know that our managed databases offers are more flexible and resilient than ever ? Let&#8217;s discover together what we released recently !</p>



<h2 class="wp-block-heading">What&#8217;s new?</h2>



<p>Over the past months, we continued to gather feedback from our customers and improve our offers. Now powering thousands of databases clusters, we focused on the major requests discussed directly with our customers, or from official <a href="https://github.com/ovh/public-cloud-roadmap/projects/2" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Github roadmap</a> and <a href="https://discord.gg/ovhcloud" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Discord community</a>. From better flexibility to higher resiliency, let&#8217;s have a look about new features.</p>



<figure class="wp-block-image aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.intro_-1024x415.png" alt="what's new for databases" class="wp-image-24991" width="965" height="391" srcset="https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.intro_-1024x415.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.intro_-300x122.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.intro_-768x312.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.intro_-1536x623.png 1536w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.intro_.png 2031w" sizes="auto, (max-width: 965px) 100vw, 965px" /></figure>



<h3 class="wp-block-heading">Additional storage space for flexibility</h3>



<p>The first major improvement is about storage and flexibility. Before, each databases service was launched with a fixed amount of storage, depending of the nodes sizing. As a example, nodes with 16GB of RAM came with 400GB of storage. <strong>A recurring request of more flexibility, at creation but also once it&#8217;s running is now live with additional storage option.</strong></p>



<p>During cluster creation, you can now opt for more usable storage space for your service. And once your cluster is up and running, you are free to increase this value without any downtime. So far you cannot decrease the storage space, but it&#8217;s prioritized for the incoming months. </p>



<p>You can directly verify minimum and maximum storage space from our website or control panel.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1575" height="646" src="https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.10.03-1.png" alt="cluster creation" class="wp-image-24983" srcset="https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.10.03-1.png 1575w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.10.03-1-300x123.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.10.03-1-1024x420.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.10.03-1-768x315.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.10.03-1-1536x630.png 1536w" sizes="auto, (max-width: 1575px) 100vw, 1575px" /></figure>



<h3 class="wp-block-heading">Secondary backup for the same price</h3>



<p><strong>We now provide a secondary backup location per service for the same price, for all Databases services except MongoDB</strong> (only one remote backup for now). One in the same physical location, and another one in a remote location (offsite backup).</p>



<figure class="wp-block-image aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="335" src="https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.backups-1024x335.png" alt="Secondary backup" class="wp-image-25002" srcset="https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.backups-1024x335.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.backups-300x98.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.backups-768x251.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.backups-1536x502.png 1536w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/blog.post_.db_.backups-2048x669.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Another recurring request is to provide a better fault-tolerance, for any situation, such as a rack failure, a datacenter failure or anything else. Since the beginning, we provide daily backups in the same geographical location. Being in the same location is very useful in case of localized issues. You avoid network latency, and improve restoration time. But remote backups were awaited. it&#8217;s now provided for free for any cluster, running or soon-to-be created. You can find your backup location directly in our API, and soon via OVHcloud Control Panel. More information in our <a href="https://docs.ovh.com/gb/en/publiccloud/databases/backups/" target="_blank" rel="noreferrer noopener" data-wpel-link="exclude">official documentation</a>!</p>



<h3 class="wp-block-heading">Exact time machine with PITR</h3>



<p><strong>Point-in-time-recovery (PITR) is now available for all MySQL, PostgreSQL and MongoDB Enterprise services</strong>, directly via OVHcloud Control Panel or API. What does is bring?</p>



<p>One of the nicest feature from MySQL, PostgreSQL and MongoDB is Point-in-time-recovery, known as PITR. Imagine being able to travel back in your database operations, and restore your data at a really specific timestamp, such as &#8220;two days ago, 15h02 and 24 seconds&#8221; ?</p>



<p>PITR proved its efficiency over the years and saved the life of many databases admins. Imagine yourself deleting the wrong table at 15h02, and being able to restore the minute before instead of the backup from last day? This is not black magic, but only a combination of daily backups and logs files (such as WAL logs for PostgreSQL).  </p>



<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.09.21.png" alt="Backup with the admin console" class="wp-image-25003" width="1200" height="583" srcset="https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.09.21.png 1588w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.09.21-300x146.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.09.21-1024x498.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.09.21-768x373.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2023/04/Screenshot-2023-04-11-at-09.09.21-1536x747.png 1536w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<h3 class="wp-block-heading">&#8230; And much more !</h3>



<p>In case you missed it, we also released tons of improvements in the last six months, here we go !</p>



<ul class="wp-block-list">
<li>Latest DBMS version with <strong>PostgreSQL 15</strong> and <strong>MongoDB 6</strong>.</li>



<li><strong>Automatic email alerts</strong> when your cluster is reaching storage limits (also, you can retrieve the disk usage with our API)</li>



<li>Ability to <strong>terminate PostgreSQL/MySQL queries</strong> directly from control panel or API. Quite useful when a specific query is impacting your cluster.</li>



<li>Much more control over <strong>MongoDB roles</strong> from control panel and API. <a href="https://docs.ovh.com/gb/en/publiccloud/databases/mongodb/managing-service/#configure-your-mongodb-instance-to-accept-incoming-connections" target="_blank" rel="noreferrer noopener" data-wpel-link="exclude">More information</a>.</li>



<li><strong>More storage by default</strong> for MongoDB offers. <a href="https://www.ovhcloud.com/fr/public-cloud/prices/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Don&#8217;t hesitate to check our website</a>!</li>
</ul>



<h2 class="wp-block-heading">What&#8217;s next?</h2>



<p>Our roadmap for the next months is public, and still connected to customer requests.</p>



<p>The first item is about <strong>storage performance</strong>. While our clusters fit globally our customer workloads, advanced ones can feel performance limitation on the storage part. We are currently implementing better storage, reaching 20&#8217;000 IOPS instead of 3&#8217;000. It&#8217;s already implemented for the same price in MongoDB cluster, and soon for everything else (<a href="https://github.com/ovh/public-cloud-roadmap/issues/289" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">roadmap card</a>).</p>



<p>Second major item will be a <strong>better integration with Kubernetes cluster</strong>s, located in OVHcloud or any other provider. Today, you can link them together, but it will be improved with a Kubernetes operator (<a href="https://github.com/ovh/public-cloud-roadmap/issues/305" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">roadmap card</a>), simplifying the authentication between them. </p>



<p>That&#8217;s all for today ! If you have specific needs of just want to give it a try, don&#8217;t forget that all the services are billed per hourly, meaning that you can test your use case for a couple of euros. and please join our <a href="https://discord.gg/ovhcloud" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Discord community</a> to share your feedback after !</p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fmajor-improvements-for-public-cloud-databases%2F&amp;action_name=Major%20improvements%20for%20Public%20Cloud%20Databases&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Welcome to the first edition of Public Cloud changelog</title>
		<link>https://blog.ovhcloud.com/welcome-to-the-first-edition-of-public-cloud-changelog/</link>
		
		<dc:creator><![CDATA[Andry Ramiandrasoa]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 14:50:17 +0000</pubDate>
				<category><![CDATA[OVHcloud Product News]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Kubernetes]]></category>
		<category><![CDATA[OVHcloud]]></category>
		<category><![CDATA[Public Cloud]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=23537</guid>

					<description><![CDATA[One way to look at our Public Cloud universe is to consider it as an integrated ecosystem of infrastructure and managed services that enables organizations to build, run, and manage their applications in a trusted cloud environment. One key attribute of our Public Cloud, is the scope of technologies we use, ranging from infrastructure to [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fwelcome-to-the-first-edition-of-public-cloud-changelog%2F&amp;action_name=Welcome%20to%20the%20first%20edition%20of%20Public%20Cloud%20changelog&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>One way to look at our Public Cloud universe is to consider it as an integrated ecosystem of infrastructure and managed services that enables organizations to build, run, and manage their applications in a trusted cloud environment.  One key attribute of our Public Cloud, is the scope of technologies we use, ranging from infrastructure to higher level software components, and the increasing prevalence of managed services we offer in our portfolio. Concretely, this means that a growing number of our services are now built upon hardware components on top of which software components will run. Each time one of those component is updated or enriched, this in turn creates a new version of the overall service that is made available to the market. Given the width and depth of our catalog (how many services do we have 50+?) it is just impossible to announce and communicate each time we release a new (version) service.</p>



<figure class="wp-block-image aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/10/IMG_1172-1024x537.jpg" alt="Welcome to the first edition of Public Cloud changelog" class="wp-image-23667" width="512" height="269" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/10/IMG_1172-1024x537.jpg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2022/10/IMG_1172-300x157.jpg 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/10/IMG_1172-768x403.jpg 768w, https://blog.ovhcloud.com/wp-content/uploads/2022/10/IMG_1172.jpg 1200w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure>



<p>Hence, the start of this Public Cloud changelog. We&#8217;ll communicate regularly about the latest features to update our customers. For the sake of consistency, we will organize the section of this post, in the same way <a href="https://github.com/ovh/public-cloud-roadmap" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">our roadmap on Github</a> is organized. We hope you&#8217;ll enjoy it and find it useful. Don&#8217;t hesitate to share your feedback!</p>



<h3 class="wp-block-heading" id="PublicCloudChangelogDraft-Infrastructure:Compute,StorageandNetwork">Infrastructure: Compute, Storage and Network</h3>



<ul class="wp-block-list"><li>Our entire <strong>OpenStack infrastructure</strong> has been updated <a href="https://github.com/ovh/public-cloud-roadmap/issues/50" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">from Newton to Stein version</a>. Beyond versioning, the support of OpenStack Stein brings a host of improvements that will enable us to deliver new capabilities. For example, on the networking side, you can now leverage Security groups to manage network access rules for instances. More is coming soon on the network, so stay tuned on this.</li><li>On the <strong>Storage</strong> front, in case you have missed <a href="https://corporate.ovhcloud.com/en/newsroom/news/storage-solutions-compatibilitys3/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">our announcement</a>, our <strong><a href="https://www.ovhcloud.com/fr/public-cloud/object-storage/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Standard Object Storage &#8211; S3 API</a></strong> is now available in Gravelines and will be rolled out our other datacenters next. Providing complete S3 API coverage, you get the best price on the market, for storing any static file with unlimited scalability.</li><li>This release complements our Object Storage portfolio, where High Performance Object Storage – S3 API is available in our Beauharnois datacenter. For reference, you can check the available list of services in our datacenters <a href="https://www.ovhcloud.com/en-ie/public-cloud/regions-availability/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">here</a>.</li><li>Last but not least, Object Storage &#8211; S3 API now supports <a href="https://github.com/ovh/public-cloud-roadmap/issues/176" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">server side encryption</a> and <a href="https://github.com/ovh/public-cloud-roadmap/issues/177" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">S3 object lock</a>, thus bringing more advanced security features.</li></ul>



<h3 class="wp-block-heading">Databases</h3>



<p>We now offer more than <a href="https://www.ovhcloud.com/en-ie/public-cloud/databases/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">12 Database Management Systems,</a> available as a managed service and  billed upon usage within our Public Cloud. The key highlights from the latest months include:</p>



<ul class="wp-block-list"><li>For all DBMS we do provide Terraform integration, easier connections with code examples and Docker and backup and maintenance timeslot adjustment. Check the video below for more details.</li></ul>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Public Cloud Databases - Changelog / August &amp; September 2022" width="1200" height="675" src="https://www.youtube.com/embed/m_9BVgLOhKw?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<ul class="wp-block-list"><li>For all DBMS, we have improved order ergonomy, so you can more intuitively and quickly select the sizing and features of your managed database cluster.</li><li>We have added new flavors to all our DBMS catalog, now starting from 4GB RAM per node</li><li>For MongoDB DBMS, we provide an easier way to connect with DNS Seedlist features</li></ul>



<p>And as a video is worth 1000 words so have a look at the control panel to see those new features in action.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<span class="videowrapper embed-youtube-nocookie aspect_ratio_563"><iframe loading="lazy" title="Public Cloud Databases - Changelog / June &amp; July 2022" width="1200" height="675" src="https://www.youtube-nocookie.com/embed/lWkmSCt6dhs?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></span> <!-- /.videowrapper -->
</div></figure>



<h3 class="wp-block-heading">Containers &amp; Orchestration</h3>



<p>A growing numbers of our customers are now adopting a cloud native approach for their applications. Most of the new features we have developed over the past months are related to our Managed Kubernetes Service. Below are details about the purpose of each new feature.</p>



<h4 class="wp-block-heading">Security </h4>



<ul class="wp-block-list"><li>Clusters spawned in vRack (OVHcloud cross-region private network) can now <a href="https://github.com/ovh/public-cloud-roadmap/issues/116" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">specify a custom Gateway IP</a> (or use the one declared through OpenStack private network DHCP) to route all worker nodes&#8217; traffic.</li></ul>



<h4 class="wp-block-heading">Automation &amp; Scalability</h4>



<ul class="wp-block-list"><li><a href="https://docs.ovh.com/gb/en/kubernetes/customizing-coredns/" data-wpel-link="exclude">CoreDNS configuration can now be supercharged </a>with custom entries that will be preserved during a cluster patch or upgrade.</li><li>Following user feedback, we made the <a href="https://github.com/ovh/public-cloud-roadmap/issues/267" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">DesiredNodes property of Node Pools optional</a>.</li><li>We improved our <a href="https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_kube" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Terraform Provider</a>, assuring that Kubernetes resources cover our entire feature set.</li><li>You can now choose the value of <a href="https://docs.ovh.com/gb/en/kubernetes/apiserver-flags-configuration/" data-wpel-link="exclude">AlwaysPullImages</a></li></ul>



<h4 class="wp-block-heading">Kubernetes Lifecycle</h4>



<ul class="wp-block-list"><li>W<a href="https://kubernetes.io/blog/2022/05/03/kubernetes-1-24-release-announcement/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">e released Kubernetes 1.24</a> for both new and upgrade to existing clusters.</li></ul>



<h4 class="wp-block-heading">Other key updates</h4>



<ul class="wp-block-list"><li>OVHcloud obtained<a href="https://www.cncf.io/certification/kcsp/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer"> KCSP (Kubernetes Certified Service Provider)</a>, meaning that with multiple CNCF certified experts, our Professional Services team can help enterprise customers in their cloud native journey with OVHcloud.</li><li>We published new tutorials on<a href="https://docs.ovh.com/gb/en/kubernetes/installing-kyverno/" data-wpel-link="exclude"> policy management with Kyverno</a>&nbsp; and&nbsp;<a href="https://docs.ovh.com/gb/en/kubernetes/automatically-label-taint-node-pool/" data-wpel-link="exclude"> Labels &amp; Taint on Node Pools</a> and updated more than <a href="https://docs.ovh.com/gb/en/kubernetes/" data-wpel-link="exclude">20 Kubernetes documentations pages</a>.</li><li>Next month, we will make a<a href="https://public-cloud.status-ovhcloud.com/incidents/8s8mnd570587" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer"> small breaking change to the NodePool CRD</a>, giving you more precision when a NodePool is being resized.</li></ul>



<h3 class="wp-block-heading">AI</h3>



<p>Our AI development team keeps on rocking and delivered many great features, including:</p>



<ul class="wp-block-list"><li>What you used to know as AI Apps, has been renamed&nbsp;to <a href="https://github.com/ovh/public-cloud-roadmap/issues/182" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">AI Deploy and we released an Alpha version release</a>.</li><li>We are now offering on AI Notebooks a <a href="https://github.com/ovh/public-cloud-roadmap/issues/255" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">framework that can run quantum algorithms</a></li><li>New python, open source libraries for machine learning, computer vision and image processing are proposed by default in AI Notebooks</li><li>On AI Tools, we have improved <a href="https://github.com/ovh/public-cloud-roadmap/issues/230" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">rights management with &#8220;Read Write Delete&#8221; granularity</a></li><li><a href="https://github.com/ovh/public-cloud-roadmap/issues/191" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Stand-alone volumes are available on AI Tools</a>, so the experience is improved with framework that are using a lot of temporary files.</li><li>We have released many new tutorials to make it easier to use AI Tools. <a href="https://docs.ovh.com/gb/en/publiccloud/ai/" data-wpel-link="exclude">Check them out here</a>.</li></ul>



<p>Too Long Don&#8217;t Read ? View those updates in video demo.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<span class="videowrapper embed-youtube-nocookie aspect_ratio_563"><iframe loading="lazy" title="Public Cloud AI Tools - Changelog / June &amp; July 2022" width="1200" height="675" src="https://www.youtube-nocookie.com/embed/6NLFNdfh8Z8?start=2&#038;feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></span> <!-- /.videowrapper -->
</div></figure>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fwelcome-to-the-first-edition-of-public-cloud-changelog%2F&amp;action_name=Welcome%20to%20the%20first%20edition%20of%20Public%20Cloud%20changelog&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>An insight on SQL modes</title>
		<link>https://blog.ovhcloud.com/an-insight-on-sql-modes/</link>
		
		<dc:creator><![CDATA[Fabien Bagard]]></dc:creator>
		<pubDate>Tue, 22 Mar 2022 15:34:13 +0000</pubDate>
				<category><![CDATA[OVHcloud Engineering]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=22574</guid>

					<description><![CDATA[SQL mode controls the way the MySQL / MariaDB DBMS engine (Data Base Management System) understand syntax and validates data given to it for processing. We can compare it to a game with different rule sets, on which every player must agree before playing. The UNO analogy Let&#8217;s make an analogy with the UNO card [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fan-insight-on-sql-modes%2F&amp;action_name=An%20insight%20on%20SQL%20modes&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>SQL mode controls the way the MySQL / MariaDB  DBMS engine (Data Base Management System) understand syntax and validates data given to it for processing.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0891-1024x545.jpeg" alt="An insight on SQL modes" class="wp-image-22764" width="512" height="273" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0891-1024x545.jpeg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0891-300x160.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0891-768x408.jpeg 768w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0891.jpeg 1194w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<p>We can compare it to a game with different rule sets, on which every player must agree before playing.</p>



<h2 class="wp-block-heading">The UNO analogy</h2>



<p>Let&#8217;s make an analogy with the UNO card game. There is many variants, but we can sum them up like this:</p>



<figure class="wp-block-table is-style-stripes"><table><thead><tr><th><strong>Variant</strong></th><th><strong>Effect</strong></th></tr></thead><tbody><tr><td>DOUBLE</td><td>Every player can lay down several cards at once if they are strictly identical</td></tr><tr><td>INTERCEPTION</td><td>If a player has the very same card than the one just layed down, he can play his, even when it&#8217;s not his turn</td></tr><tr><td>STRAIGHT_FLUSH</td><td>Every player can lay down multiple cards at once if they follow the numerical order and has the same colour</td></tr></tbody></table></figure>



<p>Before starting to play, one defines <code>uno_mode=DOUBLE,INTERCEPTION</code>, which means the&nbsp;<code>STRAIGHT_FLUSH</code> rule does not apply. If this rule is activated later in the game, it may cause problems around the table, some players may have been disadvantaged in the previous rounds and may not want to play any more.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0887.png" alt="The UNO analogy" class="wp-image-22761" width="434" height="230" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0887.png 867w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0887-300x159.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0887-768x407.png 768w" sizes="auto, (max-width: 434px) 100vw, 434px" /></figure></div>



<h2 class="wp-block-heading">A card game to manage data?</h2>



<p>SQL mode works like this, but instead of specifying how to play cards, it specifies what to do in certain situations:</p>



<ul class="wp-block-list"><li>Is &#8220;2020-11-00&#8221; a valid date (<code>NO_ZERO_IN_DATE</code>)? It changes data validation performed by the DBMS.</li><li>Is <code>SELECT name FROM users GROUP BY first_name</code> a valid query (<code>ONLY_FULL_GROUP_BY</code>)? It changes the allowed syntax.</li></ul>



<p>When MariaDB 10.2 and MySQL 5.7 were released, the rules have changed:</p>



<figure class="wp-block-table is-style-stripes"><table><thead><tr><th><strong>DBMS</strong></th><th><strong>Default SQL_Mode</strong></th></tr></thead><tbody><tr><td>MariaDB 10.1</td><td>NO_ENGINE_SUBSTITUTION, NO_AUTO_CREATE_USER</td></tr><tr><td>MariaDB 10.2</td><td>STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO , NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION</td></tr><tr><td>MySQL 5.6</td><td>NO_ENGINE_SUBSTITUTION</td></tr><tr><td>MySQL 5.7</td><td>ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION</td></tr></tbody></table></figure>



<p>We can note that newer versions kept old rules, but new ones were added. That&#8217;s why when upgrading from MariaDB 10.1 to MariaDB 10.2 for instance, one must specify to its database to play with old rules, and not to enforce <code>STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO</code>.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0892.png" alt="A card game to manage data?" class="wp-image-22767" width="437" height="190" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0892.png 873w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0892-300x130.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0892-768x333.png 768w" sizes="auto, (max-width: 437px) 100vw, 437px" /></figure></div>



<h2 class="wp-block-heading">Concretely</h2>



<p>Actually, if my website should store the result of a division, but the denominator is `0`, my database with the MariaDB 10.1 default SQL mode database will allow it and store the result as <code>NULL</code>. My database with the MariaDB 10.2 default SQL mode will also allow and store a <code>NULL</code> value it but will raise a warning. If strict mode is also enabled, MariaDB 10.2 will throw an error and store nothing. Thus, changing SQL mode can break websites and should be done carefully.</p>



<p>As we cannot check every line of code of every website of each of our customers, when an DBMS major upgrade changing the default SQL mode is planned, OVHcloud activates the legacy SQL mode ensuring your website will not be affected. Of course, you can switch to the new default SQL Mode in the &#8220;Configuration&#8221; tab of your CloudDB. But keep in mind this is for experienced users and OVHcloud advises to stick with the default sql_mode, unless your database was upgraded from a previous version with a different default sql_mode.</p>



<p>Official Documentation:<br>MariaDB: <a href="https://mariadb.com/kb/en/sql-mode/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">https://mariadb.com/kb/en/sql-mode/</a><br>MySQL: <a href="https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html</a></p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fan-insight-on-sql-modes%2F&amp;action_name=An%20insight%20on%20SQL%20modes&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Increase agility and efficiency with managed DBaaS services</title>
		<link>https://blog.ovhcloud.com/more-agility-managed-cloud-databases/</link>
		
		<dc:creator><![CDATA[Heikki Nousiainen]]></dc:creator>
		<pubDate>Fri, 18 Mar 2022 16:14:00 +0000</pubDate>
				<category><![CDATA[OVHcloud Engineering]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[DBaaS]]></category>
		<category><![CDATA[Move to PaaS]]></category>
		<category><![CDATA[PaaS]]></category>
		<category><![CDATA[Public Cloud]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=22662</guid>

					<description><![CDATA[Aiven powers OVHcloud&#8217;s growing DBaaS portfolio, Managed Cloud Databases. Read this blog post from Aiven CTO, Heikki Nousiainen, to find out how their customers have achieved better agility and efficiency in the cloud &#8211; and how you can do the same! Why business agility is important For companies in today’s changing world, it’s crucial to [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fmore-agility-managed-cloud-databases%2F&amp;action_name=Increase%20agility%20and%20efficiency%20with%20managed%20DBaaS%20services&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-image"><figure class="alignright size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0688.png" alt="Aiven" class="wp-image-21358" width="133" height="134" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0688.png 265w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0688-150x150.png 150w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0688-70x70.png 70w" sizes="auto, (max-width: 133px) 100vw, 133px" /></figure></div>



<p><em><a href="https://aiven.io/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Aiven</a> powers OVHcloud&#8217;s growing DBaaS portfolio, <a href="https://www.ovhcloud.com/en/public-cloud/databases/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Managed Cloud Databases</a>. Read this blog post from Aiven CTO, Heikki Nousiainen, to find out how their customers have achieved better agility and efficiency in the cloud &#8211; and how you can do the same!</em></p>



<h2 class="wp-block-heading">Why business agility is important</h2>



<p>For companies in today’s changing world, it’s crucial to remain agile and adapt to changing circumstances. Failure to change directions, sometimes in mid-step, can result in needless expense and hurt a company’s image.&nbsp;</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0881-1024x537.jpeg" alt="Increase agility and efficiency with managed DBaaS services" class="wp-image-22753" width="512" height="269" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0881-1024x537.jpeg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0881-300x157.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0881-768x403.jpeg 768w, https://blog.ovhcloud.com/wp-content/uploads/2022/03/IMG_0881.jpeg 1200w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<p>When we talk about agility, we often think of product and corporate strategy and other long-term progressive endeavors. That’s valid, since both the product roadmap and the overall strategy of the company must be able to change to fit the market environment, as well as in response to internal developments.</p>



<p>But agility is also relevant in operations and infrastructure, where a company’s internal workings must also be able to accommodate change. New innovations come to market every day that can save money in your operating expenses; and every now and then tools become obsolete, even though you’re still using them. If a company doesn’t react in a timely manner, these changes can result in reduced efficiency or actual loss of business.</p>



<p>What’s more, any company’s operations and infrastructure absolutely must support innovation on a fast cycle, or compromise their ability to adjust to change.</p>



<h2 class="wp-block-heading">DBaaS in the cloud makes sense</h2>



<p>One of the pieces of infrastructure that it most makes sense to purchase as a service is databases and related services. Setting up and managing a database is a specialized skill, especially doing it well, and requires resources that can instead go into developing a company’s own products. In practice that means that instead of hiring a database admin, you can hire a developer for your product team, while another company with its own skilled team is taking care of your data, and you can transfer that slice of budget from OpEx to development investments.</p>



<p>On a more general level, data is one of a company’s most valuable assets, and plays a key role in all modern online and software products. This means not just data as code and images, and not even the data that flows when the service or product is being used. Storing and analyzing customer and usage data can tell companies how their business is doing and how they should be directing future development efforts. Building the capacity for this data storage is an investment that’s hard to scope out in advance, and analysis needs will evolve as the business grows and the market changes.</p>



<h2 class="wp-block-heading">Open source for freedom</h2>



<p>Things change all the time, and whatever service you buy may not be around for as long as your company, or they may change their terms without consulting you. Or you might just outgrow their offering and need a new provider.&nbsp;</p>



<p>When buying your data infrastructure as a service, the one thing you want to ensure is that you’ll always have access to your data, even when you decide to switch services. The data also needs to be in a format that’s compatible with other providers and products, or you stand to foot a massive bill for conversion (if it’s even possible).</p>



<p>Here’s where open source is key. If you go with a service that offers fully open source products, your data will always be in a format that’s easy to export elsewhere, and it’ll be compatible with a wide variety of solutions. Open source gives you real freedom and flexibility to choose your providers and not be locked into a solution offered by a single company.</p>



<h2 class="wp-block-heading">Shortening the innovation-development-testing cycle</h2>



<p>Managed cloud databases are increasingly the key factor that enables quick innovation. Product development teams need a way to quickly turn ideas into testable products, and ready-made, managed infrastructure is the only way to achieve this in the IT world. The more building blocks you can buy ready-made, the quicker you can sketch out a test version of your dreams, and the quicker the roll-out when it’s finished.</p>



<p>DBaaS customers can provide data-driven services without having to build up the expertise in managing a new system and then having to build a datacenter. Their developers can quickly get to the part where they start programming, which greatly shortens the time to market. Being ahead of the curve by months can make or break a product, no matter how high its quality otherwise.</p>



<p>And speaking of quality&#8211;having the means to spin up data infrastructure quickly also means a company can continuously improve their products. With a DBaaS-sourced architecture, new environments can easily be set up for testing.&nbsp;</p>



<p>This is equally true when the issue is not just improving upon or enlarging existing services, but creating entirely new products. The road from idea to product is much shorter when the&nbsp; infrastructure is already built.</p>



<p>And lastly, it also means many teams can work on the same codebase simultaneously. This way the company can make every R&amp;D penny count.</p>



<h2 class="wp-block-heading">From CapEx to reduced OpEx</h2>



<p>Then there’s the fact that datacenters cost money to build, and you’re using your CapEx to do it: it’s an investment in the most classical sense. Even if you’re leasing server space instead of building walls, you’re still spending your OpEx coins in a predefined amount of capacity and its maintenance.&nbsp;</p>



<p>The amount of capacity a company maintains has to accommodate not just everyday use but also traffic spikes. When an investment is made (usually in some hurry) to increase capacity in response to an emergency need, it’s seldom considered safe to let go of it when the emergency passes because the process is painful and slow. This road usually ends with services overprovisioned by some 30-50% for regular use. And this is true whether you’re doing it with CapEx or OpEx.<br>CapEx reduction is easy to achieve by moving to a managed service, and there are plenty of them. But by selecting the right DBaaS, a company can make sure that their capacity meets their needs on a day-to-day basis: any service worth its salt will make it easy not just to scale up but also to scale down. It’s possible to reach a <a href="https://aiven.io/blog/aiven-cloud-data-services-bring-340-three-year-roi" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">70% reduction in infrastructure</a> OpEx by managing your capacity and infrastructure properly. At the same time it lowers the threshold for using these services for new products, as well as retiring products that aren’t generating significant revenue.</p>



<h2 class="wp-block-heading">Orchestration as a multiplier</h2>



<p>There’s an African proverb: If you want to go fast, go alone; but if you want to go far, go together. Creating a standalone product to serve a single purpose is quick, but to provide real long-time value for your customers and your own company, versatile products or services that offer a range of functionalities and meet multiple needs are key. You <em>might </em>hit a goldmine by creating a single-purpose product or service that satisfies an urgent user need that no one else in the world has thought to satisfy, or you do it better than absolutely everyone else. It’s just not very likely, to say the least.&nbsp;</p>



<p>A more robust business model is to target a wider customer base and meet a variety of needs. Versatile products are more useful to a larger group of people, and customers are more likely to want a solution that meets several needs at once. Even if you start small with a tightly targeted product or service, you want to keep the door open to expansion and innovation available in adjoining spaces.</p>



<p>The reason that products like this are harder to create and hence more valuable is that it means creating a heterogeneous data architecture that encompasses a wide range of building blocks. This is not easy, whether you’re building them in-house or buying them as a service.&nbsp;</p>



<p>And making the components in your infrastructure all work together and pass data along flexibly is actually really hard. Companies that buy their data infrastructure as a service may have it even harder: using several services from multiple providers can add to the complexity of the overall architecture, and the range of available services can limit what it’s possible to accomplish.&nbsp;</p>



<p>Note that the data flow itself is not an issue, since that can be configured; in some cases easily, in some cases less so, but it can be done, and then it’s only a question of how easy it is to add data sources.&nbsp;</p>



<p>The bigger issue is the regular management and maintenance tasks, which can be a pain if you have to log into and out of multiple environments to check service status or perform updates. If your system management is fragmented, it’s hard to acquire an overall picture of the whole system, and that has implications for troubleshooting and optimization.&nbsp;</p>



<p>Companies using orchestration systems like Kubernetes and Terraform to centralize and automate management tasks find that it enhances their control over resource consumption. With an orchestration system, companies can utilize a mixed set of services as easily as just one. These systems make it possible to centrally manage both individual services and the way the services interact. This gives a better overview of system status and performance and makes it quicker and easier to troubleshoot and fix issues. And of course, access management can also be centralized to an orchestration system, removing yet more regular upkeep tasks.</p>



<p>Kubernetes and Terraform also provide greater horizontal scalability. Instead of having to build endpoints into each service individually, it’s enough to build them in the orchestration system&#8211;and both of them also come with a wide selection of ready-made open source connectors, saving companies the trouble of writing their own.<br>This is how the benefit from orchestration combines with the benefit derived from increased agility in the marketplace and takes both to a whole new level. At <a href="https://aiven.io" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Aiven</a>, we see this all the time. Large numbers of our customers use Kubernetes and/or Terraform to save time, money and effort in terms of both system maintenance and product development.</p>



<h2 class="wp-block-heading">Wrapping up</h2>



<p>The common denominator for companies adopting managed cloud databases and combining it with an orchestration system is that they’re able to reduce their expenses markedly, due to a combination of reduced capital expenditures and smaller operating costs, even when taking into account the fees paid for their database management tasks.&nbsp;</p>



<p>With a DBaaS in use, companies can also stay agile and responsive, and continuously evaluate and adjust their business model as the circumstances change. With OVHcloud&#8217;s managed cloud databases, powered by Aiven, you don&#8217;t have to worry about your database infra or administration, including set up, backups, scalability and security. This saves you time and money, so you can focus on building and deploying the cloud-based applications you want.</p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fmore-agility-managed-cloud-databases%2F&amp;action_name=Increase%20agility%20and%20efficiency%20with%20managed%20DBaaS%20services&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Life cycle policies</title>
		<link>https://blog.ovhcloud.com/life-cycle-policies/</link>
		
		<dc:creator><![CDATA[Fabien Bagard]]></dc:creator>
		<pubDate>Tue, 07 Dec 2021 10:00:00 +0000</pubDate>
				<category><![CDATA[OVHcloud Engineering]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Industrialization]]></category>
		<category><![CDATA[Life cycle]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=21091</guid>

					<description><![CDATA[At OVHcloud our motto is &#8220;Innovation for freedom&#8221;. OVHcloud is powered by passionate people trying to stay at the state of the art of technologies. But many things slow innovation: handling legacy is one of them. One way to tackle that is to define and follow good life cycle policies. What is a life cycle [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Flife-cycle-policies%2F&amp;action_name=Life%20cycle%20policies&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>At OVHcloud our motto is &#8220;Innovation for freedom&#8221;. OVHcloud is powered by passionate people trying to stay at the state of the art of technologies. But many things slow innovation: handling legacy is one of them.</p>



<p>One way to tackle that is to define and follow good life cycle policies.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/12/IMG_0705-1024x537.png" alt="Life cycle policies" class="wp-image-21445" width="512" height="269" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/12/IMG_0705-1024x537.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/12/IMG_0705-300x157.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/12/IMG_0705-768x403.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/12/IMG_0705.png 1200w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<h3 class="wp-block-heading" id="Lifecycles-Whatisalifecyclepolicy">What is a life cycle policy</h3>



<p>A life cycle policy is a set of guidelines, written documents, describing the different steps in a product&#8217;s life, including its end of life.</p>



<h3 class="wp-block-heading" id="Lifecycles-Whyyoushouldhavealifecyclepolicy">Why you should have a life cycle policy</h3>



<p>When you read the news, it is not uncommon to hear from here and there that company XYZ got hacked through an old software, outdated for ages.</p>



<p>Having a good life cycle policy guarantees you never have to deal with outdated software. It defines when you must upgrade your software and when you must stop using an old version and migrate to a new one.</p>



<p>Benefits are multiple:</p>



<ul class="wp-block-list"><li>You don&#8217;t have to rely on unmaintained software</li><li>You reduce attack perimeter, as newer versions have security patches applied</li><li>You benefit from new versions&#8217; features, allowing you to accelerate innovation</li></ul>



<p>Of course there are downsides. The biggest one is having to stick with it. A life cycle policy is a written document and as such has value only if people read it and apply its recommendations.</p>



<h3 class="wp-block-heading" id="Lifecycles-Whyyoushouldautomateit">Why you should automate it</h3>



<p>A wise man once told &#8220;A good sysadmin is a sysadmin doing nothing&#8221;. Not because he is lazy, nor because he is bad at his job and got his credentials revoked, but because he automates all painful tasks, to focus on tasks with added value.</p>



<p>It also removes one major cause of errors: the human factor. An automated job will never mistype a command line or click on the `destroy` button, instead of the `upgrade` one.</p>



<p>Last but not least, it is a good way to make sure your carefully crafted document is not redirected to `/dev/null` in the following months.</p>



<p>Bonus: you also free a lot of time to automate new things !</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/12/livecycle-1024x270.png" alt="Live cycle" class="wp-image-21437" width="768" height="203" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/12/livecycle-1024x270.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/12/livecycle-300x79.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/12/livecycle-768x202.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/12/livecycle.png 1105w" sizes="auto, (max-width: 768px) 100vw, 768px" /></figure></div>



<h3 class="wp-block-heading" id="Lifecycles-Howwedidit">How we did it</h3>



<p>Our policy on cloud databases (available here: <a href="https://docs.ovh.com/gb/en/clouddb/managed-db-life-cycle-policy/" data-wpel-link="exclude">https://docs.ovh.com/gb/en/clouddb/managed-db-life-cycle-policy/</a>) forces us to warn our customers at least 30 days before a major upgrade by e-mail. This email contains the day the upgrade will take place on.<br>We also have an internal mechanism allowing our customers to upgrade by themselves, using our API.<br>Combining these two bricks were all we had to do, with minor adjustments:</p>



<ul class="wp-block-list"><li>When sending a email, we keep track of the planned date of the operation.</li><li>An automated job is triggered every day, checking what operations are due this day and launching them.</li></ul>



<p>Almost everyday, our job realises there is no major upgrade planned and goes back to sleep. But if a single operation is found, this job calls our API, triggering this upgrade. No human needed.</p>



<p>This process is very simple, yet very effective. We already had all the building blocks ready, from sending an email to API calls for major upgrades. All we had to do was to link all these operations together in a nice workflow. This allow us a very fine tuning of how many operation we want being done everyday, down to the instance.</p>



<p>Want to try the process for the first time ? Easy, trigger it on one of our test instance.<br>Is this process reliable and scalable ? Enough to upgrade a batch of 10 000 instances in 30 days with no human intervention !</p>



<h2 class="wp-block-heading">One last word on an automated life-cycle policy</h2>



<p>At Web Cloud Databases, with thousands of instances, 4 different DBMS and a total of 12 major versions, automation is the key.</p>



<p>In May 2021, for this process&#8217; firsts steps in this world, we upgraded 6K instances in a week. The only human interaction needed was to launch a script to inform all affected customers.</p>



<p>Figures of this use-case ? 6000+ instances updated, 0 website down, 1 human needed for 5 minutes.</p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Flife-cycle-policies%2F&amp;action_name=Life%20cycle%20policies&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>The DBaaS family is growing: Welcome to Kafka, MySQL, PostgreSQL, OpenSearch and Redis™*!</title>
		<link>https://blog.ovhcloud.com/the-dbaas-family-is-growing-welcome-to-kafka-mysql-postgresql-opensearch-and-redis/</link>
		
		<dc:creator><![CDATA[Erika Gelinard&nbsp;and&nbsp;Bastien Verdebout]]></dc:creator>
		<pubDate>Thu, 25 Nov 2021 15:51:40 +0000</pubDate>
				<category><![CDATA[OVHcloud Product News]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[DBaaS]]></category>
		<category><![CDATA[Public Cloud]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=21216</guid>

					<description><![CDATA[Building on the success of&#160;Public Cloud Databases for MongoDB, we know how much a managed service increases the performance, scalability and resiliency of your database.&#160;Now,&#160;a new batch of managed Databases as a Service (DBaaS) aka PostgreSQL, MySQL, Apache Kafka, OpenSearch and Redis™* is in free beta. Why do they stand out? What are their main [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fthe-dbaas-family-is-growing-welcome-to-kafka-mysql-postgresql-opensearch-and-redis%2F&amp;action_name=The%20DBaaS%20family%20is%20growing%3A%20Welcome%20to%20Kafka%2C%20MySQL%2C%20PostgreSQL%2C%20OpenSearch%20and%20Redis%E2%84%A2%2A%21&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>Building on the success of&nbsp;<a href="https://blog.ovhcloud.com/public-cloud-databases-for-mongodb-in-ga/" target="_blank" rel="noreferrer noopener" data-wpel-link="internal">Public Cloud Databases for MongoDB</a>, we know how much a managed service increases the performance, scalability and resiliency of your database<strong>.&nbsp;</strong>Now,&nbsp;a new batch of managed Databases as a Service (DBaaS) aka <a href="https://aiven.io/blog/an-introduction-to-postgresql" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">PostgreSQL</a>, MySQL, <a href="https://aiven.io/blog/an-introduction-to-apache-kafka" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Apache Kafka</a>, OpenSearch and <a href="https://aiven.io/blog/an-introduction-to-redis" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Redis</a>™* is in free beta. Why do they stand out? What are their main use cases? In which typical business scenario can you leverage them? That&#8217;s what we&#8217;ll discuss today!</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0850-1024x550.jpeg" alt="The DBaaS family is growing: Welcome to Kafka, MySQL, PostgreSQL, OpenSearch and Redis!" class="wp-image-22691" width="512" height="275" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0850-1024x550.jpeg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0850-300x161.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0850-768x413.jpeg 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0850.jpeg 1189w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<h3 class="wp-block-heading">A large choice of &#8220;vanilla flavor&#8221; DBMS</h3>



<p>The market is brimming with database engines, we will offer you this large choice over the coming months. Our&nbsp;<a href="https://www.ovhcloud.com/en-ie/public-cloud/databases/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">Public Cloud Databases</a>&nbsp;are of course fully managed and compatible with the full OVHcloud portfolio including bare metal for instance.</p>



<p>Did you know that delegating&nbsp;the setup and daily operations of your database cluster could help your improve your performance by 15% to 20%? That&#8217;s a pretty good argument to move your database to the cloud if it wasn&#8217;t already the case!</p>



<p>You might still wonder how these DBaaS differ from existing market offerings?</p>



<div class="wp-block-image"><figure class="alignright size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0688.png" alt="Aiven" class="wp-image-21358" width="133" height="134" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0688.png 265w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0688-150x150.png 150w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0688-70x70.png 70w" sizes="auto, (max-width: 133px) 100vw, 133px" /></figure></div>



<ul class="wp-block-list"><li>Aside from MongoDB, all other engines are open-source so that you&#8217;ve got no risk of vendor lock-in and can adapt your technology strategy in the long run. We&nbsp;<a href="https://corporate.ovhcloud.com/en-ie/newsroom/news/ovhcloud-partners-aiven/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">partner with the leader of open-source DBaaS</a>, <a href="https://aiven.io/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Aiven</a>, to deliver this full portfolio.</li><li>What&#8217;s more, we deliver&nbsp;the official, full and updated experience or&nbsp;&#8220;vanilla flavor&#8221; of each DBMS, and not a fork in our cloud environment. It means that you benefit from all the features, updates and community innovation.</li><li>They are hosted in our trusted Cloud-Act free cloud infrastructure&nbsp;&#8211; in Europe and Canada today, and soon in other parts of the world &#8211; to ensure you full data privacy and infrastructure compliance.&nbsp;</li><li>Last, but not least, after the free beta, their pricing is fully transparent, predictable and much cheaper than competition. Why don&#8217;t you check our&nbsp;<a href="https://www.ovhcloud.com/en-ie/public-cloud/prices/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">price list</a>&nbsp;by yourself? What you see is what you pay! All costs including outgoing traffic are included. Don&#8217;t forget to multiply the price by the number of nodes!</li></ul>



<h3 class="wp-block-heading">You voted, we delivered</h3>



<p>We know you have been waiting for these managed databases in the public cloud for some time, so we asked you which were your favorite ones and delivered them first. After&nbsp;3 weeks of usage, here is our beta testers&#8217; podium:</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0869.jpeg" alt="You voted, we delivered" class="wp-image-22702" width="401" height="238" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0869.jpeg 534w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0869-300x178.jpeg 300w" sizes="auto, (max-width: 401px) 100vw, 401px" /></figure></div>



<ol class="wp-block-list"><li>Almost half of our first beta testers use PostgreSQL. It&#8217;s the most advanced, extensible and highly secure relational database that you use for mission critical business applications.&nbsp;</li><li>Another big third of our users are on MySQL, one of the most popular transactional engines for eCommerce platforms, but also an ideal choice for many web applications.&nbsp;</li><li>Redis is the third favorite database with almost 15% adoption. It is frequently used for website caching and personalization, chat and messaging apps but also in the gaming industry for leaderboards.</li><li>The last few percent of users are on&nbsp;Apache Kafka , the must have distributed data streaming platform. Its horizontal scalability is useful&nbsp; for&nbsp;IoT data ingestion, real-time analytics as well for event-driven applications.</li></ol>



<h3 class="wp-block-heading">But what do Kafka, MySQL, PostgreSQL, OpenSearch and Redis do?</h3>



<p>Long story short: too many uses cases for one blog post! But let&#8217;s dive a bit into the main concepts and key differentiators.  </p>



<p>Imagine that you are literally an e-commerce website&#8230; At least try to imagine&nbsp;😀 &nbsp;It may be a little silly, but a good way to understand.</p>



<p>It&#8217;s almost Christmas, plenty of customers are creating accounts, ordering gifts, putting their credit cards. As a website, you cannot lose their information, you want to store it precisely. Here come relational databases to the rescue!</p>



<h4 class="wp-block-heading">Relational databases with MySQL and PostgreSQL</h4>



<p>Relational databases are widely adopted worldwide, with pretty simple tables, with columns and rows. Each table can be linked to others, with relationships, it&#8217;s called a schema.</p>



<p>The most famous ones are MySQL, PostgreSQL, MariaDB and SQL server.</p>



<p>The idea is always the same, tables and relations, with a goal to guarantee data validity despite errors, power failures.</p>



<p>Imagine that you, the website, receive an order for a new gift; you ask for a payment of 50 euros. The customer is paying, but just for 2 seconds your database is flapping and unreachable.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0691.png" alt="Relational databases with MySQL and PostgreSQL" class="wp-image-21368" width="405" height="113" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0691.png 810w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0691-300x84.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0691-768x214.png 768w" sizes="auto, (max-width: 405px) 100vw, 405px" /></figure></div>



<p>As a website, do you want approximate data? Do you want to be almost certain that the customer has payed?&nbsp;Certainly not!&nbsp;You want to be 100% confident about the transaction in your databases.</p>



<p><strong>Relational Databases</strong>&nbsp;provide ACID guarantees (for Atomicity, Consistency, Isolation and Durability) that make them the best solution to deal with this kind of use case.</p>



<p><strong>MySQL</strong>&nbsp;and&nbsp;<strong>MariaDB</strong>&nbsp;are often used for simple website and web application, such as WordPress.</p>



<p><strong>PostgreSQL</strong>&nbsp;is more production grade-oriented, with full ACID compliance, advanced security and high availability (HA mechanism, and various extensions for various use case (geographical data, metrics, &#8230;).</p>



<p>Also, PostgreSQL is the only database system in the list owned by no company. It&#8217;s owned by the PostgreSQL community, you and me. Unlike MySQL that&#8217;s the property of Oracle for example.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.sql_.2-1024x528.png" alt="" class="wp-image-21387" width="768" height="396" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.sql_.2-1024x528.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.sql_.2-300x155.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.sql_.2-768x396.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.sql_.2-1536x791.png 1536w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.sql_.2.png 1708w" sizes="auto, (max-width: 768px) 100vw, 768px" /><figcaption>Example of relational tables</figcaption></figure></div>



<p>Let&#8217;s come back to our e-commerce scenario!</p>



<p>It&#8217;s Christmas time for our website, your are now able to receive and store correctly your products, the orders, the bills&#8230; neat!</p>



<p>But wait&#8230; Now more and more customers are coming to you, asking ALWAYS for the same price and description of this wonderful pair of socks. Worst, they put a few products&nbsp;in the basket, but don&#8217;t buy them.</p>



<p>You are slowed down by storing and giving information from your local storage (images). In the same way, pushing in database information that you would not need to keep (basket) is frustrating. Last but not least, tons of requests in your relational databases (<em>&#8220;SELECT Articles in discounted_prices&#8230;&#8221;</em>) are always the same, giving the same results&#8230;</p>



<p>Grrr! It&#8217;s really painful to store this kind of ephemeral information. What if you could store and retrieve this data somewhere very, very fast?</p>



<h3 class="wp-block-heading">Hello Redis™*! your best friend for caching data</h3>



<p>The most handy database engine to answer your need is Redis™*.</p>



<p>Redis has two main characteristics: first, it stores data in volatile memory (RAM), not in classic storage such ad SSD drives. Second, it&#8217;s not a relational database, but a key-value store.&nbsp;You can store various type of data, such as HTML code, images, user sessions, gaming leaderboards, chat sessions, &#8230;</p>



<p>Each time you have to keep in mind that this data &#8220;can&#8221; be lost and you will store/retrieve it with huge performance.</p>



<p>Most popular use cases are website performance improvement, databases caching, gaming leaderboard, chat tools,.. Twitter, Snapshat, instagram, AirBnB, Pinterest..&nbsp;<a href="https://redis.io/topics/whos-using-redis" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">they all use Redis</a>!</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.redis_-1024x412.png" alt="" class="wp-image-21388" width="768" height="309" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.redis_-1024x412.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.redis_-300x121.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.redis_-768x309.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.redis_.png 1044w" sizes="auto, (max-width: 768px) 100vw, 768px" /><figcaption>Example of Keys and Values</figcaption></figure></div>



<p>The most handy database engine to answer your need is Redis.</p>



<p>Redis has two main characteristics: first, it stores data in volatile memory (RAM), not in classic storage such ad SSD drives. Second, it&#8217;s not a relational database, but a key-value store.&nbsp;You can store various type of data, such as HTML code, images, user sessions, gaming leaderboards, chat sessions, &#8230;</p>



<p>Each time you have to keep in mind that this data &#8220;can&#8221; be lost and you will store/retrieve it with huge performance.</p>



<p>Most popular use cases are website performance improvement, databases caching, gaming leaderboard, chat tools,.. Twitter, Snapshat, instagram, AirBnB, Pinterest..&nbsp;<a href="https://redis.io/topics/whos-using-redis" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">they all use Redis</a>!</p>



<h4 class="wp-block-heading">Kafka, to avoid kafkaian situations</h4>



<p>Apache Kafka, is the world&#8217;s most famous streaming tool. Imagine a highly-available and highly efficient platform, allowing you to connect to dozen data sources, &#8220;snif&#8221; the data in real time with near zero latency and push it somewhere else. That&#8217;s Kafka which unlike Redis is used a bit everywhere.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0693.png" alt="Kafka" class="wp-image-21372" width="238" height="105" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0693.png 317w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0693-300x132.png 300w" sizes="auto, (max-width: 238px) 100vw, 238px" /></figure></div>



<p>You don&#8217;t store information<strong>&nbsp;in</strong>&nbsp;Kafka, you connect Kafka&nbsp;<strong>to</strong>&nbsp;information sources. Then, of course, this data can be reused.</p>



<p>Main use cases are messaging between applications (it acts as a buffer), real time analytics and real time data pipelines, aggregation of metrics and logs (imagine a company with 1.5 million website ands 250&#8217;000 servers to monitor, for example&nbsp;<img decoding="async" src="https://docs.dsi.ovh/s/9ckm17/8402/45c55aec607bd3c0b24eb377ecd790d998a06033/_/images/icons/emoticons/smile.svg" alt="(smile)">).</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/ilustrasi-apache-kafka-1024x621.png" alt="" class="wp-image-21254" width="768" height="466" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/ilustrasi-apache-kafka-1024x621.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/ilustrasi-apache-kafka-300x182.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/ilustrasi-apache-kafka-768x466.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/ilustrasi-apache-kafka.png 1402w" sizes="auto, (max-width: 768px) 100vw, 768px" /><figcaption>Apache Kafka Principles. <em>Source : Halovina</em></figcaption></figure></div>



<h4 class="wp-block-heading">OpenSearch to keep en eye on everything</h4>



<p>OpenSearch is an open source fork of Elasticsearch, allowing you to ingest data, such as all the logs of your website and easily analyze them.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0694.png" alt="OpenSearch" class="wp-image-21375" width="317" height="78" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0694.png 490w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0694-300x74.png 300w" sizes="auto, (max-width: 317px) 100vw, 317px" /></figure></div>



<p>Perfect for us to follow all the 404 errors for example! Wonderful dashboard in minutes, in real time!</p>



<p>Here is an example made with OpenSearch sample data:</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.opensearch-1024x515.png" alt="" class="wp-image-21389" width="512" height="258" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.opensearch-1024x515.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.opensearch-300x151.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.opensearch-768x386.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.opensearch-1536x773.png 1536w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/blog.opensearch.png 1910w" sizes="auto, (max-width: 512px) 100vw, 512px" /><figcaption>OpenSearch dashboard example with web data</figcaption></figure></div>



<h3 class="wp-block-heading">The A-team of data ecosystem</h3>



<p>As a website, you can think of relational databases, Redis, Opensearch and Kafka as the A-team. They are not similar at all; each of them has a specific role to play in the adventure.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0870-1024x526.png" alt="The A-team of data ecosystem" class="wp-image-22704" width="512" height="263" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0870-1024x526.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0870-300x154.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0870-768x395.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/IMG_0870.png 1092w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<p>At the end, I love it when a plan comes together!</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="400" height="294" src="https://blog.ovhcloud.com/wp-content/uploads/2021/11/2a536435c4ad14be22f142fa5ec8b0b1.jpg" alt="" class="wp-image-21255" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/11/2a536435c4ad14be22f142fa5ec8b0b1.jpg 400w, https://blog.ovhcloud.com/wp-content/uploads/2021/11/2a536435c4ad14be22f142fa5ec8b0b1-300x221.jpg 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></figure></div>



<p><a href="https://ecosystemexperience.ovhcloud.com/en/vod/which-database-is-right-for-your-use-case-finding-the-perfect-fit" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Learn more</a> about these use cases with Aiven&#8217;s Cofounder and CTO, Heikki Nousiainen, at Ecosystem Experience!</p>



<p><em>*Redis is a trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Any use by OVH SAS is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and OVH SAS.</em></p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fthe-dbaas-family-is-growing-welcome-to-kafka-mysql-postgresql-opensearch-and-redis%2F&amp;action_name=The%20DBaaS%20family%20is%20growing%3A%20Welcome%20to%20Kafka%2C%20MySQL%2C%20PostgreSQL%2C%20OpenSearch%20and%20Redis%E2%84%A2%2A%21&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Announcing Public Cloud Databases for MongoDB in General Availability!</title>
		<link>https://blog.ovhcloud.com/public-cloud-databases-for-mongodb-in-ga/</link>
		
		<dc:creator><![CDATA[Bastien Verdebout]]></dc:creator>
		<pubDate>Tue, 05 Oct 2021 09:42:45 +0000</pubDate>
				<category><![CDATA[OVHcloud Product News]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Public Cloud]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=21099</guid>

					<description><![CDATA[A bit more than 3 months ago, we announced in a previous post our intention to provide managed databases in our Public Cloud ecosystem. After hundreds of cluster delivered for free, dozens of pull requests, tons of constructive discussions with customers and partners,… we are live! We are really pleased to announce our Public Cloud [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fpublic-cloud-databases-for-mongodb-in-ga%2F&amp;action_name=Announcing%20Public%20Cloud%20Databases%20for%20MongoDB%20in%20General%20Availability%21&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>A bit more than 3 months ago, we announced in <a href="https://blog.ovhcloud.com/announcing-public-cloud-databases/" target="_blank" rel="noreferrer noopener" data-wpel-link="internal">a previous post</a> our intention to provide <strong>managed databases</strong> in our <strong>Public Cloud</strong> ecosystem.</p>



<p>After hundreds of cluster delivered for free, dozens of pull requests, tons of constructive discussions with customers and partners,… we are live!</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/10/mongodb-in-ga-1024x550.jpg" alt="Announcing Public Cloud Databases for MongoDB in General Availability!" class="wp-image-21123" width="512" height="275" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/10/mongodb-in-ga-1024x550.jpg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/mongodb-in-ga-300x161.jpg 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/mongodb-in-ga-768x413.jpg 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/mongodb-in-ga.jpg 1189w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<p>We are really pleased to announce our <strong>Public Cloud Databases for MongoDB offers on General Availability</strong> 😀</p>



<p>And today is a good day! <strong>MySQL</strong>, <strong>PostgreSQL</strong>, <strong>Kafka</strong>, … are now also available for <strong>FREE in Beta</strong>!<br>We will talk about it in another blog post, that&#8217;s another story 😀</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849-1024x685.jpeg" alt="MongoDB is not only a serious first step, but in a few short months we will add even more engines!" class="wp-image-22685" width="512" height="343" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849-1024x685.jpeg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849-300x201.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849-768x514.jpeg 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849.jpeg 1187w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<p>About MongoDB offers, what does it mean? How does it work? Why you should use it? Let&#8217;s find out together!</p>



<h3 class="wp-block-heading">What do we solve?</h3>



<p>Installing MongoDB is an easy operation if you have basic computer administration knowledge. But that&#8217;s the easy part.</p>



<p>Operating databases on a daily basis is way more challenging. Databases are quite often critical for your use case, and taking care of them ends up being a full time job. Instead of deploying and maintaining your databases yourself, what if a dedicated team took care of the setup and initial state-of-the-art configuration, securization, and maintenance in operational conditions?</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/10/managed-mongodb.jpg" alt="Managed MongoDB" class="wp-image-21113" width="502" height="419" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/10/managed-mongodb.jpg 1004w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/managed-mongodb-300x250.jpg 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/managed-mongodb-768x641.jpg 768w" sizes="auto, (max-width: 502px) 100vw, 502px" /></figure></div>



<p>That&#8217;s quite appealing. It&#8217;s not new in the &#8220;Cloud world&#8221;, many competitors built Databases as a Services solutions, I guess you&#8217;ve heard about the most famous ones, aka Amazon RDS or Google Cloud SQL.</p>



<p>But this is new for OVHcloud in our Public Cloud ecosystem, and a very important step!</p>



<p><strong>We are now able to solve a major customer challenge: fast deployment of database clusters, with scalability, security and resiliency.</strong></p>



<p>Let’s deep dive into the detailed features!</p>



<h3 class="wp-block-heading">What&#8217;s in the box for MongoDB offers?</h3>



<h4 class="wp-block-heading">Official MongoDB software and license</h4>



<p>MongoDB is recognized worldwide as the best document-based database engine. This software is available in two versions:</p>



<ul class="wp-block-list"><li><strong>MongoDB Community</strong>: the most common MongoDB version, under Server Side Public Licence (SSPL). To put it simply, it&#8217;s free unless you use it as a &#8220;Program as a Service&#8221;;</li><li><strong>MongoDB Enterprise</strong>: same core but advanced features for security, backups, auditing tools, BI connectors, MongoDB consulting… Perfect for advanced use-cases.</li></ul>



<p>At OVHcloud, we made a strong partnership with MongoDB, allowing us to provide both Community and Enterprise licenses &#8220;as a Service&#8221;. That&#8217;s indeed a very good news for customers since we are able to provide &#8220;vanilla&#8221;, genuine version of MongoDB.</p>



<p>It ensures that you get the full MongoDB experience, and are able to move in / out OVHcloud if required. It’s not a fork, like AWS DocumentDB (see the <a href="https://www.mongodb.com/atlas-vs-amazon-documentdb/compatibility" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">MongoDB compatibility test</a>) or Azure CosmosDB. Hence, you benefit from the latest MongoDB features as well as the official MongoDB documentation, and drivers work natively.</p>



<p>As I am writing, offers with Community License are in General Availability, and Enterprise will come later.</p>



<h4 class="wp-block-heading">Easy to start, easy to use, easy to scale</h4>



<p>Let’s see how simple it is!</p>



<p>Through our control panel, you can launch a MongoDB Database instance in one minute. Select a region, a version, a service plan, and voila! After a few minutes, your cluster is up and ready, allowing you to manage security rules, users, backups, logs and metrics.</p>



<p>It’s also easy to scale; you can upgrade to a higher service plan, add up to 8 nodes per cluster, and pay what you use- true for every public cloud product -on a hourly basis.</p>



<p>Of course, you can&nbsp; delete your services in a few clicks, allowing you to try the products for few bucks.</p>



<figure class="wp-block-video"><video height="1032" style="aspect-ratio: 1920 / 1032;" width="1920" controls src="https://blog.ovhcloud.com/wp-content/uploads/2021/10/OVHcloud-MongoDB-copie.mp4"></video><figcaption>OVHcloud MongoDB control panel / music by BenSound</figcaption></figure>



<h4 class="wp-block-heading">Managed by OVHcloud</h4>



<p>Again, our aim is to simplify your life and cloud adoption. What we do for you:</p>



<ul class="wp-block-list"><li>Install MongoDB clusters, based on your choices (versions, nodes, and co);</li><li>Operate the subjacent Linux system (patches, hotfixe, upgrades, …);</li><li>Operate the DBMS software: provide minor and major DBMS versions;</li><li>Operate the subjacent hardware;</li></ul>



<p>What you remain responsible for:</p>



<ul class="wp-block-list"><li>your data,</li><li>your structures,</li><li>your code</li><li>performance monitoring…</li></ul>



<p>In short, what’s “in” the database instance. We cannot replace you on this 😀 </p>



<h4 class="wp-block-heading">High-Availability and automatic backups</h4>



<p>We built 3 service plans: Essential, Business and Enterprise.</p>



<p>All the plans come with automated daily backups, encrypted and stored ouside the datacenter of the cluster.</p>



<p>Starting with Business plans, High-Availabilty is provided natively with 3 nodes by default (Replica Set), maximum 8 nodes. Each node includes a copy of your data to keep it safe. In case of a node failure, your cluster is still up and ready.</p>



<p>Currently we do not provide clusters replicated across multiple regions but we are working on it.</p>



<h4 class="wp-block-heading">Logs and Metrics Dashboards</h4>



<p>To simplify your obvervability tasks, we provide live logs and main metrics in our control panel. </p>



<p>Our mid-term goal is to expose metrics and log to third-party tools.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/10/logs-and-metrics.jpg" alt="Logs and Metrics Dashboard" class="wp-image-21115" width="240" height="161" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/10/logs-and-metrics.jpg 479w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/logs-and-metrics-300x201.jpg 300w" sizes="auto, (max-width: 240px) 100vw, 240px" /></figure></div>



<h4 class="wp-block-heading">Last but not least: simple billing! Cloud without headaches</h4>



<p>We really focused on simplifiying your cloud adoption, and one of the biggest drawbacks for customers is to predict and control the cost of their cloud infrastructure.</p>



<p>Take a look at our pricing page, we’ve done our best to keep it simple: no hidden cost, everything is predictive and included:</p>



<ul class="wp-block-list"><li>Databases services with included storage;</li><li>Guaranteed resource performance over time (no burst, no IOPS to buy)</li><li>Data transfer In/Out</li><li>Daily Backups</li><li>logs and metrics</li></ul>



<p>Zero risk of overspending!</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/10/simple-billing.jpg" alt="Simple billing" class="wp-image-21121" width="385" height="273" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/10/simple-billing.jpg 770w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/simple-billing-300x213.jpg 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/simple-billing-768x545.jpg 768w" sizes="auto, (max-width: 385px) 100vw, 385px" /></figure></div>



<h3 class="wp-block-heading">Plenty of use-cases</h3>



<p>MongoDB is a document-based database, meaning that you can store heterogeneous data in it, not in a classic SQL way (tables, columns, lines) but in a “flat” way like a JSON file.</p>



<p>Many use-cases benefits from this data storage and queries, such as IoT, Real-time data analytics, Single View and much more. The official MongoDB website <a href="https://www.mongodb.com/use-cases" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">details the most important ones</a>.</p>



<h3 class="wp-block-heading">To get a managed MongoDB, what are the other options in cloud providers?</h3>



<p>Let’s have a quick look at competitors. If you are looking for a managed MongoDB cluster under European legislation only, OVHcloud and CleverCloud are the only providers offering it.</p>



<p>Choosing a provider will require more than one table, but here is a quick overview. If you are not aware, MongoDB also provides managed services, it’s called MongoDB Atlas. really impressive offers from a feature perspective. You can host them in AWS, Google Cloud or Hosting. Since it’s not a cloud provider offer, I decided to not compare this last one.</p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="442" src="https://blog.ovhcloud.com/wp-content/uploads/2021/10/Capture-décran-2021-10-03-à-21.12.15-1024x442.png" alt="" class="wp-image-21103" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/10/Capture-décran-2021-10-03-à-21.12.15-1024x442.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/Capture-décran-2021-10-03-à-21.12.15-300x129.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/Capture-décran-2021-10-03-à-21.12.15-768x331.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/10/Capture-décran-2021-10-03-à-21.12.15.png 1317w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>Quick MongoDB comparatible table</figcaption></figure>



<h3 class="wp-block-heading">The end! Useful links</h3>



<p>I really hope that offers and features are clearer now, and like us that you are over hyper about the data future a OVHclooud. I you need more, here </p>



<p>I really hope that offers and features are clearer now, and that you are as enthusiastic as we are about the data future at OVHcloud!</p>



<p>Should you want to learn more, here we are:</p>



<p><a href="https://www.ovhcloud.com/fr/public-cloud/databases/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">French website</a></p>



<p><a href="https://www.ovhcloud.com/en-ie/public-cloud/databases/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">English Website</a></p>



<p><a href="https://docs.ovh.com/gb/en/publiccloud/databases/" target="_blank" rel="noreferrer noopener" data-wpel-link="exclude">Official documentation</a></p>



<p>Discuss with us on our <a href="https://discord.com/invite/PwPqWUpN8G" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Discord servwr</a>!</p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fpublic-cloud-databases-for-mongodb-in-ga%2F&amp;action_name=Announcing%20Public%20Cloud%20Databases%20for%20MongoDB%20in%20General%20Availability%21&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		<enclosure url="https://blog.ovhcloud.com/wp-content/uploads/2021/10/OVHcloud-MongoDB-copie.mp4" length="11082501" type="video/mp4" />

			</item>
		<item>
		<title>Announcing Public Cloud Databases! starting with MongoDB this week</title>
		<link>https://blog.ovhcloud.com/announcing-public-cloud-databases/</link>
		
		<dc:creator><![CDATA[Bastien Verdebout]]></dc:creator>
		<pubDate>Mon, 21 Jun 2021 09:36:15 +0000</pubDate>
				<category><![CDATA[OVHcloud Product News]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Public Cloud]]></category>
		<guid isPermaLink="false">https://www.ovh.com/blog/?p=20924</guid>

					<description><![CDATA[I&#8217;ve been dreaming about writing this blog post for almost 4 years, and today is finally the big day! We&#8217;ve just started providing managed databases as a service in our Public Cloud offer, starting with the wonderful MongoDB engine. Many others will follow in the coming months. This means so much to us and also [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fannouncing-public-cloud-databases%2F&amp;action_name=Announcing%20Public%20Cloud%20Databases%21%20starting%20with%20MongoDB%20this%20week&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>I&#8217;ve been dreaming about writing this blog post for almost 4 years, and today is finally the big day!</p>



<p>We&#8217;ve just started providing managed databases as a service in our Public Cloud offer, starting with the<strong> wonderful MongoDB engine</strong>.</p>



<p>Many others will follow in the coming months. This means so much to us and also for you, our fellow customers. Let me tell you what&#8217;s going on.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0848-1024x550.jpeg" alt="Announcing Public Cloud Databases! starting with MongoDB this week" class="wp-image-22682" width="512" height="275" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0848-1024x550.jpeg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0848-300x161.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0848-768x413.jpeg 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0848.jpeg 1189w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<h3 class="wp-block-heading" id="Blogpost1:AnnouncingPublicCloudDatabases!startingwithMongoDBthisweek-OVHcloudanddatabases,alonglove-story">OVHcloud and databases, a long love-story</h3>



<p>If you ask any company around the world about their most critical services in their architecture, there is no doubt that databases will be at the epicenter, almost as critical as the coffee machine 😀. Your data is usually at the heart of your use cases, your websites and applications, your company business.</p>



<p>What&#8217;s not so obvious is pushing your data in safe databases. Installing MySQL, for example, is one thing. However, doing it state-of-the-art with strong security, resiliency, and performance is another. <strong>It takes knowledge and patience</strong>.</p>



<p>That&#8217;s why today every cloud provider is building managed databases services with one goal: to free customers from the hard stuff &#8211; setup, security, high-availability, monitoring, backups, updates, …</p>



<p>Since we host more than 3 million websites with more than 1.5 million databases behind them, we have solid knowledge and experience of databases (curious ? <a href="https://blog.ovh.com/fr/blog/realiser-un-million-de-backup-bases-de-donnees-par-jour/" target="_blank" rel="noreferrer noopener" data-wpel-link="exclude">more details here&nbsp;!</a>). Same for our internal databases clusters, it&#8217;s a <a href="https://www.ovh.com/blog/ovhclouds-internal-databases-infrastructure/" target="_blank" rel="noreferrer noopener" data-wpel-link="exclude">love story</a>. But up until now, nothing had been provided to our customers in our Public Cloud.</p>



<h3 class="wp-block-heading" id="Blogpost1:AnnouncingPublicCloudDatabases!startingwithMongoDBthisweek-Databases:amissingbrickinourPublicCloudecosystem,nowresolved!">Databases: a missing brick in our Public Cloud ecosystem, now resolved!</h3>



<p>If you&#8217;re not familiar with the public cloud, I&#8217;ll sum it up quickly: you start a new project, add a payment method, then you&#8217;re able to launch multiple and various services (such as virtual machines, storage, big data and machine learning platforms) &#8230; and at the end of the month, you only pay for what you consumed (per hour or per minute).</p>



<p>It&#8217;s called &#8220;Public&#8221; because some parts, like network equipment or physical servers, is shared with other customers (unlike a Private Cloud). It&#8217;s secure. No one has access except for you. But isolation is mostly made with software.</p>



<p>So, back on topic, we launched our OVHcloud Public Cloud over 6 years ago, and have improved our inner ecosystem brick by brick, month by month, year by year. We started with virtual machines, block storage, object storage, cold storage, then added containers (Kubernetes clusters, private registries, ), then network (load balancers, ..) then big data and AI/machine learning, <strong>but one major brick was missing</strong>: managed databases.</p>



<p>To be fully transparent, we were thinking about it for a very long time, around 4 years if I&#8217;m correct. We felt like Indiana Jones trying to avoid traps during the Holy Grail quest. A long and treacherous path. But why so long ?</p>



<p>Well, data volumetry is growing faster than ever, usages are multiplying exponentially, same for the solutions to store and use them. About 10-15 years ago it was about classic domination, like Oracle, MS SQL server, PostgreSQL and MySQL and voila. Four years ago things were way more divided and complex, as Redis, MongoDb, Cassandra, ElasticSearch were already in high demand.</p>



<p>We feel kind of like spectators of a moving landscape, it&#8217;s moving so fast that it&#8217;s hard to catch up. Don&#8217;t blink or you&#8217;ll miss something!&nbsp;😉</p>



<p>Four years ago, we wanted to provide, not only 1 or 2 databases engines, but the most appreciated by our customers, the most requested and loved by communities, and it&#8217;s quite complex. Each of them has their own method to security, to perform backups, to setup high resiliency, to manage users and roles, to perform updates, requirement of various hardware, … a brain teaser when you want to industrialise it!</p>



<p>To catch up with the market, we needed to find the best companies outside of OVHcloud to help us on this quest.</p>



<p>We found MongoDB Inc, providing not only a databases engine, but also high quality tools and support to help customers (and cloud providers like OVHcloud) to deploy, maintain and monitor large MongoDB infrastructures. From day one, it worked fast and (furiously) resilient by design.</p>



<h3 class="wp-block-heading" id="Blogpost1:AnnouncingPublicCloudDatabases!startingwithMongoDBthisweek-IntroducingMongoDBoffersthisweek,andrightnowit'sfree!">Introducing MongoDB offers this week, and right now it&#8217;s free!</h3>



<p>Yeah! Yay! Woohoo! We are thrilled to announce managed databases services in our public cloud, now with MongoDB! That&#8217;s really good news.</p>



<p>In just a few clicks (or 1 API call) <strong>you&#8217;ll have a managed MongoDB cluster with a Community or Enterprise licence, delivered in under 5 minutes.</strong> We are one of the few cloud providers worldwide to deliver official MongoDB software, not a fork, as a service.</p>



<p>We even created three service plans to aide you on your journey: Essential, Business and Critical. <a href="https://www.ovhcloud.com/en/public-cloud/mongodb/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Full details on the website</a>!</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://www.ovhcloud.com/en/public-cloud/mongodb/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer"><img loading="lazy" decoding="async" width="1024" height="486" src="https://www.ovh.com/blog/wp-content/uploads/2021/06/mongodb.ovhcloud.offers-1024x486.png" alt="" class="wp-image-20955" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/06/mongodb.ovhcloud.offers-1024x486.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/mongodb.ovhcloud.offers-300x142.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/mongodb.ovhcloud.offers-768x364.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/mongodb.ovhcloud.offers-1536x729.png 1536w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/mongodb.ovhcloud.offers.png 1652w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption>OVHcloud Public Cloud Databases &#8211; MongoDB plans</figcaption></figure></div>



<p>And you know what? It&#8217;s <strong>free</strong> during the Beta phase (100% free, excluding official support or SLA, not qualified for production). Just connect to our OVHcloud control panel and launch Essential or Business MongoDB clusters. Enterprises ones will be available shortly after, in July.</p>



<p>As an OVHcloud customer,<strong> you&#8217;ll be able to focus on your core business</strong>, and rely on us for all your database infrastructure and maintenance needs.</p>



<p>We will take care of the rest like setup, installation, security and then maintain these services operationally.</p>



<p>Don&#8217;t get me wrong: you&#8217;re still responsible for your own data and your queries. It&#8217;s not magic. But we&#8217;ll take care of the infrastructure part, <em>which is oh so nice.</em> We added extra features such as daily backup (archived in another geographical region), high availability (MongoDB replica set), and public or private network (vRack). We&#8217;ll have more features soon too! For example, observability tools are currently underway and in development.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="640" height="274" src="https://www.ovh.com/blog/wp-content/uploads/2021/06/mongodb.ovhcloud.gif" alt="" class="wp-image-20926"/></figure></div>



<p></p>



<h3 class="wp-block-heading" id="Blogpost1:AnnouncingPublicCloudDatabases!startingwithMongoDBthisweek-Butwhataboutotherdatabaseengines?">But what about other database engines?</h3>



<p><strong>MySql, PostgreSQL, Redis, Cassandra, M3db, Kafka, ElasticSearch</strong>,&nbsp; &#8230; How appealing does this list look!?&nbsp;😀</p>



<p>Even more good news! We&#8217;ve also teamed up with a pure player in the databases field as a technological partner for Public Cloud Databases and streaming tools. This means that MongoDB is not only a serious first step, but in a few short months we will add even more engines!</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849-1024x685.jpeg" alt=" MongoDB is not only a serious first step, but in a few short months we will add even more engines!" class="wp-image-22685" width="512" height="343" srcset="https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849-1024x685.jpeg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849-300x201.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849-768x514.jpeg 768w, https://blog.ovhcloud.com/wp-content/uploads/2021/06/IMG_0849.jpeg 1187w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<p>Their core-business is doing databases and they handle it like no one else. We will be able to catch up and provide to you, our customers, a much bigger and better Public Cloud portfolio. They will simplify industrialization and all the engine-related specifics.</p>



<p>Do not worry! We will come back here at the end of June to share our tips and tricks and lovely insight.</p>



<p>We really hope that you&#8217;ll enjoy this new adventure with OVHcloud. <strong>Try for yourself and please share your feedback on <a href="https://discord.gg/h5USbCaH66" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">OVHcloud Discord </a>#database-MongoDB!</strong></p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fannouncing-public-cloud-databases%2F&amp;action_name=Announcing%20Public%20Cloud%20Databases%21%20starting%20with%20MongoDB%20this%20week&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Another day in ProxySQL life: sharing is caring</title>
		<link>https://blog.ovhcloud.com/another-day-in-proxysql-life-sharing-is-caring/</link>
		
		<dc:creator><![CDATA[Fabien Bagard]]></dc:creator>
		<pubDate>Tue, 31 Mar 2020 13:31:33 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<guid isPermaLink="false">https://www.ovh.com/blog/?p=17216</guid>

					<description><![CDATA[This post is another part of our list of short posts pinpointing specific cases OVHcloud has dealt with, both preparing for and during the migration. Here, we tell a story of how sometimes, a little unexpected behaviour can lead to a bug fix in a software program used by millions of people around the world. [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fanother-day-in-proxysql-life-sharing-is-caring%2F&amp;action_name=Another%20day%20in%20ProxySQL%20life%3A%20sharing%20is%20caring&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p>This post is another part of our list of short posts pinpointing specific cases OVHcloud has dealt with, both preparing for and during the migration. Here, we tell a story of how sometimes, a little unexpected behaviour can lead to a bug fix in a software program used by millions of people around the world.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="537" src="https://www.ovh.com/blog/wp-content/uploads/2020/03/7C047A4D-C9B8-4CFC-8A6A-809E8FFC3D2D-1024x537.jpeg" alt="" class="wp-image-17752" srcset="https://blog.ovhcloud.com/wp-content/uploads/2020/03/7C047A4D-C9B8-4CFC-8A6A-809E8FFC3D2D-1024x537.jpeg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2020/03/7C047A4D-C9B8-4CFC-8A6A-809E8FFC3D2D-300x157.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2020/03/7C047A4D-C9B8-4CFC-8A6A-809E8FFC3D2D-768x403.jpeg 768w, https://blog.ovhcloud.com/wp-content/uploads/2020/03/7C047A4D-C9B8-4CFC-8A6A-809E8FFC3D2D.jpeg 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>In <a href="https://www.ovh.com/blog/migrate-datacentre-quiet-how-do-we-seamlessly-migrate-a-datacentre/" data-wpel-link="exclude">this post</a>, I explained how we had to push proxySQL past its limits.</p>



<p>Julien explained <a href="https://www.ovh.com/blog/a-day-in-the-life-of-a-proxysql-at-ovhcloud/" data-wpel-link="exclude">here</a> how difficult it can be to hijack pieces of a software program, and make it work for a very specific use case. One so specific that we just could not push it upstream, as we were breaking some assumptions on the base code (something like, &#8220;look, we don&#8217;t use this, maybe we can divert it, to make it match our use&#8221;).</p>



<p>But sometimes, as we dig deeper and deeper through lines of code, pushing the limits of open-source software programs further and further, we reach bugs.</p>



<p>Here are two real-life case where we had an unexpected behaviour from ProxySQL, resulting in a patch for MariaDB/MySQL.</p>



<h1 class="wp-block-heading" id="id-5thPost-Sharingiscaring-1.Theimportanceofquoting">1. The importance of quoting</h1>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Anunexpectedbehaviour">An unexpected behaviour</h2>



<p>When we first started using ProxySQL, we had an unexpected behaviour. ProxySQL used to hang. No warning, no precursor. A hang means that ProxySQL cannot process your requests, causing your websites to be unavailable as a result.</p>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Digging">Digging</h2>



<p>Sysadmins know that when in doubt, check the logs. That&#8217;s what we did, and we noticed this:</p>



<pre class="wp-block-preformatted">[ERROR] Detected a broken connection during SET NAMES on 192.168.59.272 , 3306 : 2019, Can't initialize character set (null) (path: compiled_in)</pre>



<p>So we took a closer look at the logs, tried to replicate the behaviour, and finally came across this:</p>



<pre class="wp-block-preformatted">ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary' at line 1</pre>



<p>This  is clearly an error returned from the MySQL server. As this log line was generated on the ProxySQL, it means the error was between our  ProxySQL and the MySQL server.</p>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Findinggold">Finding gold</h2>



<p>Julien worked hard — he read tonnes of logs, traced many PIDs, and tracked the problem down to <span style="text-decoration: underline">THE</span> triggering case — issuing this command:</p>



<pre class="wp-block-preformatted">set names binary COLLATE binary;</pre>



<p>A collation is a kind of rule-set for comparing strings. It can define, for example when sorting alphabetically, if <code>A</code> comes before <code>a</code>, if <code>é</code> should be treated as <code>e</code> or not, or where <code>œ</code> should be in the alphabet.</p>



<p>You can read more about it on <a href="https://mariadb.com/kb/en/character-set-and-collation-overview/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">MariaDB&#8217;s Knowledge Base</a>.<br></p>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-TheFix">The fix</h2>



<p>After submitting an issue on ProxySQL&#8217;s bug-tracker with what we discovered, and proposing a patch, the author of ProxySQL had a look and confirmed the bug.</p>



<p>While writing ProxySQL, <a href="https://www.proxysql.com/" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">René Cannaò</a> did what all developers do — he followed MariaDB&#8217;s connector documentation. And the bug was from here:</p>



<pre class="wp-block-preformatted">According to the documentation on SET NAMES syntax (<a href="https://dev.mysql.com/doc/refman/5.7/en/set-names.html" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">https://dev.mysql.com/doc/refman/5.7/en/set-names.html</a>) :

charset_name and collation_name may be quoted or unquoted

This doesn't seem true for "SET NAMES binary COLLATE binary" , that requires the collation name to be quoted.</pre>



<p>(<a href="https://bugs.mysql.com/bug.php?id=93692" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">https://bugs.mysql.com/bug.php?172id=93692</a>)</p>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Thebutterflyeffect">The butterfly effect</h2>



<p>So, from a hang on our infrastructure, we reported a bug to the project&#8217;s creator, who then traced it to a bug in a MariaDB connector, followed it up to its parent MySQL, and fixed it upstream. The bug was closed in early 2020.</p>



<p>In the meantime, we worked with Mr Cannaò to provide a workaround (basically forcing the collation name to be quoted in ProxySQL&#8217;s code).</p>



<p></p>



<h1 class="wp-block-heading" id="id-5thPost-Sharingiscaring-2.Whenfingersgetsentangled">2. When wires get crossed</h1>



<p>While writing this article, I remembered another <em>funny</em> bug. I decided to check this bug status, and noticed we never reported it. My mistake is now fixed.</p>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Anunexpectedbehaviour.1">An unexpected behaviour</h2>



<p>When using some real but exotic charsets on ProxySQL (we also love tricky scenarios, so we try to test them as much as possible), we had a  ProxySQL error, stating we were using an incorrect charset.</p>



<pre class="wp-block-preformatted">MySQL_Session.cpp:2964:handler(): [WARNING] Error during query on (42,192.168.59.272,3306): 1267, Illegal mix of collations (utf8_general_ci,IMPLICIT) and (dec8_swedish_ci,COERCIBLE) for operation '='</pre>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Digging.1">Digging</h2>



<p>Of course, first of all we checked that we were using a real and legit charset and associated collation. We double- and triple-checked that we  should be allowed to use `dec8_swedish_ci`.</p>



<p>We decided to have a look at the connector&#8217;s source code.</p>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Findinggold.1">Finding gold</h2>



<p>If you are curious about it, you can have a look at older versions of the `libmariadb/my_charset.c` code, starting from line 541. You will notice that `dec8_swedish_ci` is nowhere to be found. But if you look closely, you will notice  dec8_swedisch_ci. Dear friends from Sweden, you were not the only ones with a typo.</p>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-TheFix.1">The fix</h2>



<p>When fixing our issue with exotic charsets, we applied a custom patch on our custom build of ProxySQL. In the heat of the moment, we delayed the bug reporting.</p>



<p>We forked the <a href="https://github.com/mariadb-corporation" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">mariadb-corporation</a> /<strong> <a href="https://github.com/mariadb-corporation/mariadb-connector-c" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">mariadb-connector-c</a> </strong>GitHub repository, fixed some typos, and proposed a pull request — which was then merged mid-February.</p>



<h2 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Thebutterflyeffect.1">The butterfly effect</h2>



<p>Everyone is prone to typos, and making mistakes. We encountered some, they were fixed and ported for everyone.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="551" src="https://www.ovh.com/blog/wp-content/uploads/2020/03/C42AC630-51F1-4153-AC5E-6AC417DFA420-1024x551.jpeg" alt="" class="wp-image-17753" srcset="https://blog.ovhcloud.com/wp-content/uploads/2020/03/C42AC630-51F1-4153-AC5E-6AC417DFA420-1024x551.jpeg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2020/03/C42AC630-51F1-4153-AC5E-6AC417DFA420-300x161.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2020/03/C42AC630-51F1-4153-AC5E-6AC417DFA420-768x413.jpeg 768w, https://blog.ovhcloud.com/wp-content/uploads/2020/03/C42AC630-51F1-4153-AC5E-6AC417DFA420.jpeg 1270w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<h1 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Conclusion">Conclusion</h1>



<p>As a leading web hosting provider in Europe, we face the Law of truly large numbers (<a href="https://en.wikipedia.org/wiki/Law_of_truly_large_numbers" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer">https://en.wikipedia.org/wiki/Law_of_truly_large_numbers</a>). TL;DR: Each and every event with a non null occurring probability will happen.</p>



<p>We host more than 1.3 million websites. Let&#8217;s assume that 0.0001% of our customers can trigger one single specific bug — we have at least 1  customer who will trigger it. The question is not <em>if,</em> but <em>when</em> we will have to deal with it, and <em>how</em> to do so.</p>



<p>Wondering how we noticed that we had hit the Law of truly large numbers? Stay tuned, because we will write about this soon.</p>



<h1 class="wp-block-heading" id="id-5thPost-Sharingiscaring-Sharingiscaring">Sharing is caring</h1>



<p>OVHCloud loves open-source, and loves sharing. This is not the first time we contributed to the open-source world, and definitely not the last.</p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Fanother-day-in-proxysql-life-sharing-is-caring%2F&amp;action_name=Another%20day%20in%20ProxySQL%20life%3A%20sharing%20is%20caring&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
