{"id":14055,"date":"2020-05-07T22:00:44","date_gmt":"2020-05-07T20:00:44","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/"},"modified":"2020-05-07T22:00:44","modified_gmt":"2020-05-07T20:00:44","slug":"the-myth-of-nosql-vs-rdbms-agility-adding-attributes","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/","title":{"rendered":"The myth of NoSQL (vs. RDBMS) agility: adding attributes"},"content":{"rendered":"<h2>By Franck Pachot<\/h2>\n<p>.<br \/>\nThere are good reasons for NoSQL and semi-structured databases. And there are also many mistakes and myths. If people move from RDBMS to NoSQL because of wrong reasons, they will have a bad experience and this finally deserves NoSQL reputation. Those myths were settled by some database newbies who didn&#8217;t learn SQL and relational databases. And, rather than learning the basics of data modeling, and capabilities of SQL for data sets processing, they thought they had invented the next generation of persistence&#8230; when they actually came back to what was there before the invention of RDBMS: a hierarchical semi-structured data model. And now encountering the same problem that the relational database solved 40 years ago. This blog post is about one of those myths.<\/p>\n<h3>Myth: adding a column has to scan and update the whole table<\/h3>\n<p>I have read and heard that too many times. Ideas like: RDBMS and SQL are not agile to follow with the evolution of the data domain. Or: NoSQL data stores, because they are loose on the data structure, makes it easier to add new attributes. The wrong, but unfortunately common, idea is that adding a new column to a SQL table is an expensive operation because all rows must be updated. Here are some examples (just taking random examples to show how this idea is widely spread even with smart experts and good reputation forums):<\/p>\n<p>A comment on twitter: &#8220;add KVs to JSON is so dramatically easier than altering an RDBMS table, especially a large one, to add a new column&#8221;<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"500\" data-dnt=\"true\">\n<p lang=\"en\" dir=\"ltr\">Right, but what they are more referring to is being able to add KVs to JSON is so dramatically easier than altering an RDBMS table, especially a large one, to add a new column. If you choose to create a new one and move the data over that sucks in a different way.<\/p>\n<p>&mdash; Kirk Kirkconnell (@NoSQLKnowHow) <a href=\"https:\/\/twitter.com\/NoSQLKnowHow\/status\/1253400690740740097?ref_src=twsrc%5Etfw\">April 23, 2020<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p>A question on StackOverflow: &#8220;Is &#8216;column-adding&#8217; (schema modification) a key advantage of a NoSQL (mongodb) database over a RDBMS like MySQL&#8221; <a href=\"https:\/\/stackoverflow.com\/questions\/17117294\/is-column-adding-schema-modification-a-key-advantage-of-a-nosql-mongodb-da\/17118853\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/stackoverflow.com\/questions\/17117294\/is-column-adding-schema-modification-a-key-advantage-of-a-nosql-mongodb-da\/17118853<\/a>. They are talking about months for this operation!<\/p>\n<p>An article on Medium: &#8220;A migration which would add a new column in RDBMS doesn\u2019t require this Scan and Update style migration for DynamoDB&#8221; <a href=\"https:\/\/medium.com\/serverless-transformation\/how-to-remain-agile-with-dynamodb-eca44ff9817\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/medium.com\/serverless-transformation\/how-to-remain-agile-with-dynamodb-eca44ff9817<\/a>.<\/p>\n<p>Those are just examples. People hear it. People repeat it. People believe it. And they don&#8217;t test. And they don&#8217;t learn. They do not crosscheck with documentation. They do not test with their current database. When it is so easy to do.<\/p>\n<h3>Adding a column in SQL<\/h3>\n<p>Actually, adding a column is a fast operation in the major modern relational databases. I&#8217;ll create a table. Check the size. Then add a nullable column without default. Check the size. Then add a column with a default value. Check the size again. Size staying the same means no rows updated. Of course, you can test further: look at the elapsed time on a large table, and the amount of reads, and the redo\/WAL generated,&#8230; You will see nothing in the major current RDBMS. Then you actually update all rows and compare. There you will see the size, the time, the reads, and the writes and understand that, with an explicit update the rows are actually updated. But not with the DDL to add a column.<\/p>\n<h3>PostgreSQL<\/h3>\n<p>Here is the example in PostgreSQL 12 in dbfiddle:<br \/>\n<a href=\"https:\/\/dbfiddle.uk\/?rdbms=postgres_12&amp;fiddle=9acf5fcc62f0ff1edd0c41aafae91b05\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/dbfiddle.uk\/?rdbms=postgres_12&amp;fiddle=9acf5fcc62f0ff1edd0c41aafae91b05<\/a><\/p>\n<p>Another example where I show the WAL size:<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"500\" data-dnt=\"true\">\n<p lang=\"en\" dir=\"ltr\">And <a href=\"https:\/\/twitter.com\/PostgreSQL?ref_src=twsrc%5Etfw\">@postgresql<\/a> is also very smart about adding columns: does not touch the tuples. size doesn&#39;t change even when adding a value to existing tuples: <a href=\"https:\/\/t.co\/FT2H7KuLIp\">pic.twitter.com\/FT2H7KuLIp<\/a><\/p>\n<p>&mdash; Franck Pachot (@FranckPachot) <a href=\"https:\/\/twitter.com\/FranckPachot\/status\/1253420055657721856?ref_src=twsrc%5Etfw\">April 23, 2020<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<h3>Oracle Database<\/h3>\n<p>Here is the example in Oracle Database 18c in dbfiddle:<br \/>\n<a href=\"https:\/\/dbfiddle.uk\/?rdbms=oracle_18&amp;fiddle=b3a2d41636daeca5f8e9ea1d771bbd23\">https:\/\/dbfiddle.uk\/?rdbms=oracle_18&amp;fiddle=b3a2d41636daeca5f8e9ea1d771bbd23<\/a><\/p>\n<p>Another example:<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"500\" data-dnt=\"true\">\n<p lang=\"en\" dir=\"ltr\">When was your Oracle experience?<br \/>It has always (at least since Oracle7, 24 years ago) been immediate to add a nullable column. Same with not null columns (with default) since 12c (7 years ago): <a href=\"https:\/\/t.co\/pmoPFX9Q7o\">pic.twitter.com\/pmoPFX9Q7o<\/a><\/p>\n<p>&mdash; Franck Pachot (@FranckPachot) <a href=\"https:\/\/twitter.com\/FranckPachot\/status\/1253412187378343938?ref_src=twsrc%5Etfw\">April 23, 2020<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p>Yes, I even tested in Oracle7 where, at that time, adding a not null column with a default value actually scanned the table. The workaround is easy with a view. Adding a nullable column (which is what you do in NoSQL) was already a fast operation, and that&#8217;s 40 years ago!<\/p>\n<h3>MySQL<\/h3>\n<p>Here is the example in MySQL 8 in dbfiddle:<br \/>\n<a href=\"https:\/\/dbfiddle.uk\/?rdbms=mysql_8.0&amp;fiddle=8c14e107e1f335b505565a0bde85f6ec\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/dbfiddle.uk\/?rdbms=mysql_8.0&amp;fiddle=8c14e107e1f335b505565a0bde85f6ec<\/a><\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg\" alt=\"\" width=\"1024\" height=\"677\" class=\"aligncenter size-large wp-image-39362\" \/><\/a><\/p>\n<h3>Microsoft SQL Server<\/h3>\n<p>It seems that the table I use is too large for dbfiddle but I&#8217;ve run the same on my laptop:<\/p>\n<pre><code>\n1&gt; set statistics time on;\n2&gt; go\n\n1&gt; create table demo (x numeric);\n2&gt; go\nSQL Server parse and compile time:\n   CPU time = 0 ms, elapsed time = 0 ms.\n\n SQL Server Execution Times:\n   CPU time = 2 ms,  elapsed time = 2 ms.\n\n1&gt; with q as (select 42 x union all select 42)\n2&gt; insert into demo\n3&gt; s join q j cross join q k cross join q l cross join q m cross join q n cross join q o  cross join q p  cross join q r cross join q s cross join q t  cross join q u;\n4&gt; go\nSQL Server parse and compile time:\n   CPU time = 11 ms, elapsed time = 12 ms.\n\n SQL Server Execution Times:\n   CPU time = 2374 ms,  elapsed time = 2148 ms.\n\n(1048576 rows affected)\n\n1&gt; alter table demo add b numeric ;\n2&gt; go\nSQL Server parse and compile time:\n   CPU time = 0 ms, elapsed time = 0 ms.\n\n SQL Server Execution Times:\n   CPU time = 0 ms,  elapsed time = 3 ms.\n\n1&gt; alter table demo add c numeric default 42 not null;\n2&gt; go\nSQL Server parse and compile time:\n   CPU time = 0 ms, elapsed time = 0 ms.\n\n SQL Server Execution Times:\n   CPU time = 1 ms,  elapsed time = 2 ms.\n\n2&gt; go\nSQL Server parse and compile time:\n   CPU time = 0 ms, elapsed time = 0 ms.\nx                    b                    c\n-------------------- -------------------- --------------------\n                  42                 NULL                   42\n                  42                 NULL                   42\n                  42                 NULL                   42\n\n(3 rows affected)\n\n SQL Server Execution Times:\n   CPU time = 0 ms,  elapsed time = 0 ms.\n\n3&gt; go\nSQL Server parse and compile time:\n   CPU time = 0 ms, elapsed time = 0 ms.\n\n SQL Server Execution Times:\n   CPU time = 3768 ms,  elapsed time = 3826 ms.\n\n(1048576 rows affected)\n\n<\/code><\/pre>\n<p>2 milliseconds for adding a column with a value, visible on all those million rows (and it can be more).<\/p>\n<h3>YugaByte DB<\/h3>\n<p>In a distributed database, metadata must be updated in all nodes, but this is still in milliseconds whatever the table size is:<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-07-231933.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-07-231933.jpg\" alt=\"\" width=\"1024\" height=\"624\" class=\"aligncenter size-large wp-image-39409\" \/><\/a><\/p>\n<p>I didn&#8217;t show the test with not null and default value as I encountered an issue (adding column is fast but default value not selected). I don&#8217;t have the latest version (YugaByte DB is open source and in very active development) and this is probably an issue going to be fixed.<\/p>\n<h3>Tibero<\/h3>\n<p>Tibero is a database with very high compatibility with Oracle. I&#8217;ve run the same SQL. But this version 6 seems to be compatible with Oracle 11 where adding a non null column with default had to update all rows:<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-07-232814.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-07-232814.jpg\" alt=\"\" width=\"1024\" height=\"840\" class=\"aligncenter size-large wp-image-39410\" \/><\/a><\/p>\n<p>You can test on any other databases with a code similar to this one:<\/p>\n<pre><code>\n-- CTAS CTE Cross Join is the most cross-RDBMS I've found to create one million rows\ncreate table demo as with q as (select 42 x union all select 42) select 42 x from q a cross join q b cross join q c cross join q d cross join q e cross join q f cross join q g cross join q h cross join q i cross join q j cross join q k cross join q l cross join q m cross join q n cross join q o  cross join q p  cross join q r cross join q s cross join q t  cross join q u;\n-- check the time to add a column\nalter table demo add b numeric ;\n-- check the time for a column with a value set for all existing rows\nalter table demo add c numeric default 42 not null;\n-- check that all rows show this value\nselect * from demo order by x fetch first 3 rows only;\n-- compare with the time to really update all rows\nupdate demo set c=42;\n<\/code><\/pre>\n<p>and please don&#8217;t hesitate to comment this blog post or the following tweet with you results:<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"500\" data-dnt=\"true\">\n<p lang=\"en\" dir=\"ltr\">If I hear one more time that NoSQL semi-structured data stores are more agile than RDBMS I write a blog post about SQL add column and Codd rule #9.<\/p>\n<p>&mdash; Franck Pachot (@FranckPachot) <a href=\"https:\/\/twitter.com\/FranckPachot\/status\/1258470013863895042?ref_src=twsrc%5Etfw\">May 7, 2020<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<h3>NoSQL semi-structured<\/h3>\n<p>The myth comes from old versions of some databases that did no implement the ALTER TABLE .. ADD in an optimal way. And the NoSQL inventors probably knew only MySQL which was late in this area. Who said that MySQL evolution suffered from its acquisition by Oracle? They reduce the gap with other databases, like with this column adding optimisation.<\/p>\n<p>If you stay with this outdated knowledge, you may think that NoSQL with semi-structured collections is more Agile, right? Yes, of course, you can add a new attribute when inserting a new item. It has zero cost and you don&#8217;t have to declare it to anyone. But what about the second case I tested in all those SQL databases, where you want to define a value for the existing rows as well? As we have seen, SQL allows that with a DEFAULT clause. In NoSQL you have to scan and update all items. Or you need to implement some logic in the application, like &#8220;if null then value&#8221;. That is not agile at all: as a side effect of a new feature, you need to change all data or all code. <\/p>\n<p>Relational databases encapsulate the physical storage with a logical view. And in addition to that this logical view protects the existing application code when it evolves. This E.F Codd rule number 9: Logical Data Independence. You can deliver declarative changes to your structures without modifying any procedural code or stored data. Now, who is agile?<\/p>\n<h3>Structured data have metadata: performance and agility<\/h3>\n<p>How does it work? The RDBMS dictionary holds information about the structure of the rows, and this goes beyond a simple column name and datatype. The default value is defined here, which is why the ADD column was immediate. This is just an update of metadata. It doesn&#8217;t touch any existing data: performance. It exposes a virtual view to the application: agility. With Oracle, you can even version those views and deliver them to the application without interruption. This is called Edition Based Redefinition.<\/p>\n<p>There are other smart things in the RDBMS dictionary. For example, when I add a column with the NOT NULL attribute, this assertion is guaranteed. I don&#8217;t need any code to check whether the value is set or not. Same with constraints: one declaration in a central dictionary makes all code safe and simpler because the assertion is guaranteed without additional testing. No need to check for data quality as it is enforced by design. Without it, how many sanity assumptions do you need to add in your code to ensure that erroneous data will not corrupt everything around? We have seen adding a column, but think about something even simple. Naming things is the most important in IT. Allow yourself to realize you made a mistake, or some business concepts change, and modify the name of a column for a more meaningful one. That can be done easily, even with a view to keep compatibility with previous code. Changing an attribute name in a large collection of JSON items is not so easy.<\/p>\n<h3>Relational databases have been invented for agility<\/h3>\n<p>Let me quote the reason why CERN decided to use Oracle in 1982 for the LEP &#8211; the ancestor of the LHC: <a href=\"https:\/\/cds.cern.ch\/record\/443114\/files\/SCAN-0009042.pdf\" rel=\"noopener noreferrer\" target=\"_blank\">Oracle  The Database Management System For LEP<\/a>: &#8220;Relational systems transform complex data structures into simple two-dimensional tables which are easy to visualize. These systems are intended for applications where preplanning is difficult&#8230;&#8221;<\/p>\n<p>Preplanning not needed&#8230; isn&#8217;t that the definition of Agility in the 20th century words?<\/p>\n<p>Another good read to clear some myth: <a href=\"http:\/\/nocoug.org\/Journal\/NoCOUG_Journal_201611.pdf\" rel=\"noopener noreferrer\" target=\"_blank\">Relational Database: A Practical Foundation for Productivity by E.F. Codd<\/a> Some problems that are solved by relational databases are the lack of distinction between &#8220;the programmer\u2019s (logical) view of the data and the (physical) representation of data in storage&#8221;, the &#8220;subsequent changes in data description&#8221; forcing code changes, and &#8220;programmers were forced to think and code in terms of iterative loops&#8221; because of the lack of set processing. Who says that SQL and joins are slow? Are your iterative loops smarter than hash joins, nested loops and sort merge joins? <\/p>\n<h3>Never say No<\/h3>\n<p>I&#8217;m not saying that NoSQL is good or bad or better or worse. It is bad only when the decision is based on myths rather than facts. If you want agility on your data domain structures, stay relational. If you want to allow any future query pattern, stay relational. However, there are also some use cases that can fit in a relational database but may also benefit from another engine with optimal performance in key-value lookups. I have seen tables full of session state with a PRIMARY KEY (user or session ID) and a RAW column containing some data meaningful only for one application module (login service) and without durable purpose. They are acceptable in a SQL table if you take care of the physical model (you don&#8217;t want to cluster those rows in a context with many concurrent logins). But a Key-Value may be more suitable. We still see Oracle tables with LONG datatypes. If you like that you probably need a key-value NoSQL. Databases can store documents, but that&#8217;s luxury. They benefit from consistent backups and HA but at the prize of operating a very large and growing database. Timeseries, or graphs, are not easy to store in relational tables. NoSQL databases like AWS DynamoDB are very efficient for those specific use cases. But this is when all access patterns are known from design. If you know your data structure and cannot anticipate all queries, then relational databases systems (which means more than a simple data store) and SQL (the 4th generation declarative language to manipulate data by sets) are still the best choices for agility. <\/p>\n<p>Still in the NoSQL vs. RDBMS myths, here is a post about &#8220;joins don&#8217;t scale&#8221;: <a href=\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-joins-dont-scale\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-joins-dont-scale\/<\/a> and still in the &#8220;Agility&#8221; of RDBMS an example where adding an index can scale a new use-case without any code change: <a href=\"https:\/\/www.dbi-services.com\/blog\/19c-scalable-top-n-queries\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/www.dbi-services.com\/blog\/19c-scalable-top-n-queries\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Franck Pachot . There are good reasons for NoSQL and semi-structured databases. And there are also many mistakes and myths. If people move from RDBMS to NoSQL because of wrong reasons, they will have a bad experience and this finally deserves NoSQL reputation. Those myths were settled by some database newbies who didn&#8217;t learn [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":14056,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1865,229,1739,59,83,99],"tags":[495,947,1927,98],"type_dbi":[],"class_list":["post-14055","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws","category-database-administration-monitoring","category-nosql","category-oracle","category-postgresql","category-sql-server","tag-agile","tag-nosql","tag-rdbms","tag-sql"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>The myth of NoSQL (vs. RDBMS) agility: adding attributes - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The myth of NoSQL (vs. RDBMS) agility: adding attributes\" \/>\n<meta property=\"og:description\" content=\"By Franck Pachot . There are good reasons for NoSQL and semi-structured databases. And there are also many mistakes and myths. If people move from RDBMS to NoSQL because of wrong reasons, they will have a bad experience and this finally deserves NoSQL reputation. Those myths were settled by some database newbies who didn&#8217;t learn [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-07T20:00:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1996\" \/>\n\t<meta property=\"og:image:height\" content=\"1320\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Open source Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Open source Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/\"},\"author\":{\"name\":\"Open source Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b\"},\"headline\":\"The myth of NoSQL (vs. RDBMS) agility: adding attributes\",\"datePublished\":\"2020-05-07T20:00:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/\"},\"wordCount\":1876,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg\",\"keywords\":[\"agile\",\"NoSQL\",\"RDBMS\",\"SQL\"],\"articleSection\":[\"AWS\",\"Database Administration &amp; Monitoring\",\"NoSQL\",\"Oracle\",\"PostgreSQL\",\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/\",\"name\":\"The myth of NoSQL (vs. RDBMS) agility: adding attributes - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg\",\"datePublished\":\"2020-05-07T20:00:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg\",\"width\":1996,\"height\":1320},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The myth of NoSQL (vs. RDBMS) agility: adding attributes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b\",\"name\":\"Open source Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"caption\":\"Open source Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/open-source-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"The myth of NoSQL (vs. RDBMS) agility: adding attributes - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/","og_locale":"en_US","og_type":"article","og_title":"The myth of NoSQL (vs. RDBMS) agility: adding attributes","og_description":"By Franck Pachot . There are good reasons for NoSQL and semi-structured databases. And there are also many mistakes and myths. If people move from RDBMS to NoSQL because of wrong reasons, they will have a bad experience and this finally deserves NoSQL reputation. Those myths were settled by some database newbies who didn&#8217;t learn [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/","og_site_name":"dbi Blog","article_published_time":"2020-05-07T20:00:44+00:00","og_image":[{"width":1996,"height":1320,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg","type":"image\/jpeg"}],"author":"Open source Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Open source Team","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/"},"author":{"name":"Open source Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b"},"headline":"The myth of NoSQL (vs. RDBMS) agility: adding attributes","datePublished":"2020-05-07T20:00:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/"},"wordCount":1876,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg","keywords":["agile","NoSQL","RDBMS","SQL"],"articleSection":["AWS","Database Administration &amp; Monitoring","NoSQL","Oracle","PostgreSQL","SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/","url":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/","name":"The myth of NoSQL (vs. RDBMS) agility: adding attributes - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg","datePublished":"2020-05-07T20:00:44+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Annotation-2020-05-06-223148.jpg","width":1996,"height":1320},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/the-myth-of-nosql-vs-rdbms-agility-adding-attributes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The myth of NoSQL (vs. RDBMS) agility: adding attributes"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b","name":"Open source Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","caption":"Open source Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/open-source-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/14055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=14055"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/14055\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/14056"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=14055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=14055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=14055"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=14055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}