<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Andrew's PostgreSQL blog - PGExperts</title>
    <link>http://people.planetpostgresql.org/andrew/</link>
    <description>My little place on the web...</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <pubDate>Fri, 12 Aug 2011 19:03:00 GMT</pubDate>

    <image>
        <url>http://people.planetpostgresql.org/andrew/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Andrew's PostgreSQL blog - PGExperts - My little place on the web...</title>
        <link>http://people.planetpostgresql.org/andrew/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Not a VPN substitute</title>
    <link>http://people.planetpostgresql.org/andrew/index.php?/archives/202-Not-a-VPN-substitute.html</link>
            <category>Misc</category>
            <category>PGExperts</category>
    
    <comments>http://people.planetpostgresql.org/andrew/index.php?/archives/202-Not-a-VPN-substitute.html#comments</comments>
    <wfw:comment>http://people.planetpostgresql.org/andrew/wfwcomment.php?cid=202</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://people.planetpostgresql.org/andrew/rss.php?version=2.0&amp;type=comments&amp;cid=202</wfw:commentRss>
    

    <author>nospam@example.com (Andrew Dunstan)</author>
    <content:encoded>
    Some businesses don&#039;t like to go to the bother and expense of installing and maintaining a VPN so that external consultants (or their own workers responding to emergencies in the middle of the night) can connect to machines inside their network. Instead, they like to use network meeting software to share the desktop of a machine inside their network which then talks to the server in question. Vendors of network meeting software actually promote this use as being superior to using a VPN. It isn&#039;t. It&#039;s slow as heck, horribly cumbersome, and ugly. You are dependent on the machine in question having the software you need. (They don&#039;t have pgadmin3 installed? Tough luck.)  The price in lost productivity is massive. &lt;br /&gt;
&lt;br /&gt;
Luckily, my most frequent clients don&#039;t go in for this nonsense. They use VPN software like OpenVPN, or products from vendors like Juniper or Cisco. When you combine that with things like sshfs, so you can use your favourite editor with your favourite settings, regardless of what rubbish the client might have available (I&#039;m looking at you, pico), this can become a big win.&lt;br /&gt;
&lt;br /&gt;
Working remotely can be hard. If you need external consultants you should plan for it, and expect to provide them with facilities that will enable them to give you the best service they can. I recently spent a week at a client site, and it wasn&#039;t until the last day that they approved network access for me, so I was totally disconnected, and reliant on the coffee shop  several floors down for even Internet access. It&#039;s hard to do your best in such circumstances, and although I did manage to get some big wins for them, I think I could have done much better if getting to their production machines had not been so difficult. 
    </content:encoded>

    <pubDate>Fri, 12 Aug 2011 22:03:00 +0300</pubDate>
    <guid isPermaLink="false">http://people.planetpostgresql.org/andrew/index.php?/archives/202-guid.html</guid>
    
