public List<Status> queryUserStatusFromSlave(String uid, Integer page, Integer size) {
		List<Status> userStatusIDList = new ArrayList<Status>();
		Integer start_status = (page - 1) * Constants.STATUS_COUNT_PERPAGE;
		Integer end_status = start_status + size;
		//通过二级索引查询请求的用户的微博所发表的月份,通过月份避免全表查询
		//表名：USER_STATUS_COUNT_PERMONTH
		List<String> months= new ArrayList<String>();
		ResultSet resultSet = null;
		String sql1 = "select * from %s where uid = '%s' order by %s desc;";
		String dBStr = configService.getStatusStoreLoc(uid, DBOperation.READ);
		String ip = dBStr.split(":")[0];
		String port = dBStr.split(":")[1];
		String dbName = dBStr.split(":")[2];
		PreparedStatement pst1 = (PreparedStatement) dbHelper.getStatement(
				String.format(sql1, Constants.TABLE_USER_STATUS_COUNT_PERMONTH, uid, Constants.COLUMN_NAME_OF_MONTH), ip, port,dbName);
		try {
			resultSet = pst1.executeQuery();
			Integer sum = 0;
			if (resultSet != null) {
				while(resultSet.next()) {
					sum += Integer.parseInt(resultSet.getString(Constants.COLUMN_NAME_OF_COUNT));
					months.add(resultSet.getString(Constants.COLUMN_NAME_OF_MONTH));
					if (sum >= end_status) {
						break;
					}
					if (months.size() >= 12 || months.size() <= 0) {
						break;
					}
				}
			} else {// no month results
				return null;
			}
			
			resultSet = null;
		} catch (SQLException e) {
			e.printStackTrace();
		}
		//查询user status表
		for (int i = 0; i < months.size(); i++) {
			String sql2 = "select * from "+ Constants.PREFIX_OF_USER_STATUS_TABLE + months.get(i)
					+ " where uid =" + uid + ";";
			System.out.println(sql2 + "on " + dbName);
			//获取用户微博发表的微博ID
			PreparedStatement pst2 = (PreparedStatement) dbHelper.getStatement(sql2, ip, port, dbName);
			try {
				resultSet = pst2.executeQuery();
				while(resultSet.next()) {
					Status status = new Status();
					status.setStatusId(resultSet.getString(Constants.COLUMN_NAME_OF_STATUS_ID));
					status.setContent(resultSet.getString(Constants.COLUMN_NAME_OF_CONTENT));
					status.setUser(new User(uid));
					userStatusIDList.add(status);
				}
			} catch (SQLException e) {
				e.printStackTrace();
			}
		}
		dbHelper.close();
		return userStatusIDList;
	}