3、阅读以下文章,回答一下问题:

3.1、什么是数据库分片技术?

3.2、数据库分片的好处有哪些?

3.3、Oracle 数据库分片技术比NoSQL的分片有哪些优势?

Overview of Oracle Sharding

Become familiar with the concepts related to managing a sharded database with Oracle Sharding.

Oracle Sharding terminology, concepts, and benefits are described in the following topics:

Benefits of Sharding

Sharding provides linear scalability and complete fault isolation for the most demanding OLTP applications.

Components of the Oracle Sharding Architecture

Oracle Sharding is a scalability and availability feature for suitable OLTP applications.

Application Suitability for Sharding

Oracle Sharding is for OLTP applications that are suitable for a sharded database.

About Sharding

Sharding is a data tier architecture in which data is horizontally partitioned across independent

databases.Each database is hosted on dedicated server with its own local resources - CPU, memory, flash,

or disk. Horizontal partitioning involves splitting a database table across shards so that each shard

contains the table with the same columns but a different subset of rows. A table split up in this manner

is also known as a sharded table.

Sharding is based on shared-nothing hardware infrastructure and it eliminates single points of failure

because shards do not share physical resources such as CPU, memory, or storage devices. Shards are also

loosely coupled in terms of software; they do not run clusterware.

Shards are typically hosted on dedicated servers. These servers can be commodity hardware or engineered

systems. The shards can run on single instance or Oracle RAC databases. They can be placed on-premises,

in a cloud, or in a hybrid on-premises and cloud configuration.

From the perspective of a database administrator, an SDB consists of multiple databases that can be

managed either collectively or individually. However, from the perspective of the application, an SDB

looks like a single database: the number of shards and distribution of data across those shards are

completely transparent to database applications.

Sharding is intended for custom OLTP applications that are suitable for a sharded database architecture.

Applications that use sharding must have a well-defined data model and data distribution strategy

(consistent hash, range, list, or composite) that primarily accesses data using a sharding key.

Examples of a sharding key include customer_id, account_no, or country_id.

Benefits of Sharding

Sharding provides linear scalability and complete fault isolation for the most demanding OLTP

applications.

Key benefits of sharding include:

Linear Scalability.

Sharding eliminates performance bottlenecks and makes it possible to linearly scale performance

and capacity by adding shards.

Fault Containment.

Sharding is a shared nothing hardware infrastructure that eliminates single points of failure,

such as shared disk, SAN, and clusterware, and provides strong fault isolation—the failure or

slow-down of one shard does not affect the performance or availability of other shards.

Geographical Distribution of Data.

Sharding makes it possible to store particular data close to its consumers and satisfy regulatory

requirements when data must be located in a particular jurisdiction.

Rolling Upgrades.

Applying configuration changes on one shard at a time does not affect other shards, and allows

administrators to first test the changes on a small subset of data.

Simplicity of Cloud Deployment.

Sharding is well suited to deployment in the cloud. Shards may be sized as required to accommodate

whatever cloud infrastructure is available and still achieve required service levels. Oracle Sharding

supports on-premises, cloud, and hybrid deployment models.

Unlike NoSQL data stores that implement sharding, Oracle Sharding provides the benefits of sharding

without sacrificing the capabilities of an enterprise RDBMS. For example, Oracle Sharding supports:

Relational schemas

Database partitioning

ACID properties and read consistency

SQL and other programmatic interfaces

Complex data types

Online schema changes

Multi-core scalability

Advanced security

Compression

High Availability features

Enterprise-scale backup and recovery

