You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/05/05 11:15:10 UTC
[GitHub] [incubator-shardingsphere] kofkyobsa edited a comment on issue
#2318: sharing-jdbc 3.1.0 mybatis batch insert performance is not satisfied
kofkyobsa edited a comment on issue #2318: sharing-jdbc 3.1.0 mybatis batch insert performance is not satisfied
URL: https://github.com/apache/incubator-shardingsphere/issues/2318#issuecomment-489416326
yes,full routing。
sharing config:
`actualDataNodes: yt_alita.t_wx_user_form_${0..31}
tableStrategy:
inline:
shardingColumn: open_id
algorithmExpression: t_wx_user_form_${Math.abs(open_id.hashCode()%32)}`
logic SQL:
`INSERT INTO
t_wx_user_form_15
(
creator,editor,create_time,edit_time,is_deleted,open_id,form_id,form_type,remain_count,app_id,submit_time
) VALUES (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
), (
?,
?,
now(),
now(),
0,
?,
?,
?,
?,
?,
now()
)........
) ::: [[system, system, 6DVKS1NHV7KcvdEQASxfZf0vLsbL, 1PF0ik64O20Qm4er2VG8eANjQbVvAm0Dt, 1, 1, wx462866902173e846, system, system, 6DVKS1NHV7KcvdEQASxfZf0vLsbL, GQlJUjeP6bIClvRDAVWcWWmRUEY3jS5h4, 1, 1, wx462866902173e846, system, system, 6DVKS1NHV7KcvdEQASxfZf0vLsbL, 4RSKPMxnExf55dBWe02WIyMTQoBJm5zYv, 1, 1, wx462866902173e846, system, system, 6DVKS1NHV7KcvdEQASxfZf0vLsbL, 0oCyF7XbPeqctxKzE73rCFbJFVqnG0hOr, 1, 1, .....]]`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services