Submit Search
Upload
Django Database Optimization
•
Download as ODP, PDF
•
4 likes
•
1,522 views
T
thedjinn
Follow
Talk delivered at Freed.in 2009
Read less
Read more
Technology
Report
Share
Report
Share
1 of 18
Download now
Recommended
Etf股票期貨
Etf股票期貨
Huai Yu Yu
股票期貨講義
股票期貨講義
Huai Yu Yu
Angular js 入門介紹
Angular js 入門介紹
wantingj
雲端系統對爆量的測試與準備 - 以張惠妹秒殺售票為例
雲端系統對爆量的測試與準備 - 以張惠妹秒殺售票為例
KT Chiu
Pinkoi 把手機版網站變好用了
Pinkoi 把手機版網站變好用了
Adam Wang
Javascript征服世界是可能的嗎?
Javascript征服世界是可能的嗎?
Fred Lin
認試軟體測試的世界 & TDD/BDD 入門
認試軟體測試的世界 & TDD/BDD 入門
wantingj
PHP更有效率的除錯 - XDebug
PHP更有效率的除錯 - XDebug
Taien Wang
Recommended
Etf股票期貨
Etf股票期貨
Huai Yu Yu
股票期貨講義
股票期貨講義
Huai Yu Yu
Angular js 入門介紹
Angular js 入門介紹
wantingj
雲端系統對爆量的測試與準備 - 以張惠妹秒殺售票為例
雲端系統對爆量的測試與準備 - 以張惠妹秒殺售票為例
KT Chiu
Pinkoi 把手機版網站變好用了
Pinkoi 把手機版網站變好用了
Adam Wang
Javascript征服世界是可能的嗎?
Javascript征服世界是可能的嗎?
Fred Lin
認試軟體測試的世界 & TDD/BDD 入門
認試軟體測試的世界 & TDD/BDD 入門
wantingj
PHP更有效率的除錯 - XDebug
PHP更有效率的除錯 - XDebug
Taien Wang
Entity Query API
Entity Query API
marcingy
Data Access Tech Ed India
Data Access Tech Ed India
rsnarayanan
Django tech-talk
Django tech-talk
dtdannen
Defense Against the Dark Arts: Protecting Your Data from ORMs
Defense Against the Dark Arts: Protecting Your Data from ORMs
Vanessa Hurst
SQL Server - Introduction to TSQL
SQL Server - Introduction to TSQL
Peter Gfader
Allura - an Open Source MongoDB Based Document Oriented SourceForge
Allura - an Open Source MongoDB Based Document Oriented SourceForge
Rick Copeland
Slick Data Sharding: Slides from DrupalCon London
Slick Data Sharding: Slides from DrupalCon London
Phase2
CA ERwin Data Modeler End User Presentation
CA ERwin Data Modeler End User Presentation
CA RMDM Latam
Unafraid of Change: Optimizing ETL, ML, and AI in Fast-Paced Environments wit...
Unafraid of Change: Optimizing ETL, ML, and AI in Fast-Paced Environments wit...
Databricks
Teradata Aggregate Join Indices And Dimensional Models
Teradata Aggregate Join Indices And Dimensional Models
pepeborja
MongoDb Schema Pattern - Kalpit Pandit.pptx
MongoDb Schema Pattern - Kalpit Pandit.pptx
KalpitPandit1
Compass Framework
Compass Framework
Lukas Vlcek
IT talk SPb "Full text search for lazy guys"
IT talk SPb "Full text search for lazy guys"
DataArt
Jumpstart Django
Jumpstart Django
ryates
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
ArangoDB Database
Azure CosmosDb - Where we are
Azure CosmosDb - Where we are
Marco Parenzan
Good practices for PrestaShop code security and optimization
Good practices for PrestaShop code security and optimization
PrestaShop
Dimensional Modelling Session 2
Dimensional Modelling Session 2
akitda
Multikeyword Hunt on Progressive Graphs
Multikeyword Hunt on Progressive Graphs
IRJET Journal
Cassandra Data Modelling
Cassandra Data Modelling
Knoldus Inc.
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
DianaGray10
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
GDSC PJATK
More Related Content
Similar to Django Database Optimization
Entity Query API
Entity Query API
marcingy
Data Access Tech Ed India
Data Access Tech Ed India
rsnarayanan
Django tech-talk
Django tech-talk
dtdannen
Defense Against the Dark Arts: Protecting Your Data from ORMs
Defense Against the Dark Arts: Protecting Your Data from ORMs
Vanessa Hurst
SQL Server - Introduction to TSQL
SQL Server - Introduction to TSQL
Peter Gfader
Allura - an Open Source MongoDB Based Document Oriented SourceForge
Allura - an Open Source MongoDB Based Document Oriented SourceForge
Rick Copeland
Slick Data Sharding: Slides from DrupalCon London
Slick Data Sharding: Slides from DrupalCon London
Phase2
CA ERwin Data Modeler End User Presentation
CA ERwin Data Modeler End User Presentation
CA RMDM Latam
Unafraid of Change: Optimizing ETL, ML, and AI in Fast-Paced Environments wit...
Unafraid of Change: Optimizing ETL, ML, and AI in Fast-Paced Environments wit...
Databricks
Teradata Aggregate Join Indices And Dimensional Models
Teradata Aggregate Join Indices And Dimensional Models
pepeborja
MongoDb Schema Pattern - Kalpit Pandit.pptx
MongoDb Schema Pattern - Kalpit Pandit.pptx
KalpitPandit1
Compass Framework
Compass Framework
Lukas Vlcek
IT talk SPb "Full text search for lazy guys"
IT talk SPb "Full text search for lazy guys"
DataArt
Jumpstart Django
Jumpstart Django
ryates
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
ArangoDB Database
Azure CosmosDb - Where we are
Azure CosmosDb - Where we are
Marco Parenzan
Good practices for PrestaShop code security and optimization
Good practices for PrestaShop code security and optimization
PrestaShop
Dimensional Modelling Session 2
Dimensional Modelling Session 2
akitda
Multikeyword Hunt on Progressive Graphs
Multikeyword Hunt on Progressive Graphs
IRJET Journal
Cassandra Data Modelling
Cassandra Data Modelling
Knoldus Inc.
Similar to Django Database Optimization
(20)
Entity Query API
Entity Query API
Data Access Tech Ed India
Data Access Tech Ed India
Django tech-talk
Django tech-talk
Defense Against the Dark Arts: Protecting Your Data from ORMs
Defense Against the Dark Arts: Protecting Your Data from ORMs
SQL Server - Introduction to TSQL
SQL Server - Introduction to TSQL
Allura - an Open Source MongoDB Based Document Oriented SourceForge
Allura - an Open Source MongoDB Based Document Oriented SourceForge
Slick Data Sharding: Slides from DrupalCon London
Slick Data Sharding: Slides from DrupalCon London
CA ERwin Data Modeler End User Presentation
CA ERwin Data Modeler End User Presentation
Unafraid of Change: Optimizing ETL, ML, and AI in Fast-Paced Environments wit...
Unafraid of Change: Optimizing ETL, ML, and AI in Fast-Paced Environments wit...
Teradata Aggregate Join Indices And Dimensional Models
Teradata Aggregate Join Indices And Dimensional Models
MongoDb Schema Pattern - Kalpit Pandit.pptx
MongoDb Schema Pattern - Kalpit Pandit.pptx
Compass Framework
Compass Framework
IT talk SPb "Full text search for lazy guys"
IT talk SPb "Full text search for lazy guys"
Jumpstart Django
Jumpstart Django
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
Azure CosmosDb - Where we are
Azure CosmosDb - Where we are
Good practices for PrestaShop code security and optimization
Good practices for PrestaShop code security and optimization
Dimensional Modelling Session 2
Dimensional Modelling Session 2
Multikeyword Hunt on Progressive Graphs
Multikeyword Hunt on Progressive Graphs
Cassandra Data Modelling
Cassandra Data Modelling
Recently uploaded
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
DianaGray10
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
GDSC PJATK
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
Mark Opanasiuk
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
FIDO Alliance
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
Pixlogix Infotech
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
ScyllaDB
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
FIDO Alliance
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Paige Cruz
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
FIDO Alliance
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
FIDO Alliance
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Skynet Technologies
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
FIDO Alliance
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
FIDO Alliance
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Stefan Dietze
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
Hiroshi SHIBATA
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
Lorenzo Miniero
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
FIDO Alliance
Recently uploaded
(20)
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
Django Database Optimization
1.
2.
3.
4.
Development cycle with
databases Migraine Designing schema Programming business logic Adding fixtures
5.
With Django Code
on diet Model Templates View Model serves as one point place for data schema and business logic Url patterns
6.
Understanding Django application
stack Server Database Layer User Interface Business Logic Common Storage
7.
Problem with the
stack Tightly coupled
8.
9.
10.
11.
Class Pizza(models.Model): pizza_type
= models.CharField(choices=(('ch','chicken'), ('pr':'pepperoni'),) crust_type = models.CharField(choices=(('hr','hard'), ('fil', 'filled'),) topping_type = models.CharField(choices=(('fr', 'farm fresh veggies', ('hu','hunk of meat'),) date_of_order = models.DateTimeField(primary_key=true) Class Pizza(models.Model): pizza_type = models.CharField() crust_type = models.CharField() topping_type = models.CharField() date_of_order = models.CharField() Wrong Right
12.
Debug the queries
http://github.com/robhudson/django-debug-toolbar/tree/master
13.
14.
15.
16.
17.
Example of sharding
http://www.eflorenzano.com/blog/tag/database-sharding/
18.
Download now