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

DBはPostgreSQLを推奨するような記載をどこかに書く #40

Closed
koda-masaru opened this issue May 10, 2015 · 4 comments
Closed

Comments

@koda-masaru
Copy link
Contributor

  • 利用を簡単にするため、Knowledge起動時にH2Databaseを組み込んで、それを起動していた
  • データ件数が多くなると、H2Databaseはパフォーマンスがかなり劣化する
  • PostgreSQLに切り替えると、パフォーマンスが目に見えて改善する
@koda-masaru
Copy link
Contributor Author

  • ちなみに、管理者機能の中に、デフォルトのH2DatabaseからPostgreSQLへの切り替えが出来ます

@kounoike
Copy link

H2の信頼性という話がちょうどGitBucket方面でも上がっていて、
こんな話 https://twitter.com/ysobj/status/624069492688072704 がありました。
Knowledgeも1.4系列を使ってますよね? Stableである1.3系列にした方が良いのかもしれませんね。
パフォーマンスがどうなるかは分かりませんが。

@koda-masaru
Copy link
Contributor Author

なるほど。
Knowledgeの次のStableリリースでは、1.3系にする事も検討します。

でも、既に利用中のユーザのデータ(1.4系のデータ)があるので、
ライブラリを1.3系に切り替えて正常に動くかどうかが不安ですね。

Postgresにしても、いったん最新バージョンを使ってみましたが、
DBじたいのバージョンアップもあるし、
既に社内に稼働しているPostgresのバージョンとの関係もあり、
組み込むJDBCのバージョンについてはいろいろ課題がありそうです。

JDBCに関しては、利用者側で変更出来るような仕組みがあると良いのかもしれません。

@koda-masaru koda-masaru added this to the v1.4 milestone May 18, 2016
koda-masaru added a commit that referenced this issue May 18, 2016
…_msg

#40 add recommend message of change database
@koda-masaru
Copy link
Contributor Author

v1.4.0にてシステムメニューでPostgresを推奨するようにメッセージを表示しました。

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

No branches or pull requests

2 participants