Comments (5)
Comment by yoshinorim
Thursday Feb 05, 2015 at 09:26 GMT
https://reviews.facebook.net/D32355
from mysql-5.6.
Comment by mdcallag
Thursday Feb 05, 2015 at 14:51 GMT
How was repeatable read implemented?
On Thu, Feb 5, 2015 at 9:26 AM, Yoshinori Matsunobu <
[email protected]> wrote:
Closed #6 MySQLOnRocksDB#6.
—
Reply to this email directly or view it on GitHub
MySQLOnRocksDB#6 (comment).
Mark Callaghan
[email protected]
from mysql-5.6.
Comment by yoshinorim
Thursday Feb 05, 2015 at 15:21 GMT
Needs more test cases (and likely implementation) to cover this -- https://github.com/MariaDB/webscalesql-5.6/wiki/Cursor-Isolation
from mysql-5.6.
Comment by mdcallag
Thursday Feb 05, 2015 at 15:39 GMT
Decisions to be made:
- match PG or InnoDB semantics for RR. I think PG is easier to implement but will have more conflicts detected so db users see more errors
- get snapshot on BEGIN or on first read after BEGIN when RR is used. InnoDB gets snapshot on first read after BEGIN
from mysql-5.6.
Comment by mdcallag
Thursday Feb 05, 2015 at 15:42 GMT
Basic test to distinguish between InnoDB and PG RR:
- trx1: BEGIN
- trx2: BEGIN
- trx1: SELECT to establish snapshot (assuming it wasn't set on BEGIN)
- trx2: SELECT to establish snapshot
- trx1: UPDATE foo set x=2 where y=1
- trx1: COMMIT
- trx2: UPDATE foo set x=3 where y=1
I have not tested this but assume that PG gets an error from the write conflict and InnoDB does not because trx2 will see the version of the row after the COMMIT by trx1
from mysql-5.6.
Related Issues (20)
- How to achieve ~20% replication throughput improvement using Read Free Replication (RFR) feature
- Keep long-running MyRocks mtr tests in their own suite HOT 1
- MyRocks 8.0.28 has poor performance of primary key range query HOT 1
- create secondary index needs attention
- issue while install HOT 1
- Error during create secondary index
- Update the Build Steps page HOT 1
- MyRocks engine should respect WITH_UNIT_TESTS
- Allow users to manually set the number of block cache shards HOT 1
- Provide a counter to show pending compaction bytes for RocksDB
- MyRocks does commit step non-durably under server group 2PC protocol HOT 1
- alter talbe add index optimization
- Range lock support HOT 2
- Cached RocksDB transaction object accessed after delete by XA COMMIT
- optimize table has no effect on HIDDEN_PK table
- Rdb_iterator_base::next_with_direction: too many compares for eof check HOT 2
- Determin secondary index value emptiness by datadic
- undefined reference to `sgemm_' When compiling vector DB
- -DWITH_LZ4=system doesn't find the lz4 library on the fb-mysql-8.0.28 branch
- is_thd_db_read_only_by_name CPU overhead can be reduce
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysql-5.6.