A few questions:
- What database backend is PDO using? MySQL? Other? If it's MySQL try the MySQL(i) adapter? Data is being stored in MySQL
- If you copy/paste the query (omitting the blob data for simplicity) does the query execute, or even get a more verbose error? Does it just work?
- Does the backend you're using support blob nicely? MySQL Does
- Can you show the
SHOW CREATE TABLE
for your details table?
I don't think the compression is the issue, it would have failed earlier, like around here: https://github.com/preinheimer/xhprof/blob/master/xhprof_lib/utils/xhprof_runs.php#L434
Taking your updated SHOW CREATE TABLE
and query, I get:
Database changed
mysql> CREATE TABLE `details` (
-> `id` char(17) NOT NULL,
-> `url` varchar(255) DEFAULT NULL,
-> `c_url` varchar(255) DEFAULT NULL,
-> `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-> `server name` varchar(64) DEFAULT NULL,
-> `perfdata` mediumblob,
-> `type` tinyint(4) DEFAULT NULL,
-> `cookie` blob,
-> `post` blob,
-> `get` blob,
-> `pmu` int(11) unsigned DEFAULT NULL,
-> `wt` int(11) unsigned DEFAULT NULL,
-> `cpu` int(11) unsigned DEFAULT NULL,
-> `server_id` char(3) NOT NULL DEFAULT 't11',
-> `aggregateCalls_include` varchar(255) DEFAULT NULL,
-> PRIMARY KEY (`id`),
-> KEY `url` (`url`),
-> KEY `c_url` (`c_url`),
-> KEY `cpu` (`cpu`),
-> KEY `wt` (`wt`),
-> KEY `pmu` (`pmu`),
-> KEY `timestamp` (`timestamp`)
-> ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Query OK, 0 rows affected (0.01 sec)
mysql> INSERT INTO `details` (`id`, `url`, `c_url`, `timestamp`, `server name`, `perfdata`, `type`, `cookie`, `post`, `get`, `pmu`, `wt`, `cpu`, `server_id`, `aggregateCalls_include`) VALUES('5279085839571', '/whats-on/?', '/whats-on/?', FROM_UNIXTIME('1383663629'), 'local.mysitename', 'x^��\0\0�\0�', '1', 'a:1:{s:8:\"_profile\";s:1:\"1\";}', 'a:0:{}', 'a:0:{}', '', '', '', 'localhost', '') ;
Query OK, 1 row affected, 4 warnings (0.00 sec)