Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How many records/tables could I have in a 1gb database? [closed]

I'm thinking about buying a shared hosting provider, and then offer a 1GB MSSQL database with the package.

This may not be an exact science, but how many records/tables can I save in a 1GB database? I will be saving pure text (meaning: nvarchar, varchar, int, bool) and not binaries/blobs.

For this question, imagine around 20 tables, with 9 fields each. Not null on every field.

Is there some way to gauge and project how long this will hold me over before I need to upgrade to a more expensive package?

like image 253
Only Bolivian Here Avatar asked Aug 11 '12 23:08

Only Bolivian Here


People also ask

How big is a 1gb database?

so you can store about 800MB of pure data. depending on your database structure you might use that space in an optimal way. for 2. if you like to have many users and a huge amount of data - don't use a VPS-plan.

How many tables can a DB have?

You can create up to 2,147,483,647 tables in a database, with up to 1024 columns in each table.

How many records can database handle?

There is no specific limit on the number of records in an Access database. The maximum file size of an Access database file (. mdb) is 2 GB, and the maximum size for any individual table within a database is 1 GB. The maximum size of a single record within a table is 2 KB (excluding memo fields and OLE object fields).

How many tables is too many in a SQL database?

The number of tables is limited only by the number of database objects, currently 2, 147, 483, 647. A couple of hundred tables isn't going to make a difference to anything except the clarity of your data model.


1 Answers

There is no real answer that tells you 'set amount' of 'records and/or tables' is the maximum that you can hold in a 1 GB MSSQL database, or when you'll reach that point. There are several factors to look at when estimating:

  1. What do you believe is the average row going to be taking up?
  2. Will you be using fixed or variable?
  3. How frequent is content going to be added and removed?

In the end, you're looking at (for example) a maximum amount of rows that could be < 400 000 rows or > 3 500 000, it all comes down to what you put in a single row and what types you're using. Once you have decided what a single row will be (give or take) and how many rows you're expecting to be added/frequency, you can determine how long you'll be able to go without upgrading to another database package.

like image 161
Koen Geeraert Avatar answered Sep 27 '22 20:09

Koen Geeraert