Important
Azure SQL Edge will be retired on September 30, 2025. For more information and migration options, see the Retirement notice.
Note
Azure SQL Edge no longer supports the ARM64 platform.
Azure SQL Edge is an optimized relational database engine geared for IoT and edge deployments. It's built on the latest versions of the Microsoft SQL Database Engine, which provides industry-leading performance, security, and query processing capabilities. Along with the industry-leading relational database management capabilities of SQL Server, Azure SQL Edge provides in-built streaming capability for real-time analytics and complex event-processing.
Azure SQL Edge provides native mechanisms to deploy a SQL Database DACPAC and BACPAC package during, or after deploying, SQL Edge.
SQL Database DACPAC and BACPAC packages can be deployed to SQL Edge using the MSSQL_PACKAGE
environment variable. The environment variable can be configured with any of the following.
To deploy (or import) a SQL Database DAC package (*.dacpac)
or a BACPAC file (*.bacpac)
using Azure Blob storage and a zip file, follow these steps.
Create/extract a DAC package or export a BACPAC file using one of the following mechanisms.
If you're using external streaming jobs as part of the database, ensure that:
The generated DACPAC captures all the SQL Server objects corresponding to the inputs/output streams and the streaming jobs, but the jobs won't be automatically started. In order to have the external streaming job automatically started after deployment, add a post-deployment script that restarts the jobs as follows:
EXEC `sys.sp_stop_streaming_job` @name = N'<JOB NAME>';
GO
EXEC `sys.sp_start_streaming_job` @name = N'<JOB NAME>';
GO
Any credentials required by the external streaming jobs to access input or output streams are provided as part of the DACPAC.
Zip the *.dacpac
or the *.bacpac
file and upload it to an Azure Blob storage account. For more information on uploading files to Azure Blob storage, see Upload, download, and list blobs with the Azure portal.
Generate a shared access signature for the zip file by using the Azure portal. For more information, see Delegate access with shared access signatures (SAS).
Update the SQL Edge module configuration to include the shared access URI for the DAC package. To update the SQL Edge module, take these steps:
MSSQL_PACKAGE
environment variable and specify the SAS URL generated in Step 3 above as the value for the environment variable.After the module update, the package files are downloaded, unzipped, and deployed against the SQL Edge instance.
On each restart of the Azure SQL Edge container, SQL Edge attempts to download the zipped file package and evaluate for changes. If a new version of the DACPAC file is encountered, the changes are deployed to the database in SQL Edge.
Known issueDuring some DACPAC or BACPAC deployments users may encounter a command timeout, resulting in the failure of the DACPAC deployment operation. If you encounter this problem, use the SQLPackage.exe (or SQL Client Tools) to apply the DACPAC or BACPAC manually.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4