Features
Pricing
Academy
Learn SQL
Log in
Sign up
MENU
CLOSE
Home
Features
Pricing
Academy
Learn SQL
Log in
Sign up
All Articles
Design Fundamentals
Design Patterns
Example ER Diagrams
Database Internals
Others
Database internals
An Introduction to MySQL Indexes
by Francisco Claria
29 Nov 2017
We’re all familiar with the indexes in books: they help you find specific contents much faster by telling you where they’re located. In a nutshell, database indexes essentially do the same thing—they let you retrieve information from a database much faster by narrowing down the scope of your search. In fact, creating indexes for database tables is one of the most important concepts of database modeling. It’s also often one of the first things you should consider if your query is running too slowly, in which case it may benefit from indexing.
Read more
Database internals
Running Microsoft SQL Server on Linux
by Marian Dziubiak
29 Mar 2017
If you were a fan of Linux and SQL Server, you basically had to have two operating systems at all times. But now, Microsoft has made a Linux version of their relational database management system. How does it work, and how well does it perform? Microsoft products used to be Windows-centric, but in recent years Microsoft CEO Satya Nadella has started moving the company towards cloud-based and open-source projects and enabling their software to run on other platforms.
Read more
Database internals
Everything You Need to Know About MySQL Partitions
by Francisco Claria
10 Feb 2017
What is MySQL partitioning? What kind of partition types are there? How do you know if this is something your database engine supports? In this article, we tell you what you need to know about partitioning in MySQL. MySQL partitioning is about altering – ideally, optimizing – the way the database engine physically stores data. It allows you to distribute portions of table data (a.k.a. partitions) across the file system based on a set of user-defined rules (a.
Read more
Database internals
The Proper Way to Handle Multiple Time Zones in MySQL
by Francisco Claria
21 Dec 2016
In this article, I’ll walk you through some fundamental considerations for working with date- and time-related data in MySQL. We’ll also look at how to handle multiple time zones and daylight saving time changes. Let’s first address some core concepts that will help us understand the underlying complexity of time-related data. It is important to notice that these concepts apply when representing a point in time rather than an absolute duration.
Read more
Database internals
Supporting R in SQL Server 2016
by Dejan Sarka
7 Dec 2016
SQL Server R Services combine the power and flexibility of the open-source R language with enterprise-level tools for data storage and management, workflow development, and reporting and visualization. This article introduces SQL R Services and the R language. What Is R and How Is It Used? R is the most widely used language for statistics, data mining, and machine learning. (R is also the name of the environment and the engine that executes code written in the R language.
Read more
Database internals
An Overview of MySQL’s Information Schema
by Emil Drkušić
13 Sep 2016
Have you ever wondered what the DBMS (database management system) does when you create a new database, add tables and functions, or define primary keys? It’s not magic. The answer is actually very simple. The DBMS has a “system” database that it uses to store information about all the objects we’ve created in every database on that server instance. In this article, we’ll take a look at the MySQL INFORMATION_SCHEMA database.
Read more
Database internals
MySQL Date Format: What Datatype Should You Use? We Compare Datetime, Timestamp and INT.
by Francisco Claria
23 Aug 2016
Whenever you need to save datetime data, a question arises about what MySQL type to use. Do you go with a native MySQL DATE type or use an INT field to store date and time info as a plain number? In this article, I’ll explain MySQL’s native options and give you a comparison table of the most common datatypes. We’ll also benchmark some typical queries and reach some conclusions about which datatype to use in a given situation.
Read more
Database internals
All About Indexes Part 2: MySQL Index Structure and Performance
by Emil Drkušić
4 Aug 2016
Database indexes speed up data retrieval operations. But there is a price we pay for these benefits. In this article, we’ll focus on the structure behind the MySQL index. We’ll also measure database performance by using large datasets to test two versions of the same database – one with indexes and the other without them. This is the second article in our series about database indexes. If you missed the first one, click here.
Read more
Database internals
The History of Slonik, the PostgreSQL Elephant Logo
by Patrycja Dybka
2 Aug 2016
Logos are powerful. What better way to remind people of a product than an eye-catching, memorable symbol? With that in mind, today we’ll answer the question ‘Why did PostgreSQL choose an elephant for its logo?’ Every product or company has its logo – something that identifies and encapsulates the essence of their brand. In time, it practically becomes the brand: can you imagine McDonald’s without its golden arches? What if the Coca-Cola logo was suddenly done in purple block print?
Read more
Database internals
Stretch Databases and Temporal Tables in SQL Server 2016
by Bartosz Ratajczyk
28 Jul 2016
Two new features in SQL Server 2016 make expanding your database’s historical data storage much easier. Here’s how to implement them. Storage. It’s a problem that anyone with a constantly-growing database has to face. We maintain great volumes of data that are rarely queried by business users. Most of these are historical or versioned data that someone checks once a year to see how “product X sales looked in 2005” or “record Z has changed over time”.
Read more
««
«
1
2
3
4
»
»»