<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>MariaDb on Documentation</title>
    <link>/docs/dbaas/reference/products/mariadb/</link>
    <description>Recent content in MariaDb on Documentation</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="/docs/dbaas/reference/products/mariadb/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Backup</title>
      <link>/docs/dbaas/reference/products/mariadb/backup/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/dbaas/reference/products/mariadb/backup/</guid>
      <description>&lt;p&gt;Mariabackup is used to create backups.&lt;/p&gt;&#xA;&lt;p&gt;CCX backups the Primary server. In multi-primary setups the node with the highest &lt;code&gt;wsrep_local_index&lt;/code&gt; is elected.&lt;/p&gt;&#xA;&lt;p&gt;Backups are streamed directly to S3 staroge.&lt;/p&gt;&#xA;&lt;p&gt;Mariabackup blocks DDL operations during the backup using the &lt;code&gt;--lock-ddl&lt;/code&gt; flag.&#xA;Any attempt to &lt;code&gt;CREATE&lt;/code&gt;, &lt;code&gt;ALTER&lt;/code&gt;, &lt;code&gt;DROP&lt;/code&gt;, &lt;code&gt;TRUNCATE&lt;/code&gt; a table during backup creation will be locked with the status &lt;code&gt;Waiting for backup lock&lt;/code&gt; (see &lt;code&gt;SHOW FULL PROCESSLIST&lt;/code&gt;).&#xA;In this case, wait for the backup to finish and, perform the operation later.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Configuration</title>
      <link>/docs/dbaas/reference/products/mariadb/configuration/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/dbaas/reference/products/mariadb/configuration/</guid>
      <description>&lt;h2 id=&#34;max_connections&#34;&gt;max_connections&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;75 connections / GB of RAM.&lt;/li&gt;&#xA;&lt;li&gt;Example: 4GB of RAM yields 300 connections.&lt;/li&gt;&#xA;&lt;li&gt;This setting cannot be changed as it affects system stability.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;innodb-settings&#34;&gt;InnoDB settings&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;These setting cannot be changed as it affects system stability.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;innodb_buffer_pool_size&#34;&gt;innodb_buffer_pool_size&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;50% of RAM if total RAM is &amp;gt; 4GB&lt;/li&gt;&#xA;&lt;li&gt;25% of RAM if total RAM is &amp;lt;= 4GB&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;innodb_log_file_size&#34;&gt;innodb_log_file_size&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1024 MB if innodb_buffer_pool_size &amp;gt;= 8192MB&lt;/li&gt;&#xA;&lt;li&gt;512 MB if innodb_buffer_pool_size &amp;lt; 8192MB&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;innodb_buffer_pool_instances&#34;&gt;innodb_buffer_pool_instances&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;8&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;innodb-options&#34;&gt;InnoDB options&lt;/h3&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;variable_name&lt;/th&gt;&#xA;          &lt;th&gt;variable_value&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_buffer_pool_size&lt;/td&gt;&#xA;          &lt;td&gt;Depends on instance size&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_flush_log_at_trx_commit&lt;/td&gt;&#xA;          &lt;td&gt;2&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_file_per_table&lt;/td&gt;&#xA;          &lt;td&gt;1&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_data_file_path&lt;/td&gt;&#xA;          &lt;td&gt;Depends on instance&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_read_io_threads&lt;/td&gt;&#xA;          &lt;td&gt;4&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_write_io_threads&lt;/td&gt;&#xA;          &lt;td&gt;4&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_doublewrite&lt;/td&gt;&#xA;          &lt;td&gt;1&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_buffer_pool_instances&lt;/td&gt;&#xA;          &lt;td&gt;Depends on instance size&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_redo_log_capacity&lt;/td&gt;&#xA;          &lt;td&gt;8G&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_thread_concurrency&lt;/td&gt;&#xA;          &lt;td&gt;0&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_flush_method&lt;/td&gt;&#xA;          &lt;td&gt;O_DIRECT&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_autoinc_lock_mode&lt;/td&gt;&#xA;          &lt;td&gt;2&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;innodb_stats_on_metadata&lt;/td&gt;&#xA;          &lt;td&gt;0&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;default_storage_engine&lt;/td&gt;&#xA;          &lt;td&gt;innodb&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;h3 id=&#34;general-options&#34;&gt;General options&lt;/h3&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;variable_name&lt;/th&gt;&#xA;          &lt;th&gt;variable_value&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;tmp_table_size&lt;/td&gt;&#xA;          &lt;td&gt;64M&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;max_heap_table_size&lt;/td&gt;&#xA;          &lt;td&gt;64M&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;max_allowed_packet&lt;/td&gt;&#xA;          &lt;td&gt;1G&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;sort_buffer_size&lt;/td&gt;&#xA;          &lt;td&gt;256K&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;read_buffer_size&lt;/td&gt;&#xA;          &lt;td&gt;256K&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;read_rnd_buffer_size&lt;/td&gt;&#xA;          &lt;td&gt;512K&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;memlock&lt;/td&gt;&#xA;          &lt;td&gt;0&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;sysdate_is_now&lt;/td&gt;&#xA;          &lt;td&gt;1&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;max_connections&lt;/td&gt;&#xA;          &lt;td&gt;Depends on instance size&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;thread_cache_size&lt;/td&gt;&#xA;          &lt;td&gt;512&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;table_open_cache&lt;/td&gt;&#xA;          &lt;td&gt;4000&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;table_open_cache_instances&lt;/td&gt;&#xA;          &lt;td&gt;16&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;lower_case_table_names&lt;/td&gt;&#xA;          &lt;td&gt;0&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;h2 id=&#34;storage&#34;&gt;Storage&lt;/h2&gt;&#xA;&lt;h3 id=&#34;recommended-storage-size&#34;&gt;Recommended storage size&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We recommend a maximum of 100GB storage per GB of RAM.&lt;/li&gt;&#xA;&lt;li&gt;Example: 4GB of RAM yields 400GB of storage.&lt;/li&gt;&#xA;&lt;li&gt;The recommendation is not enforced by the CCX platform.&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Importing Data</title>
      <link>/docs/dbaas/reference/products/mariadb/importing-data/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/dbaas/reference/products/mariadb/importing-data/</guid>
      <description>&lt;p&gt;This procedure describes how to import data to a MariaDB datastore located in CCX.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The MariaDB Datastore on CCX is denoted as the &amp;lsquo;replica&amp;rsquo;&lt;/li&gt;&#xA;&lt;li&gt;The source of the data is denoted as the &amp;lsquo;source&amp;rsquo;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;note:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;If you do not want to setup replication, then you can chose to only apply the sections:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a database dump file&lt;/li&gt;&#xA;&lt;li&gt;Apply the dumpfile on the replica&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h3 id=&#34;limitations-of-mariadb&#34;&gt;Limitations of MariaDB&lt;/h3&gt;&#xA;&lt;p&gt;MariaDB does not offer as fine grained control over privileges as MySQL.&#xA;Nor does it have the same level of replication features.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Limitations</title>
      <link>/docs/dbaas/reference/products/mariadb/limitations/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/dbaas/reference/products/mariadb/limitations/</guid>
      <description>&lt;p&gt;Every product has limitations. Here is a list MariaDB limitations:&lt;/p&gt;&#xA;&lt;h2 id=&#34;permissions&#34;&gt;Permissions&lt;/h2&gt;&#xA;&lt;p&gt;The privilege system is not as flexible as in MySQL.&lt;/p&gt;&#xA;&lt;p&gt;The &amp;lsquo;ccxadmin&amp;rsquo; user has the following privileges:&lt;/p&gt;&#xA;&lt;h3 id=&#34;global--all-databases-&#34;&gt;Global / all databases (&lt;em&gt;.&lt;/em&gt;):&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CREATE USER, REPLICATION SLAVE, REPLICATION SLAVE ADMIN, SLAVE MONITOR&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;on-databases-created-from-ccx-the-admin-user-can-create-new-users-and-grant-privileges&#34;&gt;On databases created from CCX, the admin user can create new users and grant privileges:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ALL PRIVILEGES WITH GRANT OPTION&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This means that users can only create databases from the CCX UI. Once the database has been created from the CCX UI, then the ccxadmin user can create users and grant user privileges on the database using MariaDB CLI.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Overview</title>
      <link>/docs/dbaas/reference/products/mariadb/overview/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/dbaas/reference/products/mariadb/overview/</guid>
      <description>&lt;p&gt;CCX supports two types of MariaDB clustering:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;MariaDB Replication (Primary-replica configuration)x&lt;/li&gt;&#xA;&lt;li&gt;MariaDB Cluster (Multi-primary configuration)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;For general purpose applications we recommend using MariaDB Replication, and we only recommend to use MariaDB Cluster if you are migrating from an existing application that uses MariaDB Cluster.&lt;/p&gt;&#xA;&lt;p&gt;If you are new to MariaDB Cluster we stronly recommend to read about the &lt;a href=&#34;https://mariadb.com/kb/en/mariadb-galera-cluster-known-limitations/&#34;&gt; MariaDB Cluster 10.x limitations&lt;/a&gt; and &lt;a href=&#34;https://mariadb.com/kb/en/what-is-mariadb-galera-cluster/&#34;&gt;MariaDB Cluster Overview&lt;/a&gt; to understand if your application can benefit from MariaDB Cluster.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Restore</title>
      <link>/docs/dbaas/reference/products/mariadb/restore/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/dbaas/reference/products/mariadb/restore/</guid>
      <description>&lt;p&gt;There are two options to restore a backup:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Restore a backup on the existing datastore&lt;/li&gt;&#xA;&lt;li&gt;Restore a backup on a new datastore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Please note that restoring a backup may be a long running process.&lt;/p&gt;&#xA;&lt;p&gt;This option allows to restore a backup with point in time recovery.&#xA;The WAL logs are replayed until the desired PITR.&lt;/p&gt;&#xA;&lt;p&gt;Warning! Running several restores may change the timelines.&lt;/p&gt;&#xA;&lt;p&gt;This option allows to restore a backup on a new datastore.&#xA;This option does not currently support PITR.&lt;/p&gt;</description>
    </item>
    <item>
      <title>TLS Connection</title>
      <link>/docs/dbaas/reference/products/mariadb/tls-connection/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/dbaas/reference/products/mariadb/tls-connection/</guid>
      <description>&lt;h2 id=&#34;ssl-modes&#34;&gt;SSL Modes&lt;/h2&gt;&#xA;&lt;p&gt;CCX currently supports connections to MariaDB in two SSL modes:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;REQUIRED&lt;/code&gt;: This mode requires an SSL connection. If a client attempts to connect without SSL, the server rejects the connection.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;VERIFY_CA&lt;/code&gt;: This mode requires an SSL connection and the server must verify the client&amp;rsquo;s certificate against the CA certificates that it has.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;ca-certificate&#34;&gt;CA Certificate&lt;/h3&gt;&#xA;&lt;p&gt;The Certificate Authority (CA) certificate required for &lt;code&gt;VERIFY_CA&lt;/code&gt; mode can be downloaded from your datastore on CCX using an API call or through the user interface on page &lt;code&gt;https://{your_ccx_domain}/projects/default/data-stores/{datastore_id}/settings&lt;/code&gt;.&#xA;This certificate is used for the &lt;code&gt;VERIFY_CA&lt;/code&gt; SSL mode.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
