<?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>The cPanel Admin &#187; roundcube</title>
	<atom:link href="http://www.thecpaneladmin.com/tag/roundcube/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thecpaneladmin.com</link>
	<description>We know stuff about cPanel.</description>
	<lastBuildDate>Mon, 21 Nov 2011 19:50:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Roundcube: MySQL or SQLite?</title>
		<link>http://www.thecpaneladmin.com/roundcube-mysql-or-sqlite/</link>
		<comments>http://www.thecpaneladmin.com/roundcube-mysql-or-sqlite/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 02:03:15 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[roundcube]]></category>
		<category><![CDATA[webmail]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=483</guid>
		<description><![CDATA[cPanel 11.25 introduces a new feature: The ability to have RoundCube use SQLite instead of MySQL. After benchmarking resource usage and performance, I&#8217;ve come to the conclusion that SQLite is definitely the best way to go for Roundcube. Having trouble making the decision? This article may help clear things up for you. Here are the [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/manually-upgrading-mysql/' rel='bookmark' title='Manually Upgrading MySQL'>Manually Upgrading MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/upgrading-downgrading-mysql/' rel='bookmark' title='Upgrading or Downgrading MySQL'>Upgrading or Downgrading MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-ssl-certificate-mysql/' rel='bookmark' title='Installing an SSL Certificate for MySQL'>Installing an SSL Certificate for MySQL</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>cPanel 11.25 introduces a new feature: The ability to have RoundCube use SQLite instead of MySQL.  After benchmarking resource usage and performance, I&#8217;ve come to the conclusion that SQLite is definitely the best way to go for Roundcube.  Having trouble making the decision?  This article may help clear things up for you.</p>
<p><span id="more-483"></span></p>
<p>Here are the pro&#8217;s for running Roundcube over SQLite:</p>
<ul>
<li>SQLite is <a href="http://www.sqlite.org/speed.html" target="_blank">generally faster</a> than MySQL</li>
<li>Since the SQLite databases are stored in user accounts, it&#8217;s accounted for in the user&#8217;s disk space usage</li>
<li>Roundcube PHP processes run as the user instead of cpanelroundcube, so it&#8217;s easier to identify problematic webmail users</li>
<li>It&#8217;s easier to restore Roundcube data from backups on a per-user basis</li>
<li>The numerous failures of InnoDB no longer &#8220;break&#8221; or affect the former single Roundcube database</li>
</ul>
<p>CPanel makes it very clear that this is an elective upgrade, meaning, Roundcube will still run over MySQL by default unless you run a conversion, which they state is a one-way process. It can also only be done on an entire server, not only for specific users. To run a server-wide conversion:</p>
<blockquote><p>/scripts/convert_roundcube_mysql2sqlite</p></blockquote>
<p>If you later need to convert specific users, run:</p>
<blockquote><p>/scripts/convert_roundcube_mysql2sqlite &lt;user&gt;</p></blockquote>
<p>*I highly recommend backing up your Roundcube database in case something goes amiss. While you can&#8217;t convert back to MySQL from SQLite data, you can &#8220;roll&#8221; back to the previous setup by restoring the Roundcube database and running <em>/usr/local/cpanel/bin/update-roundcube &#8211;force</em>. To back up your database:</p>
<blockquote><p>mysqldump &#8211;add-drop-table roundcube &gt; /root/roundcube.sql</p></blockquote>
<p>To restore:</p>
<blockquote><p>mysql roundcube &lt; /root/roundcube.sql</p></blockquote>
<p>The result is an individual SQLite database stored in each email account in <strong>/home/user/etc/domain.com/user.rcube.db</strong>. The database file for the cPanel account is <strong>/home/user/etc/domain.rcube.db</strong>.</p>
<p>The conversion process for most servers I tried this on was less than an hour &#8211; I&#8217;m estimating about 1 minute for every 60-80 users you have on a server. So if you have 1000 people on your server, the conversion could take up to 15 minutes. The speed of your server and its residual activity is also a factor.</p>
<p><strong>Additional Resources:</strong></p>
<p><a href="http://etwiki.cpanel.net/twiki/pub/AllDocumentation/ReleaseNotes/1125releasenotes.pdf" target="_blank">cPanel 11.25 Release Notes (PDF)</a></p>
<p><map name='google_ad_map_483_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/483?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_483_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=483&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Froundcube-mysql-or-sqlite%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=483&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/manually-upgrading-mysql/' rel='bookmark' title='Manually Upgrading MySQL'>Manually Upgrading MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/upgrading-downgrading-mysql/' rel='bookmark' title='Upgrading or Downgrading MySQL'>Upgrading or Downgrading MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-ssl-certificate-mysql/' rel='bookmark' title='Installing an SSL Certificate for MySQL'>Installing an SSL Certificate for MySQL</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/roundcube-mysql-or-sqlite/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

