Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

For lightweight, simple, no-frills, it's hard to beat DBD::SQLite. It does have its limitations though, one of which is that its implementation of SQL is a little less than complete and total. Nevertheless, it provides all of the essentials, so long as essential needs aren't too elaborate. You can read up on SQLite's implementation of SQL and its features at http://www.sqlite.com. SQLite's source is in the public domain, and the CPAN module is distributed under the same terms as Perl. SQLite, as others have mentioned, installs everything you need when you install the single CPAN module DBD::SQlite. And the databases are contained in single files.

If your needs are more involved, more demanding, and if you can live with increased complexity, then PostgreSQL is another very good option. Its implementation of SQL and its feature set are more complete, and include many advanced features. I doubt that you'll ever outgrow it, unless you become the next eBay or something. PostgreSQL is distributed under the same license as BSD, and is also free. You can find the database engine at http://www.postgresql.com, and the Perl drivers for it at DBD::Pg.

Both DBD::SQLite, and DBD::Pg are designed to be used with DBI.

Good luck!


Dave


In reply to Re: Simple & convenient Perl database by davido
in thread Simple & convenient Perl database by santander

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-19 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found