Best Practices for Supporting Domain SeparationIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } table tr td { padding: 15px; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Overview Domain separation is a way to separate data, processes, and administrative tasks into logically defined domains. It is best suited for Managed Service Providers (MSPs) or for companies that have a global presence with unique and varying business requirements for different parts of the world. In the next few sections, we will explain some best practices for admins to consider when supporting domain separation. Best Practices 1. For performance considerations: -- Limit the number of domains, a large number of domains can cause a severe performance impact. -- Limit domain containership and User/Group Visibility, this creates slow database queries -- Use Domain Reference Picker, this will help not loading the domains all at once and will give better performance on login. -- Use 2. Implement changes to the existing Domain Hierarchy (update/delete or add domain) only when absolutely needed it's its needed perform it during off business hours for lesser impact. 3. Always check domain logs 'syslog_domain' for any errors or warnings. 4. Always have one Default domain set in domain table. When system couldn't find the domain it automatically assigns domain to Default domain. If default domain is not available records will be created in the Global domain which is not recommended as everyone can see records in the Global domain. 5. Admins havethe ability to perform debugging onthe instance. For any unexpected behavior experienced by users, enable SQL debugging and look for queries system is performing to understand the issue. 6. Script should not be dependant on sys_domain_path, as domain path can be recalculated if domain hierarchy is changed. Additional Information Please see this blog on the community for the more detailed explanation on best practices: 8 Best Practices for Supporting Domain Separation