Do not manually shard your DB

While striving for maximum DB scalability, many people are tempted by the allures of DB sharding.

While DB sharding may help scale out your DB system, there are some real dis-advantages of this approach:

  • Instead of managing a single DB, you are now managing many independent databases
  • Someone, usually the application developers, needs to design and develop [or re-write] their applications to use a sharded DB
  • If your DB is relational, instead of being able to use SQL to do complex joins, you are usually limited to a sub-set of SQL and often can only do operations on the local shard or need to provide a extra parameter like a shard key to a SQL where clause
  • If your DB is non relational [eg a key value store], often you need to 'de-normalize' your data model to work around the fact that you cannot do joins. De-normalizing usually has the downside of requiring redundant data. The bigger your database, the more bloat that this redundant data causes. This redundant data costs you in terms of disk, memory and CPU. While these resources may be considered 'cheap', they are not free.

Is there a better way? What if you could achieve the scaling benefits of DB sharding without the limitations?

We designed Oracle TimesTen Velocity Scale In-Memory Database to provide the benefits of sharding without the disadvantages.

Check out Oracle TimesTen Velocity Scale In-Memory Database at OOW 2017.

Disclaimer: these are my personal thoughts and do not represent Oracle's official viewpoint in any way, shape, or form.

要查看或添加评论,请登录

Douglas Hood的更多文章

  • Vectors for Oracle AI Vector Search

    Vectors for Oracle AI Vector Search

    Introduction Oracle AI Vector Search offers extensive support for a wide range of vector embedding models…

    14 条评论
  • Overview of TimesTen XE SQL

    Overview of TimesTen XE SQL

    An overview of #sql and #plsql on #TimesTenXE The #fastest #database is #free https://blogs.oracle.

  • How to create a database on TimesTen XE

    How to create a database on TimesTen XE

    The fastest #sql and #plsql #database is #free Learn how to create a database on TimesTen XE Disclaimer: These are my…

  • TimesTen XE SQL Profiles - part 2

    TimesTen XE SQL Profiles - part 2

    Manage your database password policy with SQL. Use the fastest SQL database for free.

  • TimesTen XE SQL = free

    TimesTen XE SQL = free

    Try the #fastest #sql #database for #free Get an overview of SQL in TimesTen XE #cloudnative #kubernetes #aws #azure…

  • TimesTen now supports Python and Node.js

    TimesTen now supports Python and Node.js

    Oracle TimesTen 18.1.

    5 条评论
  • OOW19: eBay SQL performance

    OOW19: eBay SQL performance

    How does eBay: Serve billions of #SQL requests/day Enable high availability Minimize latency Come to #OOW19 so they can…

  • OOW19: T-Mobile and Siebel

    OOW19: T-Mobile and Siebel

    How do you: Use SQL to get faster access to your Oracle Siebel customer data Provide high availability and better…

  • SQL Data Caching at #OOW19

    SQL Data Caching at #OOW19

    Learn how eBay and T-Mobile use SQL caching for: #lowerlatency #scalability #highavailability #SQL #joins…

  • SQL Data Caching with Joins

    SQL Data Caching with Joins

    SQL ResultSet caching is easy and fairly useless. How do you do SQL Data Caching with: Billions of rows of data…

    4 条评论

社区洞察

其他会员也浏览了