2012å¹´5æ24æ¥ã«éå¬ãããã第2åããã¾ããèããªãï¼ã·ã¹ãã éç¨ã»ç®¡çã®ã³ãããã®ã»ãã·ã§ã³ããã¾ããèããªãPostgreSQLéç¨ç®¡çãã®è¬æ¼è³æã§ããRead less
2. èªå·±ç´¹ä» âåå: æµ·å¤ æµ©å¹³ âæå±ï¼ NEC OSSæ¨é²ã»ã³ã¿ã¼ â好ããªãã®ï¼ ã³ã¢ã®å¤ãããã»ããµ âå«ããªãã®ï¼ ã³ã¢ã®å°ãªãããã»ããµ âçµæ´: ï¬HPC ï¨ OSS/Linux ï¨ SAP ï¨ GPU/PostgreSQL âTw: @kkaigai â主ãªä»äº ï¬SELinuxå¨ã諸ã (2004~) â¢Lockless AVCãJFFS2 XATTRãªã© ï¬PostgreSQLå¨ã諸ã (2006~) â¢SE-PostgreSQLãSecurity Barrier ViewãWritable FDWãªã© ï¬PG-Strom (2012~) Page. 2 The PostgreSQL Conference 2014, Tokyo - GPGPU Accelerates PostgreSQL 4. GPU (Graphic Processor Unit) ã®ç¹å¾´ âG
VP, Chief Database Scientist @ EnterpriseDB, PostgreSQL Major Contributor and Committer The list of new features coming in PostgreSQL 10 is extremely impressive. I've been involved in the PostgreSQL project since the 8.4 release cycle (2008-2009), and I've never seen anything like this. Many people have already blogged about these features elsewhere; my purpose here is just to bring together a l
This week at RailsConf, we found ourselves sharing a lot of tips for using PostgreSQL with Rails. We thought it might be worthwhile to write up many of these and share more broadly. Here youâll find some tips that will help you in debugging and improving performance of your database from your Rails app. And now, on to the code. Manage long running queries with statement time-outs Long running quer
ããã«ã¡ã¯ãhachi8833ã§ããä»åã¯ãA Rubyist's Guide to Postgresql's Explainãã®ç¿»è¨³è¨äºããå±ããããã¾ãã EXPLAINã¯SQLã®æ§æãªã®ã§ãæ¬è¨äºã§ã¯å è¨äºã®ã¿ã¤ãã«ã¨ã³ã¼ããé¤ã大æåã§è¡¨è¨ãã¾ãã æ¦è¦ åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãããã¾ãã å è¨äº: A Rubyist's Guide to Postgresql's Explain åèè : Starr Horne å ãµã¤ã: RubyLetter -- é±ä¸ãã¼ã¹ã§å¤ãã®è¯è¨äºãå ¬éããã¦ãã¾ããããããã§ãã ãªãã翻訳ã§ã¯å è¨äºã«ãªãã³ã¼ãã®ãã¤ã©ã¤ããã¹ã¯ãªã¼ã³ã·ã§ããã¨ãã¦è¿½å ãã¦ãã¾ãã PostgreSQLã«ã¯EXPLAINã¨å¼ã°ãããããããªæ©è½ãããã¾ããããããã§ãããããã®ã¨ãããªãããã¼ã¿ãã¼ã¹ã¯ã¨ãªãé ããã¨ããåé¡ã解決ããããã§æå¼·ã®æ¦å¨ã«ããªã
ããã«ã¡ã¯ãã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®æ±å·(@daiti0804)ã§ããæ¬æ¥ã¯ãAWS ã®ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã§ãã Steve Abraham ããAWS Database Blogã«æ稿ããIntroducing the Aurora Storage Engine ããç´¹ä»ãã¾ãã Amazon Aurora ã¨ã¯ï¼ Amazon Aurora ã¯ãMySQL ã¨äºææ§ã®ãããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã¨ã³ã¸ã³ã§ãé«æ§è½ãªåç¨ãã¼ã¿ãã¼ã¹ã®å¯ç¨æ§ã¨ã¹ãã¼ããããã³ãªã¼ãã³ã½ã¼ã¹ãã¼ã¿ãã¼ã¹ã®ã·ã³ãã«ãã¨ã³ã¹ãå¹ææ§ãä½µãæã£ã¦ãã¾ããAmazon Aurora ã¯ãMySQL ãããæ大 5 åã®ããã©ã¼ãã³ã¹ãçºæ®ããã ãã§ãªããåç¨ãã¼ã¿ãã¼ã¹ãæã¤ãããªã»ãã¥ãªãã£ãå¯ç¨æ§ãããã³ä¿¡é ¼æ§ã 10 åã® 1 ã®ã³ã¹ãã§å®ç¾ãã¾ããã¾ããPostgreSQL ã¨äºææ§ã®ãã A
ãã¼ã¿ã¤ã³ãã°ã¬ã¼ã·ã§ã³é¨ 大ç¢ã§ãã DBã®ãã¹ããã¼ã¿ãExcelã§æ¸ããã¨ã¯ããããã¨æãã¾ãã ä»åã¯Excelã§æ¸ãããã¼ã¿ãEmbulkã§DBã«ãã¼ããããã¨ãããã¨ããã£ã¦ã¿ããã¨æãã¾ãã 使ç¨ããç°å¢ã¯ä»¥ä¸ã®ã¨ããã§ãã Embulk v0.8.13 Digdag v0.8.16 PostgreSQL 9.5.3 Mac OS X El Capitan version 10.11.6 Excelã®ãã¼ã¿ãPostgreSQLã«ãã¼ããã ä½æ¥ãã£ã¬ã¯ã㪠å ã«ä»åã®ä½æ¥ã§ä½¿ç¨ãããã£ã¬ã¯ããªæ§æã示ãã¦ããã¾ããæçµçã«ã¯ãããªãã¾ãã excelload âââ allsheet.dig âââ embulk âââ sales.yml âââ testdata.xlsx âââ users.yml Excelã®ãã¹ããã¼ã¿ ãã¼ããããã¼ã¿ Excelã®ãã¹ããã¼ã¿ã·
åå¼·ä¸ã®äººã«ã¯ããããã PostgreSQL Exercisesã使ãã°ãï¼ååã®ã¾ã¾ã ãï¼ãã©ã¦ã¶ä¸ã§PostgreSQLã®åå¼·ããããã¨ãã§ããã 課é¡ãä¸ããããã®ã§ããããå®ç¾ããããã®å½ä»¤ãæ¸ãã¦ããã°OKã ã å®è¡çµæããã®å ´ã§ãããã®ã§ç解ããããã ããã ãªããåéãããããããã®ã§ããããã解ããã¨ãã§ããã°ä¸å¿åºæ¬ã¯ãã¹ã¿ã¼ãããã¨ã«ãªãã®ã§ã¯ãªãããããèå³ããã人ã¯ãã£ã¬ã³ã¸ãã¦ã¿ãã¨ããã§ããªã
NTT ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã»ã³ã¿ ç¬ å è¾°ä» ã¯ããã« PostgreSQLã®contribã¢ã¸ã¥ã¼ã«ã®ä¸ã¤ã«ãpgcryptoã¨ãããã®ãããã¾ããpgcryptoã¯ããã®åã®éãæå·åããµãã¼ããããã¼ã«ã§ãã主ã«ã¯DBå ã®ãã¼ã¿ã®æå·åãå®æ½ãããå ´åã«ä½¿ããã¾ãããªã³ã©ã¤ã³ããã¥ã¢ã«ã«è©³ããæ©è½ã®è§£èª¬ãåèæç®ã¸ã®ãªã³ã¯ãè¼ã£ã¦ãã¾ããæ¬è¨äºã§ã¯ãpgcryptoã®ç°¡åãªä½¿ãæ¹ã¨ãpgcryptoã使ãéã«æç¨ãªãã¯ããã¯ãç´¹ä»ãã¾ãã æå·åã«ã¤ã㦠æ¨ä»ã§ã¯ãå人æ å ±ä¿è·æ³ã«åãããããæå·åãå¿ è¦ã¨ããã±ã¼ã¹ãå¢ãã¦ãã¾ãããç¹ã«ãã¼ã¿ãã¼ã¹ã«ã¯éè¦ãªå人æ å ±ãæ ¼ç´ããããããç¹ã«ã·ãã¢ãªæå·åãæ¤è¨ããããã¨ãå¤ãã§ãã ä¸å£ã«æå·åã¨è¨ã£ã¦ããã¹ãã¬ã¼ã¸ã®ãã¼ãã¦ã§ã¢é¨åã§æå·åãæ½ãããã¡ã¤ã«ã·ã¹ãã (ãããã¯ããã¤ã¹)ã§æå·åãæ½ããçè´ã«åãã¦æå·åãããã¼
PostgreSQLã®åºæ¬çãªä½¿ãæ¹ã¨åæè¨å®ã¡ã¢ã â PostgreSQLã®ã¤ã³ã¹ãã¼ã« Ubuntu7.10ã«ã¤ã³ã¹ãã¼ã«ããã ã ãã§ä»¥ä¸ã®ããã«ä¾åããã±ã¼ã¸ãèªåã§ã¤ã³ã¹ãã¼ã«ãã¦ããã¾ãã postgresqlã®ã¤ã³ã¹ãã¼ã« $ sudo apt-get install postgresql ããã±ã¼ã¸ãªã¹ããèªã¿è¾¼ãã§ãã¾ã... å®äº ä¾åé¢ä¿ããªã¼ãä½æãã¦ãã¾ã Reading state information... å®äº 以ä¸ã®ç¹å¥ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã¾ã: libpq5 postgresql-8.2 postgresql-client-8.2 postgresql-client-common postgresql-common â PostgreSQLã®ã¦ã¼ã¶ç®¡ç PostgreSQLã¯Linuxã®ã¢ã«ã¦ã³ãã¨ã¯å¥ã«ãã¼ã¿ãã¼ã¹ã¦ã¼ã¶ã管çãã¦ãããããã©ã«
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
å©ç¨è¦ç´ãå®ã£ã¦æ稿ãã¦ãã ãããã¾ãããããã質åããã³æ稿ã®æå¼ããåç §ãã¦ãã ããã ã¡ãã»ã¼ã¸ã®æ稿ã«ã¯ã¢ã«ã¦ã³ããå¿ è¦ã§ããæªç»é²ã®æ¹ã¯ãã¦ã¼ã¶ç»é²ãã¼ã¸ããã¢ã«ã¦ã³ããä½æãããã¨ãã§ãã¾ãã ã¤ã³ã¹ãã¼ã« Synapticã§postgresqlãpgadmin3ãã¤ã³ã¹ãã¼ã« PostgreSQLã§ã¯ãOSã®ã¦ã¼ã¶ã¨ãã¼ã¿ãã¼ã¹ã¦ã¼ã¶ã¨ã¯ç¬ç«ãã¦ããã ã¤ã³ã¹ãã¼ã«ããç´å¾ã®ç¶æ ã¯OSã®ã¦ã¼ã¶ã¨ãã¦ã®postgres(ãã®ã¾ã¾ã§ã¯ãã°ã¤ã³ã§ããªã) ã¨ãã¼ã¿ãã¼ã¹ã¦ã¼ã¶ã¨ãã¦ã®postgresãããã®ã¿ psqlã§ã®åæè¨å® PostgreSQLã«ãã°ã¤ã³ããããLinuxã¦ã¼ã¶ã¨ãã¦ã®postgresã®ãã¹ã¯ã¼ããè¨å®ããã $ sudo passwd postgres Linuxã¦ã¼ã¶ã¨ãã¦ã®postgresã§ãã°ã¤ã³ $ su postgres ãã®æç¹ã§ã·ã§ã«ãã $
NTT ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã»ã³ã¿ é´æ¨ å¹¸å¸ 4. è¨å® è¨å®ã§è¡ããã¨ã¯æ¬¡ã®ã¨ããã§ãã 管çã¦ã¼ã¶(postgres) ã§ãã°ã¤ã³ã§ããããã«ããã 管çã¦ã¼ã¶ã§ãã°ã¤ã³ãã¦ãã¼ã¿ãã¼ã¹ãä½ã ãã¼ã¿ãã¼ã¹ã«èªåã®ã¢ã«ã¦ã³ãã§ãã°ã¤ã³ã§ããããã«è¨å®ããã ã§ã¯ãé ã追ã£ã¦ããæ¹ã示ãã¦ããã¾ãã 4.1 管çã¦ã¼ã¶ã§ãã°ã¤ã³ã§ããããã«ãã PostgreSQLãã¤ã³ã¹ãã¼ã«ããæç¹ã§ããã§ã«ãã¼ã¿ãã¼ã¹ã®ç®¡çã¦ã¼ã¶ã§ããpostgresã¦ã¼ã¶ãä½ããã¦ãã¾ãããããããã®ã¦ã¼ã¶ã®ãã¹ã¯ã¼ãã¯ä¸å®ã§ããã®ã¾ã¾ã§ã¯ãã°ã¤ã³ãã§ãã¾ãããæåã«ãã¼ã¿ãã¼ã¹ãä½ã£ãããã¼ã¿ãã¼ã¹ã®ã¦ã¼ã¶ãè¨å®ããããã«ã¯ãpostgresã¦ã¼ã¶ã«ãªããªããã°ãªãã¾ãããããã§ãpostgresã¦ã¼ã¶ãã°ã¤ã³ã§ããããã«ãã¹ã¯ã¼ããè¨å®ãã¾ãããã ãã¹ã¯ã¼ãã®è¨å®ã«ã¯ãã端æ«ãã使ãã¾ããããã¯ã
NTT ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã»ã³ã¿ æ¿å£ è²´è£ ã¹ãã¼ã¯ã¨ãª (æéã®ãããSQL) ãçºè¦ããã¾ã§ã®æé ã解説ãã¾ããã¹ãã¼ã¯ã¨ãªåæã¨æ¹åã¯ä»¥ä¸ã®æµãã§è¡ããã¨ã«ãªãã¾ãããã®è¨äºã§ã¯ä¸»ã« 1. ã®ã¹ãã¼ã¯ã¨ãªã®ç¹å®æ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ãã2.ã«ã¤ãã¦ã¯ãã¹ãã¼ã¯ã¨ãªã®æ¹åããåèã«ãã¦ãã ããã ã©ã®SQLãé ãã®ããè¦ã¤ããã ãã®SQLããªãæéããããã®ããå¤æããã è¨å®ãã©ã¡ã¼ã¿ãSQLãã¹ãã¼ããªã©ãæ¹åããã çç®ããSQLã®æ§è½ãå測å®ãã2. ããç¹°ãè¿ãã çç®ããSQLã®ãã¥ã¼ãã³ã°ãå®äºããããä»ã®ããã«ããã¯ãæ¢ããã 1. ããç¹°ãè¿ãã ã¹ãã¼ã¯ã¨ãªã®è¦ã¤ãæ¹ ã¹ãã¼ã¯ã¨ãªãè¦ã¤ããã«ã¯ã大ããåãã¦çµ±è¨æ å ±ãã¥ã¼ã使ãæ¹æ³ã¨ããµã¼ããã°ã使ãæ¹æ³ã®2ã¤ãããã¾ããçµ±è¨æ å ±ãã¥ã¼ã使ãæ¹æ³ã¯ PostgreSQL 8.4 以éã§ããå©ç¨ã§ãã¾ããã
ãã£ããMySQLã«å ¨ææ¤ç´¢ã¨ã³ã¸ã³ã追å ããã®ã ããã©ãä¼ç¤¾ã§ã¯PostgreSQLã使ãããã ãããã£ã¡ã®æ±ãã®ã»ããæ £ãã¦ãã¾ã£ãã ã¨ããããã§PostgreSQLã«ãå ¨ææ¤ç´¢ã¨ã³ã¸ã³ã追å ãã¦ã¿ããã¨ã«ã 調ã¹ã¦ã¿ãã¨MySQLã®ããã«ã½ã¼ã¹ããè¨å®ããå¿ è¦ããªãã®ã§çµæ§æ¥½ã£ã½ãã ãåæã OS:CentOS4.4 PostgreSQL:8.1.8 Senna:1.0.3ã¤ã³ã¹ãã¼ã«æ¸ MeCab:0.95ã¤ã³ã¹ãã¼ã«æ¸ ãPostgreSQLã¤ã³ã¹ãã¼ã«ã PostgreSQLã®ã¤ã³ã¹ãã¼ã« #yum install postgresql-server èªåã®CentOSã¯centosplusã¬ãã¸ããªãæå¹ã«ãã¦ããã®ã§PostgreSQLã®ãã¼ã¸ã§ã³ã¯8.1.8ã«ãªã£ãã PostgreSQLãèµ·å #/etc/init.d/postgresql start ãã®æç¹ã§p
NTT ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã»ã³ã¿ ç¬ å è¾°ä» ãã®è¨äºã¯ãgihyo.jp & Let's Postgres é£åä¼ç»ãä»ããï¼PostgreSQLãã®ç¬¬6åè¨äºã§ãã第6åç®ã¯ãPostgreSQLã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ãå é¨æ å ±ãè¦ã¦ãçºçãã¦ããåé¡ã®ç¹å®ã¨ãã®å¯¾çã¨ãªããã¥ã¼ãã³ã°ãç´¹ä»ãã¾ãããªãããã©ãã«ã®çºçã»äºå ãé©åã«ææããããã«ãããã°ã®è¨å®ã稼åçµ±è¨æ å ±ã®ç£è¦ããã¦ããã¾ãããã ã¨ã©ã¼ã¡ãã»ã¼ã¸ã«ã¤ã㦠ãã©ãã«ã¨å¯¾çã®åã«ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®ã¬ãã«ã«ã¤ãã¦èª¬æãã¦ããã¾ããPostgreSQLã¯è¤æ°ã®ã¨ã©ã¼ã¬ãã«ãå½±é¿ç¯å²ãæ·±å»åº¦ã«ãã£ã¦ä½¿ãåãã¦ãã¾ããã¨ã©ã¼ã¬ãã«ããããã®è§£éã®ä»æ¹ãä¸è¨ã®è¡¨ã«ã¾ã¨ãã¦ã¿ã¾ããã ãã¼ã¿ãã¼ã¹ç®¡çè ã¯ãæ·±å»ãªç¶æ³ã§ãã PANIC ã¨ãæ§è½æ å ±ãå«ã LOG ã¬ãã«ã®ã¡ãã»ã¼ã¸ã«æ³¨æãã¾ããããä¸æ¹ãã¢ããªã±ã¼ã·ã§ã³éçºè
ä½è Greg SmithãRobert Treatãããã³Christopher Browne PostgreSQLã¯æ§è½ãããå¹ åºãäºææ§ãç®çã«è¨å®ããããåºæ¬è¨å®ã§é å¸ããã¦ãã¾ãã ããã©ã«ãã®ãã©ã¡ã¼ã¿ã§ã¯ã使ç¨ä¸ã®ã·ã¹ãã ãéå°è©ä¾¡ãã¦ãã¾ãå¯è½æ§ãé«ãã§ãã æçµçã«ææ¡ããªããã°ãªããªãé ç®ã®ãã¹ã¦ï¼å¿ è¦ãªãã°GUC Three Hour Tourãåç §ãã¦ãã ããï¼ã«å¼ãããè¾¼ã¾ããªãããã«ãããã§åºæ¬ãç°¡åã«ç´¹ä»ãããã¨ã§ãå©ããããã¨æãã¾ãã ãããã¯PostgreSQLã®åå¿è ã¯æ°ã«ããªãããã£ã¨ãä¸è¬çãªãã®ã®ããã§ãã ããã§ç´¹ä»ããæ¦è¦ãèªãã å¾ã«ãã詳ããç¥ããããã°ãåç¯ã«ã¦ãã©ã¡ã¼ã¿ã®ååãã¯ãªãã¯ãã¦ãã ããã ææ°ã®PostgreSQLã®ããã¥ã¢ã«ã®é¢é£ææ¸ã«ãªã³ã¯ãã¦ãã¾ãã ããã«Server Configuration Tuningã«ã¯ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}