사용량 페이지는 Looker 인스턴스에 대한 사용량 정보를 제공하는 Looker에서 생성된 대시보드입니다. 관리자는 데이터를 사용하여 사용자가 애플리케이션을 활용하는 방식을 더 잘 이해할 수 있습니다. 사용량 페이지를 보려면 관리자 메뉴의 서버 섹션에서 사용량을 선택합니다.
예약된 태스크: Look 또는 대시보드를 생성하여 전송할 때 Looker에서 실행하는 쿼리입니다.
추천 필터: 사용자가 추천을 생성하는 필터를 클릭할 때 생성되는 쿼리입니다. 이 경우 Looker는 필터링된 필드에서 SELECT DISTINCT를 실행하여 사용자에게 표시할 추천을 찾습니다.
SQL 쿼리의 컨텍스트 주석
Looker는 각 SQL 쿼리의 시작 부분에 고유한 주석을 추가합니다. 주석은 Explore, SQL Runner, API, 필터 추천의 쿼리에 주석이 추가됩니다. 컨텍스트 주석이 자동으로 포함됩니다.
컨텍스트 주석이 Google BigQuery의 캐시 기능을 무효화하고 캐시 성능에 부정적인 영향을 미칠 수 있으므로 기본적으로 Google BigQuery 연결의 컨텍스트 주석은 중지되어 있습니다. 연결 설정 페이지에서 컨텍스트 사용 중지 전환 스위치를 연결에 사용 설정하면 BigQuery 연결에 대한 컨텍스트 주석을 사용 설정할 수 있습니다. 자세한 내용은 Google BigQuery 문서 페이지를 참조하세요.
user_id: Looker 인스턴스에 있는 각 사용자의 고유 식별자입니다. 이 사용자 ID를 관리자 메뉴의 사용자 페이지에 있는 사용자 ID와 일치시킬 수 있습니다.
history_slug: Looker 인스턴스가 데이터베이스에서 실행하는 각 쿼리의 고유 식별자입니다.
instance_slug: 쿼리를 실행한 Looker 인스턴스의 ID 번호입니다. Looker 지원팀은 필요한 경우 이 정보를 사용하여 문제를 해결할 수 있습니다.
SQL 주석이 데이터베이스로 전송되기 직전에 컨텍스트 주석이 발신 SQL 명령어에 추가됩니다. 이렇게 하면 주석이 Looker 쿼리 캐싱의 영향을 받지 않습니다. 하지만 추가된 주석은 Looker의 거의 모든 위치(예: 쿼리 페이지 또는 i__looker)에 표시되지 않습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-22(UTC)"],[],[],null,["# Admin settings - Usage\n\n| **Note:** [Looker (Google Cloud core)](/looker/docs/looker-core-overview) instances do not include this page. Usage information can be viewed using the [System Activity dashboards](/looker/docs/system-activity-dashboards) and [Explores](/looker/docs/usage-reports-with-system-activity-explores).\n\nThe **Usage** page is a Looker-created dashboard that presents usage information about your Looker instance. Admins can use the data to better understand how their users utilize the application. To view the **Usage** page, from the **Server** section of the **Admin** menu, select **Usage**.\n| **Note:** Check the [System Activity dashboards](/looker/docs/system-activity-dashboards) for additional usage information about your Looker instance.\n\nUsage dashboard\n---------------\n\nAccess the **Usage** dashboard from the **Admin** panel under the **Server** section.\n| **Note:** If you have a permission that provides access to only select pages in the Admin panel, such as [`manage_schedules`](/looker/docs/admin-panel-users-roles#manage_schedules), [`manage_themes`](/looker/docs/admin-panel-users-roles#manage_themes), or [`see_admin`](/looker/docs/admin-panel-users-roles#see_admin), but you don't have the [Admin role](/looker/docs/admin-panel-users-roles#default_roles), the page or pages that are described here may not be visible to you in the Admin panel.\n\nYou can [download](/looker/docs/viewing-legacy-dashboards#downloading_your_dashboard) or [schedule](/looker/docs/viewing-legacy-dashboards#scheduling_dashboard_data_delivery) the **Usage** dashboard just as any other dashboard.\n\nYou can also [drill down](/looker/docs/viewing-and-interacting-with-explores#drilling_down_into_the_data) on data points on the **Usage** dashboard.\n\n### Query by Source tile\n\nThe **Query by Source** tile, which is located at the top of the **Usage** page, includes information about the number of queries run from different sources within Looker. These are the possible sources:\n\n- **API (version number)**: Queries that came from the Looker API for the instance.\n- **Dashboard**: Queries relating to tiles present on a dashboard.\n- **Dashboard Prefetch**: Queries from the API to pre-run a dashboard.\n- **Explore**: Queries associated with running Explores.\n- **Other**: Queries from sources that do not fall into any other category.\n- **Private Embed**: Queries that were initiated by a private embed context.\n- **Public Embed**: Queries run from content that is accessed via public URL.\n- **Query** : Short for `source_query`, queries generated by Looker's internal database.\n- **Renderer**: Queries relating to the generation of images (.png and .pdf) for scheduled items and downloads.\n- **SQL Runner** : Queries that are run directly in the [SQL Runner](/looker/docs/sql-runner-basics).\n- **Saved Look**: Queries associated with Looks.\n- **Scheduled Task**: Queries run by Looker when it generates a Look or dashboard for delivery.\n- **Suggest Filter** : Queries generated when users click on a filter that generates suggestions. In this case, Looker runs a `SELECT DISTINCT` on the filtered field to find the suggestions to surface to the user.\n\nContext comments for SQL queries\n--------------------------------\n\nLooker adds a unique comment to the beginning of each SQL query. The comments are added to queries from Explores, SQL Runner, the API, and filter suggestions. Context comments are automatically included.\n\u003e [Context comments on Google BigQuery connections](/looker/docs/db-config-google-bigquery#context_comments) are disabled by default because context comments invalidate Google BigQuery's ability to cache and can negatively impact cache performance. You can enable context comments for a BigQuery connection by enabling the [**Disable Context**](/looker/docs/db-config-google-bigquery#disable_context_comment) toggle on the [Connection Settings](/looker/docs/connecting-to-your-db) page for the connection. See the [Google BigQuery](/looker/docs/db-config-google-bigquery#context_comments) documentation page for more information.\n\nContext comments are added in the following format: \n\n -- Looker Query Context '{ \"user_id\":\u003cuser ID\u003e,\"history_slug\":\u003chistory slug\u003e,\"instance_slug\":\"\u003cLooker instance number\u003e}'\n\nThe comments provide the following information:\n\n- **`user_id`** : The unique identifier for each user on the Looker instance. You can match this user ID to the user IDs on the [**Users**](/looker/docs/admin-panel-users-users#viewing_and_searching_users) page in the **Admin** menu.\n\n- **`history_slug`**: The unique identifier for each query that is run on the database by the Looker instance.\n\n- **`instance_slug`**: The ID number of the Looker instance that issued the query. Looker support can use this information to help you troubleshoot, if necessary.\n\nThe context comments are added to outgoing SQL commands right before the SQL is sent to the database. This prevents the comments from affecting the [caching](/looker/docs/caching-and-datagroups) of Looker queries, but it also means that you cannot see the added comments in most places in Looker (such as the **Queries** page or [System Activity](/looker/docs/usage-reports-with-system-activity-explores)).\n\nInstead, you'll see these comments in your database query logs."]]