Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A database is one way to store and retrieve information; the application’s data model and the rules that give that information meaning are architectural concerns. The practical goal is to keep database-specific schemas, query languages, and access code from dictating how core use cases and business rules are expressed—not to pretend that databases are interchangeable or that data design is unimportant.

Why is a database considered an implementation detail?

In Chapter 30 of Clean Architecture, Robert C. Martin argues that a database is a utility for accessing data. It is important to the system, but it should not determine the shape of the application’s core policy. A use case should express what the application needs to do, rather than depend on a particular vendor’s tables, query language, driver, or access framework.

That is a dependency-boundary principle. If business rules directly manipulate database rows or expose physical table structures throughout the application, a storage implementation has crossed into parts of the system that should be about the domain. Martin’s concise formulation is: “The data is significant. The database is a detail.” [Clean Architecture, Chapter 30]

Does that mean the data model does not matter?

No. Martin explicitly distinguishes the database software from the way an application structures its data: “The structure you give to the data within your application is highly significant to the architecture of your system.” The model should represent the domain’s objects, associations, and rules clearly. A vendor’s physical schema is one implementation of that model, not automatically the model itself.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

The IRS database-design manual makes a related practical distinction: logical design describes data independently of a particular DBMS, while physical design addresses implementation. It also identifies data objects, associations, and rules as parts of a data model. [IRS, IRM 2.127.1]

How do you keep business logic independent of a database?

Put a boundary between application policy and storage implementation. Define application-facing operations around the work the use cases perform, then implement those operations in infrastructure code that knows the database, schema, driver, and query language. A repository interface is one possible technique, not a requirement of the principle.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
  1. Model the application’s concepts. Define the data and rules the use cases need in domain or application terms, rather than treating database rows as the domain model.
  2. Express storage needs as application operations. For example, an application might need to retrieve an account by its identifier or record a payment. Specify those needs in an interface without exposing vendor-specific query objects or table layouts.
  3. Implement the boundary outside the core. Infrastructure code translates the application operation into SQL, a document query, or another database-specific mechanism, then maps the result back into application concepts.
  4. Keep the dependency direction inward. Use cases depend on the interface; the database adapter implements it. UI and business-rule code should not need database tables or query-language details to do their jobs.

The interface should fit the application’s needs rather than mirror every table. A one-to-one table-shaped abstraction can preserve the very coupling the boundary is intended to reduce.

What still has to be designed at the database boundary?

Isolation reduces unnecessary dependency; it does not remove storage requirements. Database selection and physical design can affect whether the system enforces integrity, maintains the needed consistency, meets measured access and update performance, and supports expected growth. The IRS guidance calls out integrity, consistency, user requirements, and projected growth as implementation concerns. [IRS, IRM 2.127.1]

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Performance matters too. Martin’s point is that performance-specific access mechanisms can be handled at a lower level without making business rules depend on the database. That still requires measuring the system’s actual access patterns and meeting its requirements; an abstraction is not a performance guarantee. [Clean Architecture, Chapter 30]

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How should you compare storage options?

Choose against the application’s needs, not a trend or the promise of effortless switching. A useful comparison asks:

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
  • Data shape and meaning: Can the model represent the domain’s entities, relationships, and rules clearly?
  • Integrity and consistency: Where are required constraints enforced, and how does the design keep data valid across operations?
  • Access patterns and performance: Can the option support the reads and writes the application needs within measured requirements?
  • Growth and complexity: Can it handle projected increases in data size, use, or system complexity without unacceptable operational burden?
  • Boundary and change cost: Does application policy rely on database-specific structures? If the storage choice changes, what migrations, rewrites, operational changes, and validation would actually be needed?

A well-kept boundary can make a storage change more contained, but it cannot make migration free. Data semantics, integrity rules, performance behavior, and operational needs still have to be preserved in the new implementation.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

What the principle does not say

  • It does not say data is unimportant; the data model is architecturally significant.
  • It does not say SQL or relational databases are inherently poor choices; their structures and access mechanisms should simply remain behind an appropriate boundary.
  • It does not say every database can be swapped without cost, redesign, or operational work.
  • It does not say performance, integrity, consistency, or growth can be ignored.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.