[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003ePostgreSQL's cumulative statistics system gathers and reports on server activity.\u003c/p\u003e\n"],["\u003cp\u003eServer activity data is stored in system tables accessible via SQL queries.\u003c/p\u003e\n"],["\u003cp\u003eYou can monitor buffer cache usage by tracking \u003ccode\u003eblks_hit\u003c/code\u003e and \u003ccode\u003eblks_read\u003c/code\u003e values.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information about the cumulative statistics system is in the PostgreSQL documentation.\u003c/p\u003e\n"]]],[],null,["# Generate a server activity report\n\nSelect a documentation version: 16.3.0keyboard_arrow_down\n\n- [Current (16.8.0)](/alloydb/omni/current/docs/generate-server-activity-report-reference)\n- [16.8.0](/alloydb/omni/16.8.0/docs/generate-server-activity-report-reference)\n- [16.3.0](/alloydb/omni/16.3.0/docs/generate-server-activity-report-reference)\n- [15.12.0](/alloydb/omni/15.12.0/docs/generate-server-activity-report-reference)\n- [15.7.1](/alloydb/omni/15.7.1/docs/generate-server-activity-report-reference)\n- [15.7.0](/alloydb/omni/15.7.0/docs/generate-server-activity-report-reference)\n\n\u003cbr /\u003e\n\nTo generate a server activity report, you can use the PostgreSQL cumulative statistics system to collect and report information about server activity. The server activity information is exposed as system tables, which can be accessed using SQL queries.\n\n\u003cbr /\u003e\n\nFor example, the query reports the number of disk blocks found in the buffer cache and number of disk blocks read from disk: \n\n SELECT blks_hit, blks_read FROM pg_stat_database;\n\nBy observing the values of these counters over time, you can infer whether the database is making good use of the buffer cache.\n\nThe PostgreSQL documentation has more information about this [cumulative statistics system](https://www.postgresql.org/docs/15/monitoring-stats.html)."]]