{"id":364,"date":"2020-03-11T13:25:01","date_gmt":"2020-03-11T13:25:01","guid":{"rendered":"http:\/\/learnlearn.uk\/alevelcs\/?page_id=364"},"modified":"2020-03-11T13:28:20","modified_gmt":"2020-03-11T13:28:20","slug":"limitations-file-based-systems","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/","title":{"rendered":"Limitations of File Based Systems"},"content":{"rendered":"<div class=\"responsive-tabs\">\n<h2 class=\"tabtitle\">Limitations of file based systems<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Limitations of file based systems<\/h3>\n<p>One of the quickest and easist ways to save data persistently (so that you don&#8217;t lose data when the computer is switched off or the program you are running closes) is to save the data to a text or csv file. The files are great if you are just &#8216;dumping&#8217; the data (such as writing to an error log) or saving configuration settings, but when you start to handle large amounts of data or when you need to be able to edit or search the data you run into problems.<\/p>\n<p>Limitations<\/p>\n<ul>\n<li>Text data must be read sequentially, which means that if you have thousands(or even millions) of items in the file it is going to take a long time to read the data.<\/li>\n<li>There is no in-built search function, so you have to search through data manually.<\/li>\n<li>You often cannot edit a single line, you have to rewrite the entire file.<\/li>\n<li>Filtering is slow and difficult &#8211; you have to import all the data into an 2 dimensional array and filter the data from there.<\/li>\n<li>Because there is no way of establishing relationships between the data entered, there is often large amounts of redundancy in the data (duplication)<\/li>\n<\/ul>\n<p>This means that file-based systems are often not the best solution and a relational database is more appropriate.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Limitations of file based systems One of the quickest and easist ways to save data persistently (so that you don&#8217;t lose data when the computer is switched off or the program you are running closes) is to save the data to a text or csv file. The files are great if you are just &#8216;dumping&#8217;&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Limitations of File Based Systems<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":70,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Limitations of File Based Systems - A Level Computer Science<\/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:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Limitations of File Based Systems - A Level Computer Science\" \/>\n<meta property=\"og:description\" content=\"Limitations of file based systems One of the quickest and easist ways to save data persistently (so that you don&#8217;t lose data when the computer is switched off or the program you are running closes) is to save the data to a text or csv file. The files are great if you are just &#8216;dumping&#8217;&hellip;&nbsp;Read More &raquo;Limitations of File Based Systems\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/\" \/>\n<meta property=\"og:site_name\" content=\"A Level Computer Science\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-11T13:28:20+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/\",\"name\":\"Limitations of File Based Systems - A Level Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#website\"},\"datePublished\":\"2020-03-11T13:25:01+00:00\",\"dateModified\":\"2020-03-11T13:28:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"A Level Computer Science Home\",\"item\":\"https:\/\/learnlearn.uk\/alevelcs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Limitations of File Based Systems\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#website\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/\",\"name\":\"A Level Computer Science\",\"description\":\"CIE Specification\",\"publisher\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnlearn.uk\/alevelcs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#organization\",\"name\":\"A Level Computer Science\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png\",\"contentUrl\":\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png\",\"width\":710,\"height\":98,\"caption\":\"A Level Computer Science\"},\"image\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Limitations of File Based Systems - A Level Computer Science","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:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/","og_locale":"en_GB","og_type":"article","og_title":"Limitations of File Based Systems - A Level Computer Science","og_description":"Limitations of file based systems One of the quickest and easist ways to save data persistently (so that you don&#8217;t lose data when the computer is switched off or the program you are running closes) is to save the data to a text or csv file. The files are great if you are just &#8216;dumping&#8217;&hellip;&nbsp;Read More &raquo;Limitations of File Based Systems","og_url":"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/","og_site_name":"A Level Computer Science","article_modified_time":"2020-03-11T13:28:20+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/","url":"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/","name":"Limitations of File Based Systems - A Level Computer Science","isPartOf":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#website"},"datePublished":"2020-03-11T13:25:01+00:00","dateModified":"2020-03-11T13:28:20+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/alevelcs\/limitations-file-based-systems\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"A Level Computer Science Home","item":"https:\/\/learnlearn.uk\/alevelcs\/"},{"@type":"ListItem","position":2,"name":"Limitations of File Based Systems"}]},{"@type":"WebSite","@id":"https:\/\/learnlearn.uk\/alevelcs\/#website","url":"https:\/\/learnlearn.uk\/alevelcs\/","name":"A Level Computer Science","description":"CIE Specification","publisher":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnlearn.uk\/alevelcs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/learnlearn.uk\/alevelcs\/#organization","name":"A Level Computer Science","url":"https:\/\/learnlearn.uk\/alevelcs\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/","url":"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png","contentUrl":"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png","width":710,"height":98,"caption":"A Level Computer Science"},"image":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/"}}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"learnlearnadmin","author_link":"https:\/\/learnlearn.uk\/alevelcs\/author\/learnlearnadmin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"Limitations of file based systems One of the quickest and easist ways to save data persistently (so that you don&#8217;t lose data when the computer is switched off or the program you are running closes) is to save the data to a text or csv file. The files are great if you are just &#8216;dumping&#8217;&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/364"}],"collection":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/comments?post=364"}],"version-history":[{"count":2,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/364\/revisions"}],"predecessor-version":[{"id":368,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/364\/revisions\/368"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/media?parent=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}