Hi!
I’m really new to questdb and we started to use it for 2 weeks now, so forgive me for asking newbie questions.
I’m inserting data in object_bboxes_prod table via ILP with @questdb/nodejs-client.
Everything worked for several days but then I noticed that I don’t see the data in the table that was inserted. ILP and flush give no errors on the client.
When I checked wal_tables(); I see that no table is suspended but writerTxn is below sequencerTxn and they are not increasing at all.
name | suspended | writerTxn | writerLagTxnCount | sequencerTxn | errorTag | errorMessage | memoryPressure |
---|---|---|---|---|---|---|---|
object_world_points_prod | false | 595380 | 0 | 598399 | 0 | ||
object_bboxes_prod | false | 507437 | 0 | 601784 | 0 | ||
video_streams_prod | false | 183361 | 0 | 1826425 | 0 |
The questdb consumes 95% of CPU together with zfs and there are no other processes running on this server.
In the logs I see this:
2024-10-01T17:10:37.249202Z I i.q.c.p.WriterPool >> [table=`object_bboxes_prod~16`, thread=21]
2024-10-01T17:10:37.250691Z I i.q.c.TableWriter processing WAL [path=/object_bboxes_prod~16/wal259/14, roLo=102513, roHi=102716, seqTxn=507415, tsMin=2024-07-06T11:18:50.800000Z, tsMax=2024-07-06T11:19:32.500000Z, commitToTs=294247-01-10T04:00:54.775807Z]
2024-10-01T17:10:37.267032Z I i.q.c.TableWriter o3 partition task [table=object_bboxes_prod, partitionTs=2024-07-06T00:00:00.000000Z, partitionIndex=4, last=false, append=false, ro=false, srcOooLo=102513, srcOooHi=102715, srcOooMax=102716, o3RowCount=203, o3LagRowCount=0, srcDataMax=110736346, o3Ts=2024-07-06T11:18:50.800000Z, newSize=110736549, maxTs=2024-09-28T20:30:46.963000Z, pCount=1, flattenTs=false, memUsed=3.368 GiB, rssMemUsed=163.695 MiB]
2024-10-01T17:10:48.536014Z I i.q.c.TableWriter merged partition [table=`object_bboxes_prod`, ts=2024-07-06T00:00:00.000000Z, txn=51097]
2024-10-01T17:10:49.477685Z I i.q.c.w.ApplyWal2TableJob job ejected [table=object_bboxes_prod~16, seqTxn=507415, transactions=1, rows=203, time=12227ms, rate=16rows/s, physicalWrittenRowsMultiplier=545500.24]
2024-10-01T17:10:49.477738Z I i.q.c.p.WriterPool << [table=`object_bboxes_prod~16`, thread=21]
2024-10-01T17:10:49.477745Z I i.q.c.CairoEngine cannot publish WAL notifications, queue is full [current=145521, table=object_bboxes_prod~16]
Any help is really appreciated.
P.S: Using QuestDB 8.1.1 running inside docker on AWS EC2 instance.