mysqldump slowing down the process?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users mysqldump slowing down the process?
# 8  
Old 04-19-2009
Java

Hi Neo, do you think i have to increase the query_cache_limit size also. The comment says that "MySQL won't cache query results that are larger than query_cache_limit in size".

Can you please suggest what else i have to modify according to the optimization results?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need Help with automatically Import from special mysqldump

Hi @ all I need a little bit help with a tricky problem ... Here´s the situation: We´ve 2 MySQL-Servers, one is productive, the other is Backup. At the productive Server there runs every 2 hours a cron Job which does a Dump from MySQL-DB with script 'automysqlbackup.sh' and copy it then... (7 Replies)
Discussion started by: jackcracker
7 Replies

2. UNIX for Advanced & Expert Users

awk slowing down -- why?

I have an awk script that extracts data from log files and generates a report. The script is incrementing elements in arrays, summing fields depending on contents of other fields, and then in END performing some operations on those arrays. It seemed to be taking longer than it should on my... (6 Replies)
Discussion started by: treesloth
6 Replies

3. Shell Programming and Scripting

Mysqldump rotate backup

I have a very simple script that uses a cron job to take a daily backup of our orders database. echo "Dumping ORDERS database"; mysqldump -u root --password='mypassword' -h '1.1.1.1' --opt --compress ORDERS $tbl_names > /Volumes/Files_Backup_1/db_backups/orders.sql echo "Copied database to... (2 Replies)
Discussion started by: timgolding
2 Replies

4. Shell Programming and Scripting

Expect slowing down / missing characters

Im writing an expect program to connect to cisco routers and run commands. my commands file has only two entries show version show running-config when I run the script, the first command is run without a problem. The second command isn't. The "s" is missing at the device command line,... (1 Reply)
Discussion started by: popeye
1 Replies

5. UNIX for Dummies Questions & Answers

Mysqldump certain tables

Hi, I have to upload part of my database periodically when i make changes to product data etc. However I only want to upload certain tables. We suffer from bandwidth chock here, so i want to write a couple of separate scripts that upload parts of the database that changed. The database is large... (5 Replies)
Discussion started by: timgolding
5 Replies

6. UNIX for Dummies Questions & Answers

Sendmail process "Toomany" system slowing down

Hello Experts I have M4000 Solaris 10 server, from few many days there are too many sendmail and mail.local process starting on server and each time i need to kill mannualy using pkill send mail, some time there will 600 of them taking 30mb memory for each and hence slowing down the server,... (2 Replies)
Discussion started by: karghum
2 Replies

7. UNIX for Dummies Questions & Answers

Problem with my crontab file, using mysqldump

My crontab file tells cron to run a certain shell script at 10:30 AM every day. The shell script backs up my database with mysqldump and then runs a sed script that does some editing of the backup file. I have programmed the shell script to write an error message to a file I have in my home... (1 Reply)
Discussion started by: Ultrix
1 Replies

8. Shell Programming and Scripting

Help needed for mysqldump command

I want to take a backup of a database and redirect the output of the whole process to a log file. I am using the below command: mysqldump -A --add-drop-table > mysql-daily-backup.sql &> /tmp/backup_log/mysql.log Is there anything wrong with the syntax? ---------- Post updated at 08:32 PM... (0 Replies)
Discussion started by: proactiveaditya
0 Replies

9. Shell Programming and Scripting

mysqldump script without hardcode password

OS: Linux ambglx02 2.6.16.60-0.21-default #1 Tue May 6 12:41:02 UTC 2008 i686 i686 i386 GNU/Linux Shell: bash Currently I have a mysqldump script to backup my mysql database, the command is as below: /opt/novell/mysql/bin/mysqldump --add-drop-table -u root -p -h mydb > /home/john/mydb.sql ... (5 Replies)
Discussion started by: bulkbiz
5 Replies
Login or Register to Ask a Question
NSCD.CONF(5)						      BSD File Formats Manual						      NSCD.CONF(5)

NAME
nscd.conf -- nscd configuration file DESCRIPTION
The nscd.conf file is used by the nscd(8) daemon and is read on its startup. Its syntax is mostly similar to the nscd.conf syntax in Linux and Solaris. It has some differences, though -- see them below. Each line specifies either an attribute and a value, or an attribute, a cachename and a value. Usual cachenames are ``passwd'', ``group'', ``hosts'', ``services'', ``protocols'' and ``rpc''. You can also use any other cachename (for example, if some third-party application uses nsswitch). threads [value] Number of threads, which would listen for connections and process requests. The minimum is 1. The default value is 8. enable-cache [cachename] [yes | no] Enables or disables the cache for specified cachename. positive-time-to-live [cachename] [value] Sets the TTL (time-to-live) for the specified cache in seconds. Larger values can increase system's performance, but they also can affect the cache coherence. The default value is 3600. positive-policy [cachename] [fifo | lru | lfu] The policy that is applied to erase some of the cache elements, when the size limit of the given cachename is exceeded. Possible policies are: fifo (first-in-first-out), lru (least-recently-used), and lfu (least-frequently-used). The default policy is lru. negative-time-to-live [cachename] [value] The TTL of the negative cached elements in seconds. The larger values can significantly increase system performance in some environ- ments (when dealing with files with UIDs, which are not in system databases, for example). This number should be kept low to avoid the cache coherence problems. The default value is 60. negative-policy [cachename] [fifo | lru | lfu] The same as the positive-policy, but this one is applied to the negative elements of the given cachename. The default policy is fifo. negative-confidence-threshold [cachename] [value] The number of times a query must have failed before the cache accepts that the element can not be found. At the default value of 1 each negative query result is cached and immediately returned from the cache on further queries. Higher numbers cause queries to be retried at the configured data sources the given number of times, before the negative result is returned from the cache on further queries. This allows to probe for the existence of an entry, and then to create it if it did not exist, without the negative probe result preventing access to the new entry for the duration of the negative TTL. suggested-size [cachename] [value] This is the internal hash table size. The value should be a prime number for optimum performance. You should only change this value when the number of cached elements is significantly (5-10 times) greater than the default hash table size (257). keep-hot-count [cachename] [value] The size limit of the cache with the given cachename. When it is exceeded, the policy will be applied. The default value is 2048. perform-actual-lookups [cachename] [yes | no] If enabled, the nscd(8) does not simply receive and cache the NSS-requests results, but performs all the lookups by itself and only returns the responses. If this feature is enabled, then for the given cachename nscd(8) will act similarly to the NSCD. NOTE: this feature is currently experimental -- it supports only ``passwd'', ``group'' and ``services'' cachenames. NOTES
You can use the '#' symbol at the beginning of the line for comments. FILES
/etc/nscd.conf SEE ALSO
nscd(8) AUTHORS
Michael Bushkov <bushman@FreeBSD.org> BUGS
Please send bug reports and suggestions to <bushman@FreeBSD.org>. BSD
April 30, 2006 BSD