<?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>Replication &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/replication/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Fri, 24 Mar 2017 18:27:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>PostgreSQL: Difference between pg_log, pg_clog and pg_xlog log directories</title>
		<link>https://www.dbrnd.com/2016/12/postgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log/</link>
					<comments>https://www.dbrnd.com/2016/12/postgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 04 Dec 2016 14:29:42 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[binary log]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[pg_clog]]></category>
		<category><![CDATA[pg_log]]></category>
		<category><![CDATA[pg_xlog]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Point in time recovery]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[transaction log]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3979</guid>

					<description><![CDATA[In this post, I am sharing the basic purpose of pg_log, pg_clog and pg_xlog log directories in PostgreSQL. If you look into your PostgreSQL data directory, you can find a different type of log folders. pg_log: This is a default database logs like: error messages, executed query log, dead lock information, Postgers start/stop messages. First, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fpostgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log%2F&amp;linkname=PostgreSQL%3A%20Difference%20between%20pg_log%2C%20pg_clog%20and%20pg_xlog%20log%20directories" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fpostgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log%2F&amp;linkname=PostgreSQL%3A%20Difference%20between%20pg_log%2C%20pg_clog%20and%20pg_xlog%20log%20directories" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fpostgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log%2F&amp;linkname=PostgreSQL%3A%20Difference%20between%20pg_log%2C%20pg_clog%20and%20pg_xlog%20log%20directories" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fpostgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log%2F&amp;linkname=PostgreSQL%3A%20Difference%20between%20pg_log%2C%20pg_clog%20and%20pg_xlog%20log%20directories" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fpostgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log%2F&amp;linkname=PostgreSQL%3A%20Difference%20between%20pg_log%2C%20pg_clog%20and%20pg_xlog%20log%20directories" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fpostgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log%2F&amp;linkname=PostgreSQL%3A%20Difference%20between%20pg_log%2C%20pg_clog%20and%20pg_xlog%20log%20directories" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fpostgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log%2F&#038;title=PostgreSQL%3A%20Difference%20between%20pg_log%2C%20pg_clog%20and%20pg_xlog%20log%20directories" data-a2a-url="https://www.dbrnd.com/2016/12/postgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log/" data-a2a-title="PostgreSQL: Difference between pg_log, pg_clog and pg_xlog log directories"></a></p><p>In this post, I am sharing the basic purpose of pg_log, pg_clog and pg_xlog log directories in PostgreSQL. </p>
<p>If you look into your PostgreSQL data directory, you can find a different type of log folders. </p>
<p><strong>pg_log:</strong> </p>
<blockquote><p>This is a default database logs like: error messages, executed query log, dead lock information, Postgers start/stop messages.</p></blockquote>
<blockquote><p>First, you should look into this folder for any investigation. Most of the time we are getting an error because of bad queries or wrong configuration so in these cases we can find the important log messages from this folder. </p></blockquote>
<blockquote><p>You can also delete unwanted or old log files because It stores only database action related messages which are not critical for PostgreSQL Server.<br />
There are a few parameters in Postgres.conf file related to pg_log folder, you access below article for this. </p></blockquote>
<blockquote data-secret="nhEUfNZ4Cg" class="wp-embedded-content"><p><a href="https://www.dbrnd.com/2015/11/postgresql-important-parameters-to-enable-log-for-all-queries/">PostgreSQL: Important Parameters to enable Log for all Queries</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2015/11/postgresql-important-parameters-to-enable-log-for-all-queries/embed/#?secret=nhEUfNZ4Cg" data-secret="nhEUfNZ4Cg" width="600" height="338" title="&#8220;PostgreSQL: Important Parameters to enable Log for all Queries&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p><strong>pg_clog:</strong> </p>
<blockquote><p>We cannot read log files of this folder because it is for PostgreSQL internals. It contains logs for transaction metadata. PostgreSQL server access this folder to take the decision like which transaction completed or which did not. </p></blockquote>
<blockquote><p>This is critical log folder, you should never forget this folder during your pg_data directory backup. </p></blockquote>
<p><strong>pg_xlog:</strong> </p>
<blockquote><p>At all the times, PostgreSQL maintains a write-ahead log (WAL) in the pg_xlog/ subdirectory of the cluster&#8217;s data directory. The log records for every change made to the database&#8217;s data files. These log messages exists primarily for crash-safety purposes.</p></blockquote>
<blockquote><p>It contains the main binary transaction log data or binary log files. If you are planning for replication or Point in time Recovery, we can use this transaction log files. </p></blockquote>
<blockquote><p>We cannot delete this file. Otherwise, it causes a database corruption. The size of this folder would be greater than actual data so If you are dealing with massive database, 99% chance to face disk space related issues especially for the pg_xlog folder. </p></blockquote>
<blockquote><p>But don&#8217;t worry, There are multiple ways to optimize pg_xlog folder by removing old WAL files.</p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/12/postgresql-difference-between-pg_log-pg_clog-and-pg_xlog-log-directories-transaction-log-binary-log/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Database News: Now Uber switched from PostgreSQL to MySQL</title>
		<link>https://www.dbrnd.com/2016/12/database-news-now-uber-switched-from-postgresql-to-mysql/</link>
					<comments>https://www.dbrnd.com/2016/12/database-news-now-uber-switched-from-postgresql-to-mysql/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sat, 03 Dec 2016 07:31:56 +0000</pubDate>
				<category><![CDATA[Database Theory]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database concept]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[database standards]]></category>
		<category><![CDATA[database topic]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[RDBMS]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[Write]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3969</guid>

					<description><![CDATA[One of the Important news for Database Community. The UBER taxi number one company switched from PostgreSQL to MySQL. There are a few major reasons behind for this migration. As per the official document of UBER, they were facing a few notable issues with the PostgreSQL. Inefficient architecture for writes Inefficient data replication Issues with [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-news-now-uber-switched-from-postgresql-to-mysql%2F&amp;linkname=Database%20News%3A%20Now%20Uber%20switched%20from%20PostgreSQL%20to%20MySQL" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-news-now-uber-switched-from-postgresql-to-mysql%2F&amp;linkname=Database%20News%3A%20Now%20Uber%20switched%20from%20PostgreSQL%20to%20MySQL" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-news-now-uber-switched-from-postgresql-to-mysql%2F&amp;linkname=Database%20News%3A%20Now%20Uber%20switched%20from%20PostgreSQL%20to%20MySQL" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-news-now-uber-switched-from-postgresql-to-mysql%2F&amp;linkname=Database%20News%3A%20Now%20Uber%20switched%20from%20PostgreSQL%20to%20MySQL" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-news-now-uber-switched-from-postgresql-to-mysql%2F&amp;linkname=Database%20News%3A%20Now%20Uber%20switched%20from%20PostgreSQL%20to%20MySQL" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-news-now-uber-switched-from-postgresql-to-mysql%2F&amp;linkname=Database%20News%3A%20Now%20Uber%20switched%20from%20PostgreSQL%20to%20MySQL" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-news-now-uber-switched-from-postgresql-to-mysql%2F&#038;title=Database%20News%3A%20Now%20Uber%20switched%20from%20PostgreSQL%20to%20MySQL" data-a2a-url="https://www.dbrnd.com/2016/12/database-news-now-uber-switched-from-postgresql-to-mysql/" data-a2a-title="Database News: Now Uber switched from PostgreSQL to MySQL"></a></p><p>One of the Important news for Database Community.<br />
The UBER taxi number one company switched from PostgreSQL to MySQL.</p>
<p>There are a few major reasons behind for this migration.<br />
As per the official document of UBER, they were facing a few notable issues with the PostgreSQL.</p>
<ul>
<li>Inefficient architecture for writes</li>
<li>Inefficient data replication</li>
<li>Issues with table corruption</li>
<li>Poor replica MVCC support</li>
<li>Difficulty upgrading to newer releases</li>
</ul>
<blockquote><p>Here, I am sharing the official link on UBER database migration. I completely read this article and agree with it on a few of the topics.<br />
You guys must read carefully because we should understand the pros &amp; cons of any RDBMS.</p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/12/database-news-now-uber-switched-from-postgresql-to-mysql/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Database Theory: What is difference between MySQL and PostgreSQL?</title>
		<link>https://www.dbrnd.com/2016/12/database-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Thu, 01 Dec 2016 03:34:20 +0000</pubDate>
				<category><![CDATA[Database Theory]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[concurrency]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database concept]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[database standards]]></category>
		<category><![CDATA[database topic]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[innodb]]></category>
		<category><![CDATA[Multi version concurrency control]]></category>
		<category><![CDATA[MVCC]]></category>
		<category><![CDATA[MyISAM]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[RDBMS]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[security]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3960</guid>

					<description><![CDATA[As a database professional, I work with both databases on a regular basis, and I typically use all the features of both databases for design and implementation. I have got many replies to write about the core differences between PostgreSQL and MySQL. As innovation on these databases has progressed, each development community has actively made [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&#038;title=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" data-a2a-url="https://www.dbrnd.com/2016/12/database-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance/" data-a2a-title="Database Theory: What is difference between MySQL and PostgreSQL?"></a></p><p><em>As a database professional, I work with both databases on a regular basis, and I typically use all the features of   both databases for design and implementation.<br />
I have got many replies to write about the core differences between PostgreSQL and MySQL. </p>
<p>As innovation on these databases has progressed, each development community has actively made changes to address their respective sets of perceived disadvantages.<br />
The result that it has gotten more difficult to objectively determine which database is likely to be better suited for a given application. </em></p>
<blockquote><p>MySQL is controlled by Oracle, whereas Postgres is available under an open-source license from the PostgreSQL Global Development Group.</p></blockquote>
<blockquote><p>PostgreSQL is closer to the ANSI SQL standard, MySQL is closer to the ODBC standard.</p></blockquote>
<blockquote><p>One of the most notable differences between MySQL and PostgreSQL is the fact that you can’t do nested subqueries of subselects in MySQL. MySQL doesn’t support CTE, window functions, full outer joins and arrays. </p></blockquote>
<blockquote><p>Compare to PostgreSQL, MySQL has its own large user community and various type of materials.</p></blockquote>
<blockquote><p>MySQL uses nonstandard &#8216;#&#8217; to begin a comment line and PostgreSQL use &#8216;&#8211;&#8216; to begin a comment line.</p></blockquote>
<blockquote><p>MySQL provides different type of table storage engines like: InnoDB, MyIsam, Memory. PostgreSQL does not provide different type of table stroage engines.
</p></blockquote>
<blockquote><p>PostgreSQL is case-sensitive for string comparisons. The field &#8220;DbRnd&#8221; is not the same as the field &#8220;dbrnd&#8221;. This is a big change for many users from MySQL and other small database systems.</p></blockquote>
<blockquote><p>PostgreSQL has some nice features like: generate_series, custom aggregate functions, arrays etc. other hand MySQL has also some nice feature like: session variables in queries, FORCE INDEX, etc.</p></blockquote>
<blockquote><p>In PostgreSQL, when you are inside a transaction almost any operation can be undone. There are some irreversible operations (like creating or destroying a database or tablespace), but normal table modifications can be backed out by issuing a ROLLBACK via its Write-Ahead Log design.</p>
<p>MySQL doesn&#8217;t support any sort of rollback when using MyISAM. With InnoDB, the server has an implicit commit that occurs even if the normal auto-commit behavior is turned off. This means that any single table alteration or similar change is immediately committed.</p></blockquote>
<blockquote><p>Postgres obliterates MySQL in all manner of query-level goodness, and we can use Postgres for data mining and batch analytics databases, where we run lots of very large, hand-coded queries that can take advantage of Postgres’ advantages in join methods (MySQL only supports Nested Loop and Nested Loop over Index, while Postgres supports numerous methods), generally richer querying capabilities, and other good stuff like partial indexes can be used extensively.</p></blockquote>
<blockquote><p>PostgreSQL uses a robust locking model called MVCC that limits situations where individual clients interfere with each other. A short summary of the main benefit of MVCC would be &#8220;readers are never blocked by writers&#8221;.</p>
<p>MySQL&#8217;s InnoDB implements MVCC using a rollback segment and InnoDB databases supports all four SQL standard transaction isolation levels.
</p></blockquote>
<blockquote><p>PostgreSQL uses cost-based query optimization methods in order to get good performance for many different types of joins. Query costs are assessed based on planner statistics collected when tables are analyzed combined with adjustable planner costs and advanced features such as the Genetic Query Optimizer.</p>
<p>MySQL doesn&#8217;t have this level of sophistication in its planner, and the tunables for Controlling Query Optimizer Performance are crude. Developers instead do things like explicitly provide index hints to make sure joins are executed correctly.</p></blockquote>
<blockquote><p>PostgreSQL has different replication options than MySQL. MySQL has no point-in-time recovery.</p></blockquote>
<blockquote><p>One operation that PostgreSQL is known to be slow performing is doing a full count of rows in a table, typically using this SQL:</p>
<pre class="crayon-plain-tag">SELECT COUNT(*) FROM your_table_name;</pre> </p>
<p>The reason why this is slow is related to the MVCC implementation in PostgreSQL. The fact that multiple transactions can see different states of the data means that there can be no straightforward way for &#8220;COUNT(*)&#8221; to summarize data across the whole table; PostgreSQL must walk through all rows, in some sense.</p>
<p>In MySQL, MyISAM tables cache the row count information, making this type of count operation almost instant. But if you&#8217;re using InnoDB instead, this is no longer the case and on InnoDB can&#8217;t assume that a full row count will be fast.</p></blockquote>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
