You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At Framasoft, we have a ±100GiB PostgreSQL database for our Etherpad instance with MyPads plugin (more than 100,000 pads). MyPads uses the store table of Etherpad to store data. I needed to search some of those data (say SELECT * FROM STORE WHERE key LIKE 'mypads:user:%';) and it was horribly slow. After some tests, I added an index on the key column and the time dropped from more than 2 minutes to less than 100ms.
I added this index:
CREATEINDEXpattern_idxON store (key varchar_pattern_ops);
Since Etherpad do some queries similar to the one I used, I think Etherpad should benefit of such index.
What do you think? Should it go in Etherpad do you think it should go in UeberDB?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello,
At Framasoft, we have a ±100GiB PostgreSQL database for our Etherpad instance with MyPads plugin (more than 100,000 pads). MyPads uses the
store
table of Etherpad to store data. I needed to search some of those data (saySELECT * FROM STORE WHERE key LIKE 'mypads:user:%';
) and it was horribly slow. After some tests, I added an index on thekey
column and the time dropped from more than 2 minutes to less than 100ms.I added this index:
Since Etherpad do some queries similar to the one I used, I think Etherpad should benefit of such index.
What do you think? Should it go in Etherpad do you think it should go in UeberDB?
The text was updated successfully, but these errors were encountered: