{"id":78,"date":"2007-04-22T14:13:10","date_gmt":"2007-04-22T18:13:10","guid":{"rendered":"http:\/\/www.joshbrews.com\/?p=78"},"modified":"2007-04-24T18:41:25","modified_gmt":"2007-04-24T22:41:25","slug":"jinzora-tweaks","status":"publish","type":"post","link":"https:\/\/www.joshbrews.com\/?p=78","title":{"rendered":"Jinzora Tweaks"},"content":{"rendered":"<p>I am installing the new version of Jinzora 2.7.5 and decided to tweak the installation to make it run a bit faster on my old celeron 1ghz linux server. I found the following information on the Jinzora forums.<\/p>\n<p>Information on creating mysql indexes to speed up Jinzora.<br \/>\nposted by Ben <span class=\"postdetails\">August 21 2006 &#8211; 19:29<\/span><br \/>\n# mysql -u[username] -p [database]<br \/>\n&#8212; rock out our nodes:<br \/>\nmysql> create index node_level on jz_nodes(level);<br \/>\nmysql> create index node_hidden on jz_nodes(hidden);<br \/>\nmysql> create index node_featured on jz_nodes(featured);<br \/>\nmysql> create index node_leaf on jz_nodes(leaf);<br \/>\n&#8212; rock out our tracks:<br \/>\nmysql> create index track_level on jz_tracks(level);<br \/>\nmysql> create index track_hidden on jz_tracks(hidden);<br \/>\n&#8212; these are mostly for charts:<br \/>\nmysql> create index node_viewcount on jz_nodes(viewcount desc);<br \/>\nmysql> create index node_dateadded on jz_nodes(date_added desc);<br \/>\nmysql> create index node_dlcount on jz_nodes(dlcount desc);<br \/>\nmysql> create index node_playcount on jz_nodes(playcount desc);<br \/>\nmysql> create index node_lastplayed on jz_nodes(lastplayed desc);<br \/>\nmysql> create index node_rating on jz_nodes(rating_val desc);<br \/>\n&#8212; not sure if this does anything:<br \/>\nmysql> create index node_art on jz_nodes(main_art);<\/p>\n<p>I also made the following changes to the mysql configuration file \/etc\/mysql\/my.cnf<\/p>\n<p># * Fine Tuning<br \/>\n#<br \/>\n#key_buffer             = 16M<br \/>\n#thread_stack            = 128K<br \/>\n#thread_cache_size       = 80<\/p>\n<p>key_buffer = 64M<br \/>\nmax_allowed_packet = 16M<br \/>\ntable_cache = 1024<br \/>\njoin_buffer_size = 2M<br \/>\nsort_buffer_size = 4M<br \/>\nread_buffer_size = 2M<br \/>\nread_rnd_buffer_size    = 768K<br \/>\nmyisam_sort_buffer_size = 64M<br \/>\nthread_concurrency      = 2<\/p>\n<p>#<br \/>\n# * Query Cache Configuration<br \/>\n#<br \/>\nquery_cache_limit       = 1M<br \/>\nquery_cache_size        = 32M<br \/>\nquery_cache_type        = 1<\/p>\n<p>These settings have speed up Jinzora a lot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am installing the new version of Jinzora 2.7.5 and decided to tweak the installation to make it run a bit faster on my old celeron 1ghz linux server. I found the following information on the Jinzora forums. Information on creating mysql indexes to speed up Jinzora. posted by Ben August 21 2006 &#8211; 19:29 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-jinzora"],"_links":{"self":[{"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":0,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}