</item>
<item>
    <title>Things fall together</title>
    <link>http://people.planetpostgresql.org/andrew/index.php?/archives/199-Things-fall-together.html</link>
            <category>PGExperts</category>
            <category>PostgreSQL</category>
    
    <comments>http://people.planetpostgresql.org/andrew/index.php?/archives/199-Things-fall-together.html#comments</comments>
    <wfw:comment>http://people.planetpostgresql.org/andrew/wfwcomment.php?cid=199</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://people.planetpostgresql.org/andrew/rss.php?version=2.0&amp;type=comments&amp;cid=199</wfw:commentRss>
    

    <author>nospam@example.com (Andrew Dunstan)</author>
    <content:encoded>
    (apologies to &lt;a href=&quot;http://www.potw.org/archive/potw351.html&quot;&gt;W.B.Yeats&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
The other day Hubert Lubaczewski  (a.k.a. depesz) &lt;a href=&quot;http://www.depesz.com/index.php/2011/07/06/bloat-happens/&quot;&gt;blogged&lt;/a&gt; about &lt;a href=&quot;&quot;&gt;pg_reorg&lt;/a&gt;.  My &lt;a href=&quot;http://www.pgexperts.com/&quot;&gt;PostgreSQL Experts Inc.&lt;/a&gt; colleagues have been using it too, and they also like it. This is a utility to perform a cluster operation, i.e reorganize the table, but without requiring an exclusive lock on the table all the time it&#039;s running. That means many users who can not use CLUSTER at all today will be able to get the benefit, and many who only can use it at times of scheduled outages will be able to perform this operation much more frequently. That&#039;s a huge win.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve been playing with it and it seems to be everything it&#039;s promised to be. &lt;br /&gt;
&lt;br /&gt;
I dropped a note to Itagaki Takahiro a day or so ago asking him about making an updated release, and he quickly responded by releasing &lt;a href=&quot;http://pgfoundry.org/frs/shownotes.php?release_id=1873&quot;&gt;version 1.1.7&lt;/a&gt;, which contains a fix for the &quot;dropped columns&quot; problem. Many thanks to him for that.&lt;br /&gt;
&lt;br /&gt;
There are one or two things that could be improved. For example, I&#039;d like to see it able to fall back to the Primary Key if there is no clustered index, in effect performing &quot;ALTER TABLE foo CLUSTER ON pkindex&quot; for every affected table that has a primary key but no clustered index. Since it needs a short exclusive lock on the table in  order to install the trigger at the start of operations on the table, this should impose no additional lock burden.  In the mean time I&#039;ve cooked up a quick &lt;a href=&quot;https://gist.github.com/1130555&quot;&gt;recipe published on github&lt;/a&gt; to do the job.&lt;br /&gt;
&lt;br /&gt;
Also, I&#039;m a bit concerned about the fact that when it needs to swap the new table into place it will start cancelling queries and backends with conflicting locks. I&#039;d like to see options for it to back off and retry, or fail, if it can&#039;t get the lock at the end. I haven&#039;t looked into it, so that might not be possible. But if it&#039;s not, users will still need to be very careful about when they run it if they might encounter long-running conflicting operations.&lt;br /&gt;
&lt;br /&gt;
All in all, though, I can tell I&#039;m going to find this very useful. Kudos to the authors for a clever piece of work. 
    </content:encoded>

    <pubDate>Sun, 07 Aug 2011 20:17:32 +0300</pubDate>
    <guid isPermaLink="false">http://people.planetpostgresql.org/andrew/index.php?/archives/199-guid.html</guid>
    
</item>
<item>
    <title>Who pays the piper?</title>
    <link>http://people.planetpostgresql.org/andrew/index.php?/archives/159-Who-pays-the-piper.html</link>
            <category>PGExperts</category>
            <category>PostgreSQL</category>
    
    <comments>http://people.planetpostgresql.org/andrew/index.php?/archives/159-Who-pays-the-piper.html#comments</comments>
    <wfw:comment>http://people.planetpostgresql.org/andrew/wfwcomment.php?cid=159</wfw:comment>

    <slash:comments>8</slash:comments>
    <wfw:commentRss>http://people.planetpostgresql.org/andrew/rss.php?version=2.0&amp;type=comments&amp;cid=159</wfw:commentRss>
    

    <author>nospam@example.com (Andrew Dunstan)</author>
    <content:encoded>
    I was wondering idly today about who pays for community work on PostgreSQL. In particular, who pays for work done reviewing and committing other people&#039;s work. I know Bruce, Heikki and Robert are employed by EnterpriseDB, Tom by RedHat and Alvarro by CommandPrompt, and I assume  at least some of the time they spend working on this is funded by their employers. I don&#039;t know about others, I guess they can speak for themselves. I don&#039;t receive any direct funding for Postgres community work. I have in the past received sponsorship for specific features, such as parallel pg_restore and extensible enums, but that doesn&#039;t cover time spent on day to day work, or even quite large items such as last year&#039;s plperl security fixes, which consumed a huge amount of time. &lt;br /&gt;
&lt;br /&gt;
It could be argued that this is a cost of doing business. I earn my daily bread by working with Postgres, and most or all of my customers come through that connection.  That includes PostgreSQL Experts Inc clients. But I could probably drop all or almost all my unpaid community work and not suffer a serious decline in business. I&#039;m not going to, but I wouldn&#039;t suffer a lot professionally if I did. &lt;br /&gt;
&lt;br /&gt;
I don&#039;t have any grand conclusions out of this. But thoughts like this do come to me every commitfest, when I feel I should be doing more. I will probably pick up three or four more items from the commitfest queue during the next week. But how much I do will be governed by how much time I can snatch from other, paying, activities.  
    </content:encoded>

    <pubDate>Tue, 08 Feb 2011 18:25:00 +0200</pubDate>
    <guid isPermaLink="false">http://people.planetpostgresql.org/andrew/index.php?/archives/159-guid.html</guid>
    
</item>
<item>
    <title>PostgreSQL Experts Inc.</title>
    <link>http://people.planetpostgresql.org/andrew/index.php?/archives/16-PostgreSQL-Experts-Inc..html</link>
            <category>Dunslane Consulting</category>
            <category>PGExperts</category>
    
    <comments>http://people.planetpostgresql.org/andrew/index.php?/archives/16-PostgreSQL-Experts-Inc..html#comments</comments>
    <wfw:comment>http://people.planetpostgresql.org/andrew/wfwcomment.php?cid=16</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://people.planetpostgresql.org/andrew/rss.php?version=2.0&amp;type=comments&amp;cid=16</wfw:commentRss>
    

    <author>nospam@example.com (Andrew Dunstan)</author>
    <content:encoded>
    When I left the hedge fund I was working for a couple of years ago (boy, does that look like a good decision now), I decided not to seek full time employment any more but rather to try my hand at consulting, concentrating on PostgreSQL work. I formed a company &lt;a href=&quot;http://www.dunslane.net&quot; title=&quot;Dunslane Cnnsulting LLC&quot;&gt;Dunslane Consulting LLC&lt;/a&gt; and made my availability known to a few people. Since then I have managed to keep pretty steadily in work, without much effort. I&#039;ve not had to go looking for work - it has tended to find me at just the right times. &lt;br /&gt;
&lt;br /&gt;
However, the things you can do as a single consultant are limited. Some engagements require a number of roles, and for that I am often either technically or temperamentally unsuited (I have sworn never to work on a GUI again, nor on release management.) That&#039;s where &lt;a href=&quot;http://www.pgexperts.com&quot; title=&quot;PostgreSQL Experts&quot;&gt;PostgreSQL Experts Inc&lt;/a&gt; comes in. A number of people have got together to form this company, which is aimed at providing  full service to PostgreSQL users, from setup to tuning to administration to application development. We have some people who are pretty well known in the PostgreSQL community, including Josh Berkus, our CEO, and David Wheeler and David Fetter, as well as your humble blogger, so we believe that potential customers will have confidence that they are getting the best when they come to us. Hence our name &lt;img src=&quot;http://people.planetpostgresql.org/andrew/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Feel free to call me or Josh or any of our other consultants if you need more information. Or check us out at &lt;a href=&quot;http://www.pgcon.org&quot; title=&quot;pgCon&quot;&gt;pgCon&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 07 May 2009 01:42:47 +0300</pubDate>
    <guid isPermaLink="false">http://people.planetpostgresql.org/andrew/index.php?/archives/16-guid.html</guid>
    
</item>

</channel>
</rss>