<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohei-a</author_name>
  <author_url>https://blog.hatena.ne.jp/yohei-a/</author_url>
  <blog_title>ablog</blog_title>
  <blog_url>https://yohei-a.hatenablog.jp/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>Redshift</anon>
  </categories>
  <description>SYSLOG ACCESS UNRESTRICTED 権限を付与したユーザーで SYS_QUERY_HISTORY を参照すると、自分以外が発行したクエリとその username を参照することができる。 ユーザークエリーの詳細表示には、SYS_QUERY_HISTORY を使用します。いくつかのフィールドに関する累積統計を含むユーザークエリが、それぞれの行により表されます。このビューには、データ定義言語 (DDL)、データ操作言語 (DML)、コピー、アンロード、Amazon Redshift Spectrum など、さまざまな種類のクエリが含まれています。ここには、実行中のクエリと終了した…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20250922%2F1758506461&quot; title=&quot;Amazon Redshift の SYS_QUERY_HISTORY の username 列でユーザー名を取得する - ablog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-22 11:01:01</published>
  <title>Amazon Redshift の SYS_QUERY_HISTORY の username 列でユーザー名を取得する</title>
  <type>rich</type>
  <url>https://yohei-a.hatenablog.jp/entry/20250922/1758506461</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
