* Made updating of page view stats faster my buffering them in a HEAP table until many pages can be updated at once. tables.sql: * hitcounter table patch-hitcounter.sql: * hitcounter table update.php: * Creating hitcounter table when necessary
9 lines
255 B
SQL
9 lines
255 B
SQL
--
|
|
-- hitcounter table is used to buffer page hits before they are periodically
|
|
-- counted and added to the cur_counter column in the cur table.
|
|
-- December 2003
|
|
--
|
|
|
|
CREATE TABLE hitcounter (
|
|
hc_id INTEGER UNSIGNED NOT NULL
|
|
) TYPE=HEAP MAX_ROWS=25000;
|