The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Maplat::Worker::AdminCommands - database admin command module

SYNOPSIS

This module executes PostgreSQL admin commands like "VACUUM ANALYZE"

DESCRIPTION

This module is a plugin module for the "Commands" module and handles PostgreSQL admin commands scheduled from the WebGUI.

Configuration

        <module>
                <modname>admincommands</modname>
                <pm>AdminCommands</pm>
                <options>
                        <db>maindb</db>
                        <memcache>memcache</memcache>
                        <commands>commands</commands>
                        <reporting>reporting</reporting>
                </options>
        </module>

execute

Run an admin command.

do_analyze_table

Internal functions.

do_nop_fail

Internal functions.

do_nop_ok

Internal functions.

do_reindex_all_tables

Internal functions.

do_reindex_table

Internal functions.

do_vacuum_analyze

Internal functions.

do_vacuum_analyze_table

Internal functions.

do_vacuum_full

Internal functions.

Dependencies

This module depends on the following modules beeing configured (the 'as "somename"' means the key name in this modules configuration):

Maplat::Worker::PostgresDB as "db" Maplat::Worker::Memcache as "memcache" Maplat::Worker::Commands as "commands" Maplat::Worker::Reporting as "reporting"

SEE ALSO

Maplat::Worker

AUTHOR

Rene Schickbauer, <rene.schickbauer@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2008-2011 by Rene Schickbauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.