{"id":9127,"date":"2023-01-28T10:28:48","date_gmt":"2023-01-28T02:28:48","guid":{"rendered":"https:\/\/www.iftm.edu.mo\/NewsPortal2\/?p=9127"},"modified":"2023-02-15T00:02:25","modified_gmt":"2023-02-14T16:02:25","slug":"spreadsheet-or-database-choose-wisely","status":"publish","type":"post","link":"https:\/\/www.utm.edu.mo\/NewsPortal\/spreadsheet-or-database-choose-wisely\/","title":{"rendered":"Spreadsheet or Database? Choose wisely."},"content":{"rendered":"<span class='pum-trigger  popmake-9128  text-center font-blue' data-do-default=''>\u4e2d\u6587\u6458\u8981 \/ Summary in Chinese<\/span>\n\n\n\n<p>I still remember I could not distinguish between a spreadsheet application and a database application when I saw their interfaces for the first time &#8211; they both have a table with rows and columns &#8211; they look alike! Yet, it is essential to understand that they serve different purposes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"284\" src=\"https:\/\/www.iftm.edu.mo\/NewsPortal2\/wp-content\/uploads\/2023\/01\/Fig1.jpg\" alt=\"\" class=\"wp-image-9131\" srcset=\"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-content\/uploads\/2023\/01\/Fig1.jpg 745w, https:\/\/www.utm.edu.mo\/NewsPortal\/wp-content\/uploads\/2023\/01\/Fig1-300x114.jpg 300w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/figure>\n\n\n\n<p><em>Figure 1 The interfaces of a database application (left) and a spreadsheet (right) resemble each other.<\/em><\/p>\n\n\n\n<p>Microsoft Excel is famous worldwide as a spreadsheet application that may not need further introduction. As you learn more about it, you should agree that it is an application designed for calculation, and MS Excel excels (pun intended) at it by having hundreds of functions. Yet, instead of calculating, if you misuse a spreadsheet application to manage data, even sophisticated applications like MS Excel will fall short too. One of the reasons is that MS Excel can only accept a limited number of rows. What exactly is the limit? Press <strong>Ctrl+Down Arrow<\/strong> in MS Excel to find out!<\/p>\n\n\n\n<figure text-align: center;\n  font-style: italic;\n  font-size: smaller; class=\"alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.iftm.edu.mo\/NewsPortal\/wp-content\/uploads\/2023\/01\/Fig2.png\" alt=\"\" class=\"wp-image-9133\" width=\"212\" height=\"237\"\/><figcaption style=\"italic smaller\"><em>Figure 2 The bottom of MS Excel<\/em><\/figcaption><\/figure>\n\n\n\n<p>It turns out that the &#8220;end&#8221; of a standard MS Excel worksheet stops at cell <strong>XFD1048576<\/strong> (the last cell reference), i.e., there are 1,048,576 rows and 16,384 columns (Learn more about the limits in MS Excel <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>). Although the total number of rows you could use is enormous (more than a million), efficient data storage would only employ a row partially in principle. We usually use one row for each observation\/record regardless of the number of variables (columns). That means MS Excel can, at most, store 1,048,576 observations\/records only. One million observations are not a big deal, especially in the digital age. Any smart sensors in a hotel guest room can generate data in such level. Assume that there is a hotel property with 1,000 guest rooms. Whether a guest room is occupied or vacant, the front office manager would have 1,000 records to trace the status of each room daily. Suppose the hotel has been operating for ten years. There would be <strong>3,650,000<\/strong> (1,000 rooms by 3,650 days) observations to maintain. Regardless of variables (columns), this scenario has reached the row limit of MS Excel threefold readily. Indeed, it is easy to spot a hotel with 1,000+ rooms, ten years of history, and willing to analyze its business data. Some students may suggest having multiple MS Excel workbooks\/worksheets to bypass the limitation. However, many critical features in MS Excel would become less flexible in such an arrangement. For example, Pivot Table does not work across multiple files directly. Mistakes tend to occur more frequently in your formula under such complicated circumstances too.<\/p>\n\n\n\n<p>On the contrary, database applications are usually free from those limitations. It is beneficial for long-term data management strategy. Microsoft Access, a desktop-class database application, has a 2GB file size limitation. This limitation, however, is fair for a database product designed for desktop-class users (Learn more about the limits in MS Access <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/access-specifications-0cf3c66f-9cf2-4e32-9568-98c1025bb47c\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>). Server-class database applications\/systems such as <a href=\"https:\/\/www.mysql.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MySQL<\/a>, <a href=\"https:\/\/www.microsoft.com\/en-us\/sql-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">MS SQL<\/a>, and other database products would provide a much bigger space for data storage (e.g., MySQL&#8217;s default size limit of each table is 256TB, i.e., 256,000GB).<\/p>\n\n\n\n<p>Nevertheless, take into account the importance of MS Access. For learning database principles and delivering desktop-class data management projects in small-medium enterprises, MS Access serves this sector well. Furthermore, upgrading to a server-class database format is available in MS Access (technically, this process is called <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/migrate-an-access-database-to-sql-server-7bac0438-498a-4f53-b17b-cc22fc42c979\" target=\"_blank\" rel=\"noreferrer noopener\">migration<\/a>).<\/p>\n\n\n\n<p>Before undertaking your next data management project, choose wisely for future scalability. MS Excel is suitable for both calculations and data analysis. Yet, it is always better to learn to maintain a database if your data management project is long-term and potentially large in scope. Using a database application to manage your data is far more sensible than simply inputting all data into a spreadsheet \u2013 choose the right tool for your project.<\/p>\n\n\n\n<p>Students who enrolled in <em>ICT1002 Digital Competence I<\/em> will learn more about the principle and technical skills in spreadsheet and database applications.<\/p>\n\n\n\n<p><em>By IFTM Faculty Member Mr. Joe Lam&nbsp;&nbsp;&nbsp;&nbsp;<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I still remember I could not distinguish between a spreadsheet application and a database application when I saw their interfaces for the first time &#8211; they both have a table [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":9139,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[212,136],"tags":[2382,2383,2379,2387,2381,2385,2390,2389,2388,2380,2386,2384],"class_list":["post-9127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ict_in_education","category-main_headline","tag-access","tag-application","tag-database","tag-digital","tag-excel","tag-microsoft","tag-mssql","tag-mysql","tag-pivot","tag-spreadsheet","tag-table","tag-worksheet"],"views":974,"_links":{"self":[{"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/posts\/9127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/comments?post=9127"}],"version-history":[{"count":12,"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/posts\/9127\/revisions"}],"predecessor-version":[{"id":9251,"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/posts\/9127\/revisions\/9251"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/media\/9139"}],"wp:attachment":[{"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/media?parent=9127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/categories?post=9127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.utm.edu.mo\/NewsPortal\/wp-json\/wp\/v2\/tags?post=9127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}