404

[ Avaa Bypassed ]




Upload:

Command:

botdev@13.59.241.55: ~ $
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * functions for displaying server status variables
 *
 * @usedby  server_status_variables.php
 *
 * @package PhpMyAdmin
 */
use PMA\libraries\ServerStatusData;

/**
 * Returns the html for the list filter
 *
 * @param ServerStatusData $ServerStatusData Server status data
 *
 * @return string
 */
function PMA_getHtmlForFilter($ServerStatusData)
{
    $filterAlert = '';
    if (! empty($_REQUEST['filterAlert'])) {
        $filterAlert = ' checked="checked"';
    }
    $filterText = '';
    if (! empty($_REQUEST['filterText'])) {
        $filterText = htmlspecialchars($_REQUEST['filterText']);
    }
    $dontFormat = '';
    if (! empty($_REQUEST['dontFormat'])) {
        $dontFormat = ' checked="checked"';
    }

    $retval  = '';
    $retval .= '<fieldset id="tableFilter">';
    $retval .= '<legend>' . __('Filters') . '</legend>';
    $retval .= '<form action="server_status_variables.php'
        . PMA_URL_getCommon() . '">';
    $retval .= '<input type="submit" value="' . __('Refresh') . '" />';
    $retval .= '<div class="formelement">';
    $retval .= '<label for="filterText">' . __('Containing the word:') . '</label>';
    $retval .= '<input name="filterText" type="text" id="filterText" '
        . 'style="vertical-align: baseline;" value="' . $filterText . '" />';
    $retval .= '</div>';
    $retval .= '<div class="formelement">';
    $retval .= '<input' . $filterAlert . ' type="checkbox" '
        . 'name="filterAlert" id="filterAlert" />';
    $retval .= '<label for="filterAlert">';
    $retval .= __('Show only alert values');
    $retval .= '</label>';
    $retval .= '</div>';
    $retval .= '<div class="formelement">';
    $retval .= '<select id="filterCategory" name="filterCategory">';
    $retval .= '<option value="">' . __('Filter by category…') . '</option>';

    foreach ($ServerStatusData->sections as $section_id => $section_name) {
        if (isset($ServerStatusData->sectionUsed[$section_id])) {
            if (! empty($_REQUEST['filterCategory'])
                && $_REQUEST['filterCategory'] == $section_id
            ) {
                $selected = ' selected="selected"';
            } else {
                $selected = '';
            }
            $retval .= '<option' . $selected . ' value="' . $section_id . '">';
            $retval .= htmlspecialchars($section_name) . '</option>';
        }
    }
    $retval .= '</select>';
    $retval .= '</div>';
    $retval .= '<div class="formelement">';
    $retval .= '<input' . $dontFormat . ' type="checkbox" '
        . 'name="dontFormat" id="dontFormat" />';
    $retval .= '<label for="dontFormat">';
    $retval .= __('Show unformatted values');
    $retval .= '</label>';
    $retval .= '</div>';
    $retval .= '</form>';
    $retval .= '</fieldset>';

    return $retval;
}

/**
 * Prints the suggestion links
 *
 * @param ServerStatusData $ServerStatusData Server status data
 *
 * @return string
 */
function PMA_getHtmlForLinkSuggestions($ServerStatusData)
{
    $retval  = '<div id="linkSuggestions" class="defaultLinks" '
        . 'style="display:none">';
    $retval .= '<p class="notice">' . __('Related links:');
    foreach ($ServerStatusData->links as $section_name => $section_links) {
        $retval .= '<span class="status_' . $section_name . '"> ';
        $i = 0;
        foreach ($section_links as $link_name => $link_url) {
            if ($i > 0) {
                $retval .= ', ';
            }
            if ('doc' == $link_name) {
                $retval .= PMA\libraries\Util::showMySQLDocu($link_url);
            } else {
                $retval .= '<a href="' . $link_url . '">' . $link_name . '</a>';
            }
            $i++;
        }
        $retval .= '</span>';
    }
    unset($link_url, $link_name, $i);
    $retval .= '</p>';
    $retval .= '</div>';

    return $retval;
}

/**
 * Returns a table with variables information
 *
 * @param ServerStatusData $ServerStatusData Server status data
 *
 * @return string
 */
