SlideShare uma empresa Scribd logo
1 de 52
MySQL High Availability & Drupal
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
Lies, Damn Lies, and Statistics ,[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object]
Adding Disk Based Storage ,[object Object],[object Object],[object Object],[object Object]
Creating A Table to using Disk based Storage ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
Pulling Traffic to the Cluster ,[object Object],[object Object],[object Object],[object Object]
My Test Cluster ,[object Object],[object Object],[object Object],[object Object]
Drupal on MySQL Cluster ,[object Object],[object Object],[object Object],[object Object]
Devel module ,[object Object],[object Object],[object Object],[object Object],[object Object]
Devel module(2) ,[object Object],[object Object]
Drupal.org Database ,[object Object],[object Object],[object Object],[object Object]
Drupal.org Database
Drupal.org Node_revisions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Drupal.org Node_revisions(2) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Drupal.org Node_revisions(3) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Drupal.org search_index ,[object Object],[object Object],[object Object],[object Object],[object Object]
Drupal.org search_index(2) ndb_desc -d ddisk search_index -- search_index -- Version: 16777218 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 7 Number of primary keys: 1 Length of frm data: 371 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes --  word Varchar(150;utf8_bin) NOT NULL AT=SHORT_VAR ST=MEMORY sid Unsigned NOT NULL AT=FIXED ST=MEMORY type Varchar(48;utf8_bin) NULL AT=SHORT_VAR ST=MEMORY fromsid Unsigned NOT NULL AT=FIXED ST=MEMORY fromtype Varchar(48;utf8_bin) NULL AT=SHORT_VAR ST=MEMORY score Float NULL AT=FIXED ST=DISK $PK Bigunsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes --  PRIMARY KEY($PK) - UniqueHashIndex from_sid_type(fromsid, fromtype) - OrderedIndex word(word) - OrderedIndex sid_type(sid, type) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org comments -- comments -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 16 Number of primary keys: 1 Length of frm data: 590 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- cid Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY pid Int NOT NULL AT=FIXED ST=DISK nid Int NOT NULL AT=FIXED ST=MEMORY uid Int NOT NULL AT=FIXED ST=MEMORY subject Varchar(192;utf8_general_ci) NOT NULL AT=FIXED ST=DISK comment Text(256,8000;4;utf8_general_ci) NULL AT=FIXED ST=MEMORY hostname Longvarchar(384;utf8_general_ci) NOT NULL AT=FIXED ST=DISK timestamp Int NOT NULL AT=FIXED ST=MEMORY score Mediumint NOT NULL AT=FIXED ST=DISK status Tinyunsigned NOT NULL AT=FIXED ST=MEMORY users Text(256,8000;4;utf8_general_ci) NULL AT=FIXED ST=MEMORY thread Longvarchar(765;utf8_general_ci) NOT NULL AT=FIXED ST=DISK name Varchar(180;utf8_general_ci) NULL AT=FIXED ST=DISK mail Varchar(192;utf8_general_ci) NULL AT=FIXED ST=DISK homepage Longvarchar(765;utf8_general_ci) NULL AT=FIXED ST=DISK format Int NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(cid) - UniqueHashIndex tracker_global(status, timestamp) - OrderedIndex tracker_user(uid, status, timestamp) - OrderedIndex lid(nid) - OrderedIndex PRIMARY(cid) - OrderedIndex timestamp(timestamp) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org cache_filter -- cache_filter -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 6 Number of primary keys: 1 Length of frm data: 355 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- cid Longvarchar(765;utf8_general_ci) PRIMARY KEY DISTRIBUTION KEY AT=MEDIUM_VAR ST=MEMORY data Blob(256,7256;4) NULL AT=FIXED ST=MEMORY expire Int NOT NULL AT=FIXED ST=MEMORY created Int NOT NULL AT=FIXED ST=DISK headers Text(256,2000;16;utf8_general_ci) NULL AT=FIXED ST=MEMORY serialized Int NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(cid) - UniqueHashIndex PRIMARY(cid) - OrderedIndex expire(expire) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org project_usage_day -- project_usage_day -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 5 Number of primary keys: 3 Length of frm data: 313 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- timestamp Unsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY site_key Varchar(96;utf8_general_ci) PRIMARY KEY DISTRIBUTION KEY AT=SHORT_VAR ST=MEMORY pid Unsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY nid Unsigned NOT NULL AT=FIXED ST=DISK tid Unsigned NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(timestamp, site_key, pid) - UniqueHashIndex PRIMARY(timestamp, site_key, pid) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org search_dataset -- search_dataset -- Version: 16777217 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 4 Number of primary keys: 1 Length of frm data: 285 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes --  sid Unsigned NOT NULL AT=FIXED ST=MEMORY type Varchar(48;utf8_general_ci) NULL AT=SHORT_VAR ST=MEMORY data Text(256,8000;4;utf8_general_ci) NOT NULL AT=FIXED ST=MEMORY $PK Bigunsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes --  PRIMARY KEY($PK) - UniqueHashIndex sid_type(sid, type) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org project_subscription -- project_subscriptions -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 4 Number of primary keys: 1 Length of frm data: 298 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- nid Unsigned NOT NULL AT=FIXED ST=MEMORY uid Unsigned NOT NULL AT=FIXED ST=MEMORY level Tinyunsigned NOT NULL AT=FIXED ST=MEMORY $PK Bigunsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY($PK) - UniqueHashIndex project_subscriptions_nid_uid_level(nid, uid, level) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org accesslog -- accesslog -- Version: 2 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 9 Number of primary keys: 1 Length of frm data: 413 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- aid Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY title Longvarchar(765;utf8_general_ci) NULL AT=FIXED ST=DISK path Longvarchar(765;utf8_general_ci) NULL AT=FIXED ST=DISK url Longvarchar(765;utf8_general_ci) NULL AT=FIXED ST=DISK hostname Longvarchar(384;utf8_general_ci) NULL AT=FIXED ST=DISK uid Unsigned NULL AT=FIXED ST=DISK timestamp Unsigned NOT NULL AT=FIXED ST=MEMORY timer Unsigned NOT NULL AT=FIXED ST=DISK sid Varchar(192;utf8_general_ci) NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(aid) - UniqueHashIndex PRIMARY(aid) - OrderedIndex accesslog_timestamp(timestamp) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org node -- node -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 12 Number of primary keys: 2 Length of frm data: 625 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- nid Unsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY type Varchar(96;utf8_general_ci) NOT NULL AT=SHORT_VAR ST=MEMORY title Longvarchar(384;utf8_general_ci) NOT NULL AT=MEDIUM_VAR ST=MEMORY uid Int NOT NULL AT=FIXED ST=MEMORY status Int NOT NULL AT=FIXED ST=MEMORY created Int NOT NULL AT=FIXED ST=MEMORY comment Int NOT NULL AT=FIXED ST=DISK promote Int NOT NULL AT=FIXED ST=MEMORY moderate Int NOT NULL AT=FIXED ST=MEMORY changed Int NOT NULL AT=FIXED ST=MEMORY sticky Int NOT NULL AT=FIXED ST=DISK vid Unsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY(nid, vid) - UniqueHashIndex vid(vid) - OrderedIndex vid$unique(vid) - UniqueHashIndex node_created(created) - OrderedIndex node_changed(changed) - OrderedIndex node_promote_status(promote, status) - OrderedIndex node_moderate(moderate) - OrderedIndex uid(uid) - OrderedIndex PRIMARY(nid, vid) - OrderedIndex tracker_user(uid, status, changed) - OrderedIndex tracker_global(status, changed) - OrderedIndex node_status_type_uid(status, type, nid, uid) - OrderedIndex node_type(type) - OrderedIndex node_status_type(status, type, nid) - OrderedIndex nid(nid) - OrderedIndex node_title_type(title, type) - OrderedIndex
Drupal.org cache_menu -- cache_menu -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 6 Number of primary keys: 1 Length of frm data: 355 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- cid Longvarchar(765;utf8_general_ci) PRIMARY KEY DISTRIBUTION KEY AT=MEDIUM_VAR ST=MEMORY data Blob(256,7256;4) NULL AT=FIXED ST=MEMORY expire Int NOT NULL AT=FIXED ST=MEMORY created Int NOT NULL AT=FIXED ST=DISK headers Text(256,2000;16;utf8_general_ci) NULL AT=FIXED ST=MEMORY serialized Int NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(cid) - UniqueHashIndex PRIMARY(cid) - OrderedIndex expire(expire) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org history Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 3 Number of primary keys: 2 Length of frm data: 283 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- uid Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY nid Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY timestamp Int NOT NULL AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY(uid, nid) - UniqueHashIndex timestamp(timestamp) - OrderedIndex PRIMARY(uid, nid) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org search_index(2) ndb_desc -d ddisk search_index -- search_index -- Version: 16777218 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 7 Number of primary keys: 1 Length of frm data: 371 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes --  word Varchar(150;utf8_bin) NOT NULL AT=SHORT_VAR ST=MEMORY sid Unsigned NOT NULL AT=FIXED ST=MEMORY type Varchar(48;utf8_bin) NULL AT=SHORT_VAR ST=MEMORY fromsid Unsigned NOT NULL AT=FIXED ST=MEMORY fromtype Varchar(48;utf8_bin) NULL AT=SHORT_VAR ST=MEMORY score Float NULL AT=FIXED ST=DISK $PK Bigunsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes --  PRIMARY KEY($PK) - UniqueHashIndex from_sid_type(fromsid, fromtype) - OrderedIndex word(word) - OrderedIndex sid_type(sid, type) - OrderedIndex NDBT_ProgramExit: 0 - OK
Drupal.org Conclusions ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object]
 
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
``` Kris  Buytaert  <Kris.Buytaert@inuits.be> Further Reading http://www.krisbuytaert.be/blog/ Contact :

Mais conteúdo relacionado

Mais procurados

Distribute Key Value Store
Distribute Key Value StoreDistribute Key Value Store
Distribute Key Value Store
Santal Li
 
TokuDB internals / Лесин Владислав (Percona)
TokuDB internals / Лесин Владислав (Percona)TokuDB internals / Лесин Владислав (Percona)
TokuDB internals / Лесин Владислав (Percona)
Ontico
 

Mais procurados (20)

Cephfs jewel mds performance benchmark
Cephfs jewel mds performance benchmarkCephfs jewel mds performance benchmark
Cephfs jewel mds performance benchmark
 
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2HIGH AVAILABLE CLUSTER IN WEB SERVER WITH  HEARTBEAT + DRBD + OCFS2
HIGH AVAILABLE CLUSTER IN WEB SERVER WITH HEARTBEAT + DRBD + OCFS2
 
Community Update at OpenStack Summit Boston
Community Update at OpenStack Summit BostonCommunity Update at OpenStack Summit Boston
Community Update at OpenStack Summit Boston
 
Ceph and RocksDB
Ceph and RocksDBCeph and RocksDB
Ceph and RocksDB
 
Gluster Storage
Gluster StorageGluster Storage
Gluster Storage
 
XSKY - ceph luminous update
XSKY - ceph luminous updateXSKY - ceph luminous update
XSKY - ceph luminous update
 
Tiering barcelona
Tiering barcelonaTiering barcelona
Tiering barcelona
 
Apache Cassandra multi-datacenter essentials
Apache Cassandra multi-datacenter essentialsApache Cassandra multi-datacenter essentials
Apache Cassandra multi-datacenter essentials
 
Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )
 
Glusterfs for sysadmins-justin_clift
Glusterfs for sysadmins-justin_cliftGlusterfs for sysadmins-justin_clift
Glusterfs for sysadmins-justin_clift
 
Distribute Key Value Store
Distribute Key Value StoreDistribute Key Value Store
Distribute Key Value Store
 
Introduction to DRBD
Introduction to DRBDIntroduction to DRBD
Introduction to DRBD
 
Gluster for sysadmins
Gluster for sysadminsGluster for sysadmins
Gluster for sysadmins
 
Red Hat Gluster Storage - Direction, Roadmap and Use-Cases
Red Hat Gluster Storage - Direction, Roadmap and Use-CasesRed Hat Gluster Storage - Direction, Roadmap and Use-Cases
Red Hat Gluster Storage - Direction, Roadmap and Use-Cases
 
Cassandra multi-datacenter operations essentials
Cassandra multi-datacenter operations essentialsCassandra multi-datacenter operations essentials
Cassandra multi-datacenter operations essentials
 
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSEUnderstanding blue store, Ceph's new storage backend - Tim Serong, SUSE
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
 
M|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write PathsM|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write Paths
 
Gluster Data Tiering
Gluster Data TieringGluster Data Tiering
Gluster Data Tiering
 
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
 
TokuDB internals / Лесин Владислав (Percona)
TokuDB internals / Лесин Владислав (Percona)TokuDB internals / Лесин Владислав (Percona)
TokuDB internals / Лесин Владислав (Percona)
 

Semelhante a Drupal MySQL Cluster

MySQL cluster 72 in the Cloud
MySQL cluster 72 in the CloudMySQL cluster 72 in the Cloud
MySQL cluster 72 in the Cloud
Marco Tusa
 

Semelhante a Drupal MySQL Cluster (20)

MySQL HA
MySQL HAMySQL HA
MySQL HA
 
MySQL Cluster Basics
MySQL Cluster BasicsMySQL Cluster Basics
MySQL Cluster Basics
 
MySQL cluster 72 in the Cloud
MySQL cluster 72 in the CloudMySQL cluster 72 in the Cloud
MySQL cluster 72 in the Cloud
 
Caching and tuning fun for high scalability
Caching and tuning fun for high scalabilityCaching and tuning fun for high scalability
Caching and tuning fun for high scalability
 
My SQL Portal Database (Cluster)
My SQL Portal Database (Cluster)My SQL Portal Database (Cluster)
My SQL Portal Database (Cluster)
 
SequoiaDB Distributed Relational Database
SequoiaDB Distributed Relational DatabaseSequoiaDB Distributed Relational Database
SequoiaDB Distributed Relational Database
 
phptek13 - Caching and tuning fun tutorial
phptek13 - Caching and tuning fun tutorialphptek13 - Caching and tuning fun tutorial
phptek13 - Caching and tuning fun tutorial
 
7 Reasons Not to Put an External Cache in Front of Your Database.pptx
7 Reasons Not to Put an External Cache in Front of Your Database.pptx7 Reasons Not to Put an External Cache in Front of Your Database.pptx
7 Reasons Not to Put an External Cache in Front of Your Database.pptx
 
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
 
Linux kernel debugging
Linux kernel debuggingLinux kernel debugging
Linux kernel debugging
 
WiredTiger In-Memory vs WiredTiger B-Tree
WiredTiger In-Memory vs WiredTiger B-TreeWiredTiger In-Memory vs WiredTiger B-Tree
WiredTiger In-Memory vs WiredTiger B-Tree
 
Barcamp MySQL
Barcamp MySQLBarcamp MySQL
Barcamp MySQL
 
Scylla Summit 2018: The Short and Straight Road That Leads from Cassandra to ...
Scylla Summit 2018: The Short and Straight Road That Leads from Cassandra to ...Scylla Summit 2018: The Short and Straight Road That Leads from Cassandra to ...
Scylla Summit 2018: The Short and Straight Road That Leads from Cassandra to ...
 
Apache Cassandra at Macys
Apache Cassandra at MacysApache Cassandra at Macys
Apache Cassandra at Macys
 
23 October 2013 - AWS 201 - A Walk through the AWS Cloud: Introduction to Ama...
23 October 2013 - AWS 201 - A Walk through the AWS Cloud: Introduction to Ama...23 October 2013 - AWS 201 - A Walk through the AWS Cloud: Introduction to Ama...
23 October 2013 - AWS 201 - A Walk through the AWS Cloud: Introduction to Ama...
 
2013 london advanced-replication
2013 london advanced-replication2013 london advanced-replication
2013 london advanced-replication
 
Exploiting Your File System to Build Robust & Efficient Workflows
Exploiting Your File System to Build Robust & Efficient WorkflowsExploiting Your File System to Build Robust & Efficient Workflows
Exploiting Your File System to Build Robust & Efficient Workflows
 
Lecture 2 part 1
Lecture 2 part 1Lecture 2 part 1
Lecture 2 part 1
 
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
MySQL Cluster Performance Tuning - 2013 MySQL User ConferenceMySQL Cluster Performance Tuning - 2013 MySQL User Conference
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
 
Handout3o
Handout3oHandout3o
Handout3o
 

Mais de Kris Buytaert

Mais de Kris Buytaert (20)

Years of (not) learning , from devops to devoops
Years of (not) learning , from devops to devoopsYears of (not) learning , from devops to devoops
Years of (not) learning , from devops to devoops
 
Observability will not fix your Broken Monitoring ,Ignite
Observability will not fix your Broken Monitoring ,IgniteObservability will not fix your Broken Monitoring ,Ignite
Observability will not fix your Broken Monitoring ,Ignite
 
Infrastructure as Code Patterns
Infrastructure as Code PatternsInfrastructure as Code Patterns
Infrastructure as Code Patterns
 
From devoops to devops 13 years of (not) learning
From devoops to devops 13 years of (not) learningFrom devoops to devops 13 years of (not) learning
From devoops to devops 13 years of (not) learning
 
Pipeline all the Dashboards as Code
Pipeline all the Dashboards as CodePipeline all the Dashboards as Code
Pipeline all the Dashboards as Code
 
Help , My Datacenter is on fire
Help , My Datacenter is on fireHelp , My Datacenter is on fire
Help , My Datacenter is on fire
 
GitOps , done Right
GitOps , done RightGitOps , done Right
GitOps , done Right
 
Devops is Dead, Long live Devops
Devops is Dead, Long live DevopsDevops is Dead, Long live Devops
Devops is Dead, Long live Devops
 
10 years of #devopsdays, but what have we really learned ?
10 years of #devopsdays, but what have we really learned ? 10 years of #devopsdays, but what have we really learned ?
10 years of #devopsdays, but what have we really learned ?
 
Continuous Infrastructure First
Continuous Infrastructure FirstContinuous Infrastructure First
Continuous Infrastructure First
 
Is there a Future for devops ?
Is there a Future for devops   ? Is there a Future for devops   ?
Is there a Future for devops ?
 
10 Years of #devopsdays weirdness
10 Years of #devopsdays weirdness10 Years of #devopsdays weirdness
10 Years of #devopsdays weirdness
 
ADDO 2019: Looking back at over 10 years of Devops
ADDO 2019:    Looking back at over 10 years of DevopsADDO 2019:    Looking back at over 10 years of Devops
ADDO 2019: Looking back at over 10 years of Devops
 
Can we fix dev-oops ?
Can we fix dev-oops ?Can we fix dev-oops ?
Can we fix dev-oops ?
 
Continuous Infrastructure First Ignite Edition
Continuous Infrastructure First  Ignite EditionContinuous Infrastructure First  Ignite Edition
Continuous Infrastructure First Ignite Edition
 
Continuous Infrastructure First
Continuous Infrastructure FirstContinuous Infrastructure First
Continuous Infrastructure First
 
Open Source Monitoring in 2019
Open Source Monitoring in 2019 Open Source Monitoring in 2019
Open Source Monitoring in 2019
 
Migrating to Puppet 5
Migrating to Puppet 5Migrating to Puppet 5
Migrating to Puppet 5
 
Repositories as Code
Repositories as CodeRepositories as Code
Repositories as Code
 
Devops is a Security Requirement
Devops is a Security RequirementDevops is a Security Requirement
Devops is a Security Requirement
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Drupal MySQL Cluster

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33. Drupal.org search_index(2) ndb_desc -d ddisk search_index -- search_index -- Version: 16777218 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 7 Number of primary keys: 1 Length of frm data: 371 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- word Varchar(150;utf8_bin) NOT NULL AT=SHORT_VAR ST=MEMORY sid Unsigned NOT NULL AT=FIXED ST=MEMORY type Varchar(48;utf8_bin) NULL AT=SHORT_VAR ST=MEMORY fromsid Unsigned NOT NULL AT=FIXED ST=MEMORY fromtype Varchar(48;utf8_bin) NULL AT=SHORT_VAR ST=MEMORY score Float NULL AT=FIXED ST=DISK $PK Bigunsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY($PK) - UniqueHashIndex from_sid_type(fromsid, fromtype) - OrderedIndex word(word) - OrderedIndex sid_type(sid, type) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 34. Drupal.org comments -- comments -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 16 Number of primary keys: 1 Length of frm data: 590 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- cid Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY pid Int NOT NULL AT=FIXED ST=DISK nid Int NOT NULL AT=FIXED ST=MEMORY uid Int NOT NULL AT=FIXED ST=MEMORY subject Varchar(192;utf8_general_ci) NOT NULL AT=FIXED ST=DISK comment Text(256,8000;4;utf8_general_ci) NULL AT=FIXED ST=MEMORY hostname Longvarchar(384;utf8_general_ci) NOT NULL AT=FIXED ST=DISK timestamp Int NOT NULL AT=FIXED ST=MEMORY score Mediumint NOT NULL AT=FIXED ST=DISK status Tinyunsigned NOT NULL AT=FIXED ST=MEMORY users Text(256,8000;4;utf8_general_ci) NULL AT=FIXED ST=MEMORY thread Longvarchar(765;utf8_general_ci) NOT NULL AT=FIXED ST=DISK name Varchar(180;utf8_general_ci) NULL AT=FIXED ST=DISK mail Varchar(192;utf8_general_ci) NULL AT=FIXED ST=DISK homepage Longvarchar(765;utf8_general_ci) NULL AT=FIXED ST=DISK format Int NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(cid) - UniqueHashIndex tracker_global(status, timestamp) - OrderedIndex tracker_user(uid, status, timestamp) - OrderedIndex lid(nid) - OrderedIndex PRIMARY(cid) - OrderedIndex timestamp(timestamp) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 35. Drupal.org cache_filter -- cache_filter -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 6 Number of primary keys: 1 Length of frm data: 355 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- cid Longvarchar(765;utf8_general_ci) PRIMARY KEY DISTRIBUTION KEY AT=MEDIUM_VAR ST=MEMORY data Blob(256,7256;4) NULL AT=FIXED ST=MEMORY expire Int NOT NULL AT=FIXED ST=MEMORY created Int NOT NULL AT=FIXED ST=DISK headers Text(256,2000;16;utf8_general_ci) NULL AT=FIXED ST=MEMORY serialized Int NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(cid) - UniqueHashIndex PRIMARY(cid) - OrderedIndex expire(expire) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 36. Drupal.org project_usage_day -- project_usage_day -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 5 Number of primary keys: 3 Length of frm data: 313 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- timestamp Unsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY site_key Varchar(96;utf8_general_ci) PRIMARY KEY DISTRIBUTION KEY AT=SHORT_VAR ST=MEMORY pid Unsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY nid Unsigned NOT NULL AT=FIXED ST=DISK tid Unsigned NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(timestamp, site_key, pid) - UniqueHashIndex PRIMARY(timestamp, site_key, pid) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 37. Drupal.org search_dataset -- search_dataset -- Version: 16777217 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 4 Number of primary keys: 1 Length of frm data: 285 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- sid Unsigned NOT NULL AT=FIXED ST=MEMORY type Varchar(48;utf8_general_ci) NULL AT=SHORT_VAR ST=MEMORY data Text(256,8000;4;utf8_general_ci) NOT NULL AT=FIXED ST=MEMORY $PK Bigunsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY($PK) - UniqueHashIndex sid_type(sid, type) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 38. Drupal.org project_subscription -- project_subscriptions -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 4 Number of primary keys: 1 Length of frm data: 298 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- nid Unsigned NOT NULL AT=FIXED ST=MEMORY uid Unsigned NOT NULL AT=FIXED ST=MEMORY level Tinyunsigned NOT NULL AT=FIXED ST=MEMORY $PK Bigunsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY($PK) - UniqueHashIndex project_subscriptions_nid_uid_level(nid, uid, level) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 39. Drupal.org accesslog -- accesslog -- Version: 2 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 9 Number of primary keys: 1 Length of frm data: 413 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- aid Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY title Longvarchar(765;utf8_general_ci) NULL AT=FIXED ST=DISK path Longvarchar(765;utf8_general_ci) NULL AT=FIXED ST=DISK url Longvarchar(765;utf8_general_ci) NULL AT=FIXED ST=DISK hostname Longvarchar(384;utf8_general_ci) NULL AT=FIXED ST=DISK uid Unsigned NULL AT=FIXED ST=DISK timestamp Unsigned NOT NULL AT=FIXED ST=MEMORY timer Unsigned NOT NULL AT=FIXED ST=DISK sid Varchar(192;utf8_general_ci) NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(aid) - UniqueHashIndex PRIMARY(aid) - OrderedIndex accesslog_timestamp(timestamp) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 40. Drupal.org node -- node -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 12 Number of primary keys: 2 Length of frm data: 625 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- nid Unsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY type Varchar(96;utf8_general_ci) NOT NULL AT=SHORT_VAR ST=MEMORY title Longvarchar(384;utf8_general_ci) NOT NULL AT=MEDIUM_VAR ST=MEMORY uid Int NOT NULL AT=FIXED ST=MEMORY status Int NOT NULL AT=FIXED ST=MEMORY created Int NOT NULL AT=FIXED ST=MEMORY comment Int NOT NULL AT=FIXED ST=DISK promote Int NOT NULL AT=FIXED ST=MEMORY moderate Int NOT NULL AT=FIXED ST=MEMORY changed Int NOT NULL AT=FIXED ST=MEMORY sticky Int NOT NULL AT=FIXED ST=DISK vid Unsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY(nid, vid) - UniqueHashIndex vid(vid) - OrderedIndex vid$unique(vid) - UniqueHashIndex node_created(created) - OrderedIndex node_changed(changed) - OrderedIndex node_promote_status(promote, status) - OrderedIndex node_moderate(moderate) - OrderedIndex uid(uid) - OrderedIndex PRIMARY(nid, vid) - OrderedIndex tracker_user(uid, status, changed) - OrderedIndex tracker_global(status, changed) - OrderedIndex node_status_type_uid(status, type, nid, uid) - OrderedIndex node_type(type) - OrderedIndex node_status_type(status, type, nid) - OrderedIndex nid(nid) - OrderedIndex node_title_type(title, type) - OrderedIndex
  • 41. Drupal.org cache_menu -- cache_menu -- Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 6 Number of primary keys: 1 Length of frm data: 355 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- cid Longvarchar(765;utf8_general_ci) PRIMARY KEY DISTRIBUTION KEY AT=MEDIUM_VAR ST=MEMORY data Blob(256,7256;4) NULL AT=FIXED ST=MEMORY expire Int NOT NULL AT=FIXED ST=MEMORY created Int NOT NULL AT=FIXED ST=DISK headers Text(256,2000;16;utf8_general_ci) NULL AT=FIXED ST=MEMORY serialized Int NOT NULL AT=FIXED ST=DISK -- Indexes -- PRIMARY KEY(cid) - UniqueHashIndex PRIMARY(cid) - OrderedIndex expire(expire) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 42. Drupal.org history Version: 1 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 3 Number of primary keys: 2 Length of frm data: 283 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- uid Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY nid Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY timestamp Int NOT NULL AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY(uid, nid) - UniqueHashIndex timestamp(timestamp) - OrderedIndex PRIMARY(uid, nid) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 43. Drupal.org search_index(2) ndb_desc -d ddisk search_index -- search_index -- Version: 16777218 Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 7 Number of primary keys: 1 Length of frm data: 371 Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- word Varchar(150;utf8_bin) NOT NULL AT=SHORT_VAR ST=MEMORY sid Unsigned NOT NULL AT=FIXED ST=MEMORY type Varchar(48;utf8_bin) NULL AT=SHORT_VAR ST=MEMORY fromsid Unsigned NOT NULL AT=FIXED ST=MEMORY fromtype Varchar(48;utf8_bin) NULL AT=SHORT_VAR ST=MEMORY score Float NULL AT=FIXED ST=DISK $PK Bigunsigned PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY($PK) - UniqueHashIndex from_sid_type(fromsid, fromtype) - OrderedIndex word(word) - OrderedIndex sid_type(sid, type) - OrderedIndex NDBT_ProgramExit: 0 - OK
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.  
  • 50.
  • 51.
  • 52. ``` Kris Buytaert <Kris.Buytaert@inuits.be> Further Reading http://www.krisbuytaert.be/blog/ Contact :