Browsermob / Neustar creates a MySQLdump file that you can use to query test load data without sacrificing cloud hours (which are naturally paid). The dump file is a standard dump file, and although I understand that mysqldump has compatible = mssql option , I'm obviously not able to run that myself. Looking at the contents of a file (which is extremely large) using a text editor, it seems to display a series of SQL statements ending with a massive bulk insert. I tried to open the file in Microsoft SQL Management Studio, but it crashed (known error) because the file was too large.
So, does anyone know a tool that will import a MySQL dump file into MsSQL. The only options I can think of is to install MySQL and import the dump file into it instead, and then transfer the data via ODBC, but I really don't want to install MySQL unless I have to.
IMPORTANT: Therefore, to be clear, I have a dump file, nothing else, and I canβt access the database and not restart the dump with any parameters. I need to work with the file that was provided to me.
Any ideas?
The first lines of the file are as follows:
-- MySQL dump 10.13 Distrib 5.1.58, for debian-linux-gnu (i686) -- -- Host: localhost Database: collector -- ------------------------------------------------------ -- Server version 5.1.58-1ubuntu1 ; ; ; ; ; ; ; ; ; ; -- -- Table structure for table `name_value_pairs` -- DROP TABLE IF EXISTS `name_value_pairs`; ; ; CREATE TABLE `name_value_pairs` ( `id` int(8) unsigned DEFAULT NULL, `tx_id` char(24) NOT NULL, `step_id` int(8) unsigned DEFAULT NULL, `name` varchar(100) NOT NULL, `value` varchar(100) DEFAULT NULL, KEY `name_value_pairs_id` (`id`), KEY `name_value_pairs_tx_id` (`tx_id`), KEY `name_value_pairs_step_id` (`step_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; ; -- -- Dumping data for table `name_value_pairs` -- LOCK TABLES `name_value_pairs` WRITE; ; ; UNLOCK TABLES; -- -- Table structure for table `object` -- DROP TABLE IF EXISTS `object`; ; ; CREATE TABLE `object` ( `bytes` int(10) unsigned NOT NULL, `domain` varchar(255) NOT NULL, `end_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `err_msg` varchar(255) DEFAULT NULL, `host` varchar(255) NOT NULL, `method` varchar(16) DEFAULT NULL, `obj_id` int(8) unsigned NOT NULL, `obj_num` mediumint(4) unsigned NOT NULL, `path` varchar(4096) NOT NULL, `partial_url_md5` varchar(32) NOT NULL, `protocol` varchar(16) NOT NULL, `resolved_ip_addr` varchar(255) DEFAULT NULL, `start_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `status_code` smallint(4) NOT NULL, `step_id` int(8) unsigned NOT NULL, `time_active` mediumint(6) unsigned DEFAULT NULL, `blocked_time` mediumint(6) unsigned DEFAULT NULL, `dns_lookup_time` mediumint(6) unsigned DEFAULT NULL, `connect_time` mediumint(6) unsigned DEFAULT NULL, `ssl_handshake_time` mediumint(6) unsigned DEFAULT NULL, `send_time` mediumint(6) unsigned DEFAULT NULL, `time_to_first_byte` mediumint(6) unsigned DEFAULT NULL, `receive_time` mediumint(6) unsigned DEFAULT NULL, `tx_id` char(24) NOT NULL, `url` varchar(4096) NOT NULL, KEY `object_partial_url_md5` (`partial_url_md5`), KEY `object_obj_id` (`obj_id`), KEY `object_obj_num` (`obj_num`), KEY `object_step_id` (`step_id`), KEY `object_tx_id` (`tx_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; ; -- -- Dumping data for table `object` -- LOCK TABLES `object` WRITE; ;
Then a volume insert appears.