{"author_name":"patorash","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","height":"190","version":"1.0","width":"100%","type":"rich","url":"https://tech.rhizome-e.com/entry/2022/06/03/142906","categories":["Ruby"],"title":"\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u9577\u3044\u6587\u5b57\u5217\u3092\u51e6\u7406\u3059\u308b\u65b9\u5f0f\u304b\u3089IO\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u51e6\u7406\u3059\u308b\u65b9\u5f0f\u306b\u5909\u3048\u305f\u308910%\u9ad8\u901f\u5316\u3057\u305f\u8a71","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.rhizome-e.com%2Fentry%2F2022%2F06%2F03%2F142906\" title=\"\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u9577\u3044\u6587\u5b57\u5217\u3092\u51e6\u7406\u3059\u308b\u65b9\u5f0f\u304b\u3089IO\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u51e6\u7406\u3059\u308b\u65b9\u5f0f\u306b\u5909\u3048\u305f\u308910%\u9ad8\u901f\u5316\u3057\u305f\u8a71 - \u30ea\u30be\u30fc\u30e0\u306e\u30c6\u30c3\u30af\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/patorash/","blog_url":"https://tech.rhizome-e.com/","blog_title":"\u30ea\u30be\u30fc\u30e0\u306e\u30c6\u30c3\u30af\u30d6\u30ed\u30b0","published":"2022-06-03 14:29:06","image_url":null,"description":"\u682a\u5f0f\u4f1a\u793e\u30ea\u30be\u30fc\u30e0 \u30b7\u30b9\u30c6\u30e0\u4f01\u753b\u30fb\u958b\u767a\u90e8 \u7b2c4\u30b0\u30eb\u30fc\u30d7\u306e\u5c3e\u53e4\uff08@patorash\uff09\u3067\u3059\u3002 \u5f0a\u793e\u3067\u6271\u3063\u3066\u3044\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u3001\u8907\u6570\u306egzip\u5727\u7e2e\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067DB\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u51e6\u7406\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u305d\u308c\u306e\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3092\u884c\u3044\u300110%\u307b\u3069\u901f\u5ea6\u6539\u5584\u3057\u305f\u8a71\u3067\u3059\u3002 \u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u524d\u306e\u51e6\u7406 \u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u524d\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u5909\u6570\u306b\u5165\u308c\u305f\u5f8c\u3001\u30a4\u30f3\u30dd\u30fc\u30c8\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u305d\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u51e6\u7406\u306b\u304a\u3044\u3066\u3082\u3001\u5de8\u5927\u6587\u5b57\u5217\u30921\u884c\u305a\u3064\u8aad\u307f\u8fbc\u3093\u3067\u51e6\u7406\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3042\u308a\u307e\u3057\u305f\u3002 file_path = Rails.root.join('files', 'import_file.jsonl.gz') \u2026"}