Diabetes increases the expression of Nampt and Sirt1 in gastric cancer and decreases survival rate. Here, SIRT1 is linked to diabetes mellitus.