history: rename all P* talbes to p* tables

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
history: remove all P* tables

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>