René's URL Explorer Experiment


Title: feat: Add batch commit mode for MySQL OnlineStore by chimeyrock999 · Pull Request #5699 · feast-dev/feast · GitHub

Open Graph Title: feat: Add batch commit mode for MySQL OnlineStore by chimeyrock999 · Pull Request #5699 · feast-dev/feast

X Title: feat: Add batch commit mode for MySQL OnlineStore by chimeyrock999 · Pull Request #5699 · feast-dev/feast

Description: What this PR does / why we need it: Adds optional batch insert and commit mode to the MySQLOnlineStore to improve materialization performance for TiDB and MySQL backends. By default, Feast writes each row individually and commits per record, which causes large overhead on MySQL compatible Raft-based databases like TiDB. This PR introduces a configurable batch mode to group inserts and commit per batch, improving write throughput. Changes Added config flags: batch_mode: true batch_size: 1000 Implemented batched insert using executemany() / multi-row SQL. Each batch is committed atomically. Backward compatible (default = per-row mode). Misc Verified on TiDB v7.5.0 and MySQL 8.0.44. Thanks @ntkathole confirming this direction.

Open Graph Description: What this PR does / why we need it: Adds optional batch insert and commit mode to the MySQLOnlineStore to improve materialization performance for TiDB and MySQL backends. By default, Feast writes e...

X Description: What this PR does / why we need it: Adds optional batch insert and commit mode to the MySQLOnlineStore to improve materialization performance for TiDB and MySQL backends. By default, Feast writes e...

