SQL Security synchronize.

MrWho
Member Posts: 59
Our Customer got 44 Companies in Navision, which means on SQL approximately 951 Tables (+SIFT tables etc) * 44 = 41844 Database tables in SQL. 18 Windowslogins and 4 Active Directory Groups. Multiplying 41844 Table with each login * 22 = 920568.
So I think it has to synchronize somewhat 920568 tables/times in total. This is only my own consideration of what’s going on behind all this, since it takes seriously shorter time on Companies only having one Nav Company. Because on this particular customer it takes 3 hours to synchronize, and then I’m running Navision client and synchronizing from the same server as the SQL Server is running on. Is there any best practices for these things, should I setup each company in it’s own SQL database, but then they will lose intercompany functionality and the close open company in one client, and I have to maintain security in each DB.
Please help, any angle to this matter would be appreciated.
So I think it has to synchronize somewhat 920568 tables/times in total. This is only my own consideration of what’s going on behind all this, since it takes seriously shorter time on Companies only having one Nav Company. Because on this particular customer it takes 3 hours to synchronize, and then I’m running Navision client and synchronizing from the same server as the SQL Server is running on. Is there any best practices for these things, should I setup each company in it’s own SQL database, but then they will lose intercompany functionality and the close open company in one client, and I have to maintain security in each DB.
Please help, any angle to this matter would be appreciated.
0
Comments
-
If you are on late enough exe's, set the security model to 'standard'. File, Database, Alter, Advanced tab, Security area). This will eliminate synchronizing permissions to the SQL Server. Those are managed from within NAV anyway. The only drawback is that this takes away specific table permissions on SQL Server, so users can't access the tables directly. In my opinion, the standard security model is 'safer' than the enhanced model, and it only takes a few seconds to synchronize.0
-
You could use standard security model. It's faster. I think you should use all companies in same database, it's easier to maintain.0
-
DenSter wrote:If you are on late enough exe's, set the security model to 'standard'. File, Database, Alter, Advanced tab, Security area). This will eliminate synchronizing permissions to the SQL Server. Those are managed from within NAV anyway. The only drawback is that this takes away specific table permissions on SQL Server, so users can't access the tables directly. In my opinion, the standard security model is 'safer' than the enhanced model, and it only takes a few seconds to synchronize.
Ok, you were faster.0 -
-
[Topic moved from Navision forum to SQL General forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
nunomaia wrote:DenSter wrote:If you are on late enough exe's, set the security model to 'standard'. File, Database, Alter, Advanced tab, Security area). This will eliminate synchronizing permissions to the SQL Server. Those are managed from within NAV anyway. The only drawback is that this takes away specific table permissions on SQL Server, so users can't access the tables directly. In my opinion, the standard security model is 'safer' than the enhanced model, and it only takes a few seconds to synchronize.
Ok, you were faster.
Hi,
My client also facing the same synchronize problem. (Nav 4.0SP3, SQL2005)
Before altering the security model on live database I want to hear the results from your side.
1. Do you face any problems after changing security model to standard
2. My test results: Before altering the database I was able to do synchronize single login. After altering synchronize single
login is in gray color
3. Can any body describe me more about “The only drawback is that this takes away specific table permissions on SQL Server, so users can't access the tables directly”
Thanks,
ravi~~ravi0 -
Has anyone seen this error when synchronizing (NAV 4 SP2, SQL Server 2000):
Navision security synchronization error lock request time out period exceeded
This happened on a grant select to the General Ledger Setup table. The SQL error is 1222. I googled it and it appearsa the solution is to optimize the sql statements. The only way I know to do that is to go to standard security.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
ravi_navision wrote:1. Do you face any problems after changing security model to standardravi_navision wrote:2. My test results: Before altering the database I was able to do synchronize single login. After altering synchronize single login is in gray colorravi_navision wrote:3. Can any body describe me more about “The only drawback is that this takes away specific table permissions on SQL Server, so users can't access the tables directly”0
-
Thanks to all sharing your information
--ravi~~ravi0 -
Yes - thanx a million - just saved me loads of time...Our test server took more than 5 hours synchronizing all users (SQL 2008 and NAV 5 SP1)! And that was with only 30 active users. Now I've just created another 50 users...Regards,
Henrik Frederiksen, Denmark0 -
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