Fsdb

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

Fsdb(3)               User Contributed Perl Documentation              Fsdb(3)

NAME
       Fsdb - a flat-text database for shell scripting

SYNOPSIS
       Fsdb, the flatfile streaming database is package of commands for
       manipulating flat-ASCII databases from shell scripts.  Fsdb is useful
       to process medium amounts of data (with very little data you'd do it by
       hand, with megabytes you might want a real database).  Fsdb was known
       as as Jdb from 1991 to Oct. 2008.

       Fsdb is very good at doing things like:

       +o   extracting measurements from experimental output

       +o   examining data to address different hypotheses

README  view on Meta::CPAN

           exits reasonably gracefully.

       BUG FIX
           dbsubprocess  now  reaps child processes, thus avoiding running out
           of processes when used a lot.

   2.12, 16-Oct-08
       Finally, a full (non-beta) 2.x release!

       INCOMPATIBLE CHANGE
           Jdb has been renamed Fsdb, the flatfile-streaming  database.   This
           change  affects  all internal Perl APIs, but no shell command-level
           APIs.  While Jdb served well for more than ten years, it is  easily
           confused with the Java debugger (even though Jdb was there first!).
           It  also  is  too  generic  to  work  well  in  web search engines.
           Finally, Jdb stands for ``John's database'', and we're a bit beyond
           that.  (However, some call me the ``file-system guy'', so one could
           argue it retains that meeting.)

           If you just used the shell commands, this change should not  affect
           you.   If  you used the Perl-level libraries directly in your code,

README.html  view on Meta::CPAN

<body>



<h1 id="NAME">NAME</h1>

<p>Fsdb - a flat-text database for shell scripting</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<p>Fsdb, the flatfile streaming database is package of commands for manipulating flat-ASCII databases from shell scripts. Fsdb is useful to process medium amounts of data (with very little data you&#39;d do it by hand, with megabytes you might want a...

<p>Fsdb is very good at doing things like:</p>

<ul>

<li><p>extracting measurements from experimental output</p>

</li>
<li><p>examining data to address different hypotheses</p>

README.html  view on Meta::CPAN


<h2 id="Oct-081">2.12, 16-Oct-08</h2>

<p>Finally, a full (non-beta) 2.x release!</p>

<dl>

<dt id="INCOMPATIBLE-CHANGE6">INCOMPATIBLE CHANGE</dt>
<dd>

<p>Jdb has been renamed Fsdb, the flatfile-streaming database. This change affects all internal Perl APIs, but no shell command-level APIs. While Jdb served well for more than ten years, it is easily confused with the Java debugger (even though Jdb w...

<p>If you just used the shell commands, this change should not affect you. If you used the Perl-level libraries directly in your code, you should be able to rename &quot;Jdb&quot; to &quot;Fsdb&quot; to move to 2.12.</p>

<p>The jdb-announce list not yet been renamed, but it will be shortly.</p>

<p>With this release I&#39;ve accomplished everything I wanted to in fsdb-2.x. I therefore expect to return to boring, bugfix releases.</p>

</dd>
</dl>

lib/Fsdb.pm  view on Meta::CPAN

=head1 NAME

Fsdb - a flat-text database for shell scripting


=cut
our $VERSION = '3.4';

=head1 SYNOPSIS

Fsdb, the flatfile streaming database is package of commands
for manipulating flat-ASCII databases from
shell scripts.  Fsdb is useful to process medium amounts of data (with
very little data you'd do it by hand, with megabytes you might want a
real database).
Fsdb was known as as Jdb from 1991 to Oct. 2008.

Fsdb is very good at doing things like:

=over 4

lib/Fsdb.pm  view on Meta::CPAN

=back

=head2 2.12, 16-Oct-08

Finally, a full (non-beta) 2.x release!

=over 4

=item INCOMPATIBLE CHANGE

Jdb has been renamed Fsdb, the flatfile-streaming database.
This change affects all internal Perl APIs,
but no shell command-level APIs.
While Jdb served well for more than ten years,
it is easily confused with the Java debugger (even though Jdb was there first!).
It also is too generic to work well in web search engines.
Finally, Jdb stands for ``John's database'', and we're a bit beyond that.
(However, some call me the ``file-system guy'', so 
one could argue it retains that meeting.)

If you just used the shell commands, this change should not affect you.

lib/Fsdb/Filter/dbmapreduce.pm  view on Meta::CPAN

given by ReduceCommand and ReduceArguments,
or an Perl subroutine given in CodeFile or FilterCode.

If a "--" appears before reduce command,
arguments after the -- passed the the command.


=head2 Grouping (The Mapper)

By default the KeyField is the first field in the row.
Unlike Hadoop streaming, the -k KeyField option can explicitly
name where the key is in any column of each input row.

By default, we sort the data to make sure data is grouped by key.
If the input is already grouped, the C<-S> option avoids this cost.


=head2 The Reducer

Reduce functions default to be shell commands.
However, with C<-C>, one can use arbitrary Perl code



( run in 0.389 second using v1.01-cache-2.11-cpan-4d50c553e7e )