Context To see more details about the code used and the results, see the code here. This laboratory is a hypothetical scenario, whether application does empty transactions in order to emulate sort of a DoS attack against the pools. The intention here, was to study the behavior of 2 very popuplar Postgres Pools in these cases. The main difference between both pools relies on how they use CPU resources. PgBouncer is a single-threaded services, whether Odyssey uses multiple and configurable workers.
Using parallel with multiple arguments The example case One of the projects I’ve been working on lately, is about building OCI images with distroless components. The amount of generated images is considerably high, counting as of today about 2k images pushed. Let’s say that they are layers instead of images by themselves, as there is a chain dependency to make a final functional image. The problem was how I could check the image information across the Github API.
My Personal Ergodox Layout for Colemak, QWERTY and Dvorak A few months ago, I bought the Ergodox OrthoLinear Split Keyboard. I found QWERTY layout a little uncomfortable to type in this keyboard, so I started the journey on searching for a better suitable keyboard layout. During a period of time, I switched back and forth between these three layouts, although I picked Colemak at the end. I really like Dvorak, but I’ve found that Colemak was better for me as I also use DAWs with a lot of shortcuts and other MacOs utilities.
To whom this article might interest This post has no intention to discuss what layout might be better in terms of efficiency, or effort. There are a considerable amount of great articles related to all the analisys across different layouts, and even tools for ingesting text and estimate the effort of typing the text for several layouts. You’ll find this article useful if you already decided to switch to Colemak, and make in the primary layout.

Open Labs

- 2 mins read

Series: [Labs]

Database Laboratories During the last years, I’ve been working on several open labs for Database trainings and webinars for OnGres and CanalDBA community. Some of these laboratories may look out-of-date, but they should commit their purpose for references and examples on how to setup them with few lines of code and with the most popular technologies. If you are willing to start with Ansible, Terraform, Docker and others for Databases, you may found this resources interesting for you.
Install minikube or similar Minikube curl -Lo minikube https://storage.googleapis.com/minikube/releases/v1.2.0/minikube-darwin-amd64 &&\ chmod +x minikube && sudo cp minikube /usr/local/bin/ && rm minikube Getting the token Access Kubernetes API Ansible k8s K8S_AUTH_API_KEY in environment. Getting facts with k8s_fact
Why sampling is important and what you need to be aware of? When dealing with very large amount of data, you probably want to run your queries only for a smaller dataset in your current tables. Specially if your dataset is not fitting in RAM. MergeTree is the first and more advanced engine on Clickhouse that you want to try. It supports indexing by Primary Key and it is mandatory to have a column of Date type (used for automatic partitioning).
Scope If you heard about Clickhouse and you are wondering how to test with your residing data in Redshift, here is a command that will show you a few tips to make you speed up. Update (July 4th): There is a serie of posts about Clickhouse vs Redshift comparisons, the first post is this one. The standard wat to move your data out of Redshift is by using UNLOAD command, which pushes the output into S3 files.
Concept In the current concept, we are going to combine Foreign tables inheritance with the postgres_fdw extension, both being already available features since 9.5 version. Cross-node partitioning allows a better data locality and a more scalable model than keeping local partitions. Being said, the data will be split into several nodes and organized using a particular key, which will determine in which shard data will be allocated. For the current POC, we are going to specify the shardKey , which is a simple char(2) type.