Manual:Site stats table/pl

Tabela site_stats zawiera parę sumarycznych danych o stanie strony. ss_row_id is pointlessly indexed to assuage developer superstitions.

ss_row_id
The single row should contain 1 here. This field serves no useful purpose whatsoever.

ss_total_views
Total number of page views, if hit counters were enabled. Removed in MW 1.26.

ss_total_edits
Całkowita liczba dokonanych edycji.

ss_good_articles
An approximate count of pages matching the following criteria: See Content::isCountable in includes/content/Content.php
 * w przestrzeni nazw 0
 * nie będących przekierowaniami
 * zawierającymi tekst '[['

ss_total_pages
Total pages, theoretically equal to  except faster

ss_users
Number of users, theoretically equal to

ss_active_users
Number of users that still edit

ss_admins
Deprecated, no longer updated as of 1.5

ss_images
Number of images, equivalent to

Versions
mysql> describe site_stats; +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+ 8 rows in set (0.00 sec)
 * Field           | Type                | Null | Key | Default | Extra |
 * ss_row_id       | int(10) unsigned    | NO   | PRI | NULL    |       |
 * ss_total_views  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_total_edits  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_good_articles | bigint(20) unsigned | YES |     | 0       |       |
 * ss_total_pages  | bigint(20)          | YES  |     | -1      |       |
 * ss_users        | bigint(20)          | YES  |     | -1      |       |
 * ss_active_users | bigint(20)          | YES  |     | -1      |       |
 * ss_images       | int(11)             | YES  |     | 0       |       |

mysql> describe site_stats; +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+
 * Field           | Type                | Null | Key | Default | Extra |
 * ss_row_id       | int(10) unsigned    | NO   | PRI | NULL    |       |
 * ss_total_views  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_total_edits  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_good_articles | bigint(20) unsigned | YES |     | 0       |       |
 * ss_total_pages  | bigint(20)          | YES  |     | -1      |       |
 * ss_users        | bigint(20)          | YES  |     | -1      |       |
 * ss_active_users | bigint(20)          | YES  |     | -1      |       |
 * ss_admins       | int(11)             | YES  |     | -1      |       |
 * ss_images       | int(11)             | YES  |     | 0       |       |

describe site_stats; in version 1.14 mysql> describe mw_site_stats; +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+ 9 rows in set (0.00 sec)
 * Field           | Type                | Null | Key | Default | Extra |
 * ss_row_id       | int(8) unsigned     | NO   | PRI |         |       |
 * ss_total_views  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_total_edits  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_good_articles | bigint(20) unsigned | YES |     | 0       |       |
 * ss_total_pages  | bigint(20)          | YES  |     | -1      |       |
 * ss_users        | bigint(20)          | YES  |     | -1      |       |
 * ss_admins       | int(10)             | YES  |     | -1      |       |
 * ss_images       | int(10)             | YES  |     | 0       |       |
 * ss_active_users | bigint(20)          | YES  |     | -1      |       |

describe site_stats; in version 1.9: mysql> describe mw_site_stats; +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+ 8 rows in set (0.01 sec)
 * Field           | Type                | Null | Key | Default | Extra |
 * ss_row_id       | int(8) unsigned     | NO   | PRI | NULL    |       |
 * ss_total_views  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_total_edits  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_good_articles | bigint(20) unsigned | YES |     | 0       |       |
 * ss_total_pages  | bigint(20)          | YES  |     | -1      |       |
 * ss_users        | bigint(20)          | YES  |     | -1      |       |
 * ss_admins       | int(10)             | YES  |     | -1      |       |
 * ss_images       | int(10)             | YES  |     | 0       |       |

describe site_stats; in version 1.8: +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+
 * Field           | Type                | Null | Key | Default | Extra |
 * ss_row_id       | int(8) unsigned     | NO   | PRI | NULL    |       |
 * ss_total_views  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_total_edits  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_good_articles | bigint(20) unsigned | YES |     | 0       |       |
 * ss_total_pages  | bigint(20)          | YES  |     | -1      |       |
 * ss_users        | bigint(20)          | YES  |     | -1      |       |
 * ss_admins       | int(10)             | YES  |     | -1      |       |
 * ss_images       | int(10)             | YES  |     | 0       |       |

describe site_stats; in version 1.5: +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+
 * Field           | Type                | Null | Key | Default | Extra |
 * ss_row_id       | int(8) unsigned     | NO   | PRI |         |       |
 * ss_total_views  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_total_edits  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_good_articles | bigint(20) unsigned | YES |     | 0       |       |
 * ss_total_pages  | bigint(20)          | YES  |     | -1      |       |
 * ss_users        | bigint(20)          | YES  |     | -1      |       |
 * ss_admins       | int(10)             | YES  |     | -1      |       |

describe site_stats; in version 1.4: +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+
 * Field           | Type                | Null | Key | Default | Extra |
 * ss_row_id       | int(8) unsigned     |      | PRI | 0       |       |
 * ss_total_views  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_total_edits  | bigint(20) unsigned | YES  |     | 0       |       |
 * ss_good_articles | bigint(20) unsigned | YES |     | 0       |       |