Skip to main content
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
Results for dedicated key cache
Search options not deleted user 877
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. …
RolandoMySQLDBA's user avatar
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. …
Community's user avatar
  • 1
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. …
Community's user avatar
  • 1
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. …
Community's user avatar
  • 1
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. …
Community's user avatar
  • 1
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 …
RolandoMySQLDBA's user avatar
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 …
RolandoMySQLDBA's user avatar
1 vote
Accepted

Which MySQL table to use for read-only, bulk-loaded tables?

lock Clustered Indexes during Inserts/Updates InnoDB is multithreaded and can be tuned for accessing CPUs/Cores MyISAM only caches index pages MyISAM must always be read data from disk MyISAM can have dedicated
Community's user avatar
  • 1
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. …
Community's user avatar
  • 1
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. …
Community's user avatar
  • 1
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. …
Community's user avatar
  • 1
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 …
Community's user avatar
  • 1
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? …
Community's user avatar
  • 1
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. …
RolandoMySQLDBA's user avatar
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. …
Community's user avatar
  • 1

15 30 50 per page