sjw on Nostr: I'm going to have to look into better ways to dump the database. Actually, the thing ...
I'm going to have to look into better ways to dump the database.
Actually, the thing that's fucking me is restoring the data and then adding the indexes so now all of that data has to be indexed.
It'd be much more efficient if I restored all of the schema and then loaded the data that way the data could get indexed while its loaded.
Why is that not the default order postgres writes a dump?
Published at
2023-04-20 19:37:37Event JSON
{
"id": "13db7a9efc8f5310569e17ca3e7898f5070c69b34726ed0c73338ab0f32a07f2",
"pubkey": "8f4718bd8fa877fb11cb6b01b03e9f3ed4b265850b5ba71224249ceb6e87aa61",
"created_at": 1682019457,
"kind": 1,
"tags": [
[
"p",
"8f4718bd8fa877fb11cb6b01b03e9f3ed4b265850b5ba71224249ceb6e87aa61",
"wss://relay.mostr.pub"
],
[
"e",
"d4c21cfea2d105a51f38af51450b7f58d168d3b80119d91d8bae462910c417fc",
"wss://relay.mostr.pub",
"reply"
],
[
"content-warning"
],
[
"proxy",
"https://poa.st/objects/b25dbdd1-a920-4692-a2c9-39e404653046",
"activitypub"
]
],
"content": "I'm going to have to look into better ways to dump the database. \n\nActually, the thing that's fucking me is restoring the data and then adding the indexes so now all of that data has to be indexed.\n\nIt'd be much more efficient if I restored all of the schema and then loaded the data that way the data could get indexed while its loaded. \n\nWhy is that not the default order postgres writes a dump?\n\nhttps://i.poastcdn.org/df7bb3dc8e6babb9c3c65d0ba6e243b4a93d736e44b0be5c5e227451713ce9e8.png",
"sig": "b33b483b3c207c67e0de4e5708e832ac0cb6e2040ae71bf144021ef34d08695ebcfcfd06bb491012b0d61ae38227dd9673c5261b8dd0356730bccb5d653e3e2d"
}