{"id":2955,"date":"2023-07-24T06:28:07","date_gmt":"2023-07-24T06:28:07","guid":{"rendered":"http:\/\/kedar.nitty-witty.com\/?p=2955"},"modified":"2026-01-16T11:12:58","modified_gmt":"2026-01-16T11:12:58","slug":"how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion","status":"publish","type":"post","link":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion","title":{"rendered":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I was attempting to download the MySQL slow query logs to perform a slow query review. In this blog we will explore the issue I faced while downloading the slow logs and my workaround to solve it. I am also looking for better approaches that you take to perform similar operations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Downloading Slow Logs for MySQL from AWS<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">If you&#8217;re logging RDS slow logs in MySQL table read, <a href=\"http:\/\/kedar.nitty-witty.com\/blog\/mysql-slow-query-log-export-and-review-in-rds\" target=\"_blank\" rel=\"noopener\" title=\"\">Downloading slow logs from RDS<\/a><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">For MySQL databases hosted on AWS RDS, AWS CLI provides commands to download slow query logs for in-depth analysis. With simple commands, such as &#8220;describe-db-log-files&#8221; and &#8220;download-db-log-file-portion,&#8221; administrators can efficiently retrieve and review slow logs, gaining valuable insights into database performance and query optimization. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I began by using the AWS CLI command to describe the database log files and extract the slow log file names.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>aws rds describe-db-log-files --db-instance-identifier rds_slow_log_test | grep 'FileName' | grep slow | awk -F'\"' '{print $4}'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Further extended the script to share the parsed list<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>for slowlog in $(aws rds describe-db-log-files --db-instance-identifier rds_slow_log_test | grep 'FileName' | grep slow | awk -F'\"' '{print $4}'); do echo \"Downloading $slowlog\"; aws rds download-db-log-file-portion --db-instance-identifier rds_slow_log_test --starting-token 0 --output text --log-file-name $slowlog &gt; $slowlog; done;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Throttling error about Rate exceeded<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Though while executing the download-db-log-file-portion command, I received following errors:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>An error occurred (Throttling) when calling the DownloadDBLogFilePortion operation (reached max retries: 2): Rate exceeded\nDownloading slowquery\/mysql-slowquery.log.2023-07-23.15<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This caused the incomplete download of slow query logs.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-rw-rw-r--. 1 centos centos 100M Jul 24 05:13 mysql-slowquery.log.2023-07-23.15\n-rw-rw-r--. 1 centos centos 30M  Jul 24 05:25 mysql-slowquery.log.2023-07-23.16\n-rw-rw-r--. 1 centos centos 150M Jul 24 05:38 mysql-slowquery.log.2023-07-23.17\n-rw-rw-r--. 1 centos centos 110M Jul 24 05:49 mysql-slowquery.log.2023-07-23.18\n-rw-rw-r--. 1 centos centos 210M Jul 24 05:58 mysql-slowquery.log.2023-07-23.19<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The slow logs were not fully downloaded due to the error mentioned above. In the <a href=\"POST link\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">re:POST<\/a>, AWS talks a bit about rate exceeded exception <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fixing throttling, rate exceeded error<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To overcome the Throttling error, AWS suggests implementing error retries and exponential backoff when making API calls. One of the key environment variables to configure is AWS_MAX_ATTEMPTS, which specifies the maximum number of attempts to make on a request.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The environment variable AWS_MAX_ATTEMPTS specifies the maximum number attempts to make on a request. The error mentions that those retries were only &#8220;2&#8221; earlier which can be tweaked. So, I rerun the following command after exporting AWS_MAX_ATTEMPTS to a some-what larger number.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export AWS_MAX_ATTEMPTS=100;\nfor slowlog in $(aws rds describe-db-log-files --db-instance-identifier rds_slow_log_test | grep 'FileName' | grep slow | awk -F'\"' '{print $4}'); do echo \"Downloading $slowlog\"; aws rds download-db-log-file-portion --db-instance-identifier rds_slow_log_test --starting-token 0 --output text --log-file-name $slowlog &gt; $slowlog; done;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and the slow logs were fully downloaded<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-rw-rw-r--. 1 centos centos 5.1G Jul 24 06:23 mysql-slowquery.log.2023-07-23.15<br>-rw-rw-r--. 1 centos centos 5.5G Jul 24 06:45 mysql-slowquery.log.2023-07-23.16<br>-rw-rw-r--. 1 centos centos 5.3G Jul 24 07:07 mysql-slowquery.log.2023-07-23.17<br>-rw-rw-r--. 1 centos centos 5.1G Jul 24 07:28 mysql-slowquery.log.2023-07-23.18<br>-rw-rw-r--. 1 centos centos 5.2G Jul 24 07:49 mysql-slowquery.log.2023-07-23.19<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Git script to download MySQL slow logs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I also have this old script uses the same aws command to download-db-log-file-portion which is updated with change to avoid rate throttling and rate exceeded errors: <a href=\"https:\/\/github.com\/kedarvj\/AWS-scripts\/blob\/master\/get_rds_slow_log\" target=\"_blank\" rel=\"noreferrer noopener\">get_rds_slow_log<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The journey to download large slow query logs can be fraught with rate limit challenges. However, by implementing AWS&#8217;s recommended adjusting AWS_MAX_ATTEMPTS, I successfully overcame the Throttling and Rate Exceeded errors. This experience has proven valuable, and I hope this blog helps others facing a similar roadblock. Feel free to share your own strategies for tackling this issue and optimizing slow query log reviews.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/docs.aws.amazon.com\/sdkref\/latest\/guide\/feature-retry-behavior.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/docs.aws.amazon.com\/sdkref\/latest\/guide\/feature-retry-behavior.html<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/repost.aws\/knowledge-center\/ssm-parameter-store-rate-exceeded\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/repost.aws\/knowledge-center\/ssm-parameter-store-rate-exceeded<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"I was attempting to download the MySQL slow query logs to perform a slow query review. In this blog we will explore the issue I faced while downloading the slow&hellip;\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[868,8,377],"tags":[629,634,637,630,635,632,636,631],"class_list":["post-2955","post","type-post","status-publish","format-standard","category-aws-rds","category-mysql","category-mysql-articles","tag-aws","tag-aws-cli","tag-download-slow-logs","tag-downloaddblogfileportion","tag-query-optimization","tag-rate-exceeded","tag-slow-query-logs","tag-throttling"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kedar\"\/>\n\t<meta name=\"google-site-verification\" content=\"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA\" \/>\n\t<meta name=\"msvalidate.01\" content=\"116B62074CBCA1BA99B8CCE09CCF2FB8\" \/>\n\t<meta name=\"keywords\" content=\"aws,aws cli,download slow logs,downloaddblogfileportion,query optimization,rate exceeded,slow query logs,throttling\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Change Is Inevitable | Kedar Vaijanapurkar&#039;s Blog for MySQL, technology and various subjects\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable\" \/>\n\t\t<meta property=\"og:description\" content=\"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-07-24T06:28:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-01-16T11:12:58+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable\" \/>\n\t\t<meta name=\"twitter:description\" content=\"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#article\",\"name\":\"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable\",\"headline\":\"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion\",\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"},\"datePublished\":\"2023-07-24T06:28:07+00:00\",\"dateModified\":\"2026-01-16T11:12:58+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#webpage\"},\"articleSection\":\"AWS RDS, MySQL, MySQL-Articles, aws, AWS CLI, download slow logs, downloaddblogfileportion, query optimization, rate exceeded, slow query logs, throttling\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"position\":2,\"name\":\"MySQL\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"name\":\"MySQL-Articles\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"position\":3,\"name\":\"MySQL-Articles\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#listItem\",\"name\":\"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#listItem\",\"position\":4,\"name\":\"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"name\":\"MySQL-Articles\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#webpage\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion\",\"name\":\"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable\",\"description\":\"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"datePublished\":\"2023-07-24T06:28:07+00:00\",\"dateModified\":\"2026-01-16T11:12:58+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/\",\"name\":\"..::CHANGE is INEVITABLE::..\",\"description\":\"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable","description":"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation","canonical_url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion","robots":"max-image-preview:large","keywords":"aws,aws cli,download slow logs,downloaddblogfileportion,query optimization,rate exceeded,slow query logs,throttling","webmasterTools":{"google-site-verification":"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA","msvalidate.01":"116B62074CBCA1BA99B8CCE09CCF2FB8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#article","name":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable","headline":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion","author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"},"datePublished":"2023-07-24T06:28:07+00:00","dateModified":"2026-01-16T11:12:58+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#webpage"},"isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#webpage"},"articleSection":"AWS RDS, MySQL, MySQL-Articles, aws, AWS CLI, download slow logs, downloaddblogfileportion, query optimization, rate exceeded, slow query logs, throttling"},{"@type":"BreadcrumbList","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/kedar.nitty-witty.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","position":2,"name":"MySQL","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","name":"MySQL-Articles"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","position":3,"name":"MySQL-Articles","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#listItem","name":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#listItem","position":4,"name":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion","previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","name":"MySQL-Articles"}}]},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author","url":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"WebPage","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#webpage","url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion","name":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable","description":"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion#breadcrumblist"},"author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"creator":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"datePublished":"2023-07-24T06:28:07+00:00","dateModified":"2026-01-16T11:12:58+00:00"},{"@type":"WebSite","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website","url":"https:\/\/kedar.nitty-witty.com\/blog\/","name":"..::CHANGE is INEVITABLE::..","description":"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","inLanguage":"en-US","publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Change Is Inevitable | Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","og:type":"article","og:title":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable","og:description":"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation","og:url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion","article:published_time":"2023-07-24T06:28:07+00:00","article:modified_time":"2026-01-16T11:12:58+00:00","twitter:card":"summary","twitter:title":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion | Change Is Inevitable","twitter:description":"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation"},"aioseo_meta_data":{"post_id":"2955","title":null,"description":"how to download slow query logs for MySQL hosted on AWS using the AWS CLI avoid Throttling, Rate exceeded error while doing DownloadDBLogFilePortion operation","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":0,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2023-07-24 05:15:07","updated":"2026-01-16 11:14:16","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\" title=\"MySQL\">MySQL<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles\" title=\"MySQL-Articles\">MySQL-Articles<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/kedar.nitty-witty.com\/blog"},{"label":"MySQL","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql"},{"label":"MySQL-Articles","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles"},{"label":"How to overcome Throttling and Rate Exceeded Errors in DownloadDBLogFilePortion","link":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-overcome-throttling-and-rate-exceeded-errors-in-downloaddblogfileportion"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/comments?post=2955"}],"version-history":[{"count":7,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2955\/revisions"}],"predecessor-version":[{"id":3541,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2955\/revisions\/3541"}],"wp:attachment":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media?parent=2955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/categories?post=2955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/tags?post=2955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}