Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
in Mariadb - Can you cache the indexes and data for Aria Storage engine tables?
, MyISAM only cache indexes. There is only one setting for the global key cache. It is called key_buffer_size. MyISAM also features the use of dedicated key caches (I have many posts on this). … I don't know if Aria has dedicated key caches. I will leave that as homework for you. …
2
votes
optimal table design mysql with primay key and varchar value
id and value together in the MyISAM Key Cache. … I would also propose you make a dedicated 1GB MyISAM Key Cache just for your table
STEP 01: Create a script to load the table into the dedicated key cache
cd /var/lib/mysql
echo "SET GLOBAL mykeycache.key_buffer_size …
1
vote
Accepted
Can we assign mysql Key_buffer_size value for particular table?
In your question, you gave the correct syntax for setting up a dedicated key cache (See LOAD INDEX INTO CACHE)
I wrote about this before
Less RAM than Index_length MyISAM
optimal table design mysql … with primay key and varchar value
Once you assign one or more tables to a dedicated key cache and run LOAD INDEX INTO CACHE:
the cached indexes will
get removed from the default key cache
not go …
1
vote
Accepted
mysqltuner - Write Key buffer hit rate
All kidding aside, you need two status variables:
Key_write_requests : The number of requests to write a key block to the MyISAM key cache
Key_writes : The number of physical writes of a key block from … In your case, you would create a dedicated key cache for the one table with the FULLTEXT indexes. You would have to judge how big or how small to make the cache. …
1
vote
What may cause MyISAM index corruption?
Just keep in mind that if the index blocks for a MyISAM table are not in the Key Cache, it must be read from disk, then loaded into the Key Cache. … SUGGESTION
To reduce or eliminate the amount of reads from the .MYI file of a MyISAM table, you should look into setting up a dedicated Key Cache just for this table. …
1
vote
Cache all mysql table
How to cache a MyISAM table
By design, the MyISAM storage engine only caches index pages from .MYI. There is a command to preload indexes for one or more MyISAM tables into a dedicated key cache. … STEP 02) Make a script that will create a key cache for ART_LOOKUP only
cd /var/lib/mysql
echo "SET GLOBAL art_lookup_cache.key_buffer_size = 1048576 * 200;" > init_file.sql
echo "CACHE INDEX ART_LOOKUP …
3
votes
Accepted
Less RAM than Index_length MyISAM
However, you could minimize or neutralize any ill effects of swapping by assigning the index of monitor.result by creating a dedicated MyISAM Key Cache. … You can create that dedicated key cache with that size with a little headroom, say 2.5MB. …
10
votes
Accepted
Is splitting a 'users' table for authentication purposes a good idea?
Since MyISAM only caches indexes, you could do two things
You could create a custom key cache just to load MyISAM index for the users table only
You could index the username and password to force the … Here are the commands to create an 8MB key cache and load that dedicated key cache (Example: If the table is mydb.users):
SET GLOBAL authentication_cache.key_buffer_size = 1024 * 1024 * 8;
CACHE INDEX …
3
votes
Accepted
MySQL InnoDB Index in swap
ALTER TABLE keywords ENGINE=MyISAM;
SUGGESTION #3
Once you make the keywords table MyISAM on the Slave, you could create a dedicated MyISAM Key Cache just for keywords as follows (Example: Setup 512M … Then, just restart mysql
service mysql restart
This keeps keyword index pages away from the general MyISAM Key Cache and in a dedicated cache. …
3
votes
Can I partially invalidate the MySQL table cache?
The key_buffer_size variables sets up how large the MyISAM Key Cache will be. … There are two suggestions I can offer
SUGGESTION #1 : Use a Dedicated Key Cache for the Table
Did you know you could create a keycache dedicated to one or more MyISAM tables? …
2
votes
Accepted
Is the Memory engine adequate for a read intensive/lookup table?
Going forward, every reload of the table will populate the dedicated key cache. Please note the ROW_FORMAT=Fixed clause. … Using MyISAM, the data remains on disk but is exclusively accessed from the dedicate key cache. …
7
votes
Accepted
Any gotchas at all with converting from MyISAM to InnoDB?
You can also set up dedicated keycache, one or more tables per cache table. … Cache and InnoDB Buffer Pool. …
2
votes
Accepted
MySQL: To use MYISAM or INNODB engine? (plot twist enclosed)
If the table is ready-heavy, you may want to use a dedicated MyISAM key cache.
Heavy INSERTs from LOAD DATA INFILE will lock the MyISAM table. …
6
votes
Accepted
MySQL warm procedure
UPDATE 2012-02-04 21:53 EDT
While one can create caches dedicated to MyISAM via as follows:
SET GLOBAL authentication_cache.key_buffer_size = 1024 * 1024 * 8;
CACHE INDEX mydb.users INTO authentication_cache … You can cache data pages for InnoDB. MyISAM no. …
5
votes
Accepted
Extreme storage beasts
Cache for existing MyISAM and the InnoDB Buffer Pool for InnoDB data and indexes. … If you configure MySQL to use 75% of RAM for InnoDB, even on a dedicated MySQL server, the OS will get a busy paging to disk. …