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.
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
alexjohnson7307
Working together SRE & Platform Engineering
Working together SRE & Platform Engineering
Marcus Vechiato
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
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
alexjohnson7307
Working together SRE & Platform Engineering
Working together SRE & Platform Engineering
Marcus Vechiato
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
中 央社
The Metaverse: Are We There Yet?
The Metaverse: Are We There Yet?
Mark Billinghurst
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
BrainSell Technologies
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
IES VE
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
FIDO Alliance
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
GDSC PJATK
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
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
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
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
ScyllaDB
2024 May Patch Tuesday
2024 May Patch Tuesday
Ivanti
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
FIDO Alliance
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
FIDO Alliance
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
FIDO Alliance
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
Paolo Missier
Recently uploaded
(20)
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
Working together SRE & Platform Engineering
Working together SRE & Platform Engineering
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
The Metaverse: Are We There Yet?
The Metaverse: Are We There Yet?
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
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
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...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
2024 May Patch Tuesday
2024 May Patch Tuesday
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
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