← Back to team overview

maria-discuss team mailing list archive

Re: Creating Custom Storage Engine

 

Follow-up: I see in the blog pointed to by Daniel mentioned an SE for
Cassandra.... so I take it the answer is yes? Does anyone have experience
with this / know if anything "extra" must be done to make that work?

Jonathan

On Tue, Jul 19, 2016 at 9:23 PM Jonathan Ellithorpe <jde@xxxxxxxxxxxxxxx>
wrote:

> Thanks for the references! That helps a lot
>
> One other question I have is: can MariaDB work in a distributed fashion?
> To be more clear, the storage backend I'm developing is distributed, like
> Cassandra, and I would like to deploy many MariaDB instances that all
> access the same storage cluster. Can this be done?
>
> Jonathan
>
> On Tue, Jul 19, 2016 at 8:48 PM Kim Ebert <kim@xxxxxxxxxxx> wrote:
>
>> I struggled to find good examples / blogs of creating a storage engine.
>> I used the MySQL references the most for developing a storage engine.
>>
>> https://dev.mysql.com/doc/internals/en/
>> https://dev.mysql.com/doc/internals/en/custom-engine.html
>>
>> Here is a Python Engine I've worked on. It does support indexes and it
>> is read only right now, but hey it is progress. My hope and goal was to
>> make it so that I could prototype engines in Python before writing them
>> in C. I may have some time in the next month or two to take it further,
>> but that is still in the air.
>>
>> https://github.com/reflectivedevelopment/mariadb-plugin-python-engine
>>
>> -Kim
>>
>> On 07/19/2016 07:17 PM, Daniel Black wrote:
>> >
>> http://www.codeproject.com/Articles/1107279/Writing-a-MySQL-storage-engine-from-scratch
>> > is also a recent blog. Was written with MySQL rather than MariaDB in
>> > mind however there are probably lots of common concepts.
>> >
>> > On 19/07/16 20:00, Sergei Golubchik wrote:
>> >> Hi, Jonathan!
>> >>
>> >> On Jul 18, Jonathan Ellithorpe wrote:
>> >>> Hi All,
>> >>>
>> >>> I searched around but couldn't find documentation / tutorials on
>> creating a
>> >>> custom storage backend for MariaDB. Could anyone point me in the right
>> >>> direction?
>> >> Storage engine examples in the source tree.
>> >> "MySQL 5.1 Plugin Development" book.
>> >>
>> https://mariadb.com/kb/en/mariadb/storage-engines-storage-engine-development/
>> >>
>> >> Regards,
>> >> Sergei
>> >> Chief Architect MariaDB
>> >> and security@xxxxxxxxxxx
>> >>
>> >> _______________________________________________
>> >> Mailing list: https://launchpad.net/~maria-discuss
>> >> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
>> >> Unsubscribe : https://launchpad.net/~maria-discuss
>> >> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~maria-discuss
>> > Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~maria-discuss
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~maria-discuss
>> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~maria-discuss
>> More help   : https://help.launchpad.net/ListHelp
>>
>

Follow ups

References