Live data from Hacker News

Launch HN: Ardent (YC P26) – Postgres sandboxes in seconds with zero migration

tryardent.com

41–50 of 61 posts

Re: Launch HN: Ardent (YC P26) – Postgres sandboxes in seconds with zero migration

#41
post #30

Earlier quoted context omitted.

Would such approach work for MS SQL?

There's no reason why it shouldn't, Delphix primarily targeted Oracle, but there is of course not as much open-source enthusiasm for supporting a proprietary database as an open-source one.

And also, of course, MS-SQL is only supported on Windows, and ZFS is not available on Windows. Windows does have Volume Shadow copy Services, but they are not as capable as ZFS snapshots and clones.

Re: Launch HN: Ardent (YC P26) – Postgres sandboxes in seconds with zero migration

#44

If you use xfs (+`file_copy_method=CLONE`) you can do this with Postgres 18. `CREATE DATABASE clankerdb TEMPLATE sourcedb STRATEGY=FILE_COPY;`. But Ardent can be useful for many, because cloud providers uses heavily restricted Postgres. And many use Aurora, which doesn't event let configure the `log_line_prefix`. Though if cloud providers add file_copy_method=CLONE compatible managed pg ... ref: https://boringsql.com…

I wanted to try doing something similar to this in our dev environment (think shared dev database but per branch clones), but this limitation seemed tricky to accept: > The source database can't have any active connections during cloning. I wouldn't mind some lock contention, but having to kill all connections seemed a bit harsh

I guess it's still possible with a replica that no one is using?

So you don't need to touch real production db?

Not sure if it applies for all use cases tou

Re: Launch HN: Ardent (YC P26) – Postgres sandboxes in seconds with zero migration

#46

Does it clone the data? We have a table with 35GB data, what happen in that case?

Their website says they clone at 6s/TB so you probably will get a branch less than 1s

Does it make it remotely? I mean, you can do that locally with

``` CREATE DATABASE cloned_db WITH TEMPLATE source_db OWNER your_owner; ```

Re: Launch HN: Ardent (YC P26) – Postgres sandboxes in seconds with zero migration

#47

[flagged]

Your comments are getting classified by our software as LLM-generated and/or LLM-edited. It's impossible to be certain, of course, but if this is the case—can you please not do this? It's not allowed here - see https://news.ycombinator.com/newsguidelines.html#generated and https://news.ycombinator.com/item?id=47340079. We end up banning accounts that do this repeatedly and I don't want to ban you.

LLMs are amazing and we use them heavily ourselves - but not for modifying text that is to be posted to HN. Doing so leaves imprints on the language that readers are increasingly allergic to, and we want HN to be a place human conversation.

Re: Launch HN: Ardent (YC P26) – Postgres sandboxes in seconds with zero migration

#48
post #2

“Never impacts production data” is impossible to guarantee. Playing with real world data often has side effects outside of the database. For example if you store oauth tokens to external services in your DB (customer integrations) it’s easy to mess up your customers data through a bad API call (been there done that). There is still value in carefully testing on your prod DB, but for that you could just easily maintai…

[flagged]

Your comments are getting classified by our software as LLM-generated and/or LLM-edited. It's impossible to be certain, of course, but if this is the case—can you please not do this? It's not allowed here - see https://news.ycombinator.com/newsguidelines.html#generated and https://news.ycombinator.com/item?id=47340079. We end up banning accounts that do this repeatedly and I don't want to ban you.

LLMs are amazing and we use them heavily ourselves - but not for modifying text that is to be posted to HN. Doing so leaves imprints on the language that readers are increasingly allergic to, and we want HN to be a place human conversation.

Re: Launch HN: Ardent (YC P26) – Postgres sandboxes in seconds with zero migration

#49
post #2

“Never impacts production data” is impossible to guarantee. Playing with real world data often has side effects outside of the database. For example if you store oauth tokens to external services in your DB (customer integrations) it’s easy to mess up your customers data through a bad API call (been there done that). There is still value in carefully testing on your prod DB, but for that you could just easily maintai…

If it’s production data I probably don’t trust a random startup with it. I’m very confused as to the target market here

I’ll bite. You’re a dev at random mid size company and tasked with using this newfangled agentic tech to implement an intranet feature everybody wants and nobody else wants to build.

How do you get a staging and dev db together that’s going to let you test your migrations?

Re: Launch HN: Ardent (YC P26) – Postgres sandboxes in seconds with zero migration

#50
Drop-the-database events occur whenever the review process is bypassed. It’s “Just run it; the agent wrote it” that undermines trust. The migration may be semantically correct yet practically incorrect, such as renaming a column to break a service that is in use or creating an index that locks the table during heavy use.

What Ardent does makes sense for a team setting where several agents/developers require their own environment before deploying code. But from a one-man-show founder’s perspective, the constraint is not about isolation but rather self-discipline.

Post reply on HN