Skip to main content

#MSDyn365BC Reduce Data Stored in Business Central Tenant - Part 1?

 Hi all,

We all understand that our customer databases size increases as we use Dynamics NAV or Business Central. We as partners are not the right person to suggest you which data is important for your business.

At same time we understand that there is a size limit in Business Central Online.

We as customers & partners need to start thinking about data that we can remove to reduce our database sizes.

Microsoft is providing us with tools and suggestion how to keep our database size small. In this series of articles we will talk about those suggestions and if possible I would recommend to start discussion with your partner to reduce the database size.

I would recommend to follow these steps - Even you are using Business Central (on-Prem) and not planning to upgrade to BC Online.

There are multiple benefits of Reducing the size of your database - 
  • Prevents reaching the size limit when using Business Central online.
  • Improves runtime performance.
  • Improves database management processes, like backing up and restoring databases.
All These measures are typically done by an application administrator or developer.

Delete unused companies

If you have companies that are no longer needed, such as test companies or the Demo company, delete these companies.

I know that we think that no one keep those companies, but believe it or not I have seen customers have and want to keep those Demo / Test Companies during Upgrades. 

If you want to have a Demo Database from Microsoft or Test Companies then create a separate database.

Delete documents

Over time, the database will accumulate historical data for documents, like invoiced purchase orders. If these documents are no longer needed, delete them.

We as partners understand that customer have to keep posted document for a defined period of time which vary from region and business area. But After the defined period you can delete those documents.

While deleting Posted documents - Business Central checks that you have fully invoiced the deleted purchase orders. You cannot delete orders that you have not fully invoiced and received.

For Deleting Posted Documents, a New setup field is added in Sales & Receivable Setup and Purchase & Payable Setup.

The Field is - Allow Document Deletion Before (as shown below).

The Data Specifies if and when posted sales documents can be deleted. If you enter a date, posted sales documents with a posting date on or after this date cannot be deleted.



You also may have Documents which are fully invoiced like Sales Order, Purchase order, Sales Return orders, Purchase Return orders, Blanket Sales orders & Blanket Purchase orders based on how you use system.

Business Central provides you Batches which you can use to Delete these Documents which are no longer required.




You can use these batches to cleanup unused data in the system.

In Next article in this series We will discuss about other possibilities that we have to keep our database size within permissible limit.

Stay connected.

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

RTC Report It is not possible to instantiate the Visual Studio bridge.

Hi all, As a Navision developers I have Multiple Versions of Navision running in single Machine. As discussed Earlier in the post how to run multiple Version of RTC in single machine. So my machine have following details for RTC Versions - NAV 2009 R2    - is installed. NAV 2009 SP1  - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 SP1 IN\ NAV 2009         - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 IN\ This approach has been working great for execution of Classic and RTC Clients. However, after installing Dynamics NAV 2009 R2, if i tried to view the Layout for an NAV 2009 SP1 Report i was getting the following error: ---------------------------  Microsoft Dynamics NAV Classic  ---------------------------  It is not possible to instantiate  the Visual Studio bridge.  ---------------------------  OK    --------------------------- After searchi...

NAV 2013 R2 - Cumulative update 12 Released.

Hi all, Please find below the details of  Cumulative Update 12 released for Microsoft Dynamics NAV 2013 R2. Title - Cumulative Update 12 for Microsoft Dynamics NAV 2013 R2 Build No. - 38053 Release Date - October, 2014 Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK, RU Download Link Note: Implementing this cumulative update will require a database conversion unless you have already implemented update rollup 5.