Tutorial tag : Modélisation des données
-
Using JSON documents
JavaScript Object Notation (JSON) is a lightweight data-interchange format which is easy to read and change. JSON is language-independent although it uses similar constructs to JavaScript. JSON documents enable you to benefit from all…
|
4 MIN READ -
Phases of Data Modeling
A data modeling exercise typically consists of two phases: logical data modeling and physical data modeling. Logical data modeling focuses on describing your entities and relationships. Physical data modeling takes the logical data model…
|
12 MIN READ -
Schemaless Data Modeling
When you use documents to represent data, a database schema is optional. The majority of your effort will be creating one or more documents that will represent application data. This document structure can evolve…
|
5 MIN READ -
JSON Design Choices
Couchbase neither enforces nor validates for any particular document structure. Below are the design choices that impact JSON document design. Document Collections In Couchbase, different types of documents should be stored in separate collections.…
|
8 MIN READ -
Comparing Document-Oriented and Relational Data
In a relational database system you must define a schema before adding records to a database. The schema is the structure described in a formal language supported by the database and provides a blueprint…
|
4 MIN READ -
Document Key Design
An important part of JSON database modeling is how to design document keys. There are different patterns as mentioned below when it comes to designing a document key. Prefixing Remember that in Couchbase, different…
|
3 MIN READ -
Standardization, Optimization, and Resources
Wrapping up our Data Modeling Guide, we talk about standardization and optimization of your documents and modeling and share some resources to help you dive deeper. Standardized Fields Delimiter When a Document ID is…
|
4 MIN READ -
Standardized Document Properties
Multiple data sets are expected to share a common bucket in Couchbase. To ensure each data set has an isolated keyspace, it is a best practice to include a type/class/use-case/sub-domain prefix in all document…
|
4 MIN READ -
Document Optimizations
JSON gives us a flexible schema, that allows our models to rapidly adapt to change, this is because the schema is explicitly stored alongside each value. Whereas, in an RDBMS the schema is defined…
|
3 MIN READ -
Document Revisions
From time to time, there may be a requirement to save multiple revisions of a document within a bucket, this history is maintained by the application. This section is intended to outline one way…
|
5 MIN READ -
Schema Versioning
Storing the schema version within the document is a best practice that provides a mechanism to migrate and upgrade models as they change over time. For this example, the pseudo-code provided is intended to…
|
8 MIN READ