How long should you hold a wall sit or a plank?

A body-weight position exercise is a wonderful way to strengthen all body muscles. By holding a plank or a wall sit, you are working with the whole corp. However some people think that such exercises work only while your muscles start to shake and you feel the serious burn. Is it true though? Does the plank work only when you really feel it?