NAVISION Database size, company wise

vsalot
Member Posts: 47
Hi I have Navision database (SQL), with size of 160GB, having 4 companies.
Now I want to check the size of each of the company. How's that possible?
Thanks
Now I want to check the size of each of the company. How's that possible?
Thanks
0
Comments
-
File-Database-Information-Tables and copy all into excel and use excel to calc sums for each company.0
-
kine wrote:File-Database-Information-Tables and copy all into excel and use excel to calc sums for each company.
But in that case, Total Database size is showing 160 GB used, in File -> Database -> Information, where as the option suggested by you is showing 115GB only. I want the exact size actually0 -
This is only way from NAV. Yes, the sizes are not exact, but it could give you the info about ratio between companies. If you want exact sizes, you need to go into SQL and read size of each table and sum them by company, but it is not as easy...0
-
Well, to get the exact figures you might look into the "sp_spaceused" procedure (see "Books Online").
Basically you need to loop through all tables, exec the SP and save the result into a (temporary) table; then you cold run some queries to get the exact sums (= size) per "Company" ...
Requires some TSQL programmingJörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
On SQL2008 , Server Management Studio you have a standard Report (Right Click on database)
-Disk Usage by Table- that can be exported to excel as well.0 -
kine wrote:File-Database-Information-Tables and copy all into excel and use excel to calc sums for each company.
Hi, I like to do that this way, but i get an error message:
EDIT: I missed our configuration: DB: SQL 2005/ Client: NAV5.0
I'm not sure what is the reason for that message. Does anyone have an idea?
Kind regards,
jaja_bings0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions