Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: gutmensch on September 20, 2010, 06:20:54 PM

Title: Rearranging DB extensions MySQL and PostgreSQL?
Post by: gutmensch on September 20, 2010, 06:20:54 PM
Heya Bela and Arslan and Team Tinycore,

I've noticed a while ago, that both "major" database extensions mysql and postgresql each contain all files in one extension although that is really a little over the top for most situations. E.g. postfix could live with only libmysqlclient.so and libpq.so (and without the other client/server bloat), because the feature is not needed atm.

I'd suggest to create at least 3 extensions like in other distros (old school debian):

1. libmysqlclient, mysql-client, mysql-server, (+ -dev)
2. libpq, postgresql-client, postgresql-server (+ -dev)

That way the library just takes about 300-400 K packed and if you really need the db, then one will use mysql-server or postgresql-server ;)

How do you think about it?
Best regards,
Robert
Title: Re: Rearranging DB extensions MySQL and PostgreSQL?
Post by: bmarkus on September 21, 2010, 01:37:50 AM
Robert,

thanks for the suggestion. I will consider it during next update.

Regards... Béla
Title: Re: Rearranging DB extensions MySQL and PostgreSQL?
Post by: Arslan S. on September 21, 2010, 09:39:09 AM
Yea good idea to split client, server and the libraries but i have no idea about which file belongs to server which one belongs to client, all i can do is to reference debian postgresql
Title: Re: Rearranging DB extensions MySQL and PostgreSQL?
Post by: gutmensch on September 21, 2010, 09:52:34 AM
@Arslan: That's what I do frequently with debian package file lists ;D

Surely there would be another way to crawl through all the documentation but no one wants/needs that I guess ;-)