Migrate from Smile to SQL

36 views
Skip to first unread message

Sam Taber

unread,
Jun 12, 2023, 11:49:25 PM6/12/23
to smile-format-discussion
Hi folks,
How would I go about migrating a relatively large Smile database to MariaDB? Want to know if this is a possibility at all. Please let me know.

Thanks,
Sam

Tatu Saloranta

unread,
Jun 13, 2023, 5:26:06 PM6/13/23
to smile-forma...@googlegroups.com
I wonder if there is some mix-up: Smile here refers to the data format:

https://en.wikipedia.org/wiki/Smile_(data_interchange_format)

and not a database. Although obviously it is possible to store
Smile-encoded data in a database.

-+ Tatu +-

>
> --
> You received this message because you are subscribed to the Google Groups "smile-format-discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to smile-format-disc...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/smile-format-discussion/3a074f10-f2bc-4300-8235-b75de5c37d63n%40googlegroups.com.

holykoolala

unread,
Jun 13, 2023, 5:37:54 PM6/13/23
to smile-forma...@googlegroups.com
Can't you store smile in a smile database? [:),:)]

holykoolala

unread,
Jun 13, 2023, 5:47:06 PM6/13/23
to smile-forma...@googlegroups.com
It seems like the way SQLite handles JSON would work great for smile 😃 

Another place I wonder about a smile database is IndexedDB - it is also json like - and I'm really excited if we see Smile database tech on the web. I think I remember it being Java based but the new Web FileSystem stuff should work with native smile databases compiled to wasm?

Sam Taber

unread,
Jun 13, 2023, 7:03:40 PM6/13/23
to smile-format-discussion
I have a client who is using it to store user data. He has hundreds of different users on his platform, and it's growing unstable. (He's implemented Smile through Java)

Apologies for the confusion.

Tatu Saloranta

unread,
Jun 13, 2023, 7:07:09 PM6/13/23
to smile-forma...@googlegroups.com
On Tue, Jun 13, 2023 at 4:03 PM Sam Taber <samt...@gmail.com> wrote:
>
> I have a client who is using it to store user data. He has hundreds of different users on his platform, and it's growing unstable. (He's implemented Smile through Java)
>
> Apologies for the confusion.

I am sorry but that does not really answer the question at all.
Confusion continues...

The client uses what to store user data?

Do you mean that they use Smile encoding to reduce the size of JSON
content stored?
That would make sense on its own, if stored as blob value. But ref to
MariaDB is then odd.
Migrating... what?

-+ Tatu +-
> To view this discussion on the web visit https://groups.google.com/d/msgid/smile-format-discussion/13cd2b2c-dc35-4a53-a588-aaadd3bf944fn%40googlegroups.com.

holykoolala

unread,
Jun 14, 2023, 12:16:40 PM6/14/23
to smile-forma...@googlegroups.com
My guess is the client uses Java to store it but they want to move to other more modern ecosystems?

I'm excited to see Smile databases become available. Smile is a great idea but I don't think standards are the complete picture - I do love the Wikipedia page.

I'm really interested in JSON, smile technology, and learning about the smile ecosystem today. What is happening in the world of Smile?

Tatu Saloranta

unread,
Jun 14, 2023, 2:19:39 PM6/14/23
to smile-forma...@googlegroups.com
On Wed, Jun 14, 2023 at 9:17 AM holykoolala <holyk...@gmail.com> wrote:
>
> My guess is the client uses Java to store it but they want to move to other more modern ecosystems?

That statement makes no sense to me. Java to store... what, where?

> I'm excited to see Smile databases become available. Smile is a great idea but I don't think standards are the complete picture - I do love the Wikipedia page.
>
> I'm really interested in JSON, smile technology, and learning about the smile ecosystem today. What is happening in the world of Smile?

It is a stable binary data format, used widely.

-+ Tatu +-
> To view this discussion on the web visit https://groups.google.com/d/msgid/smile-format-discussion/CA%2Bks4WUnRh0KnidPPwB7J49E%2Bi%3Dat6k3qUfOc2_GwfKf2qffCQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages