Database issues
slavcetrajkovski
PROOP

a year ago

Since I'm using a scraper every 3-4 days i constantly add and update records in my database. There was a time when i reached a big capacity on the volume, like 90% (now i'm on 98%) so I tried dropping data directly from my IDEA by connecting with the public url for my database, since I didn't want to wipe the whole volume (I have data that I don't want to drop/delete).

But when I did that, the volume remained unchanged. I've reached 5GB of memory for now and I really don't know how....

Since It is not affordable for me to upgrade to the Pro plan right now, what is the workaround here?

Above is the initial thread I put up.

I was talking with @itsrems but he closed the thread and I think we didn't finish the conversation we had...

Anyway, i ran this query:

SELECT pg_size_pretty(SUM(total_bytes - index_bytes - COALESCE(toast_bytes, 0))) AS total_table_bytes FROM ( SELECT pg_total_relation_size(c.oid) AS total_bytes, pg_indexes_size(c.oid) AS index_bytes, pg_total_relation_size(reltoastrelid) AS toast_bytes FROM pg_class c LEFT JOIN pg_namespace n ON n.oid = c.relnamespace WHERE relkind = 'r' ) a;

and I got 4162 MB and on your service I have 5GB at 100% capacity atm. What is the issue here that I am missing??

6 Replies

a year ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody over 1 year ago


slavcetrajkovski
PROOP

a year ago

Okay great, but still, that is not an answer I was hoping for...Are you guys willing to help me with this issue or am I wasting my time here?


a year ago

Hello,

Due to this not being a platform issue we aren't able to assist since we don't offer project help, furthermore, I wasn't able to reproduce.


slavcetrajkovski
PROOP

a year ago

What about with this, I’m unable to wipe my volume now, I only see the delete service option


a year ago

You wipe the volume from within the volume settings.


slavcetrajkovski
PROOP

a year ago

I usually see the wipe volume option here

Attachments


a year ago

You want to look in the volumes settings.

I've been around Railway long before we even supported volumes and I promise you we have never shown the option to wipe a volume in the service settings.


Loading...