function PMA_getHtmlForVariablesList($ServerStatusData)
{
    $retval  = '';
    $strShowStatus = PMA_getStatusVariablesDescriptions();
    /**
     * define some alerts
     */
    // name => max value before alert
    $alerts = array(
        // lower is better
        // variable => max value
        'Aborted_clients' => 0,
        'Aborted_connects' => 0,

        'Binlog_cache_disk_use' => 0,

        'Created_tmp_disk_tables' => 0,

        'Handler_read_rnd' => 0,
        'Handler_read_rnd_next' => 0,

        'Innodb_buffer_pool_pages_dirty' => 0,
        'Innodb_buffer_pool_reads' => 0,
        'Innodb_buffer_pool_wait_free' => 0,
        'Innodb_log_waits' => 0,
        'Innodb_row_lock_time_avg' => 10, // ms
        'Innodb_row_lock_time_max' => 50, // ms
        'Innodb_row_lock_waits' => 0,

        'Slow_queries' => 0,
        'Delayed_errors' => 0,
        'Select_full_join' => 0,
        'Select_range_check' => 0,
        'Sort_merge_passes' => 0,
        'Opened_tables' => 0,
        'Table_locks_waited' => 0,
        'Qcache_lowmem_prunes' => 0,

        'Qcache_free_blocks' =>
            isset($ServerStatusData->status['Qcache_total_blocks'])
            ? $ServerStatusData->status['Qcache_total_blocks'] / 5
            : 0,
        'Slow_launch_threads' => 0,

        // depends on Key_read_requests
        // normally lower then 1:0.01
        'Key_reads' => isset($ServerStatusData->status['Key_read_requests'])
            ? (0.01 * $ServerStatusData->status['Key_read_requests']) : 0,
        // depends on Key_write_requests
        // normally nearly 1:1
        'Key_writes' => isset($ServerStatusData->status['Key_write_requests'])
            ? (0.9 * $ServerStatusData->status['Key_write_requests']) : 0,

        'Key_buffer_fraction' => 0.5,

        // alert if more than 95% of thread cache is in use
        'Threads_cached' => isset($ServerStatusData->variables['thread_cache_size'])
            ? 0.95 * $ServerStatusData->variables['thread_cache_size'] : 0

        // higher is better
        // variable => min value
        //'Handler read key' => '> ',
    );

    $retval .= PMA_getHtmlForRenderVariables(
        $ServerStatusData,
        $alerts,
        $strShowStatus
    );

    return $retval;
}

/**
 * Returns HTML for render variables list
 *
 * @param ServerStatusData $ServerStatusData Server status data
 * @param array            $alerts           Alert Array
 * @param array            $strShowStatus    Status Array
 *
 * @return string
 */
