Yes, create sqldb-mfr-qa as a second Azure SQL Database under the existing logical server sqldb-mfr-test.database.windows.net.
Create the database
- In the Azure portal, open SQL databases.
- Select Create.
- Choose the existing:
- Subscription
- Resource group
- Server:
sqldb-mfr-test
- Enter Database name:
sqldb-mfr-qa.
- Select the required compute and storage configuration, or choose an existing elastic pool.
- Select Review + create, then Create.
An Azure SQL logical server is specifically designed as the parent and administrative container for multiple databases. It supplies their common connection endpoint and server-level management settings.^1^
Applications connect to the same server endpoint but specify different database names:
Server=tcp:sqldb-mfr-test.database.windows.net,1433;
Initial Catalog=sqldb-mfr-qa;
Authentication=Active Directory Default;
Encrypt=True;
Important design considerations
- Capacity: A logical server supports up to 5,000 databases, subject to subscription and regional compute quotas. Two databases are well within that limit.^2^
- Compute and cost: If both are single databases, each has its own service tier, compute allocation, storage configuration, and associated cost.^3^
- Elastic pool option: If test and QA have intermittent or unpredictable usage, consider placing them in an elastic pool. Databases in a pool share an allocated set of compute resources, which can reduce costs compared with independently provisioned databases.^4^
- Server-scoped configuration: Firewall rules, auditing, threat-detection policies, logins, and some other management policies are scoped to the logical server. Review whether test and QA should share those settings.^1^
- Permissions: Users do not automatically receive equivalent database-level permissions in the new database. Create or map the required contained users and grant appropriate roles in
sqldb-mfr-qa.
- Lifecycle isolation: Deleting the logical server deletes all databases and elastic pools beneath it. Add an Azure resource delete lock to the server or resource group if accidental deletion is a concern.^5^
Using the same logical server is appropriate when test and QA can share the same region, network boundary, server administration, and server-scoped policies. Use separate logical servers when the environments require independent firewall rules, administrators, regional placement, auditing policies, quotas, or lifecycle boundaries.
References
- What is a logical server in Azure SQL Database?
- Resource management in Azure SQL Database
- What is a single database in Azure SQL Database?
- What is Azure SQL Database?
- Resource management in dense elastic pools