I have table in which we are inserting too many records per day. The table has a long columns as a primary key. Now in past 2 year its already exhausted 50% of the LONG range. (Java's LONG
maps to MySQL's BIGINT
.) I am looking for other data which we can use as a primary key.
what can we the other options, What I am think of creating a new table, with similar structure for a non-sequencial primary key. But I dont have any idea how to achieve this without performance it.
What I am think of creating a new table, with similar structure for a non-sequencial primary key. But I dont have any idea how to achieve this without performance it.