Pradeep S
03/30/2022, 1:57 PMPradeep S
03/31/2022, 3:46 PMPradeep S
04/05/2022, 11:38 AMShuxin Li
04/22/2022, 1:01 PMAditya
06/04/2022, 3:38 PMAn important part of the scenario is non-default index block capacity which is set to 2048. With the default capacity (which is 256) there is no noticeable bottleneck.Why is there no bottleneck with the default capacity?
Andrey Pechkurov
06/04/2022, 6:21 PMAndrey Pechkurov
06/04/2022, 6:28 PMAndrey Pechkurov
06/04/2022, 6:29 PMAditya
06/04/2022, 9:22 PMAditya
06/04/2022, 9:26 PMindex capacity
and 128, 256, 512, 1025 seem to be close, 2048 and 4096 are slower but similar times.Aditya
06/04/2022, 9:28 PMAndrey Pechkurov
06/05/2022, 7:35 AMAditya
06/06/2022, 12:47 AMAditya
06/06/2022, 12:51 AMFletcher Haynes
06/17/2022, 11:48 PMZahlii
08/04/2022, 4:38 PMAndrey Pechkurov
08/05/2022, 7:10 AMMapValue
is an interface used in various io.questdb.cairo.map.Map
implementations. By default we use FastMap
implementation which is an off-heap memory based hash table.
MapValue
extends Record
, so any implementation of a MapValue
is already a record.
MapRecord
also extends Record
, but it includes both key and value, so it stands for the map entry. Whenever you need to iterate a map, you deal with MapRecord
through map.getCursor()
.Andrey Pechkurov
08/05/2022, 7:11 AMFastMapTest
to learn how to interact with a Map
.Zahlii
08/20/2022, 2:37 PMZahlii
08/25/2022, 5:17 PMMichael IZKOOL
09/27/2022, 7:33 PMjava.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.Unsafe$UnsafeClassDefiner.define(Unsafe.java:337)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.Unsafe.defineAnonymousClass(Unsafe.java:285)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.BytecodeAssembler.loadClass(BytecodeAssembler.java:418)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.BytecodeAssembler.newInstance(BytecodeAssembler.java:434)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:1679)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:245)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:205)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:201)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatUtils.<clinit>(TimestampFormatUtils.java:407)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.cairo.PartitionByTest.assertFormatAndParse(PartitionByTest.java:374)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.cairo.PartitionByTest.testDirectoryFormattingWeek(PartitionByTest.java:194)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
...
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
io/questdb/std/datetime/TimestampFormatAsm.parse(Ljava/lang/CharSequence;IILio/questdb/std/datetime/DateLocale;)J @420: invokestatic
Reason:
Type 'io/questdb/std/datetime/DateLocale' (current frame, stack[0]) is not assignable to integer
Current Frame:
bci: @420
flags: { }
locals: { 'io/questdb/std/datetime/TimestampFormatAsm', 'java/lang/CharSequence', integer, integer, 'io/questdb/std/datetime/DateLocale', integer, integer, integer, integer, integer, integer, integer, integer, long, long_2nd, integer, long, long_2nd, integer, integer, integer }
stack: { 'io/questdb/std/datetime/DateLocale', integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, long, long_2nd, integer }
Bytecode:
0000000: 0336 0b1c 360c 0236 0f14 0011 3710 0536
0000010: 1204 3613 0336 1419 042b 150c 1db6 001a
0000020: 370d 150c 160d b800 3f60 360c 102c 2b15
0000030: 0c84 0c01 1db8 0057 1020 2b15 0c84 0c01
0000040: 1db8 0057 2b15 0c1d b800 3837 0d16 0db8
0000050: 0042 3605 150c 160d b800 3f60 360c 1020
0000060: 2b15 0c84 0c01 1db8 0057 1904 2b15 0c1d
0000070: b600 1d37 0d16 0db8 0042 0460 3606 150c
0000080: 160d b800 3f60 360c 1020 2b15 0c84 0c01
0000090: 1db8 0057 150c 1da2 002b 2b15 0cb9 00ca
00000a0: 0200 102d a000 1e15 0c07 601d b800 4c2b
00000b0: 150c 0460 840c 0515 0cb8 0046 7436 07a7
00000c0: 0018 150c 0660 1db8 004c 2b15 0c84 0c04
00000d0: 150c b800 4636 0710 202b 150c 840c 011d
00000e0: b800 5715 0c04 601d b800 4c2b 150c 840c
00000f0: 0215 0cb8 0046 3608 103a 2b15 0c84 0c01
0000100: 1db8 0057 150c 0460 1db8 004c 2b15 0c84
0000110: 0c02 150c b800 4636 0910 3a2b 150c 840c
0000120: 011d b800 5715 0c04 601d b800 4c2b 150c
0000130: 840c 0215 0cb8 0046 360a 1020 2b15 0c84
0000140: 0c01 1db8 0057 2b15 0c1d b800 8d37 0d16
0000150: 0d14 0011 949a 0018 1904 2b15 0c1d b600
0000160: 2037 0d16 0db8 0042 360f a700 1016 0db8
0000170: 0042 0085 1400 1369 3710 150c 160d b800
0000180: 3f60 360c 150c 1db8 004f 1904 1513 1507
0000190: 1506 1505 1508 1509 150a 150b 1514 150f
00001a0: 1610 1512 b800 5bad
Stackmap Table:
full_frame(@194,{Object[#9],Object[#16],Integer,Integer,Object[#14],Integer,Integer,Top,Top,Top,Top,Integer,Integer,Long,Integer,Long,Integer,Integer,Integer},{})
full_frame(@215,{Object[#9],Object[#16],Integer,Integer,Object[#14],Integer,Integer,Integer,Top,Top,Top,Integer,Integer,Long,Integer,Long,Integer,Integer,Integer},{})
full_frame(@365,{Object[#9],Object[#16],Integer,Integer,Object[#14],Integer,Integer,Integer,Integer,Integer,Integer,Integer,Integer,Long,Integer,Long,Integer,Integer,Integer},{})
same_frame(@378)
at java.base/jdk.internal.misc.Unsafe.defineAnonymousClass0(Native Method)
at java.base/jdk.internal.misc.Unsafe.defineAnonymousClass(Unsafe.java:1223)
at jdk.unsupported/sun.misc.Unsafe.defineAnonymousClass(Unsafe.java:830)
... 43 more
java.lang.AssertionError
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.BytecodeAssembler.newInstance(BytecodeAssembler.java:435)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:1679)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:245)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:205)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:201)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatUtils.<clinit>(TimestampFormatUtils.java:407)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.cairo.PartitionByTest.assertFormatAndParse(PartitionByTest.java:374)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.cairo.PartitionByTest.testDirectoryFormattingWeek(PartitionByTest.java:194)
...
Wondering if we missed any steps required to add a parameter to this method?Oren Joshua Saldanha
10/04/2022, 4:12 PMShubham
10/06/2022, 9:32 AMSOURAV BATGIRI
10/06/2022, 9:53 AMMichael IZKOOL
10/10/2022, 12:27 PM龚磊
10/11/2022, 8:51 AM龚磊
10/12/2022, 2:17 PMsupport trunc on mac addresses for IoT use cases
task which in issue #2578:
we don't have MacAddress
data type, so what the entry data type of trunc
function use?Andrey Pechkurov
10/12/2022, 2:35 PMlong
or, maybe, string
. Both are not ideal though龚磊
10/12/2022, 2:39 PMMacAddress
data type first?龚磊
10/12/2022, 2:39 PMMacAddress
data type first?