Practical tools for system, network, security, and operations administrators.

DBA-C0153 · NoSQL & Specialized Databases

NoSQL Databases Guide

Choose a document or search store for one access pattern, and keep the system of record obvious.

Updated 25 October 2026 · Pillar guide

This is an original planning guide. It is not a vendor manual, an official standard, or legal advice. Example addresses use documentation ranges. Review every command before you paste it.

A different engine is a different promise

NoSQL here means a database that is not the relational tables in the SQL guide: documents, keys, wide rows, a search index, a graph. You pick one because an access pattern needs it, not because a diagram looked modern. The aggregation builder and the search-query builder draft a read against data you are allowed to hold.

Write the system of record. If the orders still live in a relational database, the document store is a copy or a cache and must be rebuildable. If the document store is the record, say that, and the backup guide applies to it. Two places that both think they are the record will disagree.

The engine pages are the install and the first hour for MongoDB, Redis, and the others. This page is the choice. A lab holds fake documents you typed. You do not export a customer collection to try a query on a laptop you do not control.

A query you cannot explain is a query you do not ship. The builder's draft is read aloud: which collection or index, which filter, which limit.

One pattern, one lab collection, one sentence of record

Write the pattern in a sentence, such as fetch a profile by an id you invented. Create a lab collection or key with three fake documents. Draft the read. Run it. It returns those documents and not a scan of everything you can see.

Write where the real record will live. If this lab is only a cache, write how you would rebuild it. If you cannot rebuild it, it is not a cache and the backup note is mandatory before any real data arrives.

Refuse a second engine in this window. Search and documents and a graph are three projects. The vector guide is a further choice, not an extra box you tick today.

The security habit is the same: an account that can read this collection, a localhost bind, no password in the ticket.

A change you can finish

Production data does not move in this window. The change is the decision and the lab proof.

Rollback is deleting the lab collection you created. Nothing else was written.

  1. Write the access pattern in one sentence.
  2. Name the system of record.
  3. Load three fake documents on the lab.
  4. Run one read with a filter and a limit.
  5. State how a cache would be rebuilt, if this is a cache.
  6. Keep the account narrow and the bind on localhost.
  7. Leave the next engine for later.

Mistakes that outlive the command

NoSQL databases fails in the same few ways. Each one looks finished on the day you type it. The list is here so the ticket can forbid them before the window, not so you can recognise them in an incident review.

Decisions to write down before the window

One decision for NoSQL databases: The pattern is one sentence. The system of record is named. A cache has a rebuild path. The lab data is fake. The read is filtered and limited. The account is narrow. The lab listens on localhost. The matching engine guide is the install. Backup applies if this store is the record. One engine is chosen. The SQL guide remains the relational path. And a second person can say which store is the record.

The hour you stop

Write the database name, the host, and the clock time before you change anything for NoSQL databases. If this database is serving people and you do not have a copy, this hour is a plan. A plan you can read tomorrow is a success. A change you cannot undo is not.

Use a lab or a restored copy. The rows you read are rows you are allowed to hold. You do not point a client at a database, a cluster, or an account you do not administer. The tools on this site run in the browser. They do not log in, and they do not scan.

prompt-for-this is a reminder that a secret is missing. It is not a password, a token, or a key you save. The real secret stays in the password store. If a connection string, a log, or a ticket still contains a live secret, stop and rotate it. Then delete the copy.

One change. A config line, an index, a grant, and a restore do not share a window. If two things move and the outcome is wrong, you will not know which one did it. The rollback is the previous file or the backup you already tested.

A second person reads the scope aloud: which host, which database, which account. If they cannot find it in the ticket, the ticket is not ready. Silence is not agreement.

The lab listens on localhost. 127.0.0.1 is the address you bind until a firewall story exists. example.com is not your host. A generated file that listens on every address is a file you edit before it runs.

Do not run a statement you cannot undo. A delete or a drop without a backup and a where-clause you have read is the mistake this page is here to prevent. Read the statement. Count the rows it will touch. Then decide.

Keep the previous config and the previous dump. A generator draft is not the previous file. The previous file is what you put back if the new one is wrong. You practised the reload with a second session open when the change can lock you out.

If a step fails twice, stop. The failure is the result. Adding a command from a forum beside a half-applied config produces a database nobody can explain. Rebuild the lab from the copy you kept.

When the checks pass, the next database waits until someone else can repeat the proof from the notes. NoSQL databases is done for this window when the proof is written, not when the client printed a prompt.

This page is a planning guide. It is not a vendor manual, not an official standard, and not legal advice. If an auditor must see the decision, they see the ticket and the evidence, not this paragraph.

Hand the finished note to the neighbouring guide that owns the next step, and leave this database alone until that guide has its own window.

NoSQL checks before real data is copied in

Confirm this before you call the change done: The pattern sentence is in the ticket. The record of truth is named. Three fake documents round-tripped. The read did not scan an unrelated store. Rebuild steps exist if this is a cache. No customer export was used. No password is in the note. The port is localhost. The engine guide is named for the install. A second person restated the record. Backup is in scope or explicitly not, with a reason. A second engine was not installed. The hostname in the prompt matches the hostname in the ticket for NoSQL databases. The result line includes the time and the person, not only the command. You can point at the rollback value without searching a chat history. And done is a sentence a second person can repeat: the proof for NoSQL databases happened, and the next host is not started early. If one of those fails, stop.

Tools for this guide

These tools run in the browser on this site. They do not log into your machines.

Guides in this cluster

These supporting pages belong to this pillar.