Comments (5)
Comment by maykov
Monday Jul 20, 2015 at 23:52 GMT
Example of the failure:
===========
$mysqltest.sh --perfschema perfschema.aggregate --repeat=5
.....
CURRENT_TEST: perfschema.aggregate
--- /data/users/maykov/mysql/5.6/mysql-test/suite/perfschema/r/aggregate.result 2015-07-20 22:21:42.424748049 +0300
+++ /data/users/maykov/mysql/5.6/_build-5.6-Debug-PerfSchema/mysql-test/var/log/aggregate.reject 2015-07-21 02:30:39.323111516 +0300
@@ -86,6 +86,7 @@
HAVING (e.MAX_TIMER_WAIT < MAX(i.MAX_TIMER_WAIT))
OR @dump_all;
EVENT_NAME MAX_TIMER_WAIT MAX(i.MAX_TIMER_WAIT)
+wait/synch/cond/rocksdb/cond_stop 0 1001177278010
"Verifying waits aggregate consistency (thread)"
SELECT EVENT_NAME, e.SUM_TIMER_WAIT, SUM(t.SUM_TIMER_WAIT)
FROM performance_schema.events_waits_summary_global_by_event_name AS e
mysqltest: Result content mismatch
Some observations: innodb doesn't use conditions to stop background threads it is running. Instead, it is running threads like this while (srv_shutdown_state == SRV_SHUTDOWN_NONE) {do stuff}. This is not ideal for us for two reasons:
- It might break on some machine architecture (which we might never run on anyway)
- Rocksdb plugin waits for the condition or a timeout. So, the wait doesn't consume CPU and stops right away upon server shutdown.
At this point, moving to innodb way would simplify things but will be a regression.
I think, this bug is not specific to MyRocks but probably somewhere in the server. We do not do anything special with conditions and aggregation counters. I'm going to stop exposing PFS about conditions which will fix this test.
from mysql-5.6.
Comment by yoshinorim
Tuesday Jul 21, 2015 at 15:52 GMT
WebScaleSQL disables performance schema by default, so I think it's fine to ignore for the time being.
from mysql-5.6.
Comment by jtolmer
Tuesday Jul 21, 2015 at 16:28 GMT
WebScaleSQL and FB-MySQL both intentionally test with PerfSchema enabled in order to make sure that we're not building up a lot of debt of broken functionality.
from mysql-5.6.
Comment by spetrunia
Tuesday Jul 21, 2015 at 20:07 GMT
AFAIK, the values are in picoseconds. They are not in CPU ticks, because one can use different timers for measurements (see setup_timers
)
from mysql-5.6.
Obsolete.
from mysql-5.6.
Related Issues (20)
- Make compilation faster HOT 1
- 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
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.