<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guyon</author_name>
  <author_url>https://blog.hatena.ne.jp/guyon/</author_url>
  <blog_title>Guyon Diary</blog_title>
  <blog_url>https://guyon.hatenablog.jp/</blog_url>
  <categories>
    <anon>vps</anon>
    <anon>Linux</anon>
    <anon>rails</anon>
  </categories>
  <description>先日の続きでメモリが少ないVPS環境でなんとかやりくりする方法を考えました。 OpenVZのメモリ管理 - Guyon Diary各種リソース表示コマンドでメモリ消費が大きいものがApacheとMySQLであることはわかりました。 MySQL編 まずはMySQLのメモリー消費を抑える為にとった方法は、機能を制限する事。今回ネックになっているのが初期使用メモリなので、DBのCRUD処理やMySQL自体の機能を使う以前の問題です。一番効果的な方法がこれです。 InnoDB機能をOFFにする my.conf skip-innodbを[mysqld]に書く 【ON時】 Mem: 262144k tot…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fguyon.hatenablog.jp%2Fentry%2F20080402%2F1207145690&quot; title=&quot;OpenVZ環境のApacheとMySQLでメモリ節約してやりくりする - Guyon Diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-04-02 23:14:50</published>
  <title>OpenVZ環境のApacheとMySQLでメモリ節約してやりくりする</title>
  <type>rich</type>
  <url>https://guyon.hatenablog.jp/entry/20080402/1207145690</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