Opengraph URL: https://github.com/feast-dev/feast/pull/5699

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3f9bff50-b97e-edd9-63ed-0601c012ab81
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE50:5C4F6:4245A6C:596A75B:696E0429
html-safe-nonceb37db8bba3042a361b5a5a89f4593855771014b23edd9db76d0bb7ed338a5c29
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTUwOjVDNEY2OjQyNDVBNkM6NTk2QTc1Qjo2OTZFMDQyOSIsInZpc2l0b3JfaWQiOiIyNTY0NDc2MDk3NDgyNTg5MjI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0897bea0ac4c8780e821f828eb972c52bcaf633bea86da896fc3b90c06b7737b
hovercard-subject-tagpull_request:2953717965
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/5699/files
twitter:imagehttps://avatars.githubusercontent.com/u/57527992?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/57527992?s=400&v=4
og:image:altWhat this PR does / why we need it: Adds optional batch insert and commit mode to the MySQLOnlineStore to improve materialization performance for TiDB and MySQL backends. By default, Feast writes e...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9b5131b207ddd175abf059a848d5f4302ec0606b02211b989013be49cf08593e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef8590a63bfc8093b241930ca57d536c9a50f9680
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/5699/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F5699%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F5699%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/5699/files
Reloadhttps://github.com/feast-dev/feast/pull/5699/files
Reloadhttps://github.com/feast-dev/feast/pull/5699/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.6k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 176 https://github.com/feast-dev/feast/issues
Pull requests 58 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/feast-dev/feast/security
Please reload this pagehttps://github.com/feast-dev/feast/pull/5699/files
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
ntkatholehttps://github.com/ntkathole
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
chimeyrock999:masterhttps://github.com/chimeyrock999/feast/tree/master
Conversation 2 https://github.com/feast-dev/feast/pull/5699
Commits 3 https://github.com/feast-dev/feast/pull/5699/commits
Checks 17 https://github.com/feast-dev/feast/pull/5699/checks
Files changed 5 https://github.com/feast-dev/feast/pull/5699/files
feat: Add batch commit mode for MySQL OnlineStore https://github.com/feast-dev/feast/pull/5699/files#top
Show all changes 3 commits https://github.com/feast-dev/feast/pull/5699/files
b5e58bf feat: Support batch_write for MySQL OnlineStore chimeyrock999 Oct 28, 2025 https://github.com/feast-dev/feast/pull/5699/commits/b5e58bf9b0ecf94da7a3422f8fddc1a67b74ba31
b4f6c2f Merge branch 'master' into master chimeyrock999 Oct 30, 2025 https://github.com/feast-dev/feast/pull/5699/commits/b4f6c2ff2af66537089a69ef027bafc0947032a5
20a4d19 docs: Add batch_write for MySQL Online Store chimeyrock999 Oct 30, 2025 https://github.com/feast-dev/feast/pull/5699/commits/20a4d194c85ffb74b6a6a15cb45d206671efd661
Clear filters https://github.com/feast-dev/feast/pull/5699/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/5699/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/5699/files
mysql.md https://github.com/feast-dev/feast/pull/5699/files#diff-91f1b79b82965ad601bc9de6f66922f931772fe0aada4a6d0248aa34f066e343
README.md https://github.com/feast-dev/feast/pull/5699/files#diff-2595cfd7c3eca20623d3761e948c836d08dad757b13a85b3a13e0c96fb27da4b
mysql.py https://github.com/feast-dev/feast/pull/5699/files#diff-b3d937293d25707b557665d607798f6539ad117a38553c9448aaced8376bf6a2
mysql_repo_configuration.py https://github.com/feast-dev/feast/pull/5699/files#diff-d4d0ceadc0fecb6f9bc4fcd4469a8b10a29f6a4b71775d0fe87e66def3d1d4f2
mysql.py https://github.com/feast-dev/feast/pull/5699/files#diff-cf08ee81432dd436061ca138f0e566979757d2fce77e7fe6c5aa882b18f8f809
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L4
docs/reference/online-stores/mysql.mdhttps://github.com/feast-dev/feast/pull/5699/files#diff-91f1b79b82965ad601bc9de6f66922f931772fe0aada4a6d0248aa34f066e343
View file https://github.com/chimeyrock999/feast/blob/20a4d194c85ffb74b6a6a15cb45d206671efd661/docs/reference/online-stores/mysql.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/5699/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/5699/files#diff-91f1b79b82965ad601bc9de6f66922f931772fe0aada4a6d0248aa34f066e343
https://github.com/feast-dev/feast/pull/5699/files#diff-91f1b79b82965ad601bc9de6f66922f931772fe0aada4a6d0248aa34f066e343
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/online_stores/mysql_online_store/README.mdhttps://github.com/feast-dev/feast/pull/5699/files#diff-2595cfd7c3eca20623d3761e948c836d08dad757b13a85b3a13e0c96fb27da4b
View file https://github.com/chimeyrock999/feast/blob/20a4d194c85ffb74b6a6a15cb45d206671efd661/sdk/python/feast/infra/online_stores/mysql_online_store/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/5699/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/5699/files#diff-2595cfd7c3eca20623d3761e948c836d08dad757b13a85b3a13e0c96fb27da4b
https://github.com/feast-dev/feast/pull/5699/files#diff-2595cfd7c3eca20623d3761e948c836d08dad757b13a85b3a13e0c96fb27da4b
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/online_stores/mysql_online_store/mysql.pyhttps://github.com/feast-dev/feast/pull/5699/files#diff-b3d937293d25707b557665d607798f6539ad117a38553c9448aaced8376bf6a2
View file https://github.com/chimeyrock999/feast/blob/20a4d194c85ffb74b6a6a15cb45d206671efd661/sdk/python/feast/infra/online_stores/mysql_online_store/mysql.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/5699/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/5699/files#diff-b3d937293d25707b557665d607798f6539ad117a38553c9448aaced8376bf6a2
https://github.com/feast-dev/feast/pull/5699/files#diff-b3d937293d25707b557665d607798f6539ad117a38553c9448aaced8376bf6a2
https://github.com/feast-dev/feast/pull/5699/files#diff-b3d937293d25707b557665d607798f6539ad117a38553c9448aaced8376bf6a2
https://github.com/feast-dev/feast/pull/5699/files#diff-b3d937293d25707b557665d607798f6539ad117a38553c9448aaced8376bf6a2
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/online_stores/mysql_online_store/mysql_repo_configuration.pyhttps://github.com/feast-dev/feast/pull/5699/files#diff-d4d0ceadc0fecb6f9bc4fcd4469a8b10a29f6a4b71775d0fe87e66def3d1d4f2
View file https://github.com/chimeyrock999/feast/blob/20a4d194c85ffb74b6a6a15cb45d206671efd661/sdk/python/feast/infra/online_stores/mysql_online_store/mysql_repo_configuration.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/5699/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/5699/files#diff-d4d0ceadc0fecb6f9bc4fcd4469a8b10a29f6a4b71775d0fe87e66def3d1d4f2
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/tests/integration/feature_repos/universal/online_store/mysql.pyhttps://github.com/feast-dev/feast/pull/5699/files#diff-cf08ee81432dd436061ca138f0e566979757d2fce77e7fe6c5aa882b18f8f809
View file https://github.com/chimeyrock999/feast/blob/20a4d194c85ffb74b6a6a15cb45d206671efd661/sdk/python/tests/integration/feature_repos/universal/online_store/mysql.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/5699/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/5699/files#diff-cf08ee81432dd436061ca138f0e566979757d2fce77e7fe6c5aa882b18f8f809
Please reload this pagehttps://github.com/feast-dev/feast/pull/5699/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.