[MCOL-718] Unable to perform the batch insert operation because DMLProc batchinsert with PID 140826 is currently holding the table lock for session 1548 Created: 2017-05-12 Updated: 2017-08-09 Resolved: 2017-08-09 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | DDLProc, DMLProc |
| Affects Version/s: | 1.0.8 |
| Fix Version/s: | 1.0.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | rambo | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | community | ||
| Environment: |
Linux 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux |
||
| Description |
|
Sometime the table lock session has't auto released, Here is the error output:
Attachments are log files FYI. |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-05-12 ] | ||||||
|
This likely is the start / cause of the lock /problem:
| ||||||
| Comment by rambo [ 2017-05-12 ] | ||||||
|
When i restart service via mcsadmin, this error does not appear。 | ||||||
| Comment by Andrew Hutchings (Inactive) [ 2017-05-12 ] | ||||||
|
Hi rambo, As theorised in | ||||||
| Comment by rambo [ 2017-05-13 ] | ||||||
|
ok, i will try later, tks | ||||||
| Comment by David Thompson (Inactive) [ 2017-06-05 ] | ||||||
|
Hi, were you able to retest with 1.0.9 to see if this resolves the issue? | ||||||
| Comment by Kleyson Rios [ 2017-06-09 ] | ||||||
|
I'm trying to use kettle 'Output table' step in Batch insert mode and not working. If I set batch size = 100 or 100 no record is stored on the table. If the batch size = 10 records as stored in a rate of 1 r/s. is there any debug log where I could grab some information to help on this ? | ||||||
| Comment by David Thompson (Inactive) [ 2017-06-09 ] | ||||||
|
kleysonr - yes you should check the logs under /var/log/mariadb/columnstore. Also check /usr/local/mariadb/columnstore/db/<system>.err in case it is a sql parsing issues. I assume there is nothing useful in the kettle logs? You could also provide us the complete logs and system info via the columnstoreSupport utility, this link covers logs and that: It would also be better creating a new jira in case these are distinct issues (we can always close as a dupe later). If you are trying to use an ETL tool it may be better setting it up to output csv files and then use cpimport as this will be a lot faster for bulk inserts. | ||||||
| Comment by David Thompson (Inactive) [ 2017-08-09 ] | ||||||
|
Please re-open if this is still an issue with 1.0.9 or later |