top of page
Search

#JourneyToCTA Diaries Part 4 - Data Architecture - Architecture Tradeoffs vs Traditional RDBMS

  • Shreyas Dhond
  • Feb 15
  • 4 min read

Updated: Feb 22

Brief Note of Appreciation


It’s been a while since my last #JourneyToCTA diary entry — and for good reason. The season leading up to my CTA demanded everything I had. After the Review Board on June 10, I’m deeply grateful to share that I officially joined the Salesforce Certified Technical Architect community last August. What began as a personal aspiration became one of the most humbling and defining journeys of my career.


This milestone was never mine alone. It represents years of preparation, countless mock reviews, honest feedback, late-night whiteboarding sessions, and the extraordinary generosity of mentors, peers, and leaders who poured into me consistently. From dedicated 1:1 guidance and steady encouragement, to challenging debates that refined both my thinking and my delivery — every interaction shaped not only my readiness, but my mindset. I am sincerely thankful for the leadership support and the broader community that made mentorship accessible and learning collaborative. Being surrounded by people who believed in me, sometimes more than I believed in myself, is something I will never take for granted.


Above all, I owe my deepest gratitude to my wife and family. Their patience during the long evenings, their understanding during the intense seasons, and their unwavering encouragement carried me through the toughest stretches. This achievement is as much theirs as it is mine.


Now, I’m truly looking forward to continuing this series — not from a place of pursuit, but from a place of perspective and gratitude. With #JourneyToCTA completed, I’m excited to share the lessons, insights, and reflections this journey has taught me. If you’re walking this path, I hope my experiences can encourage you, steady you, and remind you that you never walk it alone.


Salesforce Data Platform vs Traditional RDBMS: Understandting the Architectural Tradeoffs



The Salesforce platform is built on top of a relational database foundation. However, it introduces a powerful abstraction layer that differentiates it significantly from a traditional relational database management system (RDBMS).


Understanding this distinction is critical for architects designing scalable and performant Salesforce solutions.


Traditional RDBMS: Built for Structured Data and Strong Consistency


Relational databases are optimized for complex operations and analytical workloads involving structured data. Structured data can be organized into tables with clearly defined relationships using primary keys and foreign keys.


Data in an RDBMS is typically accessed using Structured Query Language (SQL). In Salesforce, this equivalent is Salesforce Object Query Language (SOQL), which operates within the platform’s architectural constraints.


All operations in an RDBMS occur within a transaction. Transactions follow the ACID properties:


Atomicity

A transaction is an all-or-nothing operation. Either all operations succeed, or the entire transaction is rolled back. The system can never be left in a partially completed state.


Consistency

The database transitions from one valid state to another. Even if a transaction fails, the integrity of the underlying data remains intact.


Isolation

Transactions execute independently. Concurrent transactions do not interfere with one another’s results.


Durability

Once committed, changes are permanently stored and recoverable from stable storage, even in the event of system failure.


In essence, a traditional RDBMS prioritizes consistency over availability and enforces a well-defined structure that data must conform to.


How Salesforce Differs from a Traditional RDBMS


While Salesforce leverages relational database principles, its multi-tenant architecture fundamentally changes how data is modeled, accessed, and governed.


In Salesforce, data from different customers (tenants) is logically isolated using Org IDs, even though infrastructure is shared. This architectural model introduces several important differences from a conventional RDBMS.


1. Native Support for Self-Relationships

Salesforce allows self-relationships within objects. These are not only supported but often encouraged, enabling powerful out-of-the-box capabilities such as hierarchical account structures and role hierarchies.


2. Platform-Level Data Validation

SObject fields enforce strict data type validation and constraints at the platform level. Field definitions, validation rules, and metadata-driven configuration reduce the need for application-layer enforcement.


3. SOQL: Purpose-Built and Opinionated

SOQL is intentionally more constrained than traditional SQL. It does not support arbitrary joins across unrelated objects and limits certain types of complex queries.


However, this restriction is deliberate. In exchange, SOQL is optimized for the Salesforce execution model and common CRM access patterns, enabling faster development and predictable performance in a multi-tenant environment.


4. Granular Data Access Control

Salesforce provides a comprehensive security model that governs:


  • Object-level access

  • Field-level security

  • Record-level visibility


Record access is influenced by ownership, role hierarchies, sharing rules, and other platform mechanisms. This level of runtime enforcement goes far beyond traditional table-level permissions in many RDBMS implementations.


The Cost of Abstraction


These capabilities do not come without trade-offs.The Salesforce abstraction layer introduces additional metadata, indexing strategies, sharing calculations, and system-generated supporting structures behind the scenes. As a result:


  • Platform limits must be respected

  • Query selectivity becomes critical

  • Data skew can impact performance

  • Automation and sharing recalculations can affect scalability


Architects must design with these constraints in mind.


Conclusion


Salesforce is not simply a hosted relational database. It is a highly opinionated, multi-tenant application platform built on relational principles.


Traditional RDBMS systems emphasize strong transactional consistency and schema rigidity. Salesforce balances relational integrity with scalability, tenant isolation, metadata-driven configuration, and deep security enforcement.


Understanding these architectural differences is essential for designing solutions that align with the platform’s strengths rather than attempting to apply conventional database patterns inappropriately.


In the next instalment of the series we will dive into key data architecture concepts with the above lens in mind and we will wrap this module with key design concepts specific to Salesforce. Stay tuned!!

 
 
 

Comments


Copyright © 2024 SFDCShred

bottom of page