SQL VM licensing

Vishu 1,516 Reputation points


Understand that this is not a platform for licensing , but just wanted to understand for VM licensing how to check the requites as per mentioned :

To license individual VMs using the Per Core model, customers must purchase a core license for each v-core (or
virtual processor, virtual CPU, virtual thread) allocated to the VM, subject to a four-core license minimum per
VM. For licensing purposes, a v-core maps to a hardware thread.

Is there a query or setting we can check on the VM or SQL to come to a conclusion how many vcores are there for licensing as this is quite confusing

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,633 questions
0 comments No comments
{count} votes

Accepted answer
  1. Cris Zhan-MSFT 6,601 Reputation points


    When the SQL Server service starts, it will record the detected hardware, memory and CPU information in the errorlog. Similar to the record below.

    SQL Server detected 1 sockets with 4 cores per socket and 8 logical processors per socket, 8 total logical processors; using 8 logical processors based on SQL Server licensing. This is an informational message; no user action is required.

    For different SQL Server editions,the available processors are also different. Please check the Compute capacity limits by edition of SQL Server for more details.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Tom Phillips 17,716 Reputation points

    You set that information when you configure your VM.

    Please see:

    0 comments No comments