Interesting blogs

91 views
Skip to first unread message

Nitin

unread,
Sep 4, 2012, 7:28:32 AM9/4/12
to h2-da...@googlegroups.com

Rami Ojares

unread,
Sep 4, 2012, 7:43:12 AM9/4/12
to h2-da...@googlegroups.com
Another marketing propaganda debunked.

- rami

Nitin

unread,
Sep 4, 2012, 8:43:52 AM9/4/12
to h2-da...@googlegroups.com
I am not linked to both in anyways :) Thought it would be useful read for developers if you read including comments there.

Rami Ojares

unread,
Sep 4, 2012, 10:57:47 AM9/4/12
to h2-da...@googlegroups.com
> Thought it would be useful read for developers if you
read including comments there.

What exactly did you find in those discussions useful?

- rami

Nitin

unread,
Sep 5, 2012, 2:47:25 AM9/5/12
to h2-da...@googlegroups.com
The reasoning for their design and data structures.

Thomas Mueller

unread,
Sep 5, 2012, 1:07:18 PM9/5/12
to h2-da...@googlegroups.com
Hi,

Thanks, it is quite interesting. MemSQL seems to use skip lists instead of the regular B-trees. When I wrote HypersonicSQL, I actually started with a skip list implementation, that was later replaced with an AVL tree and now a B-tree. MemSQL compiles the queries using GCC. They use read-committed transaction isolation by default. All quite interesting choices. I'm not sure if all of those are very good choices (only time can tell), but interesting.

Regards,
Thomas


--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/GOfyAUnYQjcJ.

To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.

Nitin

unread,
Sep 6, 2012, 11:32:18 AM9/6/12
to h2-da...@googlegroups.com
Hi Thomas,

Can you share reasons to change list implementations? In  general was it scaling or performance or code complexity?

Thanks
Nitin

Thomas Mueller

unread,
Sep 7, 2012, 12:49:40 PM9/7/12
to h2-da...@googlegroups.com
Hi,

Can you share reasons to change list implementations?

Do you mean why I switched from the "skip list" to a "AVL tree" and then to a "B-tree"? Yes. I implemented the skip list algorithm because it was new to me (so - not because of concurrency or so). Then I switched to AVL tree because it was faster for in-memory operations. Then I switched to B-tree because it was faster for disk based operations (actually it is not much slower for in-memory operations either). My skip list implementation was relatively slow and used more memory. Some recent research says B-trees are good for in-memory use.

Regards,
Thomas

Nitin

unread,
Sep 8, 2012, 11:11:27 AM9/8/12
to h2-da...@googlegroups.com
Thanks Thomas :)
Reply all
Reply to author
Forward
0 new messages