Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi, I’m using a postgres database deployed as a docker container on a $15/mo Droplet (with swap). I’ve replicated the container for an A vs. B ‘Volume vs local filing system’ speed test.
Where the database files are : [A] on local machine file system/disk <---- takes 10s [B] on a 10GB Volume <— takes 34s
A query on a 7 million row table (see below) takes 10 secs on [A] and 34 secs on [B]
SELECT * FROM ( SELECT val1,val2, cdatetime, a, b, c, d FROM events_table WHERE cdatetime >= ‘2022-01-16T12:26’ AND cdatetime < ‘2022-01-17T15:26’ ORDER BY cdatetime DESC ) as sub_sigevent WHERE sub_sigevent.d = 59 AND sub_sigevent.a = 6 AND sub_sigevent.b = 3 AND sub_sigevent.c = 7
As Volumes are networked memory in effect, I assume this is caused by the slow connection to the Volume compared to local filing system. So it would appear there’s no way round this, other than to try a time series specific data base such as ClickHouse (OSS version of InfluxDB) that scales better.
d1dd3d9538cc4d06b53e6d1d338d3f
50ff4e4b3c6c4999a12403b1ecda95
a6309a057c3f4cb38fb2e7feb67236
72e571841e7f4a6881090a2f3e93c0
57a72a98162f46a5a5cd04d9b
Thomas Brocken
11575c6d695643cdb40ad47d0f1aea
tez.saad
keneucker
keneucker
max johnson
max johnson