Number of Companies in SQL
ara3n
Member Posts: 9,258
Hello
One of our clients has 70 companies on a sql database. My question is, if we change tables that they aren't using, aren't in their license, to company independent. So there is only one table for 70 companies. will it have any performance improvements? These tables are just in sql and are empty. Will it improve, in terms off not having 49000 empty tables but only 700? Will the server take up less memory, eventhough the tables are not used?
Thank you.
One of our clients has 70 companies on a sql database. My question is, if we change tables that they aren't using, aren't in their license, to company independent. So there is only one table for 70 companies. will it have any performance improvements? These tables are just in sql and are empty. Will it improve, in terms off not having 49000 empty tables but only 700? Will the server take up less memory, eventhough the tables are not used?
Thank you.
0
Comments
-
I don't think it will improve performance. This because if the tables are not used, no records will remain in the DB-cache of SQL.
The only performance improvements you can get by doing this, is when you rename, backup, restore a company. This because it also touches the empty tables and if it is a DataPerCompany=YES, these won't be touched.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I agree with Kriki, no performance gain, just when renaming. Only possible problems when customer buy new area of application etc.0
-
What about synchronizing Security? Instead of 49000 tables you'll have 700. Will synchronization performance for 4.0 SP1 improve if you have less tables?0
-
Yes, it will be problem, if you will add roles for all companies. But if the users will have only rights into one company and only for tables they need, it will be no problem, because the process add rights to tables you want - the tables you are not using and you will exclude from all roles, will be "invisible" for this process. (problem will be sync of SUPER user... :-)0
-
My question is the synchronization process will it go through 49000 tables even if your license doesn't have access to them, when the SQL Role is created? The performance will be definitely improved. Does the synch process. Delete the old role and creates a new one, or does it go through every table and sets permission based on Navision security?0
-
It is based on Permission table - it means, that it set permission only for tables which are in the roles of the user.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
