How do I replace a string on a large file?

I’m having big WordPress SQL dump file on my Ubuntu server which is around 7GB. Since I’m changing domain I need to replace the domain name in the file. I want to know how to do it via command line….