Home/Databases
Topic

Databases

366 articles on Databases.

11,834 articles
Databases — PostgreSQL: Understanding deadlocks

PostgreSQL: Understanding deadlocks

"ERROR: deadlock detected" - message - what should I do? This article explains what this really means and how deadlocks can be prevented.

HSHans-Jürgen SchönigHans-Jürgen Schönig·April 27, 2021Databases
Databases — Why Content Is Such A Fundamental Part Of The Web Design Process — Smashing Magazine

Why Content Is Such A Fundamental Part Of The Web Design Process — Smashing Magazine

As designers, we are often burdened by the responsibility of producing and managing website content. It’s not our job to write it, but it’s not the client’s either. In many cases a vacuum emerges which ultimately gets filled with poor content. In this article, Matt Saunders will show you that you can avert disaster by including content production in the design process.

MSMatt SaundersMatt Saunders·April 21, 2021Databases
Databases — Dynamic ProxySQL Query Rules - Shopify

Dynamic ProxySQL Query Rules - Shopify

Resiliency is important at Shopify and although we have many tools to help us during incidents, some problems need to be fixed at the database level. At Shopify, we use ProxySQL to manage connections between applications and our MySQL databases

SEShopify Engineering·April 20, 2021Databases
Databases — Announcing Cloudflare’s Database Partners

Announcing Cloudflare’s Database Partners

Cloudflare introduces Macrometa and Fauna as Edge database partners and adds database connectors for DynamoDB and Aurora to Cloudflare Workers, expanding what developers can build at the edge.

GAGreg, AbhiGreg, Abhi·April 16, 2021Databases
Databases — Choosing A New Serverless Database Technology At An Agency (Case Study) — Smashing Magazine

Choosing A New Serverless Database Technology At An Agency (Case Study) — Smashing Magazine

Choosing to use a new technology can often bring much desired productivity, security, and efficiency to a project. It is also fraught with risk and uncertainty. How and when to adopt a new technology for client projects is at the heart of leading a great agency. In this article, Michael Rispoli explains how he evaluated the decision of whether or not to adopt a serverless database for client proje

MRMichael RispoliMichael Rispoli·March 30, 2021Databases
Databases — PostgreSQL: How to write a trigger

PostgreSQL: How to write a trigger

UPDATED 2023: A trigger is a way to automatically respond to events. This is a tutorial on how to manage and program triggers in PostgreSQL.

HSHans-Jürgen SchönigHans-Jürgen Schönig·February 23, 2021Databases
Databases — Read Consistency with Database Replicas - Shopify

Read Consistency with Database Replicas - Shopify

At Shopify, we’ve long used database replication for redundancy and failure recovery, but only fairly recently started to explore the potential of replicas as an alternative read-only data source for applications.

SEShopify Engineering·February 22, 2021Databases
Databases — Benchmark (YCSB) numbers for Redis, MongoDB, Couchbase2, Yugabyte and BangDB - High Scalability -

Benchmark (YCSB) numbers for Redis, MongoDB, Couchbase2, Yugabyte and BangDB - High Scalability -

This is guest post by Sachin Sinha who is passionate about data, analytics and machine learning at scale. Author & founder of BangDB. This article is to simply report the YCSB bench test results in detail for five NoSQL databases namely Redis, MongoDB, Couchbase, Yugabyte and BangDB and compare the result side by side. I have used latest versions for each NoSQL DB and have followed the recommendat

HSHigh Scalability·February 17, 2021Databases
Databases — Golden Proportions in PostgreSQL

Golden Proportions in PostgreSQL

Learn how PostgreSQL can help with basic calculations regarding golden proportions. Do mathematics in your database development work.

HSHans-Jürgen SchönigHans-Jürgen Schönig·January 21, 2021Databases
Databases — The shibboleth of PostgreSQL

The shibboleth of PostgreSQL

A shibboleth is a phase whose pronounciation determines if you belong or not. This article tells you how not to pronounce "PostgreSQL".

LALaurenz Albe·December 30, 2020Databases
Databases — Upgrading and updating PostgreSQL

Upgrading and updating PostgreSQL

Update/ upgrade: what's the difference? This blog post covers the best ways of upgrading or updating PostgreSQL to the latest release.

HSHans-Jürgen SchönigHans-Jürgen Schönig·December 9, 2020Databases
Databases — Scaling Datastores at Slack with Vitess

Scaling Datastores at Slack with Vitess

From the very beginning of Slack, MySQL was used as the storage engine for all our data. Slack operated MySQL servers in an active-active configuration. This is the story of how we changed our data storage architecture from the active-active clusters over to Vitess — a horizontal scaling system for MySQL. Vitess is the present…

RCRafael Chacon Vivas·December 1, 2020Databases
Databases — How to Introduce Composite Primary Keys in Rails - Shopify

How to Introduce Composite Primary Keys in Rails - Shopify

One line of code can 5x your Rails application performance. What if you could make a small change to your database design that would unlock massively more efficient data access? At Shopify, we dusted off some old database principles and did exactly that with the primary Rails application.

SEShopify Engineering·October 29, 2020Databases
Databases — CG/SQL: Easy, accurate code generation for SQLite

CG/SQL: Easy, accurate code generation for SQLite

