It is said that when Veda Vyasa conceived the Mahabharata in his mind he knew that it would be a very large work and that he would need a stenographer to take dictation.... Lord Brahma appeared and told him to invoke Lord Ganesha, the god of knowledge, who would assist Vyasa in his work.