SQL Server on Arm

Microsoft has an edge SQL Server product that is also available on Arm in addition of x86 processors, offering core functionality. However, forget about .NET extensibility, snapshots, replication and other features that are excluded from this product.

The Developer edition is limited to 4 cores and 32GB of RAM.

Azure SQL Edge can be pulled from Microsoft’s container registry.

docker pull mcr.microsoft.com/azure-sql-edge:latest

You can then run it with:

sudo docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 --name azuresqledge -d mcr.microsoft.com/azure-sql-edge

The underlying SFP images containing the LibOS and SQL Server products are shared with the x86 version. The binaries are statically translated through sbtrans to be able to run on Arm. sbtrans‘s runtime library, libsbtrntm.so, doesn’t have a JIT fallback. Those translations are stored at /opt/mssql/lib/sbt.

Leave a comment

Your email address will not be published. Required fields are marked *