What it is: CG/SQL is a code generation system for the popular SQLite library that allows developers to write stored procedures in a variant of Transact-SQL (T-SQL) and compile them into C code that uses SQLite’s C API to do the coded operations. CG/SQL enables engineers to create highly complex stored procedures with very large […]

MEMeta Engineering·October 8, 2020Databases
Databases — MySQL on Azure Performance Benchmark – ScaleGrid vs. Azure Database - High Scalability -

MySQL on Azure Performance Benchmark – ScaleGrid vs. Azure Database - High Scalability -

Microsoft Azure is one of the most popular cloud providers in the world, and a natural fit for database hosting on applications leveraging Microsoft across their infrastructure. MySQL is the number one open source database that’s commonly hosted through Azure instances. While Microsoft offers their own Azure Database product, there are other alternatives available that may be able to help you impr

KAKristi Anderson·September 1, 2020Databases
Databases — PostgreSQL: GROUP BY expression

PostgreSQL: GROUP BY expression

GROUP BY is an integral part of SQL and PostgreSQL. You might not know that the GROUP BY expression can handle more than just simple fields.

HSHans-Jürgen SchönigHans-Jürgen Schönig·August 19, 2020Databases
Databases — Setting Up An API Using Flask, Google’s Cloud SQL And App Engine — Smashing Magazine

Setting Up An API Using Flask, Google’s Cloud SQL And App Engine — Smashing Magazine

Flask makes it possible for developers to build an API for whatever use case they might have. In this tutorial, Wole Oyekanmi will show you how to set up Google Cloud, Cloud SQL, and App Engine to build a Flask API. (Cloud SQL is a fully managed platform-as-a-service (PaaS) database engine, and App Engine is a fully managed PaaS for hosting applications.)

WOWole OyekanmiWole Oyekanmi·August 19, 2020Databases
Databases — pgwatch2 v1.8.0 released

pgwatch2 v1.8.0 released

The most significant changes in pgwatch2 v1.8. PGWatch2 is a PostgreSQL monitoring tool - useful dashboard

CPCYBERTEC PostgreSQL·July 15, 2020Databases
Databases — Wrapping DB2 with PostgreSQL

Wrapping DB2 with PostgreSQL

Connection of DB2 with PostgreSQL done with the extension db2_fwd | Migration of db2's data to PostgreSQL | Read data from DB2

MDMarcelo DiazMarcelo Diaz·June 16, 2020Databases
Databases — Mirage JS Deep Dive: Understanding Factories, Fixtures And Serializers (Part 2) — Smashing Magazine

Mirage JS Deep Dive: Understanding Factories, Fixtures And Serializers (Part 2) — Smashing Magazine

Factories are a faster way to create new database records., A fixture is a state of a set or collection of objects that serve as a baseline for running tests, and a serializer is responsible for transforming the response. In this second part of the Mirage JS Deep Dive series, Kelvin Omereshone will be looking at Mirage JS’ Factories, Fixtures, and Serializers. You’ll see how they enable rapid API

KOKelvin OmereshoneKelvin Omereshone·May 29, 2020Databases
Databases — Reducing Your Database Hosting Costs: DigitalOcean vs. AWS vs. Azure - High Scalability -

Reducing Your Database Hosting Costs: DigitalOcean vs. AWS vs. Azure - High Scalability -

If you’re hosting your databases in the cloud, choosing the right cloud service provider is a significant decision to make for your long-term hosting costs. This is especially apparent in today's world where organizations are doing whatever they can to optimize and reduce their costs. Over the last few weeks, we have been inundated with requests from SMB customers looking to improve the ROI on the

KAKristi Anderson·May 12, 2020Databases
Databases — How To Build A Vue Survey App Using Firebase Authentication And Database — Smashing Magazine

How To Build A Vue Survey App Using Firebase Authentication And Database — Smashing Magazine

This tutorial would take you on a step by step guide to build a functional survey app using Vue.js and Firebase. From validating the user’s data through Vuelidate, to authentication, storing the user’s data, route protection and sending data to Firebase servers. All the steps used in the tutorial are practical, and can be reproduced in any real-life project, even with a custom backend.

DADavid AtandaDavid Atanda·May 8, 2020Databases
Databases — Creating Secure Password Flows With NodeJS And MySQL — Smashing Magazine

Creating Secure Password Flows With NodeJS And MySQL — Smashing Magazine

Reset password functionality is table stakes for any user-friendly application. It can also be a security nightmare. Using NodeJS and MySQL. Today, Darshan Somashekar demonstrates how to successfully create a secure reset password flow so you can avoid these pitfalls. Darshan will be using NodeJS and MySQL as the base components. If you’re writing using a different language, framework, or database

DSDarshan SomashekarDarshan Somashekar·March 11, 2020Databases
Databases — Important Health Checks for your MySQL Master-Slave Servers - High Scalability -

Important Health Checks for your MySQL Master-Slave Servers - High Scalability -

In a MySQL master-slave high availability (HA) setup, it is important to continuously monitor the health of the master and slave servers so you can detect potential issues and take corrective actions. In this blog post, we explain some basic health checks you can do on your MySQL master and slave nodes to ensure your setup is healthy. The monitoring program or script must alert the high availabili

KAKristi Anderson·February 17, 2020Databases