oracle分片键,数据库SQL语句及性能优化相关推荐

  1. 爆肝,52条SQL语句,性能优化,干货必收藏 !

    作者 | SimpleWu 来源 | cnblogs.com/SimpleWu/p/9929043.html SQL语句性能优化 1, 对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 ...

  2. oracle 查看用户日志,Oracle查看用户操作sql语句以及数据库日志

    --查看日志文件 select member from v$logfile; --查看表空间使用情况 SELECT SUM(bytes) / (1024 * 1024) AS free_space, ...

  3. oracle insert汉字出错,Oracle数据库之Oracle批量插入数据SQL语句太长出错:无效的主机/绑定变量名...

    本文主要向大家介绍了Oracle数据库之Oracle批量插入数据SQL语句太长出错:无效的主机/绑定变量名,通过具体的内容向大家展现,希望对大家学习Oracle数据库有所帮助. Oracle数据库,用 ...

  4. oracle数据库----SQL语句的实践(应用实例)

    oracle数据库----SQL语句的实践(应用实例) 创建表工资表salary,包括员工号emp_id,员工名emp_name,员工月基本工资monthsal,员工月总发工资totalsal. cr ...

  5. Oracle数据库SQL语句(四)—子查询(嵌套查询)

    Oracle数据库SQL语句(四) 子查询(嵌套查询) 1.单行子查询 SELECT * FROM stuWHERE ID > (SELECT ID FROM stu WHERE NAME =' ...

  6. oracle 带有变量的语句_【成都校区】Oracle SQL语句之常见优化方法总结

    本帖出自于黑马程序员成都中心,更多资源可关注微信公众号 1.SQL语句尽量用大写的: 因为oracle总是先解析SQL语句,把小写的字母转换成大写的再执行. 2.使用表的别名: 当在SQL语句中连接多 ...

  7. oracle将千万行查询优化到一秒内,oracle下一条SQL语句的优化过程(比较详细)

    oracle下一条SQL语句的优化过程(比较详细) 更新时间:2010年04月14日 23:56:49   作者: 很简单的一次调整,语句加了适当的索引后性能就有大幅的提升.当时看到这条语句的时候,第 ...

  8. oracle笔记一(sql语句方面)

    oracle笔记一(sql语句方面) 一.sql语句 --================================================ 1.增加主键    alter table ...

  9. oracle 最近的sql语句,oracle最近执行的sql语句

    oracle最近执行的sql语句 2017-01-13 oracle 查询最近执行过的 SQL语句 1.修改日期显示格式 alter session set nls_date_format='YYYY ...

最新文章

  1. 如何解决动态查询语句太长,大于数据库字符的最大长度
  2. MySQL:行锁、表锁、乐观锁、悲观锁、读锁、写锁
  3. JS性能分析(测试代码运行时间)
  4. 【微学堂】线上Linux服务器运维安全策略经验分享
  5. Linux下手动挂载新增磁盘
  6. xp系统从u盘启动计算机,手把手教你u盘安装XP系统步骤
  7. 中兴f477v2超级管理员_中兴本机电信光猫超级密码获取-中兴F412/F460/F612/F660超级密码获取下载V1.0最新版-西西软件下载...
  8. R语言:三线表(3.生存分析三线表)
  9. java APP支付宝支付
  10. keepalived实现服务高可用
  11. 捣鼓PlantUML(一、环境)
  12. anaconda linux环境变量,配置anaconda环境(linux)
  13. SQL Server DBCC
  14. Mac VMware Fusion提示物理内存不足
  15. 鸿蒙应用分身,应用分身怎么设置?按照这个步骤操作,分分钟即可搞定它
  16. java往字符串数组追加新数据
  17. 招聘应届毕业生的经验
  18. draw.io插件在vscode中一体化导出高质量图片
  19. 用r语言画出y = ax^2 + bx + c,R语言中如何使用最小二乘法
  20. 回文联对联大全_回文联大全,有趣回文对联大全

热门文章

  1. boost::multiprecision模块cpp_complex相关的测试程序
  2. boost::mpl模块实现comparison相关的测试程序
  3. boost::geometry::coordinate_type用法的测试程序
  4. GDCM:gdcm::String的测试程序
  5. Boost:字符串转换实例
  6. VTK:Qt之BarChartQt
  7. VTK:PolyData之ImplicitPolyDataDistance
  8. VTK:图表之VertexSize
  9. VTK:几何对象之OpenVRCube
  10. OpenCV计算时刻calculate moments的实例(附完整代码)