<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Does anyone use JSON files as a database? Best practises? Or should I use a &amp;quot;real&amp;quot; database? in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Does-anyone-use-JSON-files-as-a-database-Best-practises-Or/m-p/2458788#M4045</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/301277"&gt;@woole&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;as you’ve experienced, sudden crashes or interruptions during writes can lead to corrupted JSON files. Moreover, a&lt;/SPAN&gt;&lt;SPAN&gt;s your projects grow, managing multiple JSON files or directories can become cumbersome. A&amp;nbsp;database system ensures better data integrity and scalability.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have a nice day&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2024 14:25:58 GMT</pubDate>
    <dc:creator>F_B</dc:creator>
    <dc:date>2024-06-03T14:25:58Z</dc:date>
    <item>
      <title>Does anyone use JSON files as a database? Best practises? Or should I use a "real" database?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Does-anyone-use-JSON-files-as-a-database-Best-practises-Or/m-p/2458546#M4044</link>
      <description>&lt;P&gt;I've been using JSON files to store data since I began learning Node, but I'm now working on big projects so I need 0% chance of losing data.&lt;/P&gt;
&lt;P&gt;I had a problem where Node crashed while writing to a file and I was left with half a JSON file, but I guess this can be solved by writing to a temp file first and then moving it to where the original file is.&lt;/P&gt;
&lt;P&gt;I like how easy it is to just use JSON files as databases. I can very easily read data, amend it, and save it in one line each. No packages to install and learn how to use. I try to use no NPM packages where possible because I like learning how to do things myself and time isn't an issue and I'm the only one working on these projects.&lt;/P&gt;
&lt;P&gt;I also read a comment by someone who makes directories for arrays and individual files for objects instead of using one single JSON file per table.&lt;/P&gt;
&lt;P&gt;If someone could enlighten me on why JSON files might not be a good idea for production, or if there are some things I should know before doing this, that would be really helpful.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2024 21:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Does-anyone-use-JSON-files-as-a-database-Best-practises-Or/m-p/2458546#M4044</guid>
      <dc:creator>woole</dc:creator>
      <dc:date>2024-06-02T21:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone use JSON files as a database? Best practises? Or should I use a "real" database?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Does-anyone-use-JSON-files-as-a-database-Best-practises-Or/m-p/2458788#M4045</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/301277"&gt;@woole&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;as you’ve experienced, sudden crashes or interruptions during writes can lead to corrupted JSON files. Moreover, a&lt;/SPAN&gt;&lt;SPAN&gt;s your projects grow, managing multiple JSON files or directories can become cumbersome. A&amp;nbsp;database system ensures better data integrity and scalability.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have a nice day&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 14:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Does-anyone-use-JSON-files-as-a-database-Best-practises-Or/m-p/2458788#M4045</guid>
      <dc:creator>F_B</dc:creator>
      <dc:date>2024-06-03T14:25:58Z</dc:date>
    </item>
  </channel>
</rss>

