Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. CREATE TABLE `st_analytics_all_test_492` (
  2. `field` int(10) unsigned NOT NULL DEFAULT '0',
  3. `month` tinyint(3) unsigned NOT NULL DEFAULT '0',
  4. `user_group_492` int(11) unsigned NOT NULL DEFAULT '0',
  5. `count` int(10) unsigned NOT NULL DEFAULT '0',
  6. `unique_month` mediumint(8) unsigned NOT NULL DEFAULT '0',
  7. PRIMARY KEY (`field`,`month`,`user_group_492`)
  8. ) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
  9. CREATE TABLE `st_analytics_day_test_492` (
  10. `field` int(10) unsigned NOT NULL DEFAULT '0',
  11. `month` tinyint(3) unsigned NOT NULL DEFAULT '0',
  12. `day` tinyint(3) unsigned NOT NULL DEFAULT '0',
  13. `hour` tinyint(3) unsigned NOT NULL DEFAULT '0',
  14. `user_group_492` int(11) unsigned NOT NULL DEFAULT '0',
  15. `count` int(10) unsigned NOT NULL DEFAULT '0',
  16. `unique_month` mediumint(8) unsigned NOT NULL DEFAULT '0',
  17. `unique_day` mediumint(8) unsigned NOT NULL DEFAULT '0',
  18. `unique_hour` mediumint(8) unsigned NOT NULL DEFAULT '0',
  19. PRIMARY KEY (`field`,`month`,`day`,`hour`,`user_group_492`),
  20. KEY `Index_2` (`month`,`day`)
  21. ) ENGINE=InnoDB DEFAULT CHARSET=cp1251
  22. /*!50100 PARTITION BY KEY (`day`)
  23. PARTITIONS 31 */;
  24. CREATE TABLE `st_analytics_month_test_492` (
  25. `field` int(10) unsigned NOT NULL DEFAULT '0',
  26. `month` tinyint(3) unsigned NOT NULL DEFAULT '0',
  27. `day` tinyint(3) unsigned NOT NULL DEFAULT '0',
  28. `user_group_492` int(11) unsigned NOT NULL DEFAULT '0',
  29. `count` int(10) unsigned NOT NULL DEFAULT '0',
  30. `unique_month` mediumint(8) unsigned NOT NULL DEFAULT '0',
  31. `unique_day` mediumint(8) unsigned NOT NULL DEFAULT '0',
  32. PRIMARY KEY (`field`,`month`,`day`,`user_group_492`)
  33. ) ENGINE=InnoDB DEFAULT CHARSET=cp1251
  34. /*!50100 PARTITION BY KEY (`month`)
  35. PARTITIONS 12 */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement