MySQL Forums
Forum List  »  InnoDB

Re: mysql online ddl still lock
Posted by: Rick James
Date: April 02, 2016 12:39AM

Re sharding...

Will you shard on the UUID?

How will you know the UUID?

What do you plan to have to do the redirecting of traffic to the individual servers (shards)?

Will only the one table be sharded? Will you have all the other tables in a single server?

Do you need to collect data from multiple shards?

Will you need to JOIN the sharded table to other table(s)?

If you are going to use UUIDs, at least pack them into BINARY(16). Smaller -> more cacheable -> less I/O --> faster.

Keep in mind that UUIDs are very random, hence tend to make a table I/O bound if it gets too big to be fully cached. Will your Shards have no more data than can fit in RAM?

Options: ReplyQuote


Subject
Views
Written By
Posted
2581
February 19, 2016 02:35AM
1575
February 19, 2016 03:09AM
1511
February 19, 2016 06:53AM
1475
February 20, 2016 01:38AM
1214
August 24, 2016 03:48AM
1075
August 25, 2016 07:40PM
1236
August 30, 2016 09:33PM
1189
September 01, 2016 04:55PM
1130
September 01, 2016 11:40PM
1132
September 03, 2016 05:05PM
1132
September 05, 2016 01:20AM
1200
September 05, 2016 03:54PM
1023
September 08, 2016 04:04AM
1093
September 10, 2016 12:19AM
1399
February 23, 2016 11:29PM
1796
February 29, 2016 11:32PM
1580
March 05, 2016 12:19AM
1507
March 07, 2016 03:34AM
1486
March 31, 2016 02:32AM
Re: mysql online ddl still lock
1435
April 02, 2016 12:39AM
1461
May 13, 2016 02:44AM
1423
May 24, 2016 09:53AM


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.