Why when I create a new post I found 2 record related to this post into the posts database table?

The second one is revision. It means the changes that you made, but didn’t save. WordPress saves that as revision post. There might be more than one revision post if you make more changes without updating the post.

You don’t need to worry about that. It’s all in background and won’t affect you in any way.