function PMA_getHtmlForRenderVariables($ServerStatusData, $alerts, $strShowStatus)
{
    $retval  = '<table class="data noclick" id="serverstatusvariables">';
    $retval .= '<col class="namecol" />';
    $retval .= '<col class="valuecol" />';
    $retval .= '<col class="descrcol" />';
    $retval .= '<thead>';
    $retval .= '<tr>';
    $retval .= '<th>' . __('Variable') . '</th>';
    $retval .= '<th>' . __('Value') . '</th>';
    $retval .= '<th>' . __('Description') . '</th>';
    $retval .= '</tr>';
    $retval .= '</thead>';
    $retval .= '<tbody>';

    $odd_row = false;
    foreach ($ServerStatusData->status as $name => $value) {
        $odd_row = !$odd_row;
        $retval .= '<tr class="' . ($odd_row ? 'odd' : 'even')
            . (isset($ServerStatusData->allocationMap[$name])
                ?' s_' . $ServerStatusData->allocationMap[$name]
                : '')
            . '">';

        $retval .= '<th class="name">';
        $retval .= htmlspecialchars(str_replace('_', ' ', $name));
        // Fields containing % are calculated,
        // they can not be described in MySQL documentation
        if (mb_strpos($name, '%') === false) {
            $retval .= PMA\libraries\Util::showMySQLDocu(
                'server-status-variables',
                false,
                'statvar_' . $name
            );
        }
        $retval .= '</th>';

        $retval .= '<td class="value"><span class="formatted">';
        if (isset($alerts[$name])) {
            if ($value > $alerts[$name]) {
                $retval .= '<span class="attention">';
            } else {
                $retval .= '<span class="allfine">';
            }
        }
        if (substr($name, -1) === '%') {
            $retval .= htmlspecialchars(
                PMA\libraries\Util::formatNumber($value, 0, 2)
            ) . ' %';
        } elseif (strpos($name, 'Uptime') !== false) {
            $retval .= htmlspecialchars(
                PMA\libraries\Util::timespanFormat($value)
            );
        } elseif (is_numeric($value) && $value > 1000) {
            $retval .= '<abbr title="'
                // makes available the raw value as a title
                . htmlspecialchars(PMA\libraries\Util::formatNumber($value, 0))
                . '">'
                . htmlspecialchars(PMA\libraries\Util::formatNumber($value, 3, 1))
                . '</abbr>';
        } elseif (is_numeric($value)) {
            $retval .= htmlspecialchars(
                PMA\libraries\Util::formatNumber($value, 3, 1)
            );
        } else {
            $retval .= htmlspecialchars($value);
        }
        if (isset($alerts[$name])) {
            $retval .= '</span>';
        }
        $retval .= '</span>';
        $retval .= '<span style="display:none;" class="original">';
        if (isset($alerts[$name])) {
            if ($value > $alerts[$name]) {
                $retval .= '<span class="attention">';
            } else {
                $retval .= '<span class="allfine">';
            }
        }
        $retval .= htmlspecialchars($value);
        if (isset($alerts[$name])) {
            $retval .= '</span>';
        }
        $retval .= '</span>';
        $retval .= '</td>';
        $retval .= '<td class="descr">';

        if (isset($strShowStatus[$name])) {
            $retval .= $strShowStatus[$name];
        }

        if (isset($ServerStatusData->links[$name])) {
            foreach ($ServerStatusData->links[$name] as $link_name => $link_url) {
                if ('doc' == $link_name) {
                    $retval .= PMA\libraries\Util::showMySQLDocu($link_url);
                } else {
                    $retval .= ' <a href="' . $link_url . '">' . $link_name . '</a>';
                }
            }
            unset($link_url, $link_name);
        }
        $retval .= '</td>';
        $retval .= '</tr>';
    }
    $retval .= '</tbody>';
    $retval .= '</table>';

    return $retval;
}

/**
 * Returns a list of variable descriptions
 *
 * @return array
 */
