Banner image for Scaling New Heights 2024, the premier accounting technology conference in the United States. The image features the conference theme and dates.
 

QuickBooks Desktop: Why Maintenance Tools Are Needed

Ernest Cook
Posted by Ernest Cook on Aug 9, 2021 2:38:24 PM

Originally, QuickBooks Desktop effectively operated more like an Excel workbook, storing data in flat information files. QuickBooks later changed to use an actual database. Fortunately (and unfortunately) a database engine is a very complex thing and while Intuit has provided a lot of tools to help manage the complexity, too often those tools and best practices are not used. My goal in this article is to help you understand why maintenance tools are needed to make sure your QuickBooks database stays safe.

The information in this article is a preview of one of my sessions at Scaling New Heights, 2021. I hope to see you there in my breakout sessions "QuickBooks Desktop Reporting: A Deep Dive into Using the Data You Work so Hard to Put into QuickBooks" and "Making a Great Dashboard with Power BI."

To maximize your use of QuickBooks, there are several core ideas you need to understand.

The QuickBooks database is a complex structure.

When you look at a visual representation of the QuickBooks Desktop’s database (and you are not meant to be able to read the words in this image), you will see the scope of the database.

graphic representation of QuickBooks Desktop Database

As accounting professionals, we don’t enter data just because we want that data. Instead, we put data into the QuickBooks database to be able to get aggregated information out of QuickBooks. Although that low-level data on its own is useful, the higher-level information we extract is more important. For example, when you enter a sales invoice, what you may want is the information around historical sales for compliance (tax) or maybe to spot trends to project future sales.

Because none of us would put up with long wait times to save, retrieve or maintain long strings of redundant data inherent in financials transactions, QuickBooks was designed primarily as what is called an Online Transactional Processing (OLTP) database. These databases are characterized by a complex interrelationship of separately stored information that, in many cases, are linked by codes that identify a unique record like an account, an item or a customer. The ability to store just a small code instead of a long customer name not only saves space and reduces the speed at which an invoice can be saved, it also reduces the number of records that need to be updated when a name changes.

Let’s take a transaction level look at what happens in the database. When you create an invoice, for example, you are actually entering data into ten different tables within the database - summary information, customer information, details, inventory line, serial/lots, linked transactions, audit trail, preferences, entity notes, and billing rates. When you consider that each inventory item may impact multiple inventory lines with multiple series and lots and that you create audit trail changes, you begin to appreciate how complex the data structure can become.

Ten tables used when creating an invoice
Stuff happens.

As you can see, the QuickBooks Desktop database is a very complex series of tables and while Intuit engineers work incredibly hard to ensure that no data is ever lost and while they do all they can to prevent mistakes, ALL applications and database as complex as QuickBooks will have "stuff" happen.

People sometime refer to a “corrupted QB file” but I’m not sure that’s a great way of understanding what is really happening. The Sybase database engine which is at the heart of QuickBooks after all is world class and can store way more information than our QuickBooks files hold, so what’s the real issue?

Simply put, what most people see as corruption stems from is an unexpected situation that comes about while updating QuickBooks.

As a database professional that sees hundreds of files every year, we certainly see some patterns erupt in corruption. Because updating a file is realistically the only way a file becomes “corrupted”, all of these factors below are all just different ways the risk is increased.

  • Operating platform – The variety of ways QuickBooks desktop can be run, from really old windows 7 machines on a wifi network to the latest hosted environments is a core strength as well as a risk simply because of all the variables introduced. Issues come from things outside of Intuit’s control like inefficiencies in data storage (fragments) to underlying windows issues. Human error also comes in to play, for example when one machine is updated but not another or permissions are changed in a way that causes issues. Finally, most of use have seen at least once the power cut to a computer running QuickBooks
  • File volatility - The more activity a file has (sometimes measured in file size, the depth of the transaction, the number of customers, etc.), the greater the opportunity for problems to occur
  • Age of file - Years of use can also impact your risk since, over those years, many changes in how data is handled in the program have happened. Given the depth and breadth of QuickBooks, updates to ALL historical data can be hard for engineers to map out. For example, it took Intuit 3 years to port the information from their old methodology to the current SQL Anywhere platform, effective 2006.
  • How you use QuickBooks - As new capabilities come and go, it’s always possible for something to be over looked.

All backups are not the same.

Many companies tell me that the tech guy handles their QuickBooks backup. That would be great EXCEPT for the fact that most tech guys are going to use their tools to save a copy of the QuickBooks files and call it a day. That may work (I know it may have worked for you for 20 years), but it is not bulletproof.   The reason this kind of backup is not very reliable is related to the fact that, as detailed earlier, QuickBooks is a complicated database file.

What should we do then?

I mentioned maintenance tools at the beginning of this article. The number one underutilized tool in my opinion is the QuickBooks automated backup. Setting up the backup with verification AND monitoring it will not just give you a fallback position, it can alert you to issues in your data before they’re insurmountable.

Here’s how: Back up your QuickBooks Desktop company file (intuit.com).

QuickBooks scheduled backup and resulting Task Scheduler event

Figure 1 QuickBooks scheduled backup and resulting Task Scheduler event

Since QuickBooks is deployed in a lot of environments, a caveat here; you should always do your own testing and validation before relying on a backup plan. Hosted environments, Qbox and other add-in products can all affect this Intuit tool.

Finally, the biggest reason to do the Intuit backup instead of  a file backup is that before this backup runs, Intuit made sure to include a maintenance program that verifies the database BEFORE doing a backup. This verification is critical to the long-term health of your database.

A little tidbit that might intrigue you here; as a part of the maintenance you may save some disk space and improve the speed of QuickBooks. I'll cover the details of that in another article. For now, get your routine backup / maintenance scheduled!

Topics: Desktop Accounting


 

Sign up and stay plugged into the education, news pieces and information relevant to you.

Subscribe to The Woodard Report today! 


Do you have questions about this article? Email us and let us know > info@woodard.com

Comments: