Why is sql database cost so high,

charanjit singh 10 Reputation points
2024-03-31T00:21:31.1466667+00:00

I have a free account, but somehow my subscription is pay as you go and I got billed for close to $400. I have a simple database with less than 10 tables. Just trying out a website. Is this cost normal? If so, then Azure is not the place for a small time developer like me.

Can anyone explain to me what is going on?

ty

Azure SQL Database
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. TP 109.1K Reputation points
    2024-03-31T00:30:20.2633333+00:00

    Hi,

    From your description it sounds like you may have chosen a SQL Database pricing tier that is too expensive for your needs. In the Azure portal, please navigate to your Azure SQL Database, then click on Compute + storage blade on the left.

    On the right, what does it show for the Service and compute tiers? You may want to change Service tier to Basic so that your potential monthly costs are much lower. Regardless, please add a comment below with what your Service and compute are set to so that I can give more tailored advice.

    Azure SQL Database pricing

    https://azure.microsoft.com/en-us/pricing/details/azure-sql-database/single/

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


  2. RahulRandive 10,306 Reputation points
    2024-03-31T00:38:07.5133333+00:00

    Hi @charanjit singh

    The cost of Azure SQL Database is calculated based on

    Service tier: Azure SQL Database offers several service tiers, each with different levels of performance and features. The cost of the service tier depends on the number of vCores and the amount of memory allocated to the database.

    if you have a simple database with less than 10 tables, you can descale the service tier.

    User's image

    or you can configure Serverless to automatically pause after one hour of inactivity and can save the cost.

    Thank You!


  3. Nguyen, Huy@DWR 0 Reputation points
    2025-03-10T15:56:33.88+00:00

    HI:

    I think I chose the cheapest  "bufget" tier with lowest memory. If the Database is idle  it would cost around $5 a month. But during development for a few days with 4 tables, I probably add no more than 5 rows of data in each table and my cost would be over $100 to $200 a month.  
    
    0 comments No comments

Your answer

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