2021-11-01から1ヶ月間の記事一覧

{S3}例 1: バケット所有者がユーザーにバケットのアクセス許可を付与する

AWS

バケット所有者とユーザーの親アカウントが同じであるため、 AWS アカウント は、バケットポリシー、ユーザーポリシー、またはその両方を使用してユーザーにアクセス許可を付与できます。この例では、両方を使用します。オブジェクトの所有者も同じアカウン…

{S3}サーバー側の暗号化を使用したデータの保護

AWS

https://dev.classmethod.jp/articles/lim-s3-sse-2021/https://tm200.hatenablog.com/entry/2021/04/21/201735https://siguniang.wordpress.com/2014/06/14/s3-encryption-with-aws-cli/http://x68000.q-e-d.net/~68user/unix/pickup?base64https://qiita.c…

{S3}マルチリージョンアクセスポイントの作成

AWS

https://dev.classmethod.jp/articles/s3-multi-region-access-points/ -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"unzip awscliv2.zipsudo…

{S3}S3 Object Lambda を使用したオブジェクトの変換

AWS

https://dev.classmethod.jp/articles/s3-object-lambda/ -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"unzip awscliv2.zipsudo ./aws/instal…

インデックス作成時のredo生成量

DB

Oracle、PostgreSQL、SQL Serverではインデックス作成時、インデックスと同じぐらいのサイズのREDOログが生成される MySQL (8.0.26) drop table tab1;create table tab1(col1 int ,col2 int,col3 int);drop procedure proc1; delimiter //create procedure p…

地理空間情報

DB

MySQL (8.0.26)https://note.com/moli9ma/n/n3b530e3ad1d5https://qiita.com/onunu/items/59ef2c050b35773ced0d 追加インストールは不要 drop table tab1;create table tab1 ( col1 int primary key, col2 varchar(255), col3 geometry SRID 4326); -- point…

統計情報がない時の実行計画

DB

まとめMySQLは動的に統計情報を取得している模様PostgreSQLはおおよその件数程度は動的に取得している模様Oracleは一貫性のない見積値を使用している模様 MySQL (8.0.26) drop table tab1; create table tab1(col1 int primary key,col2 int,col3 int); crea…

ファイルシステムブロックサイズ確認

OS

Ubuntu (20)http://www.nkjmkzk.net/?p=246 tune2fs -l /dev/mapper/ubuntu--vg-ubuntu--lvtune2fs -l /dev/mapper/ubuntu--vg-ubuntu--lv | grep "Block size" →4096バイト Debian (11)tune2fs -l /dev/sda1tune2fs -l /dev/sda1 | grep "Block size" →4096…

{S3}署名付き URL を使用したオブジェクトの共有

AWS

https://qiita.com/tmiki/items/87697d3d3d5330c6fc08 署名付き URL を受け取った相手は誰でも、そのオブジェクトにアクセスできるようになります。 -- 1. S3 バケットを作成する aws s3 mb s3://bucket123aws s3 ls -- 2. バケットにオブジェクトをアップロ…

{S3}マルチパートアップロードの AWS Command Line Interface サポート

AWS

https://blog.katsubemakito.net/aws/s3-multipartuploadhttps://aws.amazon.com/jp/premiumsupport/knowledge-center/s3-multipart-upload-cli/ aws s3 コマンドはファイルサイズに応じてマルチパートアップロードおよびマルチパートダウンロードを自動的に…

{S3}バケットでのリクエスタ支払いの設定

AWS

https://dev.classmethod.jp/articles/amazon-s3-requester-pay/ 通常は、データを共有したいが、他者がデータにアクセスする際に発生する費用を負担したくない場合に、リクエスタ支払いバケットをバケットに設定します。 リクエスタ支払いバケット内のオブ…

OEMインストール

https://dekiruengineer.com/engineer/oracle_enterprize_manager_13c_for_linux/https://oracle-base.com/articles/13c/cloud-control-13cr1-installation-on-oracle-linux-6-and-7https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise…