b1ecabb559
txn: Optimize pessimistic transaction by supporting locking with conflict ( #35588 )
...
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
5c04d78f29
*: support foreign key check/cascade when execute replace into statement ( #40069 )
...
close pingcap/tidb#40068
2022-12-22 18:30:55 +08:00
f06fb5acfb
util, executor: refine the memory usage of delete multiple tables ( #39489 )
...
close pingcap/tidb#35886
2022-11-30 19:28:01 +08:00
15b523cb07
*: add a memdb memory tracker ( #39372 )
...
ref pingcap/tidb#35203
2022-11-25 19:03:59 +08:00
0b3e1e9be0
*: Chunkreuse try reuse chunk in operator ( #38607 )
...
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
43468983d9
*: add foreign key cascade delete when execute delete statement ( #38377 )
...
close pingcap/tidb#38376
2022-10-21 11:27:54 +08:00
9c85f33a09
*: add foreign key constraint check when execute delete statement ( #38222 )
...
close pingcap/tidb#38221
2022-10-11 15:09:51 +08:00
95e13afa13
*: track the memory usage in Insert/Update/Delete executors ( #34097 )
...
close pingcap/tidb#34096
2022-06-22 19:10:38 +08:00
bbfbe137eb
*: move config file option enable-batch-dml to sysvar ( #33803 )
...
ref pingcap/tidb#33769
2022-05-13 22:12:37 +08:00
2258bc54c4
txn: Add EnterNewTxn and OnStmtStart methods to TxnManager ( #34263 )
...
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
2dd0074e4e
executor: fix wrong result of delete multiple tables using left join ( #33055 )
...
close pingcap/tidb#31321
2022-03-16 12:05:52 +08:00
493eb45c75
*: table partition dynamic prune mode with Physical Table ID from unistore ( #31634 )
...
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
cd431a8164
executor,binlog: fix binlog column mismatch for pessmistic transaction on partition table ( #28669 )
2021-10-20 18:34:42 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
18cbfaac15
*: enable gosimple linter ( #24617 )
2021-05-14 09:15:38 +08:00
c554481392
executor: update memory usage in batch insert/delete ( #20866 )
2020-11-11 13:11:40 +08:00
32963d3387
*: make load data atomic by default ( #18807 )
...
Signed-off-by: Tina Fritz <tina77fritz@gmail.com >
2020-08-06 21:05:49 +08:00
d0639b0056
*: use the newly designed memdb ( #18657 )
...
* *: use the newly designed memdb
* address comments
* remove duplicated comments
Co-authored-by: Evan Zhou <coocood@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-03 20:51:05 +08:00
658132fcf3
planner: refactor handle columns ( #18391 )
2020-07-07 12:26:14 +08:00
73c4673f30
*: support update/delete/insert ignore/duplicate update in single cluster index table ( #17721 )
2020-06-08 20:55:31 +08:00
51dabaabef
*: refactor Handle in executor package ( #16871 )
2020-04-28 21:27:19 +08:00
6814f8c94b
*: refactor Handle in table package ( #16807 )
2020-04-27 10:04:50 +08:00
a7ff591368
session, executor: add memTracker for DeleteExec ( #14289 )
2019-12-31 22:06:20 +08:00
c1bc9ffe5b
*: add memory tracker for InsertExec and ReplaceExec ( #14179 )
2019-12-30 11:43:01 +08:00
26174f11b5
*: disable batch DMLs by default ( #13081 )
2019-11-07 19:59:15 +08:00
8a161721f1
planner, expression: remove TblID2Handle from Schema ( #11152 )
2019-08-16 13:02:16 +08:00
85c790ec97
planner, executor: tiny refactor ( #11420 )
2019-07-26 19:31:06 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
8183f35563
executor: tiny clean up ( #10875 )
...
code refactor for the tracing related code
2019-06-20 16:35:59 +08:00
421de5ef20
executor,server: re-implement the kill statement by checking the Next() function ( #10841 )
2019-06-20 11:03:21 +08:00
f6be085bc6
executor: tiny refactor the Executor interface ( #10846 )
...
Introduce a base() method to get the baseExecutor, so we don't need to add
method from baseExecutor to the Executor interface any more
Before:
```
type Executor interface {
Open(context.Context) error
Next(ctx context.Context, req *chunk.RecordBatch) error
Close() error
Schema() *expression.Schema
retTypes() []*types.FieldType
newFirstChunk() *chunk.Chunk
}
```
After:
```
type Executor interface {
base() *baseExecutor
Open(context.Context) error
Next(ctx context.Context, req *chunk.RecordBatch) error
Close() error
Schema() *expression.Schema
}
```
2019-06-19 15:55:28 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
a7907ede7a
*: remove fail field from TxnState ( #8712 )
...
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +08:00
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
ec9672cea6
stats: update delta info for partition table ( #7947 )
2018-10-18 18:42:41 +08:00
d7a59ec5a3
executor: remove some useless code and avoid some redundancy check ( #7639 )
2018-10-12 12:56:02 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
f6dbad0f5c
*: move the dirty table modification to table package ( #7289 )
2018-08-07 15:38:01 +08:00
2fba9931c7
*: remove DatumRow ( #7165 )
2018-07-26 19:42:58 +08:00
4a36ef721c
executor: DML use DatumRow ( #6720 )
2018-06-01 10:22:02 +08:00
36c3f0dd36
split write.go ( #6660 )
2018-05-28 14:29:42 +08:00