Let's learn about Bulk Insert in Relational Databases using Go/Golang specifically using the "mysql" package.
This episode covers the concrete methods defined in "mysql" to deal with Bulk Inserts, specifically using the LOAD INTO command via the two functions available in the package:
■ RegisterLocalFile and
■ RegisterReaderHandler
== Relevant links
■ Example code: https://github.com/MarioCarrion/video...
■ Relational Databases - Bulk Insert with PostgreSQL: • Learning Golang: Relational Databases - Bu...
■ Learning Go/Golang : • Learning Go/Golang
■ Learning Relational Databases in Go/Golang: • Learning Go/Golang: Relational Databases
■ A MySQL-Driver for Go's database/sql package: https://pkg.go.dev/github.com/go-sql-...
== All Go/Golang Playlists
■ Software Architecture in Go/Golang: • Software Architecture and System Design in...
■ Building Microservices in Go/Golang: • Building Microservices in Golang/Go
■ Go/Golang Tools and Packages: • Golang/Go Tools and Packages
■ Learning Concurrency Patterns in Go/Golang: • Learning Go/Golang Concurrency Patterns
■ Testing in Go/Golang: • Testing in Golang/Go
== Socials
■ / mariocarrion
■ / mario.carrion
■ / mariocarrion
00:00 - Start
00:13 - Bulk Insert in Go/Golang using MySQL using RegisterLocalFile
06:20 - Bulk Insert in Go/Golang using MySQL using RegisterReaderHandler
11:54 - Conclusions
---
Who am I:
Hello👋🏼! I'm Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.
Every week I will share with you different topics I've learned while working for small startups and large companies including the processes I've followed over the years for successfully delivering complex enterprise systems from start to end.
Subscribe if you like Software Development, Software Architecture and Systems Design!
Keep it up. Don't give up!
#golang #tutorial #databases
=== Our Vlog Channel
/ rubycarrion
=== Our affiliate links below
■ My Amazon Storefront: https://www.amazon.com/shop/rubycarrion
■ Shop my IG posts on my shopLTK page: https://www.shopltk.com/explore/RubyC...
■ Vlog camera: Sony RX100 VII https://amzn.to/3qQfvMc
■ Other vlog cameras and gear: https://rubycarrion.com/vlogcamerasan...
■ Shop through my links to support the channel: https://rubycarrion.com/shop-my-links/
■ Get a 30 day FREE Trial of Epidemic Sound: https://www.epidemicsound.com/referra...
■ Join Rakuten for FREE and get $30 when you spend $30: https://www.rakuten.com/r/RUBYRA132?e...
DISCLAIMER: Some of the links shared in the description are affiliate links. As a member of these affiliate programs, I earn a small commission from your purchases at no additional cost to you. I appreciate your support! 💖