Wednesday, June 3, 2026

MEANING: IT’S NOT IN THE NAME!



Note: In MEANING AND THE DATA MODEL I mentioned a recent LinkedIn exchange that prompted that post. It also reminded me of an older post, which had triggered two exchanges: one @DBDebunk, and another @https://news.ycombinator.com/item?id=12437389&goto=news, in which I participated at the time. I decided to update the post, including the former exchange. I strongly recommend the latter exchange, particularly comments by catnaroek.

 "Can you have 2 tables, VIEWS and DOWNLOADS, with identical structure in a good DB schema (item_id, user_id, time). Some of the records will be identical but their meaning will be different depending on which table they are in. The "views" table is updated any time a user views an item for the first time. The "downloads" table is updated any time a user downloads an item for the first time. Both of the tables can exist without the other."

Saturday, May 30, 2026

PRIMARY KEYS Revision 2 (05/26)



 

Table of Contents

Introduction

1. Entities, Properties, Names, and Identifiability

2. Relational Representation

3. Kinds of Keys

3.1. Candidate, Primary, and Alternate Keys

3.2. Natural and Surrogate Keys

4. Primary Formal Mandate

5. Primary Key Designation

6. Primary Keys and Performance

6.1. Indexes

Conclusion

Appendix: Primary Keys, Duplicates and SQL

 

 

Friday, May 22, 2026

MEANING AND THE DATA MODEL



 Recently I participated in a LinkedIn exchange initiated by the following statement:

 

“First-Order Predicate Logic is quietly breaking enterprise semantics. FOPL assumes meaning can be expressed as predicates applied to entities:

     subject → predicate → object

That works beautifully in theory. It fails in practice. Because the predicate is where ambiguity hides. So you can build vast semantic graphs where:
– entities carry multiple meanings
– predicates encode multiple dimensions
– relationships look precise but aren’t disjoint

It scales connections. Not clarity.” –Robert Vane

Wednesday, April 22, 2026

RELATIONAL DATABASE DOMAINS Revision 2 (04/26)



 

Table of Contents

 Introduction

1 Data Types

1.1 Abstract Data Types

2 Database Domains

2.1 Domain Adaptations

2.1.1 Attributes

2.1.2 Tuple States

2.2 Domain Definition

2.2.1 Type Specification

2.2.2 Domain Operators

3 Kinds of Domains

3.1 Base Domains

3.2 Primitive Domains

3.3 Atomic ("Simple") Domains

3.4 Derived ("Complex") Domains

4 DBMS Domain Support

Appendix 1: Complex Domain Example

Appendix 2: Type System

Appendix 3: Note on SQL Built-in Data Types


Tuesday, March 10, 2026

LOGICAL DESIGN: INTERPRETATION OF RDM SYMBOLIZED SETS



As we explain in Logical Database Design (forthcoming), LDD assigns the meaning of terms in conceptual models (CMs)—properties, entities, groups, multigroup—to non-logical symbols of a formal logic theory.

If the theory is RDM, the symbols stand for sets—domains/attributes, tuples, relations, database—adapted for database management. For each CM the theory acquires an interpretation, which produces a LM (application) of the theory for database representation and manipulation.

Here are the adapted sets symbolized in RDM which acquire the interpretation of the terms in CMs.

Sunday, March 1, 2026

SEMANTICS, DATABASE RELATIONS, AND TABLES



    This was said years ago:

 ”Table (n.) – a collection of information (data?) describing a population of entities which possess some common characteristics, called attributes. -itis – “suffix denoting diseases characterized by inflammation, itself often caused by an infection.”  ---------- from the Wikipedia Wiktionary.”

Tables are the building block of relational databases. Tables must generally be “normalized,” at least to 1NF. That may be an appropriate way to think of databases when implemented in a modern day DBMS. However, it is not the way the world thinks logically. People have no problem with commonly occurring phenomena such as:

·         A multi-valued attribute, e.g., an Employee possesses multiple Skills.

·         Many-to-many (M:N) relationships, e.g., as between Employees and Projects

·         A relationship with attributes  

even though our systems may. None of these situations can be handled directly in a relational database."

     This just now, on LinkedIn (check out my comments).

“Putting to one side the argument that your data almost certainly didn't start out broken out in to tables, and it almost certainly isn't consumed that way either, here's the thing; MongoDB, if you squint, is essentially a relational database with an unorthodox take on first normal form and some great high availability and scalability features.” -- Graeme Robinson

 

Sunday, February 15, 2026

FACTS, ENTITIES, AND BUSINESS RULES



“... In ORM there is no concept of an entity record (tuple), although relational tables can be automatically generated from an ORM model (furthermore, guaranteed to be fully normalized).” --Online comment

Object Role Modeling (ORM) is a ...a fact-oriented modeling approach for specifying, transforming, and querying information at a conceptual level. Unlike [other modeling approaches] ... fact-oriented modeling is attribute-free, treating all elementary facts as relationships ... In practice, ORM data models often capture more business rules, and are easier to validate and evolve than data models in other approaches. --ORM.net

View My Stats