Azure SIngle DB serverless with multiple database, will it cost same or more?

prateek chaturvedi 1 Reputation point
2021-11-22T10:02:29.82+00:00

Hi All,

Once an Azure Single DB with serverless configuration is provisioned, can we create multiple DBs (Using 'CREATE DATABASE')?

If this is possible , do we need to pay the same amount or it is going to increase?

Regards,
Prateek

Azure SQL Database
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alberto Morillo 35,401 Reputation points MVP Volunteer Moderator
    2021-11-22T12:32:10.167+00:00

    One Azure SQL logical server can have databases of many types created on it as shown below:

    151485-image.png

    On this image you can see a serverless database paused along with other 3 DTU-model databases (1 premium, 1 standard, 1 basic). Every time you create a database you will have to specify is a serverless databases and each created serverless database will be billed separetely.

    One option you have available is to consolidated all your databases into one serverless database, by creating a separate schema for each database inside the Azure Serverless database. This way you can migrate your existing database into one single serverless database, and be billed by one database only. Each existing database will have its data migrated to different schema inside the serverless database.

    Another option you have if all the databases you want to consolidate have the same schema, you may first think about merge these data into one database, then deploy the database to Azure Serverless database.


  2. Oury Ba-MSFT 21,126 Reputation points Microsoft Employee Moderator
    2021-11-25T00:11:18.83+00:00

    Hi @prateek chaturvedi

    Thank you @Alberto Morillo for helping so many customers on forums.

    Yes. You can create databases in an elastic pool using CREATE DATABASE, and create schemas in each database in the same way as when a database is not in an elastic pool.

    Regards,
    Oury


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.