I want to log my users' logins so I created a database like this :
CREATE TABLE `Login` (
`UserId` INT(11) NOT NULL,
`Ip` BIGINT(20) NOT NULL,
`Date` DATETIME NOT NULL
)
COLLATE='utf8_general_ci'
ENGINE=MyISAM;
With no trigger. no key. no index.
Insertion code is :
INSERT INTO `Login` (`UserId`, `Ip`, `Date`) VALUES ({userId}, INET_ATON({userIp}), NOW());
With some calculation iI know it will get big. Does large data affect insertion time ? With large data I mean more than 3 million record.