Results 1 to 3 of 3

Thread: mysql cache

  1. #1
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,741

    Cool mysql cache

    Given I have 768MB of memory for my database, I was wondering if i could use more of it for MySQL

    I was thinking 384MB cache would go far to speeding up web sites which would be feed largely from RAM instead of disk?

    SET GLOBAL query_cache_size = 40000;

    is see in the manual, but is this in byes, kilobytes or megabytes?

    I wanted 384MB to use the available VM memory, if this is overkill is 256MB or 192MB better?

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: mysql cache

    Remember that Linux already uses available memory to cache all disk transactions. I doubt you'll see a substantial improvement in performance.

    My WordPress site (see Blog link below) has essentially instantaneous response. The other sites I've built from scratch all run on PostgreSQL, and they perform similarly.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,741

    Re: mysql cache

    my vm is a pure database

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •