Database table redesign for minimize data and increse performance
Posted by: Devrishi Shandilya
Date: November 17, 2015 12:20AM

Hi Friends,

I have a table sendgrid_data, and data in this table like mentioned below, for every unique event, multiple user entry as per event and timestamp.

show create table and real time data are as follows :


CREATE TABLE `sendgrid_data` (
`id` int(50) NOT NULL AUTO_INCREMENT,
`email` varchar(100) DEFAULT NULL,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`smtp-id` varchar(100) DEFAULT NULL,
`event` varchar(100) DEFAULT NULL,
`status` smallint(10) DEFAULT '1',
`url` varchar(250) DEFAULT NULL,
`useragent` varchar(250) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `IDX_EVENT_DATE` (`event`,`date`)
) ENGINE=InnoDB AUTO_INCREMENT=625810598 DEFAULT CHARSET=latin1


+-----------+--------------------------------+---------------------+--------------------------------------------------------+-------------+--------+------+---------------------------------------------------------------------------------------------------------------------------------------------+
| id | email | date | smtp-id | event | status | url | useragent |
+-----------+--------------------------------+---------------------+--------------------------------------------------------+-------------+--------+------+---------------------------------------------------------------------------------------------------------------------------------------------+
| 625607848 | 001tanmaychakraborty@gmail.com | 2015-11-17 12:17:50 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625757142 | 00uiwr.iil@euq.com | 2015-11-17 08:33:09 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625690383 | 00uiwr.iil@euq.com | 2015-11-17 05:16:43 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625638607 | 00uiwr.iil@euq.com | 2015-11-17 02:13:47 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625689911 | 00uiwr.iil@euq.com | 2015-11-17 05:14:49 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625639176 | 00uiwr.iil@euq.com | 2015-11-17 02:16:09 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625750025 | 00uiwr.iil@euq.com | 2015-11-17 08:17:18 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625749845 | 00uiwr.iil@euq.com | 2015-11-17 08:16:47 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625695798 | 00uiwr.iil@euq.com | 2015-11-17 05:32:34 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625644537 | 00uiwr.iil@euq.com | 2015-11-17 02:31:59 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625782893 | 00uiwr.iil@euq.com | 2015-11-17 09:21:08 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625715187 | 00uiwr.iil@euq.com | 2015-11-17 06:20:33 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625638958 | 00uiwr.iil@euq.com | 2015-11-17 02:15:11 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625608244 | 00uiwr.iil@euq.com | 2015-11-17 12:18:54 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625662998 | 00uiwr.iil@euq.com | 2015-11-17 03:19:29 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625796489 | 00uiwr.iil@euq.com | 2015-11-17 09:53:20 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625749505 | 00uiwr.iil@euq.com | 2015-11-17 08:15:55 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625723405 | 00uiwr.iil@euq.com | 2015-11-17 06:52:46 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625690131 | 00uiwr.iil@euq.com | 2015-11-17 05:15:47 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625669911 | 00uiwr.iil@euq.com | 2015-11-17 03:51:44 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625617082 | 00uiwr.iil@euq.com | 2015-11-17 12:50:38 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625636731 | 018himanshu@gmail.com | 2015-11-17 02:05:06 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625785846 | 01abhijeetkate@gmail.com | 2015-11-17 09:27:55 | | open | 1 | | Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; GT-I9192 Build/KOT49H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 |
| 625751311 | 0319.powai@gmail.co.in | 2015-11-17 08:20:41 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625701827 | 0319.powai@gmail.co.in | 2015-11-17 05:45:44 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625642178 | 0319.powai@gmail.co.in | 2015-11-17 02:25:48 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625650424 | 0319.powai@gmail.co.in | 2015-11-17 02:45:09 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625693057 | 0319.powai@gmail.co.in | 2015-11-17 05:25:18 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625787701 | 0319.powai@gmail.co.in | 2015-11-17 09:32:29 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625639938 | 0319.powai@gmail.co.in | 2015-11-17 02:19:01 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625611715 | 0319.powai@gmail.co.in | 2015-11-17 12:30:10 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625619938 | 0319.powai@gmail.co.in | 2015-11-17 12:57:56 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625672328 | 0319.powai@gmail.co.in | 2015-11-17 03:58:58 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625753617 | 0319.powai@gmail.co.in | 2015-11-17 08:25:54 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625800521 | 0319.powai@gmail.co.in | 2015-11-17 10:00:36 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625725930 | 0319.powai@gmail.co.in | 2015-11-17 06:59:31 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625693610 | 0319.powai@gmail.co.in | 2015-11-17 05:26:53 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625717966 | 0319.powai@gmail.co.in | 2015-11-17 06:31:23 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625754575 | 0319.powai@gmail.co.in | 2015-11-17 08:27:54 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625641801 | 0319.powai@gmail.co.in | 2015-11-17 02:24:43 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625665544 | 0319.powai@gmail.co.in | 2015-11-17 03:30:43 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625691321 | 0319.powai@gmail.co.in | 2015-11-17 05:20:06 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625765195 | 0319.powai@gmail.co.in | 2015-11-17 08:46:49 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625814521 | 07.logesh.velu@gmail.com | 2015-11-17 10:27:35 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625635397 | 07342g@gmail.com | 2015-11-17 01:56:29 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625635479 | 07342g@gmail.com | 2015-11-17 01:56:57 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625635882 | 07342g@gmail.com | 2015-11-17 01:59:11 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625794611 | 09akansha@gmail.com | 2015-11-17 09:49:15 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625794579 | 09akansha@gmail.com | 2015-11-17 09:49:09 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625799303 | 09kumar09@gmail.com | 2015-11-17 09:58:12 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625664675 | 09prabhakarpandey@gmail.com | 2015-11-17 03:26:45 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625780641 | 09rmgulecha@gmail.com | 2015-11-17 09:16:04 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625612050 | 0agdhdgajp@gmatl.com | 2015-11-17 12:31:37 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625755734 | 0agdhdgajp@gmatl.com | 2015-11-17 08:30:03 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625694682 | 0agdhdgajp@gmatl.com | 2015-11-17 05:29:28 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625650929 | 0agdhdgajp@gmatl.com | 2015-11-17 02:46:09 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625643228 | 0agdhdgajp@gmatl.com | 2015-11-17 02:28:25 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625674575 | 0agdhdgajp@gmatl.com | 2015-11-17 04:06:16 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625728614 | 0agdhdgajp@gmatl.com | 2015-11-17 07:07:21 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625665767 | 0agdhdgajp@gmatl.com | 2015-11-17 03:32:09 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625788288 | 0agdhdgajp@gmatl.com | 2015-11-17 09:33:47 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625694887 | 0agdhdgajp@gmatl.com | 2015-11-17 05:30:02 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625692883 | 0agdhdgajp@gmatl.com | 2015-11-17 05:24:48 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625755952 | 0agdhdgajp@gmatl.com | 2015-11-17 08:30:36 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625622440 | 0agdhdgajp@gmatl.com | 2015-11-17 01:05:11 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625765903 | 0agdhdgajp@gmatl.com | 2015-11-17 08:47:49 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625753353 | 0agdhdgajp@gmatl.com | 2015-11-17 08:25:20 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625643619 | 0agdhdgajp@gmatl.com | 2015-11-17 02:29:27 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625804606 | 0agdhdgajp@gmatl.com | 2015-11-17 10:07:56 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625641435 | 0agdhdgajp@gmatl.com | 2015-11-17 02:23:44 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625718394 | 0agdhdgajp@gmatl.com | 2015-11-17 06:33:15 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625702380 | 0agdhdgajp@gmatl.com | 2015-11-17 05:46:45 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625750321 | 100002184041799@facebook.com | 2015-11-17 08:18:01 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625751441 | 100002184041799@facebook.com | 2015-11-17 08:20:59 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625608440 | 100002184041799@facebook.com | 2015-11-17 12:19:25 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625662999 | 100002184041799@facebook.com | 2015-11-17 03:19:30 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625618584 | 100002184041799@facebook.com | 2015-11-17 12:54:14 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625753937 | 100002184041799@facebook.com | 2015-11-17 08:26:35 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625637496 | 100002184041799@facebook.com | 2015-11-17 02:09:12 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625688511 | 100002184041799@facebook.com | 2015-11-17 05:09:17 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625782180 | 100002184041799@facebook.com | 2015-11-17 09:19:39 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625693477 | 100002184041799@facebook.com | 2015-11-17 05:26:30 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625747249 | 100002184041799@facebook.com | 2015-11-17 08:09:22 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625642428 | 100002184041799@facebook.com | 2015-11-17 02:26:24 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625723985 | 100002184041799@facebook.com | 2015-11-17 06:54:23 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625670774 | 100002184041799@facebook.com | 2015-11-17 03:54:17 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625714919 | 100002184041799@facebook.com | 2015-11-17 06:19:34 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625639617 | 100002184041799@facebook.com | 2015-11-17 02:17:50 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625690696 | 100002184041799@facebook.com | 2015-11-17 05:17:54 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625797094 | 100002184041799@facebook.com | 2015-11-17 09:54:28 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625691561 | 100002184041799@facebook.com | 2015-11-17 05:20:56 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625640469 | 100002184041799@facebook.com | 2015-11-17 02:20:50 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625617200 | 1008srisriram@gmail.com | 2015-11-17 12:51:02 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625617289 | 1008srisriram@gmail.com | 2015-11-17 12:51:15 | | unsubscribe | 1 | | |
| 625829685 | 100rubsingh@gmail.com | 2015-11-17 11:01:10 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625638418 | 106281@ongc.co.in | 2015-11-17 02:12:57 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625644845 | 106281@ongc.co.in | 2015-11-17 02:32:56 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625752057 | 106281@ongc.co.in | 2015-11-17 08:22:24 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625620646 | 106281@ongc.co.in | 2015-11-17 12:59:59 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625784216 | 106281@ongc.co.in | 2015-11-17 09:24:09 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625748519 | 106281@ongc.co.in | 2015-11-17 08:13:07 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625691990 | 106281@ongc.co.in | 2015-11-17 05:22:19 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625609855 | 106281@ongc.co.in | 2015-11-17 12:23:55 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625642195 | 106281@ongc.co.in | 2015-11-17 02:25:53 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625693259 | 106281@ongc.co.in | 2015-11-17 05:25:55 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625695920 | 106281@ongc.co.in | 2015-11-17 05:33:00 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625672656 | 106281@ongc.co.in | 2015-11-17 04:00:01 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625640972 | 106281@ongc.co.in | 2015-11-17 02:22:15 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625753666 | 106281@ongc.co.in | 2015-11-17 08:25:58 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625664055 | 106281@ongc.co.in | 2015-11-17 03:23:59 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625689439 | 106281@ongc.co.in | 2015-11-17 05:13:03 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625757141 | 106281@ongc.co.in | 2015-11-17 08:33:05 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625726104 | 106281@ongc.co.in | 2015-11-17 07:00:09 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625800332 | 106281@ongc.co.in | 2015-11-17 10:00:14 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625716115 | 106281@ongc.co.in | 2015-11-17 06:24:04 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625754004 | 11.parul@gmail.com | 2015-11-17 08:26:47 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625757703 | 11120091@ammini.edo.in | 2015-11-17 08:34:17 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625697983 | 11120091@ammini.edo.in | 2015-11-17 05:37:28 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625770211 | 11120091@ammini.edo.in | 2015-11-17 08:55:04 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625705821 | 11120091@ammini.edo.in | 2015-11-17 05:54:00 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625625553 | 11120091@ammini.edo.in | 2015-11-17 01:14:52 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625809215 | 11120091@ammini.edo.in | 2015-11-17 10:17:07 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625731793 | 11120091@ammini.edo.in | 2015-11-17 07:16:31 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625696261 | 11120091@ammini.edo.in | 2015-11-17 05:33:49 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625613672 | 11120091@ammini.edo.in | 2015-11-17 12:38:21 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625644762 | 11120091@ammini.edo.in | 2015-11-17 02:32:44 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625790745 | 11120091@ammini.edo.in | 2015-11-17 09:40:04 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625644938 | 11120091@ammini.edo.in | 2015-11-17 02:33:11 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625646682 | 11120091@ammini.edo.in | 2015-11-17 02:36:57 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625654294 | 11120091@ammini.edo.in | 2015-11-17 02:53:26 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625759968 | 11120091@ammini.edo.in | 2015-11-17 08:37:59 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625696240 | 11120091@ammini.edo.in | 2015-11-17 05:33:46 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625719799 | 11120091@ammini.edo.in | 2015-11-17 06:39:29 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625757845 | 11120091@ammini.edo.in | 2015-11-17 08:34:25 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625677293 | 11120091@ammini.edo.in | 2015-11-17 04:15:58 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625667037 | 11120091@ammini.edo.in | 2015-11-17 03:38:55 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625831050 | 111arpnasingh@gmail.com | 2015-11-17 11:04:44 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625728700 | 111sneha@gmail.com | 2015-11-17 07:07:37 | | open | 1 | | Mozilla/5.0 (iPad; CPU OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B410 |
| 625821427 | 11earae717@aryamail.in | 2015-11-17 10:42:41 | <sug2J-FsQuOcc1_6p4hvmQ@ismtpd0005p1iad1.sendgrid.net> | deferred | 1 | | |
| 625784938 | 11earae717@aryamail.in | 2015-11-17 09:25:46 | <UDAZyVwzSrWLZIR5CzHeBA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625740151 | 11earae717@aryamail.in | 2015-11-17 07:42:35 | <sug2J-FsQuOcc1_6p4hvmQ@ismtpd0005p1iad1.sendgrid.net> | deferred | 1 | | |
| 625683688 | 11earae717@aryamail.in | 2015-11-17 04:42:31 | <sug2J-FsQuOcc1_6p4hvmQ@ismtpd0005p1iad1.sendgrid.net> | deferred | 1 | | |
| 625716534 | 11earae717@aryamail.in | 2015-11-17 06:25:42 | <UDAZyVwzSrWLZIR5CzHeBA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625610306 | 11earae717@aryamail.in | 2015-11-17 12:25:33 | <UDAZyVwzSrWLZIR5CzHeBA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625664416 | 11earae717@aryamail.in | 2015-11-17 03:25:37 | <UDAZyVwzSrWLZIR5CzHeBA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625632870 | 11earae717@aryamail.in | 2015-11-17 01:42:27 | <sug2J-FsQuOcc1_6p4hvmQ@ismtpd0005p1iad1.sendgrid.net> | deferred | 1 | | |
| 625653608 | 11shubh11greets@gmail.com | 2015-11-17 02:51:47 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625768473 | 11shubh11greets@gmail.com | 2015-11-17 08:51:56 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625757876 | 11shubh11greets@gmail.com | 2015-11-17 08:34:32 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625650149 | 11shubh11greets@gmail.com | 2015-11-17 02:44:34 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625792820 | 11shubh11greets@gmail.com | 2015-11-17 09:44:43 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625701213 | 11shubh11greets@gmail.com | 2015-11-17 05:44:39 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625668255 | 11shubh11greets@gmail.com | 2015-11-17 03:44:34 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625651020 | 11shubh11greets@gmail.com | 2015-11-17 02:46:24 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625627578 | 11shubh11greets@gmail.com | 2015-11-17 01:20:27 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625764958 | 11shubh11greets@gmail.com | 2015-11-17 08:46:35 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625811093 | 11shubh11greets@gmail.com | 2015-11-17 10:20:36 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625733336 | 11shubh11greets@gmail.com | 2015-11-17 07:20:33 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625721175 | 11shubh11greets@gmail.com | 2015-11-17 06:44:39 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625678808 | 11shubh11greets@gmail.com | 2015-11-17 04:20:30 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625763821 | 11shubh11greets@gmail.com | 2015-11-17 08:44:46 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625696561 | 11shubh11greets@gmail.com | 2015-11-17 05:34:27 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625704887 | 11shubh11greets@gmail.com | 2015-11-17 05:51:50 | <zO7fw03qT-CGIbXqHO5rKw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625645452 | 11shubh11greets@gmail.com | 2015-11-17 02:34:23 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625615377 | 11shubh11greets@gmail.com | 2015-11-17 12:44:32 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625702178 | 11shubh11greets@gmail.com | 2015-11-17 05:46:29 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625786052 | 1212@mm.com | 2015-11-17 09:28:19 | <vfMy8KjSQDeemW-hfUqEpw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625742932 | 1212@mm.com | 2015-11-17 07:53:27 | <xX5rFWZERIOjmqYy0RRJpw@ismtpd0003p1iad1.sendgrid.net> | deferred | 1 | | |
| 625781250 | 1212@mm.com | 2015-11-17 09:17:30 | <u9w4q0VyTSCWHG_1my-nTw@ismtpd0003p1iad1.sendgrid.net> | deferred | 1 | | |
| 625826740 | 1212@mm.com | 2015-11-17 10:54:32 | <xX5rFWZERIOjmqYy0RRJpw@ismtpd0003p1iad1.sendgrid.net> | deferred | 1 | | |
| 625635729 | 1212@mm.com | 2015-11-17 01:58:10 | <M6Neu-m8QaeSRg4PYMIu2A@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625744692 | 1212@mm.com | 2015-11-17 07:59:19 | <M6Neu-m8QaeSRg4PYMIu2A@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625685645 | 1212@mm.com | 2015-11-17 04:52:23 | <xX5rFWZERIOjmqYy0RRJpw@ismtpd0003p1iad1.sendgrid.net> | deferred | 1 | | |
| 625829427 | 1212@mm.com | 2015-11-17 11:00:25 | <M6Neu-m8QaeSRg4PYMIu2A@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625664674 | 1212@mm.com | 2015-11-17 03:26:40 | <vfMy8KjSQDeemW-hfUqEpw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625714101 | 1212@mm.com | 2015-11-17 06:16:55 | <u9w4q0VyTSCWHG_1my-nTw@ismtpd0003p1iad1.sendgrid.net> | deferred | 1 | | |
| 625690789 | 1212@mm.com | 2015-11-17 05:18:15 | <BNbmvYgXQnuAnoyTR5ZNPQ@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625717096 | 1212@mm.com | 2015-11-17 06:27:45 | <vfMy8KjSQDeemW-hfUqEpw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625606994 | 1212@mm.com | 2015-11-17 12:15:20 | <u9w4q0VyTSCWHG_1my-nTw@ismtpd0003p1iad1.sendgrid.net> | deferred | 1 | | |
| 625639444 | 1212@mm.com | 2015-11-17 02:17:10 | <BNbmvYgXQnuAnoyTR5ZNPQ@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625750785 | 1212@mm.com | 2015-11-17 08:19:20 | <BNbmvYgXQnuAnoyTR5ZNPQ@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625610327 | 1212@mm.com | 2015-11-17 12:25:36 | <vfMy8KjSQDeemW-hfUqEpw@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625747247 | 1212@mm.com | 2015-11-17 08:09:21 | <rOIF1_5iQxaan3NJWJ9q2A@ismtpd0005p1iad1.sendgrid.net> | deferred | 1 | | |
| 625688410 | 1212@mm.com | 2015-11-17 05:08:46 | <rOIF1_5iQxaan3NJWJ9q2A@ismtpd0005p1iad1.sendgrid.net> | deferred | 1 | | |
| 625686754 | 1212@mm.com | 2015-11-17 04:58:47 | <M6Neu-m8QaeSRg4PYMIu2A@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625662144 | 1212@mm.com | 2015-11-17 03:16:21 | <u9w4q0VyTSCWHG_1my-nTw@ismtpd0003p1iad1.sendgrid.net> | deferred | 1 | | |
| 625637278 | 1212@mm.com | 2015-11-17 02:08:12 | <rOIF1_5iQxaan3NJWJ9q2A@ismtpd0005p1iad1.sendgrid.net> | deferred | 1 | | |
| 625634444 | 1212@mm.com | 2015-11-17 01:51:20 | <xX5rFWZERIOjmqYy0RRJpw@ismtpd0003p1iad1.sendgrid.net> | deferred | 1 | | |
| 625644579 | 123@gmaillll.com | 2015-11-17 02:32:07 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625756749 | 123@gmaillll.com | 2015-11-17 08:32:15 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625695659 | 123@gmaillll.com | 2015-11-17 05:32:10 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625825100 | 123shailesh123@gmail.com | 2015-11-17 10:50:45 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625812884 | 123taks@gmail.com | 2015-11-17 10:24:18 | | open | 1 | | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy) |
| 625762812 | 124528@ongc.co.in | 2015-11-17 08:42:58 | <LwFZEtrCRe6gpywz7CsICA@ismtpd0001p1iad1.sendgrid.net> | deferred | 1 | | |
| 625694684 | 124528@ongc.co.in | 2015-11-17 05:29:27 | <8AGYm67pSCCjyYskfSu46w@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625678119 | 124528@ongc.co.in | 2015-11-17 04:18:22 | <r_-676WZTkKqydudp_k3_g@ismtpd0002p1iad1.sendgrid.net> | deferred | 1 | | |
| 625699054 | 124528@ongc.co.in | 2015-11-17 05:39:45 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625647844 | 124528@ongc.co.in | 2015-11-17 02:39:40 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625761055 | 124528@ongc.co.in | 2015-11-17 08:39:52 | <cb_C7JEdT_my7iOFSKcC_A@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
| 625790675 | 124528@ongc.co.in | 2015-11-17 09:39:54 | <wHZlvnXsRRGqPTg-K67HCQ@ismtpd0006p1iad1.sendgrid.net> | deferred | 1 | | |
+-----------+--------------------------------+---------------------+--------------------------------------------------------+-------------+--------+------+---------------------------------------------------------------------------------------------------------------------------------------------+
200 rows in set (19 min 51.80 sec)



My issue is that, data is huge in this table 90 GB and it's rapidly growing, and very soon we have space problem and might be performance problem too.

data insertion rate is very high and we fetch report from tables based on index IDX_EVENT_DATE.

Can anyone suggest best design for reduce data storage and maximize performance for this table.

Options: ReplyQuote


Subject
Written By
Posted
Database table redesign for minimize data and increse performance
November 17, 2015 12:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.