Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benmarksql测试的时候遇到的错误 #49

Open
ludongyuan opened this issue Apr 16, 2020 · 2 comments
Open

benmarksql测试的时候遇到的错误 #49

ludongyuan opened this issue Apr 16, 2020 · 2 comments

Comments

@ludongyuan
Copy link

SELECT max(o_id) FROM bmsql_oorder WHERE o_w_id = 4 AND o_d_id = 7 AND o_c_id = 916;
查询结果:2573
select * from bmsql_oorder where o_w_id=4 and o_d_id=7 and o_c_id=916
and o_id=(2573);
可以查询到一条记录;
select * from bmsql_oorder where o_w_id=4 and o_d_id=7 and o_c_id=916
and o_id=(
select max(o_id) from bmsql_oorder where o_w_id=4 and o_d_id=7 and o_c_id=916
);
无法查询到结果?
是在做benmarksql测试的时候遇到的错误:
TAL jTPCCTerminal : Last Order for W_ID=4 D_ID=7 C_ID=916 not found963MB
java.lang.Exception: Last Order for W_ID=4 D_ID=7 C_ID=916 not found
at jTPCCTData.executeOrderStatus(jTPCCTData.java:1189)
at jTPCCTData.execute(jTPCCTData.java:103)
at jTPCCTerminal.executeTransactions(jTPCCTerminal.java:204)
at jTPCCTerminal.run(jTPCCTerminal.java:88)
at java.lang.Thread.run(Thread.java:745)

@JennyJennyChen
Copy link
Collaborator

我这边没有遇到过这个问题,能详细说一下你那边的操作步骤?是否在这个之前出现过什么其他错误而导致?

@qiukemoxi
Copy link

我也遇到过这个问题,Last Order for W_ID=4 D_ID=x C_ID=x not found,并且还有各种类型,item 9250 not found,District for W_ID=81 D_ID not foundSTOCK with S_W_ID=46155 not found等等。然后benchmarksql就调用system.Exit(4)退出了。tpcc中断了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants