1
vote
1answer
208 views

Would Mongo's ObjectID work well in InnoDB's clustered index?

Mongo's ObjectID is defined like this: ObjectId is a 12-byte BSON type, constructed using: a 4-byte value representing the seconds since the Unix epoch, a 3-byte machine identifier, ...
0
votes
0answers
146 views

is it good to use combined primary key for MySQL InnoDB clustered index?

I'm trying to build a aggregated reader website of multiple forums. Because most queries are likely to be within same time periods for written_time column, I'm thinking about taking advantage of ...
4
votes
3answers
590 views

Can I have create an InnoDB table without a PK? If so, would a secondary index be used as the clustered index?

Is it possible to create an InnoDB table without a Primary Key? Since InnoDB tables are structured as clustered index around the PK, what would be the structure of a table without PK? Would that ...