Friday, June 15, 2018
Rachel Mushahwar at Intel Talks About the Partnership with AWS Public Sector
BigQuery vs Redshift: Pricing Strategy
In this article, we’re going to break down BigQuery vs Redshift pricing structures and see how they work in detail.
You can also join a free webinar on managing BigQuery performance and costs.
Thursday, June 14, 2018
Configuring Memory for Postgres
work_mem is perhaps the most confusing setting within Postgres. work_mem is a configuration within Postgres that determines how much memory can be used during certain operations. At its surface, the work_mem setting seems simple: after all, work_mem just specifies the amount of memory available to be used by internal sort operations and hash tables before writing data to disk. And yet, leaving work_mem unconfigured can bring on a host of issues. What perhaps is more troubling, though, is when you receive an out of memory error on your database and you jump in to tune work_mem, only for it to behave in an un-intuitive manner.
Setting Your Default MemoryThe work_mem value defaults to 4MB in Postgres, and that’s likely a bit low. This means that per Postgres, activity (each join, some sorts, etc.) can consume 4MB before it starts spilling to disk. When Postgres starts writing temp files to disk, obviously things will be much slower than in memory. You can find out if you’re spilling to disk by searching for temporary file within your PostgreSQL logs when you have log_temp_files enabled. If you see temporary file, it can be worth increasing your work_mem.
Reviewing the Bleve Search Library
Bleve is a Go search engine library, and that means that it hits a few good points with me. It is interesting, it is familiar ground, and it is in a language that I’m not too familiar with, so that is a great chance to learn some more.
I reviewed revision: 298302a511a184dbab2c401e2005c1ce9589a001
Rehost or Rearchitect - Understanding the Why and How of Very Different Paths to Cloud Success
Wednesday, June 13, 2018
Virtual Log Files: 200 or 1000?
Last week, I had the privilege of reviewing possibly the best SQL Server production environment I've seen in Canada. During the follow-up meeting, the senior DBA and I had a discussion about Virtual Log Files (VLFs), disagreeing on the maximum number of Virtual Log Files a transaction log should have. I said 200, and he said 1000.
Both numbers are arbitrary, so let's explore why VLFs exist and why we might prefer one over the other.
Tuesday, June 12, 2018
Getting Enterprise Features to Your MongoDB Community Edition
Many of us need MongoDB Enterprise Edition but might be short of resources or would like to compare the value.
I have summarized several key features of MongoDB Enterprise Edition and their alternatives:
Monday, June 11, 2018
jOOQ 3.11 Released With 4 New Databases, Implicit Joins, Diagnostics, and Much More
Today, jOOQ 3.11 has been released with support for 4 new databases, implicit joins, diagnostics, and much more
New Databases SupportedAt last, 4 new SQL dialects have been added to jOOQ! These are:
Sunday, June 10, 2018
Spring Boot + CockroachDB in Kubernetes/OpenShift
In my previous post, I showed why CockroachDB might help you if you need a cloud-native SQL database for your application. I explained how to install it in Kubernetes/OpenShift and how to validate that the data is replicated correctly.
In this post, I am going to show you how to use Cockroach DB in a Spring Boot application. Notice that Cockroach DB is compatible with PostgresSQL driver, so in terms of configuration, it is almost the same.
Saturday, June 09, 2018
Where Less Is More But You Still Pay Less: Hosting Your Database on a Raspberry Pi
Is there such a thing as too much performance? No way! You can never have too much of a good thing.
But what happens when your database software is so fast that it hits the limits of your hardware? Even if your database has the ability double its performance, the nuts and bolts of what it’s running on simply can’t support it. It’s kind of like Scotty screaming at you, “You’ve got to cut power to the warp drive, the ship is breaking up!”
Friday, June 08, 2018
Consistency in Databases
How will you know if a database is strong or eventual consistent?
The RulesR + W > N
Fun With SQL: Functions in Postgres
DZone Database Zone Fun With SQL: Functions in Postgres In our previous Fun with SQL post on the Citus Data blog, we covered w...
-
DZone Database Zone Fun With SQL: Functions in Postgres In our previous Fun with SQL post on the Citus Data blog, we covered w...
-
DZone Database Zone Building a Boolean Logic Rules Engine in Neo4j A boolean logic rules engine was the first project I did for N...
-
DZone Database Zone How to Install a Monitoring Dashboard in Under 5 Minutes Using InfluxData I have my trusty MacBook Pro on whic...