简体   繁体   中英

how to delete azure sql server and leave only serverless database copy

I have an sql server (srv1) with an sql database (db1). I want to go serverless.

I made a copy of db1 --> db2, and provisioned it to be serverless.

db2 is showing under srv1. Why? I asked it to be serverless.

I want to delete this srv1 without erasing db2.

how can i do this?

Serverless is a compute tier for single databases in Azure SQL Database that automatically scales compute based on workload demand and bills for the amount of compute used per second. The serverless compute tier also automatically pauses databases during inactive periods when only storage is billed and automatically resumes databases when activity returns.

It's a price tier and not really 'serverless'. And no matter which kind of Azure SQL database, all still need the Azure SQL Server to host it.

You made a copy of db1 in the same Azure SQL Server(I don't know how you created it), the new copy 'db2' will in the same server in usually. Unless you create a .bacpac file of DB1 and import to other Azure SQL Server.

When you delete the Azure SQL Server, all the database will be deleted and we can not restore it.

You could scale the database to serverless price tier on Portal easily:

SQL Database-->Configure-->General Purpose-->Serverless: 在此处输入图片说明

HTH.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM