UNLIMITED

Linux Format

MARIADB Optimise and control your databases

Databases and their management can often seem like a black art to those who don’t need or perhaps want to understand them. For most administrators, databases are a setup task – configured only when an application is installed and then left alone, forever. This is not good practice. In this article we’ll look at some basic database administration while trying to understand what goes into the database in terms of components and language – and learn how to keep them in tip-top condition, along with some tips and tricks to make life easier. A well-maintained database server makes for happy administrators.

First, a quick overview of what databases are. As the name implies, databases hold masses of structured data. For the uninitiated, a simple example of structured data could be thought of as a spreadsheet of names and addresses in a consistent format, with each column heading having a unique name (field name) and each row being a record of the data – akin to an index card with all the bits of data required. In the SQL world, these datasets are kept in tables. This is often why we see people using Excel when they should really be using a proper database.

Each database row is consistent and structured, hence the word structured in the name SQL (Structured Query Language). Structure is also a recurring theme throughout the entire SQL world. While this may all sound very useful, what’s to stop someone accidentally putting in wildly incorrect data or leaving an important column blank? There are two ways (at a low level) that

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format2 min read
Back Issues » Missed One?
November 2024 Product code: LXFDB0321 Build your own Linux fortress and protect your privacy with Qubes OS, and learn all about Matter, the new Internet of Things standard. Plus, discover which media server is best, find out how to secure your files,
Linux Format1 min read
Meet The Team
Well, Fedora does exactly what a distro should do, so that’s novel. Beyond that, I think more people should try Arch. Or if you’re worried about the cold, Gentoo or even Linux From Scratch. You can keep your study warm with all that exothermic compil
Linux Format10 min read
Answers
Q Notwork booting I have a Dell Inspiron 3583 laptop that came with Windows 10. I didn’t like it and switched to Ubuntu. All went well until I installed 23.10, when my laptop crashed. When I tried to reinstall, all I got was PXE over IPv4. Fortunatel

Related