[ad_1]
I want to know how bandwidth is calculated with database, download, and upload.
Let’s suppose I have 1TB of bandwidth in the VPS.
First scenario:
Let’s suppose I have a table inside MySQL and inside it 4 million rows and the table size was 3GB.
If I read all the rows inside the table using a PHP file, Will that cost me 3GB so the bandwidth will be 997GB or not calculated like this?
Second scenario:
Let’s suppose the user upload 350 images to the server and the total size was 7GB, Will that cost me 7GB so the bandwidth will be 993GB or not calculated like this?
Third scenario:
Let’s suppose I show all the images that the user uploaded before without downloading them to his device. Will that cost me 7GB to show the images to the user?
Fourth scenario:
If the size of the PHP file was 90KB and inside it, there is a code that adds 9 million rows to the MySQL, How much that will cost me in bandwidth approximately?
These questions are very important to me because I want to buy VPS.
[ad_2]