Note: articles are for educational purposes and are not professional security advice — consult an expert for your specific needs.

Database — page 5

The Database section covers how to design, query and run databases, relational and NoSQL alike. The guides explain the ideas behind a schema as well as the SQL that uses it, with examples for MySQL, PostgreSQL and SQL Server.

Designing a schema? Begin with constraints and validation rules, which keep bad data out of your tables. For NoSQL, data modelling for schema-less designs and consistency models explain the trade-offs that work differently from SQL. Other guides range from counting NULL and NOT NULL values in a column to what MySQL, PostgreSQL and SQL Server each offer, and from column-family stores to backups.

Preparing for an interview? SQL tricky interview questions works through the questions interviewers use to test SQL. Running a database in production? See backup and recovery strategies for relational databases before you need them.

Category · 91 articles · page 5 of 8 · Follow Database

More on Database

91 articles
Database Management

Database Maintenance and Upgrades: Best Practices

Explore the essential practices for database maintenance and upgrades. Learn about key tasks such as backups, performance tuning, and updates, along with strategies for successful upgrading. Discover how to keep your database systems efficient, secure, and up-to-date.

3 min read
$ subscribe --weekly

Get the next tutorial in your inbox.

Programming, security and AI — the practical bits, no spam. Unsubscribe any time.