Beruflich Dokumente
Kultur Dokumente
• Users
• Resource
• Data
• Uptime
How does
Hibernate stand?
Node
• Limitations?
Session
2nd level
cache
Session
• SQL optimizations
Session
Node
2nd level
cache
DB
Session
Session
• Conversation Node
Session
2nd level
cache
Session
Session
Changes in mass
• Social network
• SaaS
Problem
Application
Schema
DB
One user per schema
Application
Session Session
Factory Factory
Schema
Schema
DB
Application
Session
Factory
• Rewrite SQL
Schema
Schema
DB
Use database security
• Oracle VPD
• Application defines active user
Storing in
multiple databases
SessionFactory == DB
DB DB
• Memory
• Too many connections
• Slow to start
Specialized nodes
Dispatch per user
DB DB DB DB DB
• Resolution ? ? ?
Physical
Shard 1
Virtual Shards
Application
Physical Physical
Shard 1 Shard 2
Coming Soon
• Static Data
• Full-fledged ShardedQuery
• JPA
Hibernate
Search
Full-text search your
domain objects
• Hibernate + Lucene
• Same programmatic model
• Index synchronized
Human queries
• Data set
• Word centric
• Typos / Synonyms
• Relevance
SQL underperforms
• Wildcard
• Table/Index full scan
• Multiple joins
• Relevance?
DBA
Customer
Full-text search
• http://www.javaworld.com/podcasts/jtech/2008/072408jtech.html
• hibernate.org