Metformin could restore the isoflurane- and STZ-induced hippocampal tissue damage, cognitive and memory impairment in exposed space via improving the oxidative stress, upregulating the contents of glucagon-like peptide-1 (GLP-1) and glucose-dependent insulinotropic polypeptide (GIP) in the hippocampus tissues of diabetic mice. The gene discussed is GCG; the disease is memory impairment.