77aecd4b27
executor, planner: support split table regions on clustered index ( #18465 )
2020-07-13 21:40:40 +08:00
2dff44a1de
fix Test failed case from PR/18277 ( #18504 )
2020-07-13 21:08:03 +08:00
b122d58ccb
executor: add deprecation warning for hash_join_concurrency ( #18453 )
...
Signed-off-by: niedhui <niedhui@gmail.com >
2020-07-13 19:29:37 +08:00
6a7ba4aafa
executor: make the format of the DB field in slow logs be compatible with MySQL ( #18389 )
2020-07-13 18:39:41 +08:00
225c31ab86
executor: log when setting a global variable ( #18457 )
...
Signed-off-by: niedhui <niedhui@gmail.com >
2020-07-13 18:05:49 +08:00
8b856cc82d
autoid: only initialize rowid allocator if necessary ( #18326 )
2020-07-13 17:01:56 +08:00
291bcae74f
executor: fix bug of read information_schema.columns ( #18503 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-07-13 16:41:44 +08:00
b13fdb7bce
*: make test more TestSortInDisk stable ( #18424 )
2020-07-13 11:51:55 +08:00
8a661044ce
multi-query prefetch support pessimistic transaction ( #18439 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-10 18:47:56 +08:00
563f2c92d7
planner: clustered index support primary index hint ( #18478 )
2020-07-10 15:26:19 +08:00
2b0b34b88e
executor: kill tableReader for each connection correctly ( #18277 )
2020-07-09 18:09:08 +08:00
a99fdc098c
statistics: ease the impact of stats feedback on cluster ( #15503 )
2020-07-08 19:53:04 +08:00
ff94f2be2d
information: Fix issue of query information_schema.columns cost too much memory when there are lots of tables in TiDB ( #18362 )
2020-07-08 14:23:00 +08:00
2dfae9850a
executor: make hashjoin using executor_concurrency ( #18213 )
2020-07-08 13:41:10 +08:00
da90b23e6a
executor, planner: fix clustered index UnionScan and IndexLookUp ( #18427 )
...
* executor, planner: fix clustered index union scan and index reader schema
* fix another bug
* address comment
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-08 11:57:09 +08:00
3cd5260773
ddl: collect actionTypes for schema change ( #18195 )
...
* record action types in schema change history
* change comments
* remove comment
* refactor, remove some params and return values
* change value to pointer, remove useless comments
* refactor comments
* change return value
* refactor
* remove all info
* fix action type append
* update comment
Co-authored-by: Lynn <zimu_xia@126.com >
2020-07-08 11:41:09 +08:00
5f983b860f
planner,executor,infoschema: add system tables tiflash_tables and tiflash_segments ( #18092 )
2020-07-07 21:45:59 +08:00
de33068d26
*: refactor NewBackoffer ( #18367 )
2020-07-07 14:28:43 +08:00
658132fcf3
planner: refactor handle columns ( #18391 )
2020-07-07 12:26:14 +08:00
b178de06ad
executor: Trace the memory usage of AggFunc in HashAggExec ( #18257 )
2020-07-06 20:48:41 +08:00
a5829ae5e6
coprocessor: Exceed action for copiterator ( #17324 )
2020-07-06 18:57:29 +08:00
c13e4ab1be
executor: check gc safe time first when iterate the history ddl jobs ( #18380 )
2020-07-06 17:13:33 +08:00
906f18f7bf
util: make one SortedRowContainer is spilling at the same time. ( #18307 )
...
* fix
* fix
* fix
* fix
* fix
* fix
* add comments
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-06 15:00:38 +08:00
f475dc826c
planner: add explain for InspectionResultTableExtractor ( #16341 )
2020-07-06 12:47:57 +08:00
ef8ad55082
executor: make the format of user and host fields in slow logs be compatible with MySQL ( #18162 )
2020-07-06 10:40:21 +08:00
a99ae5340e
executor: padding short common handle ( #18332 )
2020-07-02 18:28:28 +08:00
2627ca2116
executor: fix sum & avg on year type ( #18318 )
...
Signed-off-by: niedhui <niedhui@gmail.com >
2020-07-02 11:51:24 +08:00
daad2699dd
*: support clustered index for index join ( #18204 )
2020-07-01 16:15:51 +08:00
2ccf2c4851
executor: fix data race for chunk resource channel in index merge join ( #18266 )
2020-07-01 11:55:43 +08:00
aa1d2d2b1b
executor,ddl: update auto_random_base in 'show create table' after insertion ( #18217 )
2020-07-01 10:45:26 +08:00
9d9f330a4b
executor, util: fix spilling disk when oom. ( #16895 )
2020-06-30 16:32:14 +08:00
d0f44dfbac
executor: stop using the deprecated Filter field in BRIE statements ( #18172 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-29 15:50:01 +08:00
4eb9d83eae
*: allow different shard_row_id prefixes in one transaction ( #18181 )
...
* *: allow different shard_row_id prefixes in one transaction
* Apply suggestions from code review
Co-authored-by: tangenta <tangenta@126.com >
* Update sessionctx/variable/session.go
Co-authored-by: tangenta <tangenta@126.com >
* add comments
* add unit test
* add var validation
* update builtinGlobalVariable
Co-authored-by: tangenta <tangenta@126.com >
2020-06-29 14:38:06 +08:00
33f4b82166
ddl: fix issue pre_split_regions table option doesn't work in the partition table. #18144
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-06-29 14:04:46 +08:00
e0be394f0b
planner: correct ResolveIndices on common handles for index lookup reader ( #18239 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-29 10:07:04 +08:00
3f6f36f742
*: refactor table.IterRecord and extract some methods ( #18214 )
...
* *: refactor table.IterRecord and extract some methods
* fix ci test
* fix ci test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-29 09:24:34 +08:00
28cc5e6ff7
ddl: save and restore auto_random id when rename table ( #18212 )
2020-06-28 22:01:49 +08:00
6e7994a850
ddl: limit the range of auto_random_base ( #18188 )
...
* ddl: limit the range of auto_random_base
* sort import
* make fmt
* Apply suggestions from code review
Co-authored-by: djshow832 <zhangming@pingcap.com >
Co-authored-by: djshow832 <zhangming@pingcap.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-28 19:19:05 +08:00
773b29102d
charset: add missing ascii check( #18193 )
2020-06-27 15:34:26 +08:00
6fa2badf38
util: move codec logic into tablecodec package ( #18173 )
...
* move codec logic into tablecodec package
* add key generation using physical table id
* remove using prefix
* change comment
* fix conclict
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-24 17:43:10 +08:00
127ad504b2
table: optimize add record used in lightning ( #18102 )
2020-06-24 15:18:01 +08:00
3b63270909
telemetry: Add telemetry initial implementation ( #18180 )
...
Signed-off-by: Breezewish <me@breeswish.org >
Co-authored-by: crazycs <crazycs520@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-24 14:41:46 +08:00
06e73a56cc
*: compatible with Go 1.14's checkptr ( #18189 )
2020-06-24 13:04:47 +08:00
5250f7f53f
*: support clustered index in double read ( #18127 )
2020-06-23 15:33:38 +08:00
9b16427628
server: prefetch point-get keys for multi-statement queries. ( #18155 )
2020-06-23 13:13:18 +08:00
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
5405fcc4c3
add conn id into ctx ( #18158 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-22 13:57:51 +08:00
7daa4a7f88
*: fix bugs that creating index on clustered index table or table with the virtual generated column ( #18114 )
2020-06-19 19:58:37 +08:00
dfca52cb0b
executor: remove sensitive information in slow-log and statement ( #18107 )
2020-06-19 16:30:17 +08:00
63c0ef8e5d
planner: save explain result of plan in session for `explai ... ( #17687 )
2020-06-19 14:07:53 +08:00