Model Your Relational Database Data as NoSQL Document Data

When I’m presenting at events, I often get questions around data modeling.  It is common to interact with developers that work with relational databases, but are very interested in a NoSQL database.  I, for example, started my database career with an Oracle and Microsoft SQL Server database.  Having become familiar with structured RDBMS data the concept of NoSQL was very strange.  What does your data look like?  How do you query it?

In this video I put together, I give a quick overview on some ways to model data in Couchbase.  I list a simple RDBMS example and convert it to JSON document format.  In the end I query it and it is like there was no switch between databases.

Although the above video doesn’t go into everything, it should be enough to put you on a solid path.  If something still doesn’t make sense, I encourage you to put a question in the comments section.

For information on using these NoSQL documents in your application, check out the developer portal for examples.

Share this article
Get Couchbase blog updates in your inbox
This field is required.

Author

Posted by Nic Raboy, Developer Advocate, Couchbase

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.

Leave a comment

Ready to get Started with Couchbase Capella?

Start building

Check out our developer portal to explore NoSQL, browse resources, and get started with tutorials.

Use Capella free

Get hands-on with Couchbase in just a few clicks. Capella DBaaS is the easiest and fastest way to get started.

Get in touch

Want to learn more about Couchbase offerings? Let us help.