Pure Perl SQL server

Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default Pure Perl SQL server

    Does anyone know of a pure Perl SQL server? I have noticed the rise of 'pure
    Perl' modules for things like XML parsing, and the pure Perl DBD::MySQLPP,
    but have never seen anything as ambition as a pure Perl SQL server.

    I am not entirely sure as to how useful such a thing would be, although it'd
    make a cute part time project, as there's bound to be tons of things I'd
    learn along the way. With Perl6/Parrot approaching rapidly, I believe such
    pure Perl systems could come into their own, as Perl's speed rockets up the
    y-axis.

    This is just blustering at this point, but I'd be interested to hear what
    other people think. My searches for such a project have been fruitless,
    except for a post on a LUG mailing list where someone was asking for a pure
    Perl SQL server, but that was four years ago, and he got no replies! :-)

    I have looked at SQL::Statement which does a little parsing for DBD::CSV,
    although I have yet to take a good look into DBD::CSV itself. I believe
    there's potential to developing a 'reasonably' powerful SQL engine in pure
    Perl, and if it's developed with Perl 6 in mind, it may become a rather
    useful tool in the future.

    Thoughts? Hisses? Sarky comments? Insights? :-)

    Regards,
    Peter Cooper


    Peter Cooper Guest

  2. Similar Questions and Discussions

    1. Get Terminal Width and Height, Pure Perl
      Okay, I have a terminal program I need to get the width and height for. I have a very good reason needing to do it with a base 5.8 Perl install, if...
    2. NameSpace for pure-perl TCP reassembly
      I have a set of modules I'd like to upload to CPAN, but I'm unsure what namespace to put them in. They turn tcpdump capture files into TCP...
    3. pure-perl access to mySQL
      Hi! Since mySQL 3.2x there have been a lot of changes. But one was the most significant to me: the new login process. This thing made Net::MySQL...
    4. Pure Perl PDF creation module.
      Are there any Perl modules for creating PDFs that are purely Perl and don't depend on any 3rd party libs? Thanks.
    5. Pure Perl df
      Okay, I'm at a loss and need help. A friend of mine is working with a Perl script. It has a system call to df in it, he would like to replace...
  3. #2

    Default Re: Pure Perl SQL server

    Peter Cooper wrote:
    > Does anyone know of a pure Perl SQL server? I have noticed the rise of 'pure
    > Perl' modules for things like XML parsing, and the pure Perl DBD::MySQLPP,
    > but have never seen anything as ambition as a pure Perl SQL server.
    >
    > I am not entirely sure as to how useful such a thing would be, although it'd
    > make a cute part time project, as there's bound to be tons of things I'd
    > learn along the way. With Perl6/Parrot approaching rapidly, I believe such
    > pure Perl systems could come into their own, as Perl's speed rockets up the
    > y-axis.
    ....
    > I have looked at SQL::Statement which does a little parsing for DBD::CSV,
    > although I have yet to take a good look into DBD::CSV itself. I believe
    > there's potential to developing a 'reasonably' powerful SQL engine in pure
    > Perl, and if it's developed with Perl 6 in mind, it may become a rather
    > useful tool in the future.
    ....
    > Peter Cooper

    Hmmmmm...well, if you use DBI::PurePerl in conjunction with DBD::CSV, it
    looks like you probably get a pure Perl SQL database implementation.
    There is also DBD::RAM, which also appears to be pure Perl. I'm not
    sure just what you mean by "SQL server".

    --
    Bob Walton

    Bob Walton Guest

  4. #3

    Default Re: Pure Perl SQL server

    Thanks for replying, Bob.
    > Hmmmmm...well, if you use DBI::PurePerl in conjunction with DBD::CSV, it
    > looks like you probably get a pure Perl SQL database implementation.
    > There is also DBD::RAM, which also appears to be pure Perl. I'm not
    > sure just what you mean by "SQL server".
    Good points. I wanted someone to question my idea in this way, so I can at
    least attempt to prove/disprove its validity in my head. I didn't know about
    DBD::RAM before, but I've checked that out, and it seems interesting.. I'll
    have to run a few 'experiments' with it :-)

    By "SQL server", I mean replicating something like MySQL entirely in Perl.
    So, yeah, you'd create a DBD, and use DBI, as you would with anything else,
    but the actual database /backend/ (like your MySQL, Oracle, etc) would be
    Perl code.. and it wouldn't be CSV, or in RAM.. but fast binary files.

    The featureset would be comparable to an early MySQL, better than
    SQL::Statement can parse (and therefore better than DBD::CSV or DBD::RAM can
    handle), and using binary files. It'd be no speed champion, but when Perl 6
    is out and about, it could be 'reasonably' fast, thanks to Parrot, and it'd
    be entirely interpreted. For people who can't even create sockets (for
    security purposes), you could also make it run in a 'command line' form.

    Just pipedreams, I guess, but I'll be sure to look into it further. Any
    further queries or comments would be most appreciated though.

    Pete


    Peter Cooper Guest

  5. #4

    Default Re: Pure Perl SQL server

    On Sat, 23 Aug 2003, [email]newsfeed@boog.co.uk[/email] wrote:
    > By "SQL server", I mean replicating something like MySQL entirely in
    > Perl. So, yeah, you'd create a DBD, and use DBI, as you would with
    > anything else, but the actual database /backend/ (like your MySQL,
    > Oracle, etc) would be Perl code.. and it wouldn't be CSV, or in
    > RAM.. but fast binary files.
    That's an interesting idea, but a RDBMS is a very difficult piece of
    software to write correctly. I haven't heard about something written
    in Perl. I would love to see one, though.

    Ted
    Ted Zlatanov Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139