You can remember the meaning of 干杯 with this easy mnemonic:
How can I make a toast if my throat is dry (干)? Put some champagne in my cup (杯)!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.