function PMA_getStatusVariablesDescriptions()
{
    /**
     * Messages are built using the message name
     */
    return array(
        'Aborted_clients' => __(
            'The number of connections that were aborted because the client died'
            . ' without closing the connection properly.'
        ),
        'Aborted_connects' => __(
            'The number of failed attempts to connect to the MySQL server.'
        ),
        'Binlog_cache_disk_use' => __(
            'The number of transactions that used the temporary binary log cache'
            . ' but that exceeded the value of binlog_cache_size and used a'
            . ' temporary file to store statements from the transaction.'
        ),
        'Binlog_cache_use' => __(
            'The number of transactions that used the temporary binary log cache.'
        ),
        'Connections' => __(
            'The number of connection attempts (successful or not)'
            . ' to the MySQL server.'
        ),
        'Created_tmp_disk_tables' => __(
            'The number of temporary tables on disk created automatically by'
            . ' the server while executing statements. If'
            . ' Created_tmp_disk_tables is big, you may want to increase the'
            . ' tmp_table_size  value to cause temporary tables to be'
            . ' memory-based instead of disk-based.'
        ),
        'Created_tmp_files' => __(
            'How many temporary files mysqld has created.'
        ),
        'Created_tmp_tables' => __(
            'The number of in-memory temporary tables created automatically'
            . ' by the server while executing statements.'
        ),
        'Delayed_errors' => __(
            'The number of rows written with INSERT DELAYED for which some'
            . ' error occurred (probably duplicate key).'
        ),
        'Delayed_insert_threads' => __(
            'The number of INSERT DELAYED handler threads in use. Every'
            . ' different table on which one uses INSERT DELAYED gets'
            . ' its own thread.'
        ),
        'Delayed_writes' => __(
            'The number of INSERT DELAYED rows written.'
        ),
        'Flush_commands'  => __(
            'The number of executed FLUSH statements.'
        ),
        'Handler_commit' => __(
            'The number of internal COMMIT statements.'
        ),
        'Handler_delete' => __(
            'The number of times a row was deleted from a table.'
        ),
        'Handler_discover' => __(
            'The MySQL server can ask the NDB Cluster storage engine if it'
            . ' knows about a table with a given name. This is called discovery.'
            . ' Handler_discover indicates the number of time tables have been'
            . ' discovered.'
        ),
        'Handler_read_first' => __(
            'The number of times the first entry was read from an index. If this'
            . ' is high, it suggests that the server is doing a lot of full'
            . ' index scans; for example, SELECT col1 FROM foo, assuming that'
            . ' col1 is indexed.'
        ),
        'Handler_read_key' => __(
            'The number of requests to read a row based on a key. If this is'
            . ' high, it is a good indication that your queries and tables'
            . ' are properly indexed.'
        ),
        'Handler_read_next' => __(
            'The number of requests to read the next row in key order. This is'
            . ' incremented if you are querying an index column with a range'
            . ' constraint or if you are doing an index scan.'
        ),
        'Handler_read_prev' => __(
            'The number of requests to read the previous row in key order.'
            . ' This read method is mainly used to optimize ORDER BY … DESC.'
        ),
        'Handler_read_rnd' => __(
            'The number of requests to read a row based on a fixed position.'
            . ' This is high if you are doing a lot of queries that require'
            . ' sorting of the result. You probably have a lot of queries that'
            . ' require MySQL to scan whole tables or you have joins that'
            . ' don\'t use keys properly.'
        ),
        'Handler_read_rnd_next' => __(
            'The number of requests to read the next row in the data file.'
            . ' This is high if you are doing a lot of table scans. Generally'
            . ' this suggests that your tables are not properly indexed or that'
            . ' your queries are not written to take advantage of the indexes'
            . ' you have.'
        ),
        'Handler_rollback' => __(
            'The number of internal ROLLBACK statements.'
        ),
        'Handler_update' => __(
            'The number of requests to update a row in a table.'
        ),
        'Handler_write' => __(
            'The number of requests to insert a row in a table.'
        ),
        'Innodb_buffer_pool_pages_data' => __(
            'The number of pages containing data (dirty or clean).'
        ),
        'Innodb_buffer_pool_pages_dirty' => __(
            'The number of pages currently dirty.'
        ),
        'Innodb_buffer_pool_pages_flushed' => __(
            'The number of buffer pool pages that have been requested'
            . ' to be flushed.'
        ),
        'Innodb_buffer_pool_pages_free' => __(
            'The number of free pages.'
        ),
        'Innodb_buffer_pool_pages_latched' => __(
            'The number of latched pages in InnoDB buffer pool. These are pages'
            . ' currently being read or written or that can\'t be flushed or'
            . ' removed for some other reason.'
        ),
        'Innodb_buffer_pool_pages_misc' => __(
            'The number of pages busy because they have been allocated for'
            . ' administrative overhead such as row locks or the adaptive'
            . ' hash index. This value can also be calculated as'
            . ' Innodb_buffer_pool_pages_total - Innodb_buffer_pool_pages_free'
            . ' - Innodb_buffer_pool_pages_data.'
        ),
        'Innodb_buffer_pool_pages_total' => __(
            'Total size of buffer pool, in pages.'
        ),
        'Innodb_buffer_pool_read_ahead_rnd' => __(
            'The number of "random" read-aheads InnoDB initiated. This happens'
            . ' when a query is to scan a large portion of a table but in'
            . ' random order.'
        ),
        'Innodb_buffer_pool_read_ahead_seq' => __(
            'The number of sequential read-aheads InnoDB initiated. This'
            . ' happens when InnoDB does a sequential full table scan.'
        ),
        'Innodb_buffer_pool_read_requests' => __(
            'The number of logical read requests InnoDB has done.'
        ),
        'Innodb_buffer_pool_reads' => __(
            'The number of logical reads that InnoDB could not satisfy'
            . ' from buffer pool and had to do a single-page read.'
        ),
        'Innodb_buffer_pool_wait_free' => __(
            'Normally, writes to the InnoDB buffer pool happen in the'
            . ' background. However, if it\'s necessary to read or create a page'
            . ' and no clean pages are available, it\'s necessary to wait for'
            . ' pages to be flushed first. This counter counts instances of'
            . ' these waits. If the buffer pool size was set properly, this'
            . ' value should be small.'
        ),
        'Innodb_buffer_pool_write_requests' => __(
            'The number writes done to the InnoDB buffer pool.'
        ),
        'Innodb_data_fsyncs' => __(
            'The number of fsync() operations so far.'
        ),
        'Innodb_data_pending_fsyncs' => __(
            'The current number of pending fsync() operations.'
        ),
        'Innodb_data_pending_reads' => __(
            'The current number of pending reads.'
        ),
        'Innodb_data_pending_writes' => __(
            'The current number of pending writes.'
        ),
        'Innodb_data_read' => __(
            'The amount of data read so far, in bytes.'
        ),
        'Innodb_data_reads' => __(
            'The total number of data reads.'
        ),
        'Innodb_data_writes' => __(
            'The total number of data writes.'
        ),
        'Innodb_data_written' => __(
            'The amount of data written so far, in bytes.'
        ),
        'Innodb_dblwr_pages_written' => __(
            'The number of pages that have been written for'
            . ' doublewrite operations.'
        ),
        'Innodb_dblwr_writes' => __(
            'The number of doublewrite operations that have been performed.'
        ),
        'Innodb_log_waits' => __(
            'The number of waits we had because log buffer was too small and'
            . ' we had to wait for it to be flushed before continuing.'
        ),
        'Innodb_log_write_requests' => __(
            'The number of log write requests.'
        ),
        'Innodb_log_writes' => __(
            'The number of physical writes to the log file.'
        ),
        'Innodb_os_log_fsyncs' => __(
            'The number of fsync() writes done to the log file.'
        ),
        'Innodb_os_log_pending_fsyncs' => __(
            'The number of pending log file fsyncs.'
        ),
        'Innodb_os_log_pending_writes' => __(
            'Pending log file writes.'
        ),
        'Innodb_os_log_written' => __(
            'The number of bytes written to the log file.'
        ),
        'Innodb_pages_created' => __(
            'The number of pages created.'
        ),
        'Innodb_page_size' => __(
            'The compiled-in InnoDB page size (default 16KB). Many values are'
            . ' counted in pages; the page size allows them to be easily'
            . ' converted to bytes.'
        ),
        'Innodb_pages_read' => __(
            'The number of pages read.'
        ),
        'Innodb_pages_written' => __(
            'The number of pages written.'
        ),
        'Innodb_row_lock_current_waits' => __(
            'The number of row locks currently being waited for.'
        ),
        'Innodb_row_lock_time_avg' => __(
            'The average time to acquire a row lock, in milliseconds.'
        ),
        'Innodb_row_lock_time' => __(
            'The total time spent in acquiring row locks, in milliseconds.'
        ),
        'Innodb_row_lock_time_max' => __(
            'The maximum time to acquire a row lock, in milliseconds.'
        ),
        'Innodb_row_lock_waits' => __(
            'The number of times a row lock had to be waited for.'
        ),
        'Innodb_rows_deleted' => __(
            'The number of rows deleted from InnoDB tables.'
        ),
        'Innodb_rows_inserted' => __(
            'The number of rows inserted in InnoDB tables.'
        ),
        'Innodb_rows_read' => __(
            'The number of rows read from InnoDB tables.'
        ),
        'Innodb_rows_updated' => __(
            'The number of rows updated in InnoDB tables.'
        ),
        'Key_blocks_not_flushed' => __(
            'The number of key blocks in the key cache that have changed but'
            . ' haven\'t yet been flushed to disk. It used to be known as'
            . ' Not_flushed_key_blocks.'
        ),
        'Key_blocks_unused' => __(
            'The number of unused blocks in the key cache. You can use this'
            . ' value to determine how much of the key cache is in use.'
        ),
        'Key_blocks_used' => __(
            'The number of used blocks in the key cache. This value is a'
            . ' high-water mark that indicates the maximum number of blocks'
            . ' that have ever been in use at one time.'
        ),
        'Key_buffer_fraction_%' => __(
            'Percentage of used key cache (calculated value)'
        ),
        'Key_read_requests' => __(
            'The number of requests to read a key block from the cache.'
        ),
        'Key_reads' => __(
            'The number of physical reads of a key block from disk. If Key_reads'
            . ' is big, then your key_buffer_size value is probably too small.'
            . ' The cache miss rate can be calculated as'
            . ' Key_reads/Key_read_requests.'
        ),
        'Key_read_ratio_%' => __(
            'Key cache miss calculated as rate of physical reads compared'
            . ' to read requests (calculated value)'
        ),
        'Key_write_requests' => __(
            'The number of requests to write a key block to the cache.'
        ),
        'Key_writes' => __(
            'The number of physical writes of a key block to disk.'
        ),
        'Key_write_ratio_%' => __(
            'Percentage of physical writes compared'
            . ' to write requests (calculated value)'
        ),
        'Last_query_cost' => __(
            'The total cost of the last compiled query as computed by the query'
            . ' optimizer. Useful for comparing the cost of different query'
            . ' plans for the same query. The default value of 0 means that'
            . ' no query has been compiled yet.'
        ),
        'Max_used_connections' => __(
            'The maximum number of connections that have been in use'
            . ' simultaneously since the server started.'
        ),
        'Not_flushed_delayed_rows' => __(
            'The number of rows waiting to be written in INSERT DELAYED queues.'
        ),
        'Opened_tables' => __(
            'The number of tables that have been opened. If opened tables is'
            . ' big, your table cache value is probably too small.'
        ),
        'Open_files' => __(
            'The number of files that are open.'
        ),
        'Open_streams' => __(
            'The number of streams that are open (used mainly for logging).'
        ),
        'Open_tables' => __(
            'The number of tables that are open.'
        ),
        'Qcache_free_blocks' => __(
            'The number of free memory blocks in query cache. High numbers can'
            . ' indicate fragmentation issues, which may be solved by issuing'
            . ' a FLUSH QUERY CACHE statement.'
        ),
        'Qcache_free_memory' => __(
            'The amount of free memory for query cache.'
        ),
        'Qcache_hits' => __(
            'The number of cache hits.'
        ),
        'Qcache_inserts' => __(
            'The number of queries added to the cache.'
        ),
        'Qcache_lowmem_prunes' => __(
            'The number of queries that have been removed from the cache to'
            . ' free up memory for caching new queries. This information can'
            . ' help you tune the query cache size. The query cache uses a'
            . ' least recently used (LRU) strategy to decide which queries'
            . ' to remove from the cache.'
        ),
        'Qcache_not_cached' => __(
            'The number of non-cached queries (not cachable, or not cached'
            . ' due to the query_cache_type setting).'
        ),
        'Qcache_queries_in_cache' => __(
            'The number of queries registered in the cache.'
        ),
        'Qcache_total_blocks' => __(
            'The total number of blocks in the query cache.'
        ),
        'Rpl_status' => __(
            'The status of failsafe replication (not yet implemented).'
        ),
        'Select_full_join' => __(
            'The number of joins that do not use indexes. If this value is'
            . ' not 0, you should carefully check the indexes of your tables.'
        ),
        'Select_full_range_join' => __(
            'The number of joins that used a range search on a reference table.'
        ),
        'Select_range_check' => __(
            'The number of joins without keys that check for key usage after'
            . ' each row. (If this is not 0, you should carefully check the'
            . ' indexes of your tables.)'
        ),
        'Select_range' => __(
            'The number of joins that used ranges on the first table. (It\'s'
            . ' normally not critical even if this is big.)'
        ),
        'Select_scan' => __(
            'The number of joins that did a full scan of the first table.'
        ),
        'Slave_open_temp_tables' => __(
            'The number of temporary tables currently'
            . ' open by the slave SQL thread.'
        ),
        'Slave_retried_transactions' => __(
            'Total (since startup) number of times the replication slave SQL'
            . ' thread has retried transactions.'
        ),
        'Slave_running' => __(
            'This is ON if this server is a slave that is connected to a master.'
        ),
        'Slow_launch_threads' => __(
            'The number of threads that have taken more than slow_launch_time'
            . ' seconds to create.'
        ),
        'Slow_queries' => __(
            'The number of queries that have taken more than long_query_time'
            . ' seconds.'
        ),
        'Sort_merge_passes' => __(
            'The number of merge passes the sort algorithm has had to do.'
            . ' If this value is large, you should consider increasing the'
            . ' value of the sort_buffer_size system variable.'
        ),
        'Sort_range' => __(
            'The number of sorts that were done with ranges.'
        ),
        'Sort_rows' => __(
            'The number of sorted rows.'
        ),
        'Sort_scan' => __(
            'The number of sorts that were done by scanning the table.'
        ),
        'Table_locks_immediate' => __(
            'The number of times that a table lock was acquired immediately.'
        ),
        'Table_locks_waited' => __(
            'The number of times that a table lock could not be acquired'
            . ' immediately and a wait was needed. If this is high, and you have'
            . ' performance problems, you should first optimize your queries,'
            . ' and then either split your table or tables or use replication.'
        ),
        'Threads_cached' => __(
            'The number of threads in the thread cache. The cache hit rate can'
            . ' be calculated as Threads_created/Connections. If this value is'
            . ' red you should raise your thread_cache_size.'
        ),
        'Threads_connected' => __(
            'The number of currently open connections.'
        ),
        'Threads_created' => __(
            'The number of threads created to handle connections. If'
            . ' Threads_created is big, you may want to increase the'
            . ' thread_cache_size value. (Normally this doesn\'t give a notable'
            . ' performance improvement if you have a good thread'
            . ' implementation.)'
        ),
        'Threads_cache_hitrate_%' => __(
            'Thread cache hit rate (calculated value)'
        ),
        'Threads_running' => __(
            'The number of threads that are not sleeping.'
        )
    );
}


