Suche senden
Hochladen
PostgreSQLからMongoDBへ
•
Als KEY, PDF herunterladen
•
2 gefällt mir
•
2,732 views
Basuke Suzuki
Folgen
原宿のセレクトショップアシストオンの通販サイトを、インフラの交換を含めてMongoDBかする際のあれこれ。
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 25
Jetzt herunterladen
Empfohlen
MongoDBで作るソーシャルデータ新解析基盤
MongoDBで作るソーシャルデータ新解析基盤
Takahiro Inoue
MongoDB Oplog入門
MongoDB Oplog入門
Takahiro Inoue
MongoDB全機能解説2
MongoDB全機能解説2
Takahiro Inoue
20110514 mongo dbチューニング
20110514 mongo dbチューニング
Yuichi Matsuo
MongoDB dla administratora
MongoDB dla administratora
3camp
Mongo db dla administratora
Mongo db dla administratora
Łukasz Jagiełło
Database api
Database api
InternetDevels
2016 gunma.web games-and-asm.js
2016 gunma.web games-and-asm.js
Noritada Shimizu
Empfohlen
MongoDBで作るソーシャルデータ新解析基盤
MongoDBで作るソーシャルデータ新解析基盤
Takahiro Inoue
MongoDB Oplog入門
MongoDB Oplog入門
Takahiro Inoue
MongoDB全機能解説2
MongoDB全機能解説2
Takahiro Inoue
20110514 mongo dbチューニング
20110514 mongo dbチューニング
Yuichi Matsuo
MongoDB dla administratora
MongoDB dla administratora
3camp
Mongo db dla administratora
Mongo db dla administratora
Łukasz Jagiełło
Database api
Database api
InternetDevels
2016 gunma.web games-and-asm.js
2016 gunma.web games-and-asm.js
Noritada Shimizu
Couchdb
Couchdb
Саги Усаги
20151224-games
20151224-games
Noritada Shimizu
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
OlinData
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
Walter Heck
MongoDB Aggregation
MongoDB Aggregation
Amit Ghosh
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
Ryousei Takano
MongoDB
MongoDB
Steve Klabnik
Mongodb workshop
Mongodb workshop
Harun Yardımcı
CGI.pm - 3ло?!
CGI.pm - 3ло?!
Anatoly Sharifulin
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Mike Dirolf
Absolute Beginners Guide to Puppet Through Types - PuppetConf 2014
Absolute Beginners Guide to Puppet Through Types - PuppetConf 2014
Puppet
Getting Started with MongoDB
Getting Started with MongoDB
Michael Redlich
Litebox
Litebox
meli media
Paris js extensions
Paris js extensions
erwanl
Google App Engine Developer - Day3
Google App Engine Developer - Day3
Simon Su
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovy
Yasuharu Nakano
Full-Stack JavaScript with Node.js
Full-Stack JavaScript with Node.js
Michael Lehmann
Brief intro to clojure
Brief intro to clojure
Roy Rutto
Mongodb Aggregation Pipeline
Mongodb Aggregation Pipeline
zahid-mian
NoSQL を Ruby で実践するための n 個の方法
NoSQL を Ruby で実践するための n 個の方法
Tomohiro Nishimura
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB
Weitere ähnliche Inhalte
Was ist angesagt?
Couchdb
Couchdb
Саги Усаги
20151224-games
20151224-games
Noritada Shimizu
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
OlinData
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
Walter Heck
MongoDB Aggregation
MongoDB Aggregation
Amit Ghosh
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
Ryousei Takano
MongoDB
MongoDB
Steve Klabnik
Mongodb workshop
Mongodb workshop
Harun Yardımcı
CGI.pm - 3ло?!
CGI.pm - 3ло?!
Anatoly Sharifulin
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Mike Dirolf
Absolute Beginners Guide to Puppet Through Types - PuppetConf 2014
Absolute Beginners Guide to Puppet Through Types - PuppetConf 2014
Puppet
Getting Started with MongoDB
Getting Started with MongoDB
Michael Redlich
Litebox
Litebox
meli media
Paris js extensions
Paris js extensions
erwanl
Google App Engine Developer - Day3
Google App Engine Developer - Day3
Simon Su
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovy
Yasuharu Nakano
Full-Stack JavaScript with Node.js
Full-Stack JavaScript with Node.js
Michael Lehmann
Brief intro to clojure
Brief intro to clojure
Roy Rutto
Mongodb Aggregation Pipeline
Mongodb Aggregation Pipeline
zahid-mian
Was ist angesagt?
(20)
Couchdb
Couchdb
20151224-games
20151224-games
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
PuppetCamp SEA @ Blk 71 - Nagios in under 10 mins with Puppet
MongoDB Aggregation
MongoDB Aggregation
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
MongoDB
MongoDB
Mongodb workshop
Mongodb workshop
CGI.pm - 3ло?!
CGI.pm - 3ло?!
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Absolute Beginners Guide to Puppet Through Types - PuppetConf 2014
Absolute Beginners Guide to Puppet Through Types - PuppetConf 2014
Getting Started with MongoDB
Getting Started with MongoDB
Litebox
Litebox
Paris js extensions
Paris js extensions
Google App Engine Developer - Day3
Google App Engine Developer - Day3
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovy
Full-Stack JavaScript with Node.js
Full-Stack JavaScript with Node.js
Brief intro to clojure
Brief intro to clojure
Mongodb Aggregation Pipeline
Mongodb Aggregation Pipeline
Andere mochten auch
NoSQL を Ruby で実践するための n 個の方法
NoSQL を Ruby で実践するための n 個の方法
Tomohiro Nishimura
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB
イマドキのフロントエンドエンジニアの道具箱
イマドキのフロントエンドエンジニアの道具箱
Fumio SAGAWA
MongoDBを用いたソーシャルアプリのログ解析 〜解析基盤構築からフロントUIまで、MongoDBを最大限に活用する〜
MongoDBを用いたソーシャルアプリのログ解析 〜解析基盤構築からフロントUIまで、MongoDBを最大限に活用する〜
Takahiro Inoue
MongoDBを使用したモバイルゲーム開発
MongoDBを使用したモバイルゲーム開発
Genki Yamada
MongoDB全機能解説1
MongoDB全機能解説1
Takahiro Inoue
Andere mochten auch
(6)
NoSQL を Ruby で実践するための n 個の方法
NoSQL を Ruby で実践するための n 個の方法
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
イマドキのフロントエンドエンジニアの道具箱
イマドキのフロントエンドエンジニアの道具箱
MongoDBを用いたソーシャルアプリのログ解析 〜解析基盤構築からフロントUIまで、MongoDBを最大限に活用する〜
MongoDBを用いたソーシャルアプリのログ解析 〜解析基盤構築からフロントUIまで、MongoDBを最大限に活用する〜
MongoDBを使用したモバイルゲーム開発
MongoDBを使用したモバイルゲーム開発
MongoDB全機能解説1
MongoDB全機能解説1
Ähnlich wie PostgreSQLからMongoDBへ
MongoDB, PHP and the cloud - php cloud summit 2011
MongoDB, PHP and the cloud - php cloud summit 2011
Steven Francia
NOSQL101, Or: How I Learned To Stop Worrying And Love The Mongo!
NOSQL101, Or: How I Learned To Stop Worrying And Love The Mongo!
Daniel Cousineau
Latinoware
Latinoware
kchodorow
MongoDB at ZPUGDC
MongoDB at ZPUGDC
Mike Dirolf
Whats new in mongoDB 2.4 at Copenhagen user group 2013-06-19
Whats new in mongoDB 2.4 at Copenhagen user group 2013-06-19
Henrik Ingo
Building Apps with MongoDB
Building Apps with MongoDB
Nate Abele
Webinar: General Technical Overview of MongoDB for Dev Teams
Webinar: General Technical Overview of MongoDB for Dev Teams
MongoDB
Social Data and Log Analysis Using MongoDB
Social Data and Log Analysis Using MongoDB
Takahiro Inoue
Mongodb intro
Mongodb intro
christkv
MongoDB at RuPy
MongoDB at RuPy
Mike Dirolf
Marc s01 e02-crud-database
Marc s01 e02-crud-database
MongoDB
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion ...
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion ...
MongoDB
How to use MongoDB with CakePHP
How to use MongoDB with CakePHP
ichikaway
Building Your First MongoDB Application
Building Your First MongoDB Application
Tugdual Grall
San Francisco Java User Group
San Francisco Java User Group
kchodorow
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Alex Nguyen
Dev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDB
MongoDB
Back to Basics, webinar 2: La tua prima applicazione MongoDB
Back to Basics, webinar 2: La tua prima applicazione MongoDB
MongoDB
Webscale PostgreSQL - JSONB and Horizontal Scaling Strategies
Webscale PostgreSQL - JSONB and Horizontal Scaling Strategies
Jonathan Katz
Conceptos básicos. Seminario web 4: Indexación avanzada, índices de texto y g...
Conceptos básicos. Seminario web 4: Indexación avanzada, índices de texto y g...
MongoDB
Ähnlich wie PostgreSQLからMongoDBへ
(20)
MongoDB, PHP and the cloud - php cloud summit 2011
MongoDB, PHP and the cloud - php cloud summit 2011
NOSQL101, Or: How I Learned To Stop Worrying And Love The Mongo!
NOSQL101, Or: How I Learned To Stop Worrying And Love The Mongo!
Latinoware
Latinoware
MongoDB at ZPUGDC
MongoDB at ZPUGDC
Whats new in mongoDB 2.4 at Copenhagen user group 2013-06-19
Whats new in mongoDB 2.4 at Copenhagen user group 2013-06-19
Building Apps with MongoDB
Building Apps with MongoDB
Webinar: General Technical Overview of MongoDB for Dev Teams
Webinar: General Technical Overview of MongoDB for Dev Teams
Social Data and Log Analysis Using MongoDB
Social Data and Log Analysis Using MongoDB
Mongodb intro
Mongodb intro
MongoDB at RuPy
MongoDB at RuPy
Marc s01 e02-crud-database
Marc s01 e02-crud-database
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion ...
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion ...
How to use MongoDB with CakePHP
How to use MongoDB with CakePHP
Building Your First MongoDB Application
Building Your First MongoDB Application
San Francisco Java User Group
San Francisco Java User Group
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Dev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDB
Back to Basics, webinar 2: La tua prima applicazione MongoDB
Back to Basics, webinar 2: La tua prima applicazione MongoDB
Webscale PostgreSQL - JSONB and Horizontal Scaling Strategies
Webscale PostgreSQL - JSONB and Horizontal Scaling Strategies
Conceptos básicos. Seminario web 4: Indexación avanzada, índices de texto y g...
Conceptos básicos. Seminario web 4: Indexación avanzada, índices de texto y g...
Mehr von Basuke Suzuki
CoAP Talk
CoAP Talk
Basuke Suzuki
初めての単体テスト
初めての単体テスト
Basuke Suzuki
Introducing CakeEntity
Introducing CakeEntity
Basuke Suzuki
Introducing CakeEntity
Introducing CakeEntity
Basuke Suzuki
Kiosk / PHP
Kiosk / PHP
Basuke Suzuki
iOS4時代の位置情報サービスの使い方
iOS4時代の位置情報サービスの使い方
Basuke Suzuki
iPhoneのオモチャ箱 - 刊行記念イベント@ジュンク堂新宿 - バスケ
iPhoneのオモチャ箱 - 刊行記念イベント@ジュンク堂新宿 - バスケ
Basuke Suzuki
Mehr von Basuke Suzuki
(7)
CoAP Talk
CoAP Talk
初めての単体テスト
初めての単体テスト
Introducing CakeEntity
Introducing CakeEntity
Introducing CakeEntity
Introducing CakeEntity
Kiosk / PHP
Kiosk / PHP
iOS4時代の位置情報サービスの使い方
iOS4時代の位置情報サービスの使い方
iPhoneのオモチャ箱 - 刊行記念イベント@ジュンク堂新宿 - バスケ
iPhoneのオモチャ箱 - 刊行記念イベント@ジュンク堂新宿 - バスケ
Kürzlich hochgeladen
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Precisely
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
Lars Bell
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
LoriGlavin3
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
BkGupta21
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Kürzlich hochgeladen
(20)
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
PostgreSQLからMongoDBへ
1.
PostgreSQL MongoDB
CTO @basuke
2.
not only but also
3.
4.
http://www.assiston.co.jp/ • •
~1000 • 30~80 PV
5.
• • • • Google
6.
• • • •
7.
MongoDB (
)
8.
9.
•
PostgreSQL 7.4 => 8.1 • PHP 4.3 => 4.4 => 5.1 •
10.
•
MongoDB 1.6.3 • PHP 5.3 • Lithium • •
11.
12.
Lithium •
http://lithify.me/ • 5.3 • CakePHP • MongoDB / CouchDB • ↑ RDB w
13.
PHP
MongoDB • Lithium • pecl mongo •
14.
Item::find('all', array(
'conditions' => array( 'category' => $tag, 'visible' => true, ), 'order' => array( 'position'=>'DESC', 'id' => 'DESC'), ));
15.
$item_collection->find(array(
'category' => $tag, 'visible' => true, )).sort(array( 'position'=>-1, 'id' => -1), ));
16.
•
mongoimport / mongoexport • JSON • JSON • PHP • •
17.
•
mongoimport -d assiston -c items --drop --file items.dump {"no" : 123456, "items" : [{"at" : 1285679232000}}
18.
Mongo Extended JSON •
http://www.mongodb.org/display/DOCS/Mongo +Extended+JSON • $binary, $date, $oid • $date milliseconds • PHP 32bit int
19.
•
• PHP JSON • TIMESTAMP json_encode • '2010-12-10 17:20:21' => 1291969221 • 1291969221 sec => "||date:1291969221000||" • JSON • "||date:1291969221000||" => Date(1291969221000)
20.
•
PHP w • Python OK • pgmongo
21.
1: atomic • •
• •
22.
CREATE TABLE ORDERS
( id SERIAL PRIMARY KEY, total INTEGER NOT NULL, { ... no: integer, ); total: integer, items: [ CREATE TABLE ORDER_ITEMS ( { price: integer, ...}, id SERIAL PRIMARY KEY, ] order_id INTEGER ... REFERS TO ORDERS, } price INTEGER NOT NULL, ... );
23.
2: •
ObjectID • • function(seqname) { return db.sequences.findAndModify({ query:{_id:seqname}, update: {$inc: {val:1}}, upsert: true, 'new': true}).val; } • db.system.js • db.eval("return sequence('abc')")
24.
3: mongo on
github • https://github.com/mongodb/mongo/tree/ master/jstests • MongoDB JavaScript
25.
Thank you. http://basuke.com/
Hinweis der Redaktion
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Jetzt herunterladen