<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>PgMex Blog</title>
    <description>PostgreSQL-Matlab connectivity</description>
    <link>https://alliedtesting.github.io/pgmex-blog</link>
    <atom:link href="https://alliedtesting.github.io/pgmex-blog/feed.xml" rel="self" type="application/rss+xml" />
    
      <item>
        <title>The new version of PgMex brings support for Matlab 2020a and PostgreSQL 12 along with performance improvements</title>
        <description>
          
          &lt;p&gt;We are happy to announce the new release of PgMex 1.2.0!&lt;/p&gt;

&lt;h3 id=&quot;major-changes&quot;&gt;Major changes:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;added support for Matlab 2019a-2020a and Postgres up to version 12.2&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;performance-improvements&quot;&gt;Performance improvements:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;improved stability and performance of batchParamExec&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;fixed bug in batchParamExec when values of scalar types represented in Matlab by strings (numeric, varchar, text, bpchar, name, xml, json) for several tuples are passed as a 2D char matrix with strings stacked up one above the other (this format is possible in the case all these strings are of equal length)&lt;/li&gt;
  &lt;li&gt;fixed bug in batchParamExec when SIsValueNull is passed while SIsNull is empty&lt;/li&gt;
&lt;/ul&gt;


          
        </description>
        <pubDate>Mon, 18 May 2020 17:58:00 +0300</pubDate>
        <link>https://alliedtesting.github.io/pgmex-blog/2020/05/18/new-release-1-2/</link>
        <guid isPermaLink="true">https://alliedtesting.github.io/pgmex-blog/2020/05/18/new-release-1-2/</guid>
      </item>
    
      <item>
        <title>Free academic licenses for PgMex</title>
        <description>
          
          &lt;p&gt;We are happy to announce that, starting August 2018, academic licenses for &lt;a href=&quot;http://pgmex.alliedtesting.com&quot;&gt;&lt;strong&gt;PgMex&lt;/strong&gt;&lt;/a&gt;
(high-performance PostgreSQL client library for Matlab) will be free for full-time educational institutions (universities
and colleges)!&lt;/p&gt;

&lt;p&gt;The free academic licenses can be obtained by submitting a form with your full name, an academic institution and a valid
institution e-mail here: &lt;a href=&quot;http://pgmex.alliedtesting.com/#academic-license&quot;&gt;http://pgmex.alliedtesting.com/#academic-license&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Please note that &lt;a href=&quot;http://pgmex.alliedtesting.com&quot;&gt;&lt;strong&gt;PgMex&lt;/strong&gt;&lt;/a&gt; academic licenses are provided “as-is” and without full
support, but with acceptance of bug reports. With your academic license we offer six months of free updates.&lt;/p&gt;

&lt;p&gt;For more information visit the &lt;strong&gt;PgMex&lt;/strong&gt; website at: &lt;a href=&quot;http://pgmex.alliedtesting.com&quot;&gt;http://pgmex.alliedtesting.com&lt;/a&gt;.&lt;/p&gt;

          
        </description>
        <pubDate>Fri, 03 Aug 2018 01:20:31 +0300</pubDate>
        <link>https://alliedtesting.github.io/pgmex-blog/2018/08/03/free-academic-licenses-for-pgmex/</link>
        <guid isPermaLink="true">https://alliedtesting.github.io/pgmex-blog/2018/08/03/free-academic-licenses-for-pgmex/</guid>
      </item>
    
      <item>
        <title>Performance comparison of Postgres connectors in Matlab, Part 3: retrieving arrays</title>
        <description>
          
          &lt;p&gt;In this paper we continue the investigation of &lt;strong&gt;PostgreSQL&lt;/strong&gt; connectors in Matlab started
in &lt;a href=&quot;https://alliedtesting.github.io/pgmex-blog/2017/06/29/performance-comparison-of-postgresql-connectors-in-matlab-part-I/&quot;&gt;Part I&lt;/a&gt;
and &lt;a href=&quot;https://alliedtesting.github.io/pgmex-blog/2017/09/29/performance-comparison-of-postgresql-connectors-in-matlab-part-II/&quot;&gt;Part II&lt;/a&gt;.
In the latter paper we compared the performance of data retrieval from &lt;strong&gt;PostgreSQL&lt;/strong&gt; for the case all the fields to be retrieved
having scalar types. Compared were two connectors. The first one was &lt;strong&gt;Matlab Database Toolbox&lt;/strong&gt; (working with &lt;strong&gt;PostgreSQL&lt;/strong&gt; via
a direct JDBC connection). The second connector is &lt;a href=&quot;http://pgmex.alliedtesting.com&quot;&gt;&lt;strong&gt;PgMex library&lt;/strong&gt;&lt;/a&gt; 
(providing a connection to &lt;strong&gt;PostgreSQL&lt;/strong&gt; via libpq library). Here we consider retrieving of data containing values of
&lt;a href=&quot;https://www.postgresql.org/docs/9.6/static/arrays.html&quot;&gt;&lt;strong&gt;array types&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;


          
            <a href="https://alliedtesting.github.io/pgmex-blog/2017/10/18/performance-comparison-of-postgres-connectors-in-matlab-part-3/">[Read More]</a>
          
        </description>
        <pubDate>Wed, 18 Oct 2017 19:14:27 +0300</pubDate>
        <link>https://alliedtesting.github.io/pgmex-blog/2017/10/18/performance-comparison-of-postgres-connectors-in-matlab-part-3/</link>
        <guid isPermaLink="true">https://alliedtesting.github.io/pgmex-blog/2017/10/18/performance-comparison-of-postgres-connectors-in-matlab-part-3/</guid>
      </item>
    
      <item>
        <title>Performance comparison of PostgreSQL connectors in Matlab, Part II: retrieving scalar data</title>
        <description>
          
          &lt;p&gt;In &lt;a href=&quot;https://alliedtesting.github.io/pgmex-blog/2017/06/29/performance-comparison-of-postgresql-connectors-in-matlab-part-I/&quot;&gt;Part I&lt;/a&gt;
