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

Database — page 2

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 2 of 8 · Follow Database

More on Database

91 articles
NoSQL Databases

Choosing the Right NoSQL Database for Application Needs

Explore the crucial aspects of selecting the appropriate NoSQL database for your application's unique requirements. Understand different NoSQL database types, including Document-Oriented, Column-Family, Graph, and Key-Value stores, and learn how to evaluate them based on criteria such as data model, scalability, consistency, performance, support, and budget.

2 min read
NoSQL Databases

Consistency Models in NoSQL: An Exploration of Impact on Data Integrity

This article explores the various consistency models in NoSQL databases, including strong consistency, eventual consistency, causal consistency, and tunable consistency. Understand how these models affect data integrity and the trade-offs involved in implementing them, with examples from popular NoSQL databases like Cassandra, MongoDB, and Riak.

2 min read
NoSQL Databases

Scalability and High Availability in NoSQL

Explore how NoSQL databases handle scalability and maintain high availability. This comprehensive guide dives into key concepts like horizontal scaling, sharding, load balancing, replication, failover, and consistency. Understand how popular NoSQL databases like Cassandra, MongoDB, and Redis implement these principles.

2 min read
$ subscribe --weekly

Get the next tutorial in your inbox.

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