some practise about fragment database