of this paper we started our investigation of &lt;strong&gt;PostgreSQL&lt;/strong&gt; connectors in Matlab. Namely, we compared the performance of different approaches to insert data into the &lt;strong&gt;PostgreSQL&lt;/strong&gt; database. Some of those approaches are based on using &lt;strong&gt;Matlab Database Toolbox&lt;/strong&gt; (working with &lt;strong&gt;PosgteSQL&lt;/strong&gt;
via a direct JDBC connection). Other ones are based on &lt;a href=&quot;http://pgmex.alliedtesting.com&quot;&gt;&lt;strong&gt;PgMex library&lt;/strong&gt;&lt;/a&gt; 
(providing a connection to &lt;strong&gt;PostgreSQL&lt;/strong&gt; via libpq library). Here we continue the comparison of &lt;strong&gt;Matlab Database Toolbox&lt;/strong&gt; and
&lt;a href=&quot;http://pgmex.alliedtesting.com&quot;&gt;&lt;strong&gt;PgMex library&lt;/strong&gt;&lt;/a&gt; considering data retrieval.
The given part of this paper covers retrieving only in the most simple case of scalar data, both of numeric and non-numeric
types.&lt;/p&gt;

&lt;p&gt;In the performance benchmarks below we use the same data that was used in the previous article for data insertion benchmarks. As was mentioned previously,
this data is based on daily prices of real stocks on some exchanges. Given the nature of such a financial data it is quite easy to image a few real-world
scenarios where a possibility to retrieve this data in a large amounts very quickly is very important. Below we reveal some latent
restrictions (concerning both performance, volumes and type of data to be processed) that do not allow our development team to use &lt;strong&gt;Matlab Database
Toolbox&lt;/strong&gt; in such scenarios. An alternative solution, &lt;a href=&quot;http://pgmex.alliedtesting.com&quot;&gt;&lt;strong&gt;PgMex library&lt;/strong&gt;&lt;/a&gt;,
was developed by our team to overcome these restrictions and to allow us to efficiently solve financial data processing problems.&lt;/p&gt;


          
            <a href="https://alliedtesting.github.io/pgmex-blog/2017/09/29/performance-comparison-of-postgresql-connectors-in-matlab-part-II/">[Read More]</a>
          
        </description>
        <pubDate>Fri, 29 Sep 2017 15:37:13 +0300</pubDate>
        <link>https://alliedtesting.github.io/pgmex-blog/2017/09/29/performance-comparison-of-postgresql-connectors-in-matlab-part-II/</link>
        <guid isPermaLink="true">https://alliedtesting.github.io/pgmex-blog/2017/09/29/performance-comparison-of-postgresql-connectors-in-matlab-part-II/</guid>
      </item>
    
      <item>
        <title>Performance comparison of PostgreSQL connectors in Matlab, Part I: inserting data</title>
        <description>
          
          &lt;p&gt;We actively develop software related to financial modelling and risk estimation. Most of model prototypes basing on data mining, machine learning, quantitative analysis we develop as well as certain parts of production code (thanks for JIT compilation and rich visualization capabilities) are implemented in Matlab.&lt;/p&gt;

&lt;p&gt;And naturally we always face the need to process huge amounts of financial data. Data processing usually generates even more data that needs to be stored somewhere in a persistent and consistent manner. There are many ways to achieve that, but for us the most reasonable choice is to use a relational
database server.&lt;/p&gt;


          
            <a href="https://alliedtesting.github.io/pgmex-blog/2017/06/29/performance-comparison-of-postgresql-connectors-in-matlab-part-I/">[Read More]</a>
          
        </description>
        <pubDate>Thu, 29 Jun 2017 10:48:23 +0300</pubDate>
        <link>https://alliedtesting.github.io/pgmex-blog/2017/06/29/performance-comparison-of-postgresql-connectors-in-matlab-part-I/</link>
        <guid isPermaLink="true">https://alliedtesting.github.io/pgmex-blog/2017/06/29/performance-comparison-of-postgresql-connectors-in-matlab-part-I/</guid>
      </item>
    
  </channel>
</rss>
