我是微軟Dynamics 365 & Power Platform方面的工程師羅勇,也是2015年7月到2018年6月連續三年Dynamics CRM/Business Solutions方面的微軟最有價值專家(Microsoft MVP),歡迎關注我的微信公眾號 MSFTDynamics365erLuoYong ,回復391或者20200204可方便獲取本文,同時可以在第一間得到我發布的最新博文信息,follow me!
根據官方文檔 Microsoft Dynamics 365 Licensing Guide (我查看的是2020年2月份版本),購買Dynamics 365 Customer Engagement后,所在的租戶(Tenant)默認的容量(capacity)如下:
每個Enterprise Base licenses (Sales Enterprise, Customer Service Enterprise, Field Service, and Project Service Automation) 將會免費增加250兆Database Capacity,2GB的File Capacity,不會增加Log Capacity,如下表:
為了更好的理解舉個例子,假設你購買了10個Enterprise Base licenses,那么該租戶總共獲得的免費的Database Capacity是 10GB+10*250MB, File Capacity是 20GB + 10*2GB,Log Capacity保持不變還是2GB。
那你可能會問,怎么定義 Database,File 和Log,參考官方的說明 Common Data Service storage capacity 如下:
- File: The following entities are used:
- Attachment
- AnnotationBase
- Any custom or out-of-box (OOB) entity that has fields of datatype File or Image (full size)
- Log: The following entities are used:
- AuditBase
- PlugInTraceLogBase
- Database: All other entities are counted for your database
那我如何查看自己的Capacity和使用情況呢?請使用有權限的賬號(如果可以用具有Global Admin角色的賬戶)登錄 https://admin.powerplatform.microsoft.com/ ,導航到Analytics下面的Capacity,展示效果類似下圖,可以看到我這里是綠燈,大部分都沒有使用。
點擊上面頁面的 Storage capacity標簽,可以看到不同的實例使用的存儲情況,類似下圖:
再點擊Environment name旁邊的圖標,可以看到更多的情況,就是三個種類按照實體展示占用量比較多的圖形。
點擊旁邊的按鈕可以看到更多的下拉菜單,比如可以全屏幕展示,可以下載該圖形展示為PNG格式,下載數據為CSV格式。
下載數據為CSV格式我打開后截圖如下:
你可能會問,如果我接近使用完了怎么辦?官方文檔 Free storage space 提供了 9種方法並有詳細說明,我這里就不贅述了。
用完了可以買嗎?當然,這個問題充值可以解決,Dynamics 365 Capacity Add-ons 章節有介紹,如下,可以知道要買的話是1G的整數倍,不能一次買100兆空間。
從上表可以看到,Database Capacity有個最大限制,默認情況下是 4TB。我的理解這個4TB包括了存儲在Dynamics 365 Customer Engagement實例中的所有數據,包括Database,File 和Log的和。當然,如果超過4TB也可以開Case來擴容,不過在擴容期間會有短暫的服務中斷。
還有人會問,我可以通過編程的方式拿到Capacity相關的數據嗎?根據官方文檔:PowerShell cmdlets for Power Automate admins are generally available 的說明是可以的,不過預計要到2020年4月份才公開可用。
We are now announcing the General availability of these cmdlets, as well as the addition of new cmdlets around:
- Capacity management
- Permission and user management
- Environment lifecycle management
前面提到了租戶,實例等概念,這些概念的官方解釋請參考: About multiple online instances or tenants ,我復制出來如下:
Term | Definition |
---|---|
Tenant | For model-driven apps in Dynamics 365, a tenant is the account you create in the Microsoft Online Services environment when you sign up for a subscription. A tenant contains uniquely identified domains, users, security groups, and subscriptions and can contain multiple instances. The tenant created for you has a domain name of <account>.onmicrosoft.com. For example, contoso.onmicrosoft.com. |
Instance | When you sign up for a trial or purchase a subscription, a Production instance is created. Each additional Production or non-Production (Sandbox) instance you add creates a separate and isolated organization on the same tenant. An instance has the URL format: https://<URL name>.crm.dynamics.com. For example, https://contososales.crm.dynamics.com. |
Multiregional instance | An instance in a different region than where your tenant resides. Local instances can provide quicker data access for users in that region. More information: Add and edit multiregional instances |
Organization | In Dynamics 365 products and content, an organization is an entity (such as a business or company) that uses Microsoft products, technologies, or services. |
Subscription | A subscription consists of the licenses and add-ons included with the trial or paid service you signed up for in your account. Subscriptions can vary in license type, price, and end date. For example, a subscription might be 100 licenses of Dynamics 365 Professional and 10 licenses of Dynamics 365 Enterprise. |
Identity | The user account used to sign in to model-driven apps in Dynamics 365. You can also use this identity to access other Microsoft Online services, such as Office 365 or SharePoint Online. Administrators can decide if they want to federate user identity management between model-driven apps in Dynamics 365 and on-premises Active Directory. |
User account | A user account assigned by an organization (work, school, non-profit) to one of their constituents (an employee, student, customer) that provides sign-in access to one or more of the organization’s Microsoft cloud service subscriptions, such as Exchange Online or model-driven apps in Dynamics 365. Access to an online service is controlled by the license assigned to the user account. User accounts are stored in an organization’s cloud directory within Azure Active Directory, and are typically deleted when the user leaves the organization. Organizational accounts differ from Microsoft accounts in that they are created and managed by admins in the organization, not by the user. |
Security group | If your company has multiple instances, you can use instance security groups to control which licensed users can access a particular instance. More information: Control user access to instances: security groups and licenses |