詳解 システム・パフォーマンスから。よくわからない箇所を書き留めるための文書。
仕事を省略できるので性能チューニングは仕事をする場所付近で行うと効果が高い。 チューニング2.3.4やワークロードの特性の把握2.5.10参照。
方向性を定めるため目標を定めると、行動を選択するとき役立つ。定まればあとは要因を探すだけだ。
詳解 システム・パフォーマンスから。よくわからない箇所を書き留めるための文書。
仕事を省略できるので性能チューニングは仕事をする場所付近で行うと効果が高い。 チューニング2.3.4やワークロードの特性の把握2.5.10参照。
方向性を定めるため目標を定めると、行動を選択するとき役立つ。定まればあとは要因を探すだけだ。
| |
openpgp4fpr:3998E3DE9E1C948D394A0154371F2E5A0E0B0BE6
I hereby claim:
To claim this, I am signing this object:
| psql -U postgres -h localhost \ | |
| -XAtc "SELECT tablename FROM pg_catalog.pg_tables where schemaname='public'" | while read table | |
| do psql -U postgres -h localhost \ | |
| -c "\copy (SELECT * FROM $table) to $table.csv with csv header" | |
| done |
| begin | |
| require 'bundler/inline' | |
| rescue LoadError => e | |
| warn 'Bundler version 1.10 or later is required. Please update your Bundler' | |
| raise e | |
| end | |
| gemfile(true) do | |
| source 'https://rubygems.org' |
| #[allow(dead_code)] | |
| fn read<T: std::str::FromStr>() -> Option<T> { | |
| let mut b = String::new(); | |
| std::io::stdin().read_line(&mut b).ok(); | |
| b.trim().parse().ok() | |
| } | |
| /// # Examples | |
| /// ``` | |
| /// let mtx = (0..2).map(|_| read_v().unwrap()).collect(); |
| class NoPoopInString < Base | |
| extend AutoCorrector | |
| MSG = 'Where did you learn that?' | |
| def on_str(node) | |
| bad = '💩' | |
| return unless node.source.include?(bad) | |
| add_offense(node) do |corrector| | |
| corrector.replace(node, node.source.tr(bad, '🌈')) | |
| end |
| # frozen_string_literal: true | |
| class SimpleKvs # :nodoc: | |
| def self.call(file_name) | |
| raf = File.open(file_name, 'r+') | |
| new(raf) | |
| end | |
| def initialize(raf) | |
| @raf = raf |
前回の続き。
錠前は次の性質を持つ。