R
Railway

✋|help

Unused Database

Sspiritanand9/2/2023
Hey,
I have a backend talking to my express server. Both are hosted on Railway. The thing is I am not using the database all the time.

What should I do?
Will I be charged for the DB all around the month?
Is DB not based on usage?
Sspiritanand9/2/2023
2a94e3ef-7b10-4224-a397-6be8185939c8
Should I consider deleting the database?
My usage looks like:-

Memory Usage $ 6.20
CPU Usage $ 0.10

It's mainly usage (which I guess cannot be brought up and down)
Bbrody1929/2/2023
databases are based on the same usage prices the services are
Sspiritanand9/3/2023
@Brody I will be charged for a DB for the amount of data it stores right?
Bbrody1929/3/2023
good question, no, they get a 32gb volume that isn't included in any costs
Sspiritanand9/3/2023
Sspiritanand9/3/2023
I am being charged for data stored. Did not understand the 32GB thing?
Bbrody1929/3/2023
network data yeah
Sspiritanand9/3/2023
its not network data right
it is database storage that is killing me?
Sspiritanand9/3/2023
Sspiritanand9/3/2023
how can I decode this? what does this mean?
Bbrody1929/3/2023
I don't understand the confusion here
Sspiritanand9/3/2023
there is no confusion
Bbrody1929/3/2023
I assure you 4.47 is very normal for an idle mysql database
Sspiritanand9/3/2023
I am just trying to understand the reason behind the SQL charge?
is it because my DB is online and has data?
Bbrody1929/3/2023
for the resources, it's a running database of course it's gonna cost something
Sspiritanand9/3/2023
ok ok. No I am new to this.
So a db will be charged for 24 *7 right? becuae it is on always?
Bbrody1929/3/2023
correct
Sspiritanand9/3/2023
ok
so the solutions I have are
1. shut down the DB,
2. or upgrade to Pro plans? how would pro plan help me though? I would still be charged the same amount right ?
3. pay whatever I use...
Bbrody1929/3/2023
1. unless you take a backup you lose the data when you remove it
2. it wouldn't, you'd now end up paying 20$ + the costs of the database
3. correct
Sspiritanand9/3/2023
Thanks @Brody

Looking for more? Join the community!

Recommended Posts
Run a command in production (rake)Hi there, newcomer from Heroku here — I need to run a command in my production environment (in this don't remember how to log in into my accountI need to access to my account to suspend something, but I faced this notification (in the picture) Run a daily rails rake script on cronHi I have an app that does a daily update to the data in the db. Currently using railway I run this typebot internal server errortypebot is experiencing internal server error. What is the solution?Internal Server ErrorI have this problem, i need helpSpringBoot with MySQL on railway setupHey I am learning SpringBoot and was working locally with a MySQL db set up(locally as well), and I Laravel: failed to build projectHello, I am new to Railway. I am trying to deploy laravel project from my github repo, which is a rePricing questioni got 10 eur in credits because that lowest i could go and got hobby plan 5 eur a month, but after mGithub being in privateHello, I'm having this return with my github being in private. [Evolution API] v1.5.0 1 - Sat Sep 02Yt-DlHey i recently just got railway n found out yt-dl is banned for some reason i just wanted to host mySSH to Wordpress instanceI would like to ssh to my wp instance volume to make changes to the source code there. Is there way Add search to Postgres TableViewI have a problem, big table and I need change some rows but can't find it and update without sql reqDoes anyone know what the procfile command should be for Django Daphne?I'm trying to move from wsgi to asgi in Django and not sure what the procfile command should be. I'Does anyone know what the procfile should be for daphne?I'm trying to move from wsgi to asgi in Django and not sure what the procfile command should be. I'No data is being written to the fileHi all. When I start my telegram bot, I log messages. All messages are written to a text document. WBuild failed but not sure whyHi! I'm trying to understand why my build failed, and I can't discern any errors in the logs. Here'sOne service is unable to connect to Postgres container, while the other connects fineHi, I have two typescript services and a postgres service in a project. One of the typescript servicGo Deploy Gone WrongHey all, need a sanity check on a failing deploy. I am able to build and run my app locally just finNeed Help with Discord BotThe bot uses chatgpt and play.ht to generate text, and then read the text in a discord server. When Deploying without having to do npx playwright install-depsHello, I'm deploying a node.js application that is using playwright, and it needs some dependencies