wiki.techinc.nl/maintenance/archives/patch-profiling.sql

12 lines
364 B
MySQL
Raw Normal View History

-- profiling table
-- This is optional
CREATE TABLE /*_*/profiling (
2006-07-30 23:50:26 +00:00
pf_count int NOT NULL default 0,
pf_time float NOT NULL default 0,
2008-04-29 11:59:10 +00:00
pf_memory float NOT NULL default 0,
pf_name varchar(255) NOT NULL default '',
pf_server varchar(30) NOT NULL default ''
) ENGINE=MEMORY;
2011-04-23 21:26:10 +00:00
CREATE UNIQUE INDEX /*i*/pf_name_server ON /*_*/profiling (pf_name, pf_server);