<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>In-Memory - Tag - My Notes</title><link>https://blog.emecas.net/tags/in-memory/</link><description>In-Memory - Tag - My Notes</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 27 Jul 2020 20:56:10 -0400</lastBuildDate><atom:link href="https://blog.emecas.net/tags/in-memory/" rel="self" type="application/rss+xml"/><item><title>postgresql in-memory</title><link>https://blog.emecas.net/posts/2020-07-27-postgresql-in-memory/</link><pubDate>Mon, 27 Jul 2020 20:56:10 -0400</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2020-07-27-postgresql-in-memory/</guid><description><![CDATA[<p>Approaches to Achieve in-Memory Table Storage with PostgreSQL Pluggable API<br>
<a href="https://www.highgo.ca/2020/07/24/approaches-to-achieve-in-memory-table-storage-with-postgresql-pluggable-api" target="_blank" rel="noopener noreffer ">https://www.highgo.ca/2020/07/24/approaches-to-achieve-in-memory-table-storage-with-postgresql-pluggable-api</a><br>
1. Introduction<br>
Recently, I have had an opportunity to perform some in-depth feasibility study in-memory table using PostgreSQL’s pluggable storage API. The pluggable storage API was introduced Since PostgreSQL v12 and it allowed custom table storage Access Methods (AM for short) to be developed. Some famous examples include zheap from EDB, which aims to store a much more simplified tuple structure to achieve vacuum free storage and zedstore from Greenplum to utilize columnar storage. But they do not utilize in-memory storage and still interacts with existing buffer manager to persist data to disk.<br>
Yes, it would be nice to have in-memory tables if they would perform faster. It would definitely be a very interesting challenge if we could achieve an in-memory table storage engine and design it in a way that will give serious performance advantages using the existing pluggable storage API architecture.<br>
Developing a custom storage AM is no easy task and it requires a very deep understanding on how the current PostgreSQL storage engine works before we are able to improve it. In addition to redefining the tuple structure and custom algorithms to store and retrieve, it is also possible to define our own in-memory based storage module to handle the insertion and retrieval of tuple instead of utilizing the same buffer manager routines like what heap, zheap and zedstore access methods are using.<br>
In this blog, I will briefly talk about the capability of pluggable storage API and share some progress on our in-memory table analysis</p>]]></description></item><item><title>Python API</title><link>https://blog.emecas.net/posts/2020-03-25-python-api/</link><pubDate>Wed, 25 Mar 2020 01:13:51 +0000</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2020-03-25-python-api/</guid><description><![CDATA[<p>Python API<br>
☐ Using an in-memory data base : <a href="https://stackoverflow.com/a/38676728/833336" target="_blank" rel="noopener noreffer ">https://stackoverflow.com/a/38676728/833336</a></p>
<p>Issue #39 in emecas/commitit, open, opened on 2020-03-25. Labels: EPIC.<br>
<a href="https://github.com/emecas/commitit/issues/39" target="_blank" rel="noopener noreffer ">https://github.com/emecas/commitit/issues/39</a></p>
<hr>
<p><em>Source: issue <a href="https://github.com/emecas/commitit/issues/39" target="_blank" rel="noopener noreffer ">#39</a> in emecas/commitit, opened on 2020-03-25.</em></p>]]></description></item><item><title>dflib/dflib</title><link>https://blog.emecas.net/posts/2019-12-23-dflib-dflib/</link><pubDate>Mon, 23 Dec 2019 13:26:53 +0000</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2019-12-23-dflib-dflib/</guid><description><![CDATA[<p>dflib/dflib<br>
In-memory Java DataFrame library<br>
Java repository by dflib, created in 2019, with 326 stars and 31 forks. License: Apache-2.0. Starred on 2019-12-23.<br>
Homepage: <a href="https://dflib.org" target="_blank" rel="noopener noreffer ">https://dflib.org</a><br>
<a href="https://github.com/dflib/dflib" target="_blank" rel="noopener noreffer ">https://github.com/dflib/dflib</a></p>
<hr>
<p><em>Source: starred on GitHub on 2019-12-23: <a href="https://github.com/dflib/dflib" target="_blank" rel="noopener noreffer ">dflib/dflib</a>.</em></p>]]></description></item><item><title>Spring Boot and H2 in memory database</title><link>https://blog.emecas.net/posts/2018-12-18-spring-boot-and-h2-in-memory-database/</link><pubDate>Tue, 18 Dec 2018 13:47:00 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2018-12-18-spring-boot-and-h2-in-memory-database/</guid><description><![CDATA[<p>Spring Boot and H2 in memory database - Why, What and How?<br>
<a href="http://www.springboottutorial.com/spring-boot-and-h2-in-memory-database" target="_blank" rel="noopener noreffer ">http://www.springboottutorial.com/spring-boot-and-h2-in-memory-database</a><br>
This guide will help you understand the concept of in memory database. We will look at simple JPA example to understand the best practices in using in memory databases.<br>
You will learn</p>
<p>What is an in memory database?<br>
Why do you use an in memory database?<br>
What are the best practices in using an in memory database?<br>
How to connect a Spring Boot project to H2?</p>]]></description></item></channel></rss>