Repository navigation
sql: enable manual control of column families - #7408
Conversation
|
4.75x faster on the Review status: 0 of 14 files reviewed at latest revision, all discussions resolved, some commit checks failed. Comments from Reviewable |
|
Review status: 0 of 14 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. sql/show.go, line 155 [r1] (raw file):
Should we omit single-column families from the output? (Creating a table with and without explicitly specifying single-column families should be pretty much the same thing right?) Comments from Reviewable |
|
Review status: 0 of 14 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. sql/testdata/family, line 10 [r1] (raw file):
Do you have any test cases for the automatically generated family names? That is, for something like Comments from Reviewable |
|
Review status: 0 of 15 files reviewed at latest revision, 2 unresolved discussions, some commit checks pending. sql/show.go, line 155 [r1] (raw file):
|
- Switch to the new FormatVersion - Hook up the sql syntax in CREATE TABLE - Update SHOW CREATE TABLE - Update the WideTable benchmark to take advantage of column families name old time/op new time/op delta WideTable1_Cockroach-8 1.88ms ± 1% 1.50ms ± 0% -20.08% (p=0.008 n=5+5) WideTable10_Cockroach-8 5.86ms ± 1% 2.59ms ± 1% -55.77% (p=0.016 n=4+5) WideTable100_Cockroach-8 49.1ms ± 5% 13.2ms ± 5% -73.07% (p=0.008 n=5+5) WideTable1000_Cockroach-8 570ms ± 5% 120ms ± 3% -79.00% (p=0.008 n=5+5) name old alloc/op new alloc/op delta WideTable1_Cockroach-8 265kB ± 0% 163kB ± 0% -38.55% (p=0.008 n=5+5) WideTable10_Cockroach-8 1.43MB ± 0% 0.37MB ± 0% -74.27% (p=0.008 n=5+5) WideTable100_Cockroach-8 13.2MB ± 0% 2.4MB ± 0% -82.00% (p=0.016 n=4+5) WideTable1000_Cockroach-8 175MB ± 0% 21MB ± 0% -87.76% (p=0.008 n=5+5) name old allocs/op new allocs/op delta WideTable1_Cockroach-8 2.19k ± 0% 1.91k ± 0% -12.88% (p=0.008 n=5+5) WideTable10_Cockroach-8 6.59k ± 0% 3.96k ± 0% -39.83% (p=0.008 n=5+5) WideTable100_Cockroach-8 50.2k ± 0% 23.9k ± 0% -52.40% (p=0.008 n=5+5) WideTable1000_Cockroach-8 546k ± 0% 223k ± 0% -59.09% (p=0.008 n=5+5)
|
👍 Nice!!! |
name old time/op new time/op delta
WideTable1_Cockroach-8 1.88ms ± 1% 1.50ms ± 0% -20.08% (p=0.008 n=5+5)
WideTable10_Cockroach-8 5.86ms ± 1% 2.59ms ± 1% -55.77% (p=0.016 n=4+5)
WideTable100_Cockroach-8 49.1ms ± 5% 13.2ms ± 5% -73.07% (p=0.008 n=5+5)
WideTable1000_Cockroach-8 570ms ± 5% 120ms ± 3% -79.00% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
WideTable1_Cockroach-8 265kB ± 0% 163kB ± 0% -38.55% (p=0.008 n=5+5)
WideTable10_Cockroach-8 1.43MB ± 0% 0.37MB ± 0% -74.27% (p=0.008 n=5+5)
WideTable100_Cockroach-8 13.2MB ± 0% 2.4MB ± 0% -82.00% (p=0.016 n=4+5)
WideTable1000_Cockroach-8 175MB ± 0% 21MB ± 0% -87.76% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
WideTable1_Cockroach-8 2.19k ± 0% 1.91k ± 0% -12.88% (p=0.008 n=5+5)
WideTable10_Cockroach-8 6.59k ± 0% 3.96k ± 0% -39.83% (p=0.008 n=5+5)
WideTable100_Cockroach-8 50.2k ± 0% 23.9k ± 0% -52.40% (p=0.008 n=5+5)
WideTable1000_Cockroach-8 546k ± 0% 223k ± 0% -59.09% (p=0.008 n=5+5)
This change is