in reply to Re^2: Need DBM file that holds data up to 50,000 bytes
in thread Need DBM file that holds data up to 50,000 bytes
Though maybe interesting, Postgres' hstore feature is a language on itself and does not easily integrate with how other access methods work. There is Pg::hstore, but the API is IMHO not very obvious. It for sure is not an easy replacement for DB_File.
In my perception *all* databases suck. Not all suck the same way, but there is no perfect database (yet). You will need to investigate your needs before making a choice. Oracle has NULL problems (and is costly), MySQL does not follow ANSI in its default configuration and uses stupid quoting, Postgres will return too much by default on big tables, Unify does not support varchar, CSV is too slow, SQLite does not support multiple concurrents sessions, Firebird has no decent DBD (yet), DB2 is bound to IBM, Ingres has not many users in the Perl community etc etc.
Too many factors to think about. For a single-user easy DB_File replacement, BerkeleyDB comes first, then Tie::Hash::DBD in combination with DBD::SQLite. I say so because neither needs any special environment or configuration. Once you choose a major DB (whatever you choose), you will need additional knowledge or services. My choice then would be Postgres, as it is the easiest to work with and confronts me with the least irritation.
Nobody mentioned other alternatives yet:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Need DBM file that holds data up to 50,000 bytes
by erix (Prior) on Aug 12, 2014 at 12:31 UTC | |
by Tux (Canon) on Aug 12, 2014 at 12:46 UTC | |
by BrowserUk (Patriarch) on Aug 12, 2014 at 14:53 UTC | |
by erix (Prior) on Aug 12, 2014 at 15:17 UTC | |
by Tux (Canon) on Aug 12, 2014 at 18:38 UTC | |
|
Re^4: Need DBM file that holds data up to 50,000 bytes
by Anonymous Monk on Aug 12, 2014 at 19:02 UTC | |
by Tux (Canon) on Aug 13, 2014 at 06:01 UTC |