On local and global aspects of the Cauchy problem in general relativity