{"id":303890,"date":"2020-05-19T21:00:42","date_gmt":"2020-05-19T21:00:42","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=303890"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=303890","title":{"rendered":"\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 PostgreSQL \u043d\u0430 Google Cloud Platform SQL"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/otus\/blog\/502772\/\"><i><b>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d \u0432 \u043f\u0440\u0435\u0434\u0434\u0432\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0440\u0442\u0430 \u043a\u0443\u0440\u0441\u0430 <a href=\"https:\/\/otus.pw\/n9eL\/\">\u00abPostgreSQL\u00bb<\/a>.<\/b><\/i><\/p>\n<hr>\n<p>  <\/p>\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u043b\u044e \u0432\u0430\u0441 \u0441 GCP SQL \u0438 \u043f\u043e\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 PostgreSQL.<a name=\"habracut\"><\/a><\/p>\n<h2>\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c PostgreSQL \u0432 GCP SQL<\/h2>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0435\u043c \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 PostgreSQL \u0432 GCP SQL. <\/p>\n<p>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043d\u0430\u0447\u0430\u0442\u044c, \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u044c\u0442\u0435\u0441\u044c \u0432 \u0441\u0432\u043e\u0439 GCP \u0430\u043a\u043a\u0430\u0443\u043d\u0442. \u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 PostgreSQL \u2192 \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 SQL \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 \u0441\u043b\u0443\u0436\u0431 Google.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ot\/q-\/vk\/otq-vksq8eby6ky1pdtwjmlu0nq.jpeg\"><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 SQL \u2192 \u041d\u0430\u0436\u043c\u0438\u0442\u0435 CREATE INSTANCE (\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440).<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zw\/ws\/4o\/zwws4oxgmuki6etrbemcsbtt31y.jpeg\"><\/p>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435, \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0430\u043c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u2192 \u041d\u0430\u0436\u043c\u0438\u0442\u0435 PostgreSQL.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ds\/7g\/ln\/ds7glnn7xymazslvjsuj_ddocce.jpeg\"><\/p>\n<p>  \u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0434\u0435\u0442\u0430\u043b\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438:<\/p>\n<p>  Instance ID (\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430): \u2014 \u043d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u0432\u0430\u0448 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440,<\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c \u2014 Password,<\/p>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0439 \u043a \u0432\u0430\u043c \u0440\u0435\u0433\u0438\u043e\u043d \u2014 Region,<\/p>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0435\u0440\u0441\u0438\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u2014 Database version.<\/p>\n<p>  \u041d\u0430\u0436\u043c\u0438\u0442\u0435 Show Configuration options (\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439), \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dm\/up\/ue\/dmupuepat1f3ykickfkrlxvxzhi.jpeg\"><\/p>\n<p>  \u0420\u0430\u0441\u043a\u0440\u043e\u0439\u0442\u0435 Configuration details (\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439)<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kk\/ow\/pt\/kkowpts2uoxvgu5l3rnu2c-vvsk.jpeg\"><\/p>\n<p>  \u041d\u0430\u0436\u043c\u0438\u0442\u0435 Connectivity (\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435) \u2192 \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043a \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0441\u0435\u0442\u0435\u0439; \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0443, \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 IP \u0438\u043b\u0438 \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u041d\u0430\u0436\u043c\u0438\u0442\u0435 + Add network (\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441: \u0441\u0435\u0442\u044c).<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/h8\/51\/nw\/h851nw8d2y6aoxhptzwe1iienx8.jpeg\"><\/p>\n<p>  \u0412\u0432\u0435\u0434\u044f 0.0.0.0\/0 \u0432 Network (\u0421\u0435\u0442\u044c), \u0432\u044b \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0432\u0441\u0435 IPv4 IP \u0438 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0443 \u043e\u0442\u043a\u0443\u0434\u0430 \u0443\u0433\u043e\u0434\u043d\u043e.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dx\/4r\/f2\/dx4rf26qnw4ueddlspljpvidb50.jpeg\"><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0436\u0434\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/cg\/ku\/fh\/cgkufhgpmuq5znb1o2mtizkabqw.jpeg\"><\/p>\n<p>  \u0414\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438 \u0438 API \u2192 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 Private IP (\u0427\u0430\u0441\u0442\u043d\u044b\u0439 IP) \u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 Associated network (\u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0430\u044f \u0432\u0430\u043c\u0438 \u0441\u0435\u0442\u044c VPC, \u0438\u043b\u0438 default).<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/4i\/qv\/wu\/4iqvwuafzzgqdvlduzgwzawbrzm.jpeg\"><\/p>\n<p>  \u0421\u043d\u043e\u0432\u0430 \u0436\u0434\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sq\/sr\/cb\/sqsrcbfk3agsb8fhbmmuxemhe24.jpeg\"><\/p>\n<p>  \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u043d\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f (Private service connections), \u043d\u0430\u0436\u0430\u0432 VPC \u2192 VPC Peering (VPC \u041f\u0438\u0440\u0438\u043d\u0433)<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sq\/uq\/kf\/squqkfmr6nbywhlcfcocolorvjs.jpeg\"><\/p>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0438\u043f \u043c\u0430\u0448\u0438\u043d \u0438 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 (Machine type and storage): \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044f\u0434\u0435\u0440 \u0438 \u043f\u0430\u043c\u044f\u0442\u044c.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pq\/6d\/ue\/pq6duehyrsibjgimpjdnjhkkaeo.jpeg\"><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u0446\u0435\u043b\u044f\u0445, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043e\u0434\u043d\u0443 \u0437\u043e\u043d\u0443 (Single zone).<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ky\/lk\/dv\/kylkdvzzlu-k582tczjoumtt-e8.jpeg\"><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0441\u0440\u0435\u0434\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 High availability (\u0412\u044b\u0441\u043e\u043a\u0430\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c), \u043d\u043e \u044d\u0442\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/8g\/b5\/ax\/8gb5axupsjvmetdm2c-qbkvbyqe.jpeg\"><\/p>\n<p>  \u041d\u0430\u0436\u043c\u0438\u0442\u0435 Add item (\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442), \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u043b\u0430\u0433\u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 (Database flags).<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/b_\/at\/o2\/b_ato2qoxsnogxf1lklg-ydh9ky.jpeg\"><\/p>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u043b\u0430\u0433, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0430\u043c \u043d\u0443\u0436\u0435\u043d.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kt\/wa\/ja\/ktwajadh0fscv-olxri9seug4pu.jpeg\"><br \/>  .<br \/>  GCP \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0436\u0434\u044b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u0430\u0448\u0435\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0437\u0430\u0439\u043c\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0418\u0442\u0430\u043a, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hn\/g9\/l5\/hng9l5mqjll5ajqwuvkcsqlmj7y.jpeg\"><\/p>\n<p>  \u0423\u043a\u0430\u0436\u0438\u0442\u0435 key (\u043a\u043b\u044e\u0447) \u0438 value (\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435) \u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0435 Labels (\u042f\u0440\u043b\u044b\u043a\u0438).<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/p-\/cx\/tj\/p-cxtj2vo0hqsjsiv9vdlvhgnko.jpeg\"><\/p>\n<p>  \u041d\u0430\u0436\u043c\u0438\u0442\u0435 Create (\u0421\u043e\u0437\u0434\u0430\u0442\u044c), \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/x3\/vl\/zv\/x3vlzv8um0xdfrdgiww6vpfnjri.jpeg\"><\/p>\n<p>  GCP \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 PostgreSQL:<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mi\/nn\/j4\/minnj4jqoo_0xu96ajwpyiztymc.jpeg\"><\/p>\n<p>  \u0423\u0441\u043f\u0435\u0445! \u0421\u0435\u0440\u0432\u0435\u0440 PostgreSQL \u0431\u044b\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dj\/v0\/qo\/djv0qoe1hjj81nimklbmgz2atso.jpeg\"><\/p>\n<p>  \u0412\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0438 \u043e\u0431\u0437\u043e\u0440 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e PostgreSQL.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/7t\/ud\/4y\/7tud4y4s7xlrcs4hzgpuffultjw.jpeg\"><\/p>\n<p>  \u041d\u0430\u0436\u0430\u0432 Connections (\u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f), \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u044b\u043b\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0430 \u0441\u0432\u044f\u0437\u044c \u0441 GCP App Engine.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mf\/wb\/a0\/mfwba0urztfrok5yvwy8fh3rsb8.jpeg\"><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 PostgreSQL, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 USERS.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-v\/22\/ym\/-v22ymgugt860mol6p9bibeyaeg.jpeg\"><\/p>\n<p>  \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 DATABASES.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/6t\/8d\/e5\/6t8de5kjznd5jwuezauejkdvflg.jpeg\"><\/p>\n<p>  \u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u043c\u0438 \u043a\u043e\u043f\u0438\u044f\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0432 BACKUPS.<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pk\/1t\/nm\/pk1tnmss-c5qhf2tc8fx4htzicc.jpeg\"><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0440\u0435\u043f\u043b\u0438\u043a\u0443 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 \u0432 REPLICAS:<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hq\/4a\/ny\/hq4any9nquyb6djnrc262aarjyg.jpeg\"><\/p>\n<p>  \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0437\u0434\u0435\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u044b:<\/p>\n<p>   <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kh\/ut\/nc\/khutncxvddmnqjcwqhfhyffpcdo.jpeg\"><\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u044b\u043b\u0430 \u0432\u0430\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u0430. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f, \u0441 \u0432\u0430\u0441 \u043b\u0430\u0439\u043a \u0438 \u0440\u0435\u043f\u043e\u0441\u0442.<\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0445\u043e\u0440\u043e\u0448\u0435\u0433\u043e \u0434\u043d\u044f!<\/p>\n<hr>\n<p>  <a href=\"https:\/\/otus.pw\/n9eL\/\">\u0423\u0437\u043d\u0430\u0442\u044c \u043e \u043a\u0443\u0440\u0441\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435.<\/a><\/p>\n<hr>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/otus\/blog\/502772\/\"> https:\/\/habr.com\/ru\/company\/otus\/blog\/502772\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/otus\/blog\/502772\/\"><i><b>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d \u0432 \u043f\u0440\u0435\u0434\u0434\u0432\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0440\u0442\u0430 \u043a\u0443\u0440\u0441\u0430 <a href=\"https:\/\/otus.pw\/n9eL\/\">\u00abPostgreSQL\u00bb<\/a>.<\/b><\/i><\/p>\n<hr>\n<p>  <\/p>\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u043b\u044e \u0432\u0430\u0441 \u0441 GCP SQL \u0438 \u043f\u043e\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 PostgreSQL.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-303890","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/303890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=303890"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/303890\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=303890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=303890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=303890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}