Hydrolyzes trehalose-6-phosphate to glucose and glucose 6-phosphate. Can also very effectively hydrolyze p-nitrophenyl-alpha-D-glucopyranoside, but not lactose, maltose, sucrose or sucrose-6-phosphate. Trehalose is also hydrolyzed, but to a much smaller extent than trehalose-6-phosphate. alpha,alpha-trehalose 6-phosphate + H2O = D-glucose + D-glucose 6-phosphate Activity is stimulated by high salt concentrations with different efficiencies depending on the kind of salt. In vitro, inhibited by glucose. Optimum pH is 4.5. Optimum temperature is 37 degrees Celsius. Induced by trehalose and repressed by glucose, fructose or mannitol. Belongs to the glycosyl hydrolase 13 family.