Dataview task and project examples

I’m a new user, so do I understand correctly that by using dataview table for tasks I have to create a new page for every task? I know there is a TASK type, but I’d like to use a TABLE.

This doesn’t work for example (writing tasks on a single page):

Task:: foobar
Priority:: 2
Tag:: #personal

Task:: barbaz
Priority:: 3
Tag:: #personal

Dataview table:

TABLE Task, Priority FROM #personal

This shows only the last entry (“barbaz”) in the dataview table. So I need to create a new page for every task with its own metadata, right? But with this method, the vault could be cluttered with small files after a while. :thinking: