MySQL: What is a page?

后端 未结 3 888
花落未央
花落未央 2021-01-30 05:28

I can\'t for the life of me remember what a page is, in the context of a MySQL database. When I see something like 8KB/page, does that mean 8KB per row or ...?

3条回答
  •  面向向阳花
    2021-01-30 06:03

    It's the size of which data is stored/read/written to disk and in memory.

    Different page sizes might work better or worse for different work loads/data sets; i.e. sometimes you might want more rows per page, or less rows per page. Having said that, the default page size is fine for the majority of applications.

    Note that "pages" aren't unique for MySQL. It's an aspect of a parameter for all databases.

提交回复
热议问题