<div dir="ltr">Kudos to Yale for engaging Percona. For small and very small organizations with limited or no in-house IT support, this kind of contribution is essential. Having experienced substantial latency on resource trees with only 3,000 records, I <div><br></div><div>Chris, regarding benchmarking tools, I've used <a href="https://launchpad.net/mysql-tuning-primer">tuning-primer</a> and <a href="https://github.com/akopytov/sysbench">sysbench</a> alongside MySQLTuner for years with good success. Additionally I've deployed ASpace (and other projects) against <a href="https://mariadb.org/">MariaDB</a> and Percona's own InnoDB drop-in replacement with the <a href="https://www.percona.com/software/mysql-database/percona-server/xtradb">Xtra DB storage engine</a>. No issues so far. </div><div><br></div><div>For organizations with dedicated IT support, I highly recommend the <a href="https://www.percona.com/software/mysql-tools/percona-toolkit">Percona toolkit </a>as a standard part of any deployment as a means to collect and analyze information about database-related problems. </div><div><br></div><div>I'd be happy to describe how I've used these database distributions and tools in the ASpace context and outline the potential benefits. </div><div><br></div><div>That said, having read the Percona report, I'm not entirely clear that database tuning yields much of a positive impact. The report bears this out. The section on "Alternatives" in the JRuby GitHub page seems most promising. I'm not a Java dev, but this description seems very similar to using in-memory or file-based cache stores, like Memcache or Redis, in unthreaded applications (e.g. PHP). </div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666">Jason Loeffler</font></div><div><font color="#666666" face="garamond, serif">Technical Consultant | American Academy in Rome</font></div><div><font color="#666666" face="garamond, serif">Principal | Minor Science | Application Development & Metadata Strategy</font></div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666">Brooklyn, New York</font></div></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Wed, Aug 26, 2015 at 10:47 AM, Chris Fitzpatrick <span dir="ltr"><<a href="mailto:Chris.Fitzpatrick@lyrasis.org" target="_blank">Chris.Fitzpatrick@lyrasis.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p><br>
</p>
<p>Hi Maureen,</p>
<p><br>
</p>
<p>This is excellent. Percona is one of the premier MySQL experts, so this is great feedback.</p>
<p><br>
</p>
<p>Also, I have a page describing some <a href="http://archivesspace.github.io/archivesspace/user/tuning-archivesspace/" target="_blank">
MySQL and application tuning suggestions.</a> <br>
</p>
<p>One thing that I suggest is to run a profiler on the MySQL DB server, which can give you some ideas on where to look for problem areas. I've been using MySQL Tuner for years (
<a href="http://mysqltuner.com/" target="_blank">http://mysqltuner.com/)</a> but maybe there are some other things people are using? Any suggestions would help, and I can add them to the page ( or better yet send me a PR
<br>
</p>
<p>Also curious about various MySQL distributions ( Oracle, MariaDB, Percona, etc ) people are using? Are people using dedicated db servers, or clusters, or just having the db server on the same box as the application?
</p>
<p><br>
</p>
<p>Lastly, it would be great if we could start work on supporting other DBs. I think there's a strong interests ( especially from smaller orgs ) for MS Server, but are others wanting Oracle or postgres?
<br>
</p>
<p><br>
</p>
<p>best, chris. <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat | Phone: <a href="tel:918.236.6048" value="+19182366048" target="_blank">918.236.6048</a><br>
<a href="http://archivesspace.org/" target="_blank">http://archivesspace.org/</a><br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of Callahan, Maureen
<<a href="mailto:maureen.callahan@yale.edu" target="_blank">maureen.callahan@yale.edu</a>><br>
<b>Sent:</b> Wednesday, August 26, 2015 3:36 PM<br>
<b>To:</b> '<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>'<br>
<b>Subject:</b> [Archivesspace_Users_Group] More ArchivesSpace performance analysis -- this time, the database</font>
<div> </div>
</div>
<div>
<div>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
Hi everyone,</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
As I’ve reported before, we at Yale are in the middle of an aggressive period of analysis to diagnose some of the slow performance we’ve been seeing with ArchivesSpace. As part of this initiative, we’ve contracted with Percona, a firm that specializes in MySQL
database analysis. Their report (attached), includes a number of action items that we believe the ArchivesSpace community may find helpful. We hope that this will result in further improvements to the application.</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
Best wishes,</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
Maureen</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
Maureen Callahan</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
<span style="color:#404040">Archivist, Metadata Specialist</span></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
<span style="color:#404040">Manuscripts & Archives</span></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
<span style="color:#404040">Yale University Library</span></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
<span style="color:#8496b0"><a style="color:rgb(5,99,193);text-decoration:underline" href="mailto:maureen.callahan@yale.edu" target="_blank"><span style="color:#8496b0">maureen.callahan@yale.edu</span></a></span></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
<span style="color:#404040"><a href="tel:203.432.3627" value="+12034323627" target="_blank">203.432.3627</a></span></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
<span style="color:#7f7f7f"> </span></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
<span style="color:#404040">Webpage:</span><span style="color:#7f7f7f"> </span><span style="color:#8496b0"><a style="color:rgb(5,99,193);text-decoration:underline" href="http://web.library.yale.edu/mssa" target="_blank"><span style="color:#8496b0">web.library.yale.edu/mssa</span></a></span><span style="color:#7f7f7f"></span></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
<span style="color:#404040">Collections:</span><span style="color:#7f7f7f"> </span>
<span style="color:#8496b0"><a style="color:rgb(5,99,193);text-decoration:underline" href="http://drs.library.yale.edu" target="_blank"><span style="color:#8496b0">drs.library.yale.edu</span></a></span><span style="color:#7f7f7f"></span></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">
</p>
</div>
</div>
</div>
</div>
</div>
<br>_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
<br></blockquote></div><br></div></div>