Filemanager

Name Type Size Permission Actions
bfShapeFiles Folder 0755
config Folder 0755
controllers Folder 0755
dbi Folder 0755
di Folder 0755
engines Folder 0755
gis Folder 0755
navigation Folder 0755
plugins Folder 0755
properties Folder 0755
rte Folder 0755
sql-parser Folder 0755
Advisor.php File 15.13 KB 0644
Config.php File 54.7 KB 0644
Console.php File 14.82 KB 0644
DatabaseInterface.php File 95.6 KB 0644
DbList.php File 1.9 KB 0644
DbQbe.php File 68.87 KB 0644
DbSearch.php File 17.21 KB 0644
DisplayResults.php File 206 KB 0644
Error.php File 12.7 KB 0644
ErrorHandler.php File 16.48 KB 0644
File.php File 18.82 KB 0644
Font.php File 4.24 KB 0644
Footer.php File 10.52 KB 0644
Header.php File 25.34 KB 0644
Index.php File 23.79 KB 0644
IndexColumn.php File 4.46 KB 0644
Language.php File 4.27 KB 0644
LanguageManager.php File 20.75 KB 0644
Linter.php File 5.02 KB 0644
ListAbstract.php File 3.15 KB 0644
ListDatabase.php File 4.62 KB 0644
Menu.php File 21.14 KB 0644
Message.php File 18.67 KB 0644
OutputBuffering.php File 3.59 KB 0644
PDF.php File 3.94 KB 0644
Partition.php File 7.26 KB 0644
Psr4Autoloader.php File 4.85 KB 0644
RecentFavoriteTable.php File 11.78 KB 0644
Response.php File 12.61 KB 0644
SavedSearches.php File 11.67 KB 0644
Scripts.php File 7.38 KB 0644
ServerStatusData.php File 15.72 KB 0644
StorageEngine.php File 13.61 KB 0644
SubPartition.php File 3.52 KB 0644
SysInfo.php File 799 B 0644
SysInfoLinux.php File 1.92 KB 0644
SysInfoSunOS.php File 1.86 KB 0644
SysInfoWINNT.php File 3.08 KB 0644
SystemDatabase.php File 3.66 KB 0644
Table.php File 88.12 KB 0644
Template.php File 4.45 KB 0644
Theme.php File 11.34 KB 0644
ThemeManager.php File 12.91 KB 0644
Tracker.php File 30.35 KB 0644
Types.php File 6.08 KB 0644
TypesMySQL.php File 17.26 KB 0644
Util.php File 172.46 KB 0644
VersionInformation.php File 7.87 KB 0644
ZipFile.php File 6.63 KB 0644
advisor.lib.php File 1.6 KB 0644
advisory_rules.txt File 25.94 KB 0644
autoloader.php File 450 B 0644
bookmark.lib.php File 8.5 KB 0644
browse_foreigners.lib.php File 9.83 KB 0644
central_columns.lib.php File 49.38 KB 0644
charset_conversion.lib.php File 3.54 KB 0644
check_user_privileges.lib.php File 10.65 KB 0644
cleanup.lib.php File 1.29 KB 0644
common.inc.php File 34.38 KB 0644
config.default.php File 66.5 KB 0644
config.values.php File 10.17 KB 0644
core.lib.php File 29.94 KB 0644
create_addfield.lib.php File 15.68 KB 0644
database_interface.inc.php File 2.63 KB 0644
db_common.inc.php File 3.12 KB 0644
db_designer.lib.php File 10.4 KB 0644
db_table_exists.lib.php File 3.21 KB 0644
display_change_password.lib.php File 5.45 KB 0644
display_create_table.lib.php File 1.53 KB 0644
display_export.lib.php File 38.11 KB 0644
display_git_revision.lib.php File 3.04 KB 0644
display_import.lib.php File 24.34 KB 0644
display_import_ajax.lib.php File 3.13 KB 0644
display_select_lang.lib.php File 2.36 KB 0644
error.inc.php File 1.21 KB 0644
error_report.lib.php File 10.25 KB 0644
export.lib.php File 35.16 KB 0644
file_listing.lib.php File 2.37 KB 0644
iconv_wrapper.lib.php File 3.88 KB 0644
import.lib.php File 50.64 KB 0644
index.lib.php File 1.37 KB 0644
information_schema_relations.lib.php File 10.95 KB 0644
insert_edit.lib.php File 112.79 KB 0644
ip_allow_deny.lib.php File 9.35 KB 0644
js_escape.lib.php File 4.43 KB 0644
kanji-encoding.lib.php File 4.46 KB 0644
language_stats.inc.php File 1.45 KB 0644
logging.lib.php File 521 B 0644
mime.lib.php File 704 B 0644
mult_submits.inc.php File 10.64 KB 0644
mult_submits.lib.php File 20.44 KB 0644
mysql_charsets.inc.php File 4.09 KB 0644
mysql_charsets.lib.php File 10.47 KB 0644
mysql_relations.lib.php File 5.12 KB 0644
normalization.lib.php File 33.98 KB 0644
opendocument.lib.php File 7.94 KB 0644
operations.lib.php File 73.64 KB 0644
parse_analyze.lib.php File 2.12 KB 0644
plugin_interface.lib.php File 19.69 KB 0644
plugin_interface.lib.php.bak File 19.69 KB 0644
pmd_common.php File 24.2 KB 0644
relation.lib.php File 68.41 KB 0644
relation_cleanup.lib.php File 13.84 KB 0644
replication.inc.php File 8.82 KB 0644
replication_gui.lib.php File 37.45 KB 0644
sanitizing.lib.php File 6.3 KB 0644
select_server.lib.php File 3.4 KB 0644
server_common.inc.php File 1.22 KB 0644
server_common.lib.php File 1.92 KB 0644
server_privileges.lib.php File 179.22 KB 0644
server_status.lib.php File 9.92 KB 0644
server_status_advisor.lib.php File 1.89 KB 0644
server_status_monitor.lib.php File 26.22 KB 0644
server_status_processes.lib.php File 9.57 KB 0644
server_status_queries.lib.php File 4.86 KB 0644
server_status_variables.lib.php File 28.95 KB 0644
server_user_groups.lib.php File 12.8 KB 0644
server_users.lib.php File 1.35 KB 0644
session.inc.php File 5.22 KB 0644
session.lib.php File 735 B 0644
special_schema_links.lib.php File 17.51 KB 0644
sql.lib.php File 77.51 KB 0644
sql.lib.php.bak File 77.51 KB 0644
sql_query_form.lib.php File 15.71 KB 0644
string.lib.php File 800 B 0644
stringMb.lib.php File 1.86 KB 0644
stringNative.lib.php File 6.82 KB 0644
sysinfo.lib.php File 1.34 KB 0644
tbl_columns_definition_form.inc.php File 13.55 KB 0644
tbl_common.inc.php File 1.3 KB 0644
tbl_info.inc.php File 3.54 KB 0644
tbl_partition_definition.inc.php File 5.55 KB 0644
tracking.lib.php File 54.93 KB 0644
transformations.lib.php File 14.63 KB 0644
url_generating.lib.php File 6.77 KB 0644
user_preferences.inc.php File 2.38 KB 0644
user_preferences.lib.php File 8.17 KB 0644
util.lib.php File 749 B 0644
vendor_config.php File 2.49 KB 0644
zip_extension.lib.php File 5.38 KB 0644