Documentation Home
MySQL PHP API
Download this Manual
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
HTML Download (TGZ) - 245.8Kb
HTML Download (Zip) - 253.2Kb


3.15.14 mysqli_get_links_stats

Copyright 1997-2018 the PHP Documentation Group.

  • mysqli_get_links_stats

    Return information about open and cached links

Description

array mysqli_get_links_stats();

mysqli_get_links_stats returns information about open and cached MySQL links.

Parameters

This function has no parameters.

Return Values

mysqli_get_links_stats returns an associative array with three elements, keyed as follows:

total

An integer indicating the total number of open links in any state.

active_plinks

An integer representing the number of active persistent connections.

cached_plinks

An integer representing the number of inactive persistent connections.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.