<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.openstack.org/w/index.php?action=history&amp;feed=atom&amp;title=OpsGuide%2FDatabases</id>
		<title>OpsGuide/Databases - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.openstack.org/w/index.php?action=history&amp;feed=atom&amp;title=OpsGuide%2FDatabases"/>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=OpsGuide/Databases&amp;action=history"/>
		<updated>2026-07-10T05:01:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=OpsGuide/Databases&amp;diff=157917&amp;oldid=prev</id>
		<title>David.desrosiers: David.desrosiers moved page Databases to OpsGuide/Databases without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=OpsGuide/Databases&amp;diff=157917&amp;oldid=prev"/>
				<updated>2017-11-14T02:53:33Z</updated>
		
		<summary type="html">&lt;p&gt;David.desrosiers moved page &lt;a href=&quot;/w/index.php?title=Databases&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Databases (page does not exist)&quot;&gt;Databases&lt;/a&gt; to &lt;a href=&quot;/wiki/OpsGuide/Databases&quot; title=&quot;OpsGuide/Databases&quot;&gt;OpsGuide/Databases&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:53, 14 November 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>David.desrosiers</name></author>	</entry>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=OpsGuide/Databases&amp;diff=157857&amp;oldid=prev</id>
		<title>David.desrosiers: Created page with &quot;Almost all OpenStack components have an underlying database to store persistent information. Usually this database is MySQL. Normal MySQL administration is applicable to these...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=OpsGuide/Databases&amp;diff=157857&amp;oldid=prev"/>
				<updated>2017-11-13T20:11:56Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Almost all OpenStack components have an underlying database to store persistent information. Usually this database is MySQL. Normal MySQL administration is applicable to these...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Almost all OpenStack components have an underlying database to store persistent information. Usually this database is MySQL. Normal MySQL administration is applicable to these databases. OpenStack does not configure the databases out of the ordinary. Basic administration includes performance tweaking, high availability, backup, recovery, and repairing. For more information, see a standard MySQL administration guide.&lt;br /&gt;
&lt;br /&gt;
You can perform a couple of tricks with the database to either more quickly retrieve information or fix a data inconsistency error—for example, an instance was terminated, but the status was not updated in the database. These tricks are discussed throughout this book.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div id=&amp;quot;database-connectivity&amp;quot;&amp;gt; Database Connectivity&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Review the component’s configuration file to see how each OpenStack component accesses its corresponding database. Look for a &amp;lt;code&amp;gt;connection&amp;lt;/code&amp;gt; option. The following command uses &amp;lt;code&amp;gt;grep&amp;lt;/code&amp;gt; to display the SQL connection string for nova, glance, cinder, and keystone:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=shell style=&amp;quot;border:2px solid #ccc;&amp;quot;&amp;gt;&lt;br /&gt;
# grep -hE &amp;quot;connection ?=&amp;quot; \&lt;br /&gt;
  /etc/nova/nova.conf /etc/glance/glance-*.conf \&lt;br /&gt;
  /etc/cinder/cinder.conf /etc/keystone/keystone.conf \&lt;br /&gt;
  /etc/neutron/neutron.conf&lt;br /&gt;
connection = mysql+pymysql://nova:password@cloud.example.com/nova&lt;br /&gt;
connection = mysql+pymysql://glance:password@cloud.example.com/glance&lt;br /&gt;
connection = mysql+pymysql://glance:password@cloud.example.com/glance&lt;br /&gt;
connection = mysql+pymysql://cinder:password@cloud.example.com/cinder&lt;br /&gt;
connection = mysql+pymysql://keystone:password@cloud.example.com/keystone&lt;br /&gt;
connection = mysql+pymysql://neutron:password@cloud.example.com/neutron&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The connection strings take this format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mysql+pymysql:// &amp;lt;username&amp;gt; : &amp;lt;password&amp;gt; @ &amp;lt;hostname&amp;gt; / &amp;lt;database name&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
== &amp;lt;div id=&amp;quot;performance-and-optimizing&amp;quot;&amp;gt; Performance and Optimizing&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
As your cloud grows, MySQL is utilized more and more. If you suspect that MySQL might be becoming a bottleneck, you should start researching MySQL optimization. The MySQL manual has an entire section dedicated to this topic: [http://dev.mysql.com/doc/refman/5.5/en/optimize-overview.html Optimization Overview].&amp;amp;&lt;/div&gt;</summary>
		<author><name>David.desrosiers</name></author>	</entry>

	</feed>