Designing table with auto increment key

2011-02-13 Thread Something Something
Hello, Can you please tell me if this is the proper way of designing a table that's got an auto increment key? If there's a better way please let me know that as well. After reading the mail archives, I learned that the best way is to use the 'incrementColumnValue' method of HTable. So

Re: Designing table with auto increment key

2011-02-13 Thread Ryan Rawson
you can also stripe, eg: c_1 starts at 1, skip=100 c_2 starts at 2, skip=100 c_$i starts at $i, skip=100 for 3..99 now you have 100x speed/parallelism. If single regionserver assignment becomes a problem, use multiple tables. On Sun, Feb 13, 2011 at 10:12 PM, Lars George lars.geo...@gmail.com