![]() | |
#41
| |||
| |||
|
|
Ben Finney wrote: What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? I don't think you would gain anything by keeping the DB in RAM with postgres, because it's CPU-bound if there is little data. |
#42
| |||
| |||
|
|
I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). Now that we've established that I want what I actually asked for, can someone give suggestions on how to achieve it? |
#43
| |||
| |||
|
|
I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). Now that we've established that I want what I actually asked for, can someone give suggestions on how to achieve it? |
#44
| |||
| |||
|
|
I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). Now that we've established that I want what I actually asked for, can someone give suggestions on how to achieve it? |
#45
| |||
| |||
|
|
I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). Now that we've established that I want what I actually asked for, can someone give suggestions on how to achieve it? |
#46
| |||
| |||
|
|
I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). Now that we've established that I want what I actually asked for, can someone give suggestions on how to achieve it? |
#47
| |||
| |||
|
|
I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). Now that we've established that I want what I actually asked for, can someone give suggestions on how to achieve it? |
#48
| |||
| |||
|
|
I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). Now that we've established that I want what I actually asked for, can someone give suggestions on how to achieve it? |
#49
| |||
| |||
|
|
I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). Now that we've established that I want what I actually asked for, can someone give suggestions on how to achieve it? |
#50
| |||
| |||
|
|
Ben Finney wrote: I'm not interested in "performance", but rather reduction in external dependencies for unit tests (i.e. unit tests should not rely on a running database server). I'm not sure I understand. You cannot connect to postgres and use all of the postgres features, like you asked, withouth connecting to a running database server. Is this what you're asking? |
|
Because.. with sqlite in RAM you _ARE_ using the whole stack of the database, only there is no separate server process. |
![]() |
| Thread Tools | |
| Display Modes | |
| |