使用者行為分析業務系統日誌處理方案
阿新 • • 發佈:2018-12-24
1.3 Mysql庫上歷史表,其實就是實際在用的表
CREATE TABLE `yemao_loghis` ( `id` varchar(8000) DEFAULT NULL, `time` varchar(8000) DEFAULT NULL, `url_from` text, `url_current` text, `url_to` text, `options` text, `uid` text, `new_visitor` text, `province` text, `city` text, `site` text, `device` text, `phone` text, `token` text, `dorm` text, `order_phone` text, `order_dormitory` text, `order_amount` text, `order_id` text, `uname` text, `site_id` text, `address` text, `dorm_id` text, `dormentry_id` text, `rid` text, `cart_quantity` text, `log_date` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 /*!50100 PARTITION BY LIST (log_date) (PARTITION p0 VALUES IN (0) ENGINE = InnoDB, PARTITION p20151109 VALUES IN (20151109) ENGINE = InnoDB, PARTITION p20151110 VALUES IN (20151110) ENGINE = InnoDB, PARTITION p20151111 VALUES IN (20151111) ENGINE = InnoDB, PARTITION p20151112 VALUES IN (20151112) ENGINE = InnoDB, PARTITION p20151113 VALUES IN (20151113) ENGINE = InnoDB, PARTITION p20151114 VALUES IN (20151114) ENGINE = InnoDB, PARTITION p20151115 VALUES IN (20151115) ENGINE = InnoDB, PARTITION p20151116 VALUES IN (20151116) ENGINE = InnoDB, PARTITION p20151117 VALUES IN (20151117) ENGINE = InnoDB, PARTITION p20151118 VALUES IN (20151118) ENGINE = InnoDB, PARTITION p20151119 VALUES IN (20151119) ENGINE = InnoDB, PARTITION p20151120 VALUES IN (20151120) ENGINE = InnoDB, PARTITION p20151121 VALUES IN (20151121) ENGINE = InnoDB, PARTITION p20151122 VALUES IN (20151122) ENGINE = InnoDB, PARTITION p20151123 VALUES IN (20151123) ENGINE = InnoDB, PARTITION p20151124 VALUES IN (20151124) ENGINE = InnoDB, PARTITION p20151125 VALUES IN (20151125) ENGINE = InnoDB, PARTITION p20151126 VALUES IN (20151126) ENGINE = InnoDB, PARTITION p20151127 VALUES IN (20151127) ENGINE = InnoDB, PARTITION p20151128 VALUES IN (20151128) ENGINE = InnoDB, PARTITION p20151129 VALUES IN (20151129) ENGINE = InnoDB, PARTITION p20151130 VALUES IN (20151130) ENGINE = InnoDB, PARTITION p20151201 VALUES IN (20151201) ENGINE = InnoDB, PARTITION p20151202 VALUES IN (20151202) ENGINE = InnoDB, PARTITION p20151203 VALUES IN (20151203) ENGINE = InnoDB) */;