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 |
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 …
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. …
7
votes
Accepted
MySQL LOAD DATA INFILE slows by 80% after a few gigs of input with InnoDB engine
Such actions could produce unintended primary key locks and lots of phantom data. As these two things increase, you should expect a fair slow down. … InnoDB : As shown in the internals picture of InnoDB, the system tablespave ibdata1 has a structure dedicated to Secondary Index Insertions. …
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. …
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. …
3
votes
Accepted
Does mysqld wait for init-script code to complete before opening the instance?
with primay key and varchar value
I am currently do this for clients at my employer's company. … As to why the SLEEP function seems to be skipped, here is my best guess:
Way back in MySQL 5.0.12, SLEEP was getting inserted into the query cache via some optimization. …
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. …
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 …
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. …
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 …
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
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 …