Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(When) will there be sqlite support? #7

Open
Erkan-Yilmaz opened this issue Sep 16, 2015 · 7 comments
Open

(When) will there be sqlite support? #7

Erkan-Yilmaz opened this issue Sep 16, 2015 · 7 comments

Comments

@vitalif
Copy link
Member

vitalif commented Sep 16, 2015

I don't think it should be too hard, you can even try to implement it by yourself :) but...
Do people actually use mediawiki with anything except mysql? I mean, there is a lot of mysql-only extensions, and mediawiki has zero need of an advanced DBMS because it never issues complex queries... :)

@Erkan-Yilmaz
Copy link
Contributor Author

Well, I use MW 1.23.10 now with sqlite
(I was using MW + mysql on my hoster, but I am self-hosting MW now with sqlite)

@vitalif
Copy link
Member

vitalif commented Sep 17, 2015

Why aren't you self-hosting it with mysql? :-)

@Erkan-Yilmaz
Copy link
Contributor Author

see section "Pros" in https://www.mediawiki.org/wiki/Manual:SQLite#About_SQLite

@vitalif
Copy link
Member

vitalif commented Sep 17, 2015

Ok... I think sqlite isn't really a priority task for me. But pull requests are welcome as always :-)

For internet sites sqlite is not really an option because it's not "not that scalable", it's not scalable at all - only one writer can open the database at a time. And mediawiki is a writer during every request, so it means you can only process requests sequentially with sqlite.

Another big limitation of sqlite is that it does not support ALTER, so you must copy any table to add a column.

@vitalif
Copy link
Member

vitalif commented Sep 17, 2015

I see newer versions are capable of adding columns... but for other manipulations like add index you must still copy the table

@Erkan-Yilmaz
Copy link
Contributor Author

OK, thank you for your time for looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants