SlideShare una empresa de Scribd logo
1 de 39
Descargar para leer sin conexión
My	
  experience	
  with	
  embedding	
  
PostgreSQL	
  
Postgres	
  Conf	
  EU,	
  Dublin,	
  Ireland	
  
October	
  2013	
  
	
  
Jignesh	
  Shah,	
  	
  
Sr	
  Manager,	
  VMware	
  

© 2013 VMware, Inc. All rights reserved
About	
  me	
  
•  Sr	
  Manager,	
  VMware	
  	
  	
  Data	
  
–  Leads	
  Postgres	
  team	
  at	
  VMware	
  
–  Blog	
  at	
  hKp://jkshah.blogspot.com	
  	
  

•  Previously	
  Staff	
  Engineer,	
  Sun	
  Microsystems	
  
–  Team	
  Member	
  of	
  the	
  first	
  published	
  SpecJAppServer	
  
2004	
  benchmark	
  with	
  PostgreSQL	
  
–  Performance	
  of	
  PostgreSQL	
  on	
  Solaris/Sun	
  systems	
  

•  Working	
  with	
  PostgreSQL	
  circa	
  2005	
  
© 2013 VMware, Inc. All rights reserved
Agenda	
  
•  Business	
  reasons	
  for	
  embedding	
  database	
  
•  Technical	
  architecture	
  journey	
  

© 2013 VMware, Inc. All rights reserved
The	
  IniXal	
  Problem	
  
•  >30	
  	
  #	
  products	
  and	
  product	
  components	
  
•  >20	
  	
  	
  requires	
  	
  DB	
  
•  Customers	
  have	
  to	
  get	
  their	
  own	
  DB	
  license	
  	
  
•  Increases	
  the	
  Total	
  Cost	
  of	
  Deployment	
  
–  As	
  database	
  load	
  increases,	
  CPU	
  cores	
  required	
  
increases,	
  so	
  does	
  the	
  total	
  license	
  cost	
  of	
  DB	
  

© 2013 VMware, Inc. All rights reserved
SQL	
  Server	
  Express	
  
•  Currently	
  shipped	
  for	
  some	
  Windows	
  based	
  
products	
  
–  However	
  limits	
  not	
  enough	
  	
  
–  Max	
  10GB	
  database	
  usage	
  

•  Standard	
  and	
  Enterprise	
  EdiXons	
  get	
  
expensive	
  preKy	
  quickly	
  
•  Not	
  Available	
  on	
  Linux	
  	
  

© 2013 VMware, Inc. All rights reserved
Proposal:	
  PostgreSQL?	
  
•  PostgreSQL	
  is	
  free	
  and	
  open	
  sourced	
  
•  Long	
  history	
  of	
  stability	
  
•  Friendly	
  BSD	
  License	
  

•  Plus	
  I	
  am	
  at	
  a	
  Postgres	
  Conference	
  J	
  
© 2013 VMware, Inc. All rights reserved
IniXal	
  External	
  Feedback	
  
•  Actually	
  got	
  pushback	
  from	
  customers,	
  partners	
  
–  PostgreSQL	
  not	
  part	
  of	
  their	
  database	
  standards	
  
–  No	
  in-­‐house	
  PostgreSQL	
  DBA	
  skills	
  
–  Lack	
  of	
  integrated	
  tools	
  ,	
  monitor,	
  ease-­‐of-­‐use	
  
–  Large	
  enterprises	
  have	
  to	
  convince	
  their	
  managed	
  
hosXng	
  partners	
  to	
  support	
  the	
  database	
  also	
  

•  AKendees	
  here	
  are	
  going	
  to	
  be	
  educated	
  about	
  it	
  	
  
–  but	
  we	
  are	
  worried	
  about	
  the	
  rest	
  of	
  the	
  world	
  
© 2013 VMware, Inc. All rights reserved
IniXal	
  Internal	
  Feedback	
  	
  
•  DB	
  Support	
  Matrix	
  complexity	
  increases	
  
–  Every	
  new	
  DB	
  support	
  increases	
  N	
  plaborm	
  test	
  
–  Large	
  scale	
  tests	
  are	
  serialized	
  due	
  to	
  resources	
  

© 2013 VMware, Inc. All rights reserved
Plan:	
  Embedded	
  Default	
  DB	
  
•  Embed	
  PostgreSQL	
  as	
  part	
  of	
  the	
  product	
  
•  Make	
  it	
  the	
  default	
  choice	
  opXon	
  for	
  most	
  deployment	
  
•  Do	
  not	
  expose	
  database	
  directly	
  to	
  endusers	
  
•  ApplicaXon	
  will	
  manage	
  the	
  DB	
  
•  Support	
  it	
  for	
  producXon	
  deployment	
  
•  Customer	
  can	
  sXll	
  select	
  to	
  use	
  an	
  external	
  database	
  of	
  
their	
  choice	
  or	
  save	
  DB	
  License	
  cost	
  with	
  the	
  
embedded	
  one	
  
	
  
© 2013 VMware, Inc. All rights reserved
	
  
Ground	
  Work:	
  MigraXon	
  
•  Products	
  used	
  various	
  databases	
  
–  SQL	
  Server	
  
–  Oracle	
  	
  
–  MySQL	
  

•  Few	
  had	
  about	
  1500	
  stored	
  procedures	
  
•  Some	
  used	
  exoXc	
  features	
  
•  For	
  example	
  	
  MySQL	
  used	
  InMemory	
  Engine,	
  InnodB	
  
engine,	
  MyISAM	
  engine	
  in	
  the	
  same	
  workload	
  

© 2013 VMware, Inc. All rights reserved
MigraXon	
  
•  Leveraged	
  contractors	
  to	
  migrate	
  stored	
  
procedures	
  
•  Performance	
  bake-­‐off	
  tests	
  to	
  convince	
  
product	
  teams	
  
•  Integrated	
  into	
  the	
  build	
  infrastructure	
  to	
  
ease	
  pulling	
  components	
  

© 2013 VMware, Inc. All rights reserved
Example:	
  vCenter	
  Server	
  Appliance	
  

© 2013 VMware, Inc. All rights reserved
Plan:	
  Backup	
  &	
  Recovery	
  
•  DB	
  not	
  the	
  only	
  thing	
  to	
  be	
  backed	
  up	
  
•  ConfiguraXon	
  files	
  
•  ApplicaXon	
  Status	
  

•  All	
  data	
  to	
  be	
  backed	
  up	
  went	
  into	
  a	
  virtual	
  disk	
  backed	
  
up	
  with	
  vADP	
  
•  pg_dump	
  /	
  pg_restore	
  used	
  in	
  few	
  cases	
  
	
  

© 2013 VMware, Inc. All rights reserved
IniXal	
  Embedded	
  DB	
  Deployments	
  
•  Each	
  Product	
  team	
  is	
  different	
  
–  	
  has	
  different	
  levels	
  of	
  DB	
  Development	
  skills	
  

•  Each	
  architect	
  comes	
  up	
  with	
  their	
  own	
  design	
  	
  
–  Postgres	
  Service	
  designed	
  (Start/Stop)	
  
–  own	
  DB	
  Layout	
  design	
  
–  own	
  DB	
  Security	
  design	
  
–  Some	
  Tuned	
  their	
  DB	
  
–  Many	
  did	
  not	
  
© 2013 VMware, Inc. All rights reserved
Early	
  Results	
  
•  YES	
  !	
  Customer	
  started	
  seeing	
  benefit	
  
•  However	
  
–  Experience	
  of	
  PostgreSQL	
  different	
  on	
  each	
  product	
  
–  Random	
  security	
  holes	
  idenXfied	
  due	
  to	
  lack	
  of	
  
knowledge	
  of	
  PostgreSQL	
  nuances	
  
–  Performance	
  configuraXon	
  was	
  an	
  issue	
  
–  Upgrade	
  to	
  new	
  versions	
  of	
  PostgreSQL	
  was	
  an	
  
akerthought	
  (What	
  no	
  in-­‐place	
  upgrade?)	
  
–  Legal	
  work	
  required	
  for	
  OSS	
  increased	
  
–  Resulted	
  in	
  PostgreSQL	
  version	
  sXckiness	
  
© 2013 VMware, Inc. All rights reserved
Some	
  encounters	
  
•  Portable	
  binaries	
  –	
  Shrink	
  wrapped	
  sokware	
  
(not	
  compiled	
  on	
  same	
  systems)	
  
–  OSS	
  Libraries	
  used	
  for	
  compiling	
  PostgreSQL	
  have	
  
to	
  be	
  shipped	
  	
  
–  Manage	
  security	
  patches	
  for	
  OSS	
  Libraries	
  

•  Need	
  Standard	
  drivers	
  like	
  ODBC,	
  JDBC	
  

© 2013 VMware, Inc. All rights reserved
MulX-­‐Plaborm	
  Requirement	
  
•  As	
  company	
  grew,	
  acquisiXons	
  grew	
  
•  Some	
  products	
  only	
  worked	
  on	
  Windows	
  
•  Few	
  used	
  exclusively	
  .NET	
  framework	
  

© 2013 VMware, Inc. All rights reserved
SoluXon:	
  Embedded	
  DBaaS	
  
•  Provide	
  End	
  to	
  End	
  Experience	
  with	
  
PostgreSQL	
  

© 2013 VMware, Inc. All rights reserved
InstallaXon	
  
•  Extend	
  installaXon	
  to	
  setup	
  a	
  service	
  
•  Configurable	
  to	
  set	
  up	
  as	
  internal	
  service	
  or	
  
external	
  service	
  (mostly	
  embedded)	
  
•  Security	
  handled	
  as	
  part	
  of	
  service	
  setup	
  to	
  
follow	
  best	
  pracXcesfor	
  embedded	
  
•  Security	
  based	
  on	
  access	
  and	
  minimum	
  roles	
  
defined	
  

© 2013 VMware, Inc. All rights reserved
InstallaXon	
  
•  RPM	
  	
  installaXon	
  
–  Dependent	
  OSS	
  Libraries	
  to	
  make	
  RPM	
  portable	
  
–  Server	
  and	
  client	
  RPMs	
  
–  Service	
  Setup	
  configurator	
  to	
  setup	
  a	
  default	
  service	
  
• 
• 
• 
• 

User	
  setup	
  
initdb	
  setup	
  
pg_hba	
  setup	
  	
  
Password	
  handling	
  

–  Provide	
  tools	
  to	
  quickly	
  setup	
  DB	
  Owner,	
  DB	
  for	
  
various	
  users	
  of	
  the	
  service	
  
© 2013 VMware, Inc. All rights reserved
Installer	
  on	
  Windows	
  
• 
• 
• 
• 

PostgreSQL	
  Installer	
  on	
  Windows	
  
Service	
  setup	
  on	
  Windows	
  
ODBC	
  Support	
  	
  
Npgsql	
  Support	
  for	
  .NET	
  Plaborms	
  

© 2013 VMware, Inc. All rights reserved
Backup	
  &	
  Recovery	
  
•  While	
  other	
  backups	
  strategy	
  are	
  available	
  
–  Nothing	
  beats	
  standard	
  database	
  backups	
  
–  Design	
  cron	
  jobs	
  for	
  criXcal	
  data	
  	
  
–  Design	
  Archive	
  On	
  Demand	
  for	
  semng	
  up	
  
replicaXon	
  quickly	
  
–  Most	
  customer	
  do	
  not	
  want	
  to	
  hack	
  with	
  backup/
restore	
  scripts.	
  	
  
–  Should	
  work	
  out	
  of	
  the	
  box	
  

© 2013 VMware, Inc. All rights reserved
Upgrades	
  
•  Seamless	
  upgrade	
  to	
  new	
  version	
  
–  RPM	
  Upgrades	
  needs	
  to	
  be	
  transparent	
  for	
  minor	
  
versions	
  
–  RPM	
  upgrades	
  for	
  major	
  version	
  needs	
  to	
  migrate	
  
data	
  from	
  the	
  older	
  version	
  in	
  the	
  default	
  service	
  

© 2013 VMware, Inc. All rights reserved
Upgrades	
  
•  Problems	
  sXll	
  not	
  completely	
  resolved	
  
–  Reduce	
  downXme	
  for	
  major	
  release	
  upgrades	
  
–  Generally	
  migraXon	
  since	
  in-­‐place	
  upgrade	
  does	
  
not	
  provide	
  ways	
  to	
  roll	
  back	
  the	
  upgrade	
  

© 2013 VMware, Inc. All rights reserved
Performance	
  
•  Default	
  PostgreSQL	
  semng	
  are	
  conservaXve	
  
•  Most	
  deployments	
  use	
  default	
  values	
  
•  Started	
  doing	
  auto-­‐tuning	
  
–  Modified	
  PostgreSQL	
  core	
  engine	
  with	
  intelligence	
  
–  For	
  checkpoint	
  segments,	
  	
  shared_memory	
  

•  Added	
  tool	
  to	
  auto	
  tune	
  postgresql.conf	
  	
  
–  Based	
  on	
  memory	
  share	
  for	
  DB	
  Service	
  
–  Product	
  workload	
  dependent	
  

	
  
© 2013 VMware, Inc. All rights reserved
Performance	
  related	
  tools	
  
•  Provided	
  tools	
  to	
  understand	
  what’s	
  
happening	
  with	
  Postgres	
  
–  pg_top	
  with	
  changes	
  
•  Changes	
  already	
  contributed	
  back	
  to	
  community	
  

© 2013 VMware, Inc. All rights reserved
Example:	
  pg_top	
  

© 2013 VMware, Inc. All rights reserved
Performance	
  related	
  future	
  work	
  
•  ExisXng	
  tools	
  sXll	
  meant	
  for	
  expert	
  users	
  
•  Lot	
  of	
  demand	
  for	
  simple	
  performance	
  reports	
  
•  Looking	
  into	
  pg_statspack	
  

© 2013 VMware, Inc. All rights reserved
Availability	
  
•  Created	
  a	
  watchdog	
  for	
  PostgreSQL	
  to	
  restart	
  
PostgreSQL	
  if	
  database	
  cannot	
  be	
  accessed	
  for	
  
long	
  
•  If	
  restart	
  fails	
  then	
  it	
  can	
  throw	
  alerts	
  
•  Also	
  created	
  plugins	
  for	
  monitoring	
  the	
  
service	
  

© 2013 VMware, Inc. All rights reserved
Related	
  Problems:	
  Crashes	
  
•  PostgreSQL	
  started	
  throwing	
  errors	
  with	
  “Out	
  
of	
  Memory”	
  errors	
  in	
  stress	
  tests	
  	
  
•  MulXple	
  applicaXons	
  can	
  fight	
  for	
  memory	
  
•  Made	
  Performance	
  semngs	
  less	
  aggressively	
  

© 2013 VMware, Inc. All rights reserved
Supportability	
  
•  When	
  customers	
  hit	
  a	
  problem	
  
–  Hard	
  to	
  get	
  access	
  to	
  the	
  system	
  

•  Created	
  support	
  package	
  tool	
  to	
  collect	
  
relevant	
  informaXon	
  
–  Collect	
  config,	
  status	
  in	
  a	
  tar	
  file	
  for	
  analysis	
  

© 2013 VMware, Inc. All rights reserved
Usability	
  
•  Experts	
  love	
  command	
  line	
  uXliXes	
  
•  Novices	
  love	
  GUI,	
  WebUI	
  
•  It	
  needs	
  to	
  match	
  the	
  other	
  GUIs	
  VMware	
  ship	
  

© 2013 VMware, Inc. All rights reserved
Pluggable	
  UI	
  
•  Matching	
  VMware’s	
  GUI	
  Plaborm	
  

© 2013 VMware, Inc. All rights reserved
Embedded	
  DBaaS	
  Architecture	
  
VMware	
  
Product	
  

	
  

Service	
  	
  

	
  

Configurator	
  

	
  

WebUI	
  
	
  

	
  

Pg_top	
  
	
  
	
  
	
  
JDBC	
  

	
  
PostgreSQL	
  
	
  

ODBC	
  
	
  
	
  

Linux	
  Based	
  VM	
  

Watchdog	
  
Perf-­‐Tuner	
  
Monitoring	
  
Support	
  
package	
  tool	
  

vSphere	
  Plaborm	
  
© 2013 VMware, Inc. All rights reserved
Virtual	
  Appliances	
  

© 2013 VMware, Inc. All rights reserved
Virtual	
  Appliances	
  

© 2013 VMware, Inc. All rights reserved
ReplicaXon	
  between	
  vApps	
  
•  Provide	
  simple	
  uXliXes	
  to	
  quickly	
  
–  archive_command	
  
–  create_replicaXon_user	
  
–  run_as_replica	
  
–  show_replica_status	
  
–  promote_replica_to_primary	
  

© 2013 VMware, Inc. All rights reserved
In	
  Closing	
  
•  Free	
  Sokware	
  is	
  nice	
  
•  Experience	
  –	
  What	
  business	
  users	
  care	
  
–  User	
  Experience	
  
–  DBA	
  Experience	
  
–  Support	
  Experience	
  
–  etc	
  

•  Improve	
  the	
  Experience	
  with	
  the	
  technology	
  

© 2013 VMware, Inc. All rights reserved
Thanks.	
  
QuesXons?	
  
Download	
  VMware	
  vFabric	
  Postgres	
  	
  
hKp://vmware.com/go/download-­‐vfabric-­‐postgres	
  
Follow us on twitter: @vPostgres
Data Platform Blog: http://blogs.vmware.com/dataplatforms

© 2013 VMware, Inc. All rights reserved

Más contenido relacionado

La actualidad más candente

Understanding PostgreSQL LW Locks
Understanding PostgreSQL LW LocksUnderstanding PostgreSQL LW Locks
Understanding PostgreSQL LW LocksJignesh Shah
 
Postgres & Red Hat Cluster Suite
Postgres & Red Hat Cluster SuitePostgres & Red Hat Cluster Suite
Postgres & Red Hat Cluster SuiteEDB
 
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte Data
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte DataProblems with PostgreSQL on Multi-core Systems with MultiTerabyte Data
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte DataJignesh Shah
 
SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBUniFabric
 
NGENSTOR_ODA_P2V_V5
NGENSTOR_ODA_P2V_V5NGENSTOR_ODA_P2V_V5
NGENSTOR_ODA_P2V_V5UniFabric
 
Postgres on OpenStack
Postgres on OpenStackPostgres on OpenStack
Postgres on OpenStackEDB
 
PostgreSQL Disaster Recovery with Barman
PostgreSQL Disaster Recovery with BarmanPostgreSQL Disaster Recovery with Barman
PostgreSQL Disaster Recovery with BarmanGabriele Bartolini
 
Replication Solutions for PostgreSQL
Replication Solutions for PostgreSQLReplication Solutions for PostgreSQL
Replication Solutions for PostgreSQLPeter Eisentraut
 
PostreSQL HA and DR Setup & Use Cases
PostreSQL HA and DR Setup & Use CasesPostreSQL HA and DR Setup & Use Cases
PostreSQL HA and DR Setup & Use CasesAshnikbiz
 
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld
 
Deploying Maximum HA Architecture With PostgreSQL
Deploying Maximum HA Architecture With PostgreSQLDeploying Maximum HA Architecture With PostgreSQL
Deploying Maximum HA Architecture With PostgreSQLDenish Patel
 
VMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing DatabasesVMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing DatabasesVMworld
 
Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA EDB
 
Built-in Replication in PostgreSQL
Built-in Replication in PostgreSQLBuilt-in Replication in PostgreSQL
Built-in Replication in PostgreSQLMasao Fujii
 
SOUG_GV_Flashgrid_V4
SOUG_GV_Flashgrid_V4SOUG_GV_Flashgrid_V4
SOUG_GV_Flashgrid_V4UniFabric
 
Developing a Ceph Appliance for Secure Environments
Developing a Ceph Appliance for Secure EnvironmentsDeveloping a Ceph Appliance for Secure Environments
Developing a Ceph Appliance for Secure EnvironmentsCeph Community
 
Revisiting CephFS MDS and mClock QoS Scheduler
Revisiting CephFS MDS and mClock QoS SchedulerRevisiting CephFS MDS and mClock QoS Scheduler
Revisiting CephFS MDS and mClock QoS SchedulerYongseok Oh
 
HDFS NameNode High Availability
HDFS NameNode High AvailabilityHDFS NameNode High Availability
HDFS NameNode High AvailabilityDataWorks Summit
 
PostgreSQL9.3 Switchover/Switchback
PostgreSQL9.3 Switchover/SwitchbackPostgreSQL9.3 Switchover/Switchback
PostgreSQL9.3 Switchover/SwitchbackVibhor Kumar
 

La actualidad más candente (20)

Understanding PostgreSQL LW Locks
Understanding PostgreSQL LW LocksUnderstanding PostgreSQL LW Locks
Understanding PostgreSQL LW Locks
 
Postgres & Red Hat Cluster Suite
Postgres & Red Hat Cluster SuitePostgres & Red Hat Cluster Suite
Postgres & Red Hat Cluster Suite
 
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte Data
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte DataProblems with PostgreSQL on Multi-core Systems with MultiTerabyte Data
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte Data
 
SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DB
 
NGENSTOR_ODA_P2V_V5
NGENSTOR_ODA_P2V_V5NGENSTOR_ODA_P2V_V5
NGENSTOR_ODA_P2V_V5
 
Postgres on OpenStack
Postgres on OpenStackPostgres on OpenStack
Postgres on OpenStack
 
PostgreSQL Disaster Recovery with Barman
PostgreSQL Disaster Recovery with BarmanPostgreSQL Disaster Recovery with Barman
PostgreSQL Disaster Recovery with Barman
 
Replication Solutions for PostgreSQL
Replication Solutions for PostgreSQLReplication Solutions for PostgreSQL
Replication Solutions for PostgreSQL
 
PostreSQL HA and DR Setup & Use Cases
PostreSQL HA and DR Setup & Use CasesPostreSQL HA and DR Setup & Use Cases
PostreSQL HA and DR Setup & Use Cases
 
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
 
PostgreSQL on Solaris
PostgreSQL on SolarisPostgreSQL on Solaris
PostgreSQL on Solaris
 
Deploying Maximum HA Architecture With PostgreSQL
Deploying Maximum HA Architecture With PostgreSQLDeploying Maximum HA Architecture With PostgreSQL
Deploying Maximum HA Architecture With PostgreSQL
 
VMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing DatabasesVMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing Databases
 
Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA
 
Built-in Replication in PostgreSQL
Built-in Replication in PostgreSQLBuilt-in Replication in PostgreSQL
Built-in Replication in PostgreSQL
 
SOUG_GV_Flashgrid_V4
SOUG_GV_Flashgrid_V4SOUG_GV_Flashgrid_V4
SOUG_GV_Flashgrid_V4
 
Developing a Ceph Appliance for Secure Environments
Developing a Ceph Appliance for Secure EnvironmentsDeveloping a Ceph Appliance for Secure Environments
Developing a Ceph Appliance for Secure Environments
 
Revisiting CephFS MDS and mClock QoS Scheduler
Revisiting CephFS MDS and mClock QoS SchedulerRevisiting CephFS MDS and mClock QoS Scheduler
Revisiting CephFS MDS and mClock QoS Scheduler
 
HDFS NameNode High Availability
HDFS NameNode High AvailabilityHDFS NameNode High Availability
HDFS NameNode High Availability
 
PostgreSQL9.3 Switchover/Switchback
PostgreSQL9.3 Switchover/SwitchbackPostgreSQL9.3 Switchover/Switchback
PostgreSQL9.3 Switchover/Switchback
 

Destacado

PostgreSQL High Availability in a Containerized World
PostgreSQL High Availability in a Containerized WorldPostgreSQL High Availability in a Containerized World
PostgreSQL High Availability in a Containerized WorldJignesh Shah
 
OLTP Performance Benchmark Review
OLTP Performance Benchmark ReviewOLTP Performance Benchmark Review
OLTP Performance Benchmark ReviewJignesh Shah
 
SFPUG - DVDStore Performance Benchmark and PostgreSQL
SFPUG - DVDStore Performance Benchmark and PostgreSQLSFPUG - DVDStore Performance Benchmark and PostgreSQL
SFPUG - DVDStore Performance Benchmark and PostgreSQLJignesh Shah
 
Introduction to PostgreSQL for System Administrators
Introduction to PostgreSQL for System AdministratorsIntroduction to PostgreSQL for System Administrators
Introduction to PostgreSQL for System AdministratorsJignesh Shah
 
Best Practices of running PostgreSQL in Virtual Environments
Best Practices of running PostgreSQL in Virtual EnvironmentsBest Practices of running PostgreSQL in Virtual Environments
Best Practices of running PostgreSQL in Virtual EnvironmentsJignesh Shah
 
Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Robert Treat
 
Building a Spatial Database in PostgreSQL
Building a Spatial Database in PostgreSQLBuilding a Spatial Database in PostgreSQL
Building a Spatial Database in PostgreSQLKudos S.A.S
 
PostgreSQL Scaling And Failover
PostgreSQL Scaling And FailoverPostgreSQL Scaling And Failover
PostgreSQL Scaling And FailoverJohn Paulett
 
Android & PostgreSQL
Android & PostgreSQLAndroid & PostgreSQL
Android & PostgreSQLMark Wong
 
PostgreSQL Hooks for Fun and Profit
PostgreSQL Hooks for Fun and ProfitPostgreSQL Hooks for Fun and Profit
PostgreSQL Hooks for Fun and ProfitDavid Fetter
 
Pagination Done the Right Way
Pagination Done the Right WayPagination Done the Right Way
Pagination Done the Right WayMarkus Winand
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuningelliando dias
 
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQLData Processing Inside PostgreSQL
Data Processing Inside PostgreSQLEDB
 
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableHowdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableCommand Prompt., Inc
 
PostgreSQL Deep Internal
PostgreSQL Deep InternalPostgreSQL Deep Internal
PostgreSQL Deep InternalEXEM
 

Destacado (20)

PostgreSQL High Availability in a Containerized World
PostgreSQL High Availability in a Containerized WorldPostgreSQL High Availability in a Containerized World
PostgreSQL High Availability in a Containerized World
 
OLTP Performance Benchmark Review
OLTP Performance Benchmark ReviewOLTP Performance Benchmark Review
OLTP Performance Benchmark Review
 
SFPUG - DVDStore Performance Benchmark and PostgreSQL
SFPUG - DVDStore Performance Benchmark and PostgreSQLSFPUG - DVDStore Performance Benchmark and PostgreSQL
SFPUG - DVDStore Performance Benchmark and PostgreSQL
 
Introduction to PostgreSQL for System Administrators
Introduction to PostgreSQL for System AdministratorsIntroduction to PostgreSQL for System Administrators
Introduction to PostgreSQL for System Administrators
 
Best Practices of running PostgreSQL in Virtual Environments
Best Practices of running PostgreSQL in Virtual EnvironmentsBest Practices of running PostgreSQL in Virtual Environments
Best Practices of running PostgreSQL in Virtual Environments
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 
Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008
 
Building a Spatial Database in PostgreSQL
Building a Spatial Database in PostgreSQLBuilding a Spatial Database in PostgreSQL
Building a Spatial Database in PostgreSQL
 
PostgreSQL Scaling And Failover
PostgreSQL Scaling And FailoverPostgreSQL Scaling And Failover
PostgreSQL Scaling And Failover
 
Android & PostgreSQL
Android & PostgreSQLAndroid & PostgreSQL
Android & PostgreSQL
 
Why use PostgreSQL?
Why use PostgreSQL?Why use PostgreSQL?
Why use PostgreSQL?
 
PostgreSQL Hooks for Fun and Profit
PostgreSQL Hooks for Fun and ProfitPostgreSQL Hooks for Fun and Profit
PostgreSQL Hooks for Fun and Profit
 
PostgreSQL and RAM usage
PostgreSQL and RAM usagePostgreSQL and RAM usage
PostgreSQL and RAM usage
 
Get to know PostgreSQL!
Get to know PostgreSQL!Get to know PostgreSQL!
Get to know PostgreSQL!
 
Pagination Done the Right Way
Pagination Done the Right WayPagination Done the Right Way
Pagination Done the Right Way
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuning
 
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQLData Processing Inside PostgreSQL
Data Processing Inside PostgreSQL
 
Really Big Elephants: PostgreSQL DW
Really Big Elephants: PostgreSQL DWReally Big Elephants: PostgreSQL DW
Really Big Elephants: PostgreSQL DW
 
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableHowdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
 
PostgreSQL Deep Internal
PostgreSQL Deep InternalPostgreSQL Deep Internal
PostgreSQL Deep Internal
 

Similar a My experience with embedding PostgreSQL

Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?James Serra
 
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...VMware Tanzu
 
Command central 9.7: Features Overview
Command central 9.7: Features OverviewCommand central 9.7: Features Overview
Command central 9.7: Features OverviewSoftware AG
 
Database Provisioning in EM12c: Provision me a Database Now!
Database Provisioning in EM12c: Provision me a Database Now!Database Provisioning in EM12c: Provision me a Database Now!
Database Provisioning in EM12c: Provision me a Database Now!Maaz Anjum
 
Veeam Webinar - Case study: building bi-directional DR
Veeam Webinar - Case study: building bi-directional DRVeeam Webinar - Case study: building bi-directional DR
Veeam Webinar - Case study: building bi-directional DRJoep Piscaer
 
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...TEAM Informatics
 
Oracle business continuity for virtualization and cloud infrastructure
Oracle business continuity for virtualization and cloud infrastructureOracle business continuity for virtualization and cloud infrastructure
Oracle business continuity for virtualization and cloud infrastructureOTN Systems Hub
 
How To Reach Your Goals with Postgres Plus Cloud Database
How To Reach Your Goals with Postgres Plus Cloud DatabaseHow To Reach Your Goals with Postgres Plus Cloud Database
How To Reach Your Goals with Postgres Plus Cloud DatabaseEDB
 
WebCenter as a Cloud App on Exalogic
WebCenter as a Cloud App on ExalogicWebCenter as a Cloud App on Exalogic
WebCenter as a Cloud App on ExalogicRaoul Miller
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnikbiz
 
Install Oracle FMW - 'Mostly Scripted'
Install Oracle FMW - 'Mostly Scripted'Install Oracle FMW - 'Mostly Scripted'
Install Oracle FMW - 'Mostly Scripted'makker_nl
 
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Berry Clemens
 
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)Andrejs Prokopjevs
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsBen Krug
 
Emc sql server 2012 overview
Emc sql server 2012 overviewEmc sql server 2012 overview
Emc sql server 2012 overviewsolarisyougood
 
ukoug-soa-sig-june-2016 v0.5
ukoug-soa-sig-june-2016 v0.5ukoug-soa-sig-june-2016 v0.5
ukoug-soa-sig-june-2016 v0.5Bruno Alves
 
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project ExperiencesUpgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project ExperiencesBruno Alves
 
Cloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and CloudCloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and CloudEberhard Wolff
 

Similar a My experience with embedding PostgreSQL (20)

Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
 
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
 
Command central 9.7: Features Overview
Command central 9.7: Features OverviewCommand central 9.7: Features Overview
Command central 9.7: Features Overview
 
Database Provisioning in EM12c: Provision me a Database Now!
Database Provisioning in EM12c: Provision me a Database Now!Database Provisioning in EM12c: Provision me a Database Now!
Database Provisioning in EM12c: Provision me a Database Now!
 
Veeam Webinar - Case study: building bi-directional DR
Veeam Webinar - Case study: building bi-directional DRVeeam Webinar - Case study: building bi-directional DR
Veeam Webinar - Case study: building bi-directional DR
 
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
 
Oracle business continuity for virtualization and cloud infrastructure
Oracle business continuity for virtualization and cloud infrastructureOracle business continuity for virtualization and cloud infrastructure
Oracle business continuity for virtualization and cloud infrastructure
 
Installation of EM 12c
Installation of EM 12cInstallation of EM 12c
Installation of EM 12c
 
Azure based development for SharePoint 2013
Azure based development for SharePoint 2013Azure based development for SharePoint 2013
Azure based development for SharePoint 2013
 
How To Reach Your Goals with Postgres Plus Cloud Database
How To Reach Your Goals with Postgres Plus Cloud DatabaseHow To Reach Your Goals with Postgres Plus Cloud Database
How To Reach Your Goals with Postgres Plus Cloud Database
 
WebCenter as a Cloud App on Exalogic
WebCenter as a Cloud App on ExalogicWebCenter as a Cloud App on Exalogic
WebCenter as a Cloud App on Exalogic
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
 
Install Oracle FMW - 'Mostly Scripted'
Install Oracle FMW - 'Mostly Scripted'Install Oracle FMW - 'Mostly Scripted'
Install Oracle FMW - 'Mostly Scripted'
 
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
 
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
Emc sql server 2012 overview
Emc sql server 2012 overviewEmc sql server 2012 overview
Emc sql server 2012 overview
 
ukoug-soa-sig-june-2016 v0.5
ukoug-soa-sig-june-2016 v0.5ukoug-soa-sig-june-2016 v0.5
ukoug-soa-sig-june-2016 v0.5
 
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project ExperiencesUpgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
 
Cloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and CloudCloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and Cloud
 

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
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 MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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.pptxEarley Information Science
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

My experience with embedding PostgreSQL

  • 1. My  experience  with  embedding   PostgreSQL   Postgres  Conf  EU,  Dublin,  Ireland   October  2013     Jignesh  Shah,     Sr  Manager,  VMware   © 2013 VMware, Inc. All rights reserved
  • 2. About  me   •  Sr  Manager,  VMware      Data   –  Leads  Postgres  team  at  VMware   –  Blog  at  hKp://jkshah.blogspot.com     •  Previously  Staff  Engineer,  Sun  Microsystems   –  Team  Member  of  the  first  published  SpecJAppServer   2004  benchmark  with  PostgreSQL   –  Performance  of  PostgreSQL  on  Solaris/Sun  systems   •  Working  with  PostgreSQL  circa  2005   © 2013 VMware, Inc. All rights reserved
  • 3. Agenda   •  Business  reasons  for  embedding  database   •  Technical  architecture  journey   © 2013 VMware, Inc. All rights reserved
  • 4. The  IniXal  Problem   •  >30    #  products  and  product  components   •  >20      requires    DB   •  Customers  have  to  get  their  own  DB  license     •  Increases  the  Total  Cost  of  Deployment   –  As  database  load  increases,  CPU  cores  required   increases,  so  does  the  total  license  cost  of  DB   © 2013 VMware, Inc. All rights reserved
  • 5. SQL  Server  Express   •  Currently  shipped  for  some  Windows  based   products   –  However  limits  not  enough     –  Max  10GB  database  usage   •  Standard  and  Enterprise  EdiXons  get   expensive  preKy  quickly   •  Not  Available  on  Linux     © 2013 VMware, Inc. All rights reserved
  • 6. Proposal:  PostgreSQL?   •  PostgreSQL  is  free  and  open  sourced   •  Long  history  of  stability   •  Friendly  BSD  License   •  Plus  I  am  at  a  Postgres  Conference  J   © 2013 VMware, Inc. All rights reserved
  • 7. IniXal  External  Feedback   •  Actually  got  pushback  from  customers,  partners   –  PostgreSQL  not  part  of  their  database  standards   –  No  in-­‐house  PostgreSQL  DBA  skills   –  Lack  of  integrated  tools  ,  monitor,  ease-­‐of-­‐use   –  Large  enterprises  have  to  convince  their  managed   hosXng  partners  to  support  the  database  also   •  AKendees  here  are  going  to  be  educated  about  it     –  but  we  are  worried  about  the  rest  of  the  world   © 2013 VMware, Inc. All rights reserved
  • 8. IniXal  Internal  Feedback     •  DB  Support  Matrix  complexity  increases   –  Every  new  DB  support  increases  N  plaborm  test   –  Large  scale  tests  are  serialized  due  to  resources   © 2013 VMware, Inc. All rights reserved
  • 9. Plan:  Embedded  Default  DB   •  Embed  PostgreSQL  as  part  of  the  product   •  Make  it  the  default  choice  opXon  for  most  deployment   •  Do  not  expose  database  directly  to  endusers   •  ApplicaXon  will  manage  the  DB   •  Support  it  for  producXon  deployment   •  Customer  can  sXll  select  to  use  an  external  database  of   their  choice  or  save  DB  License  cost  with  the   embedded  one     © 2013 VMware, Inc. All rights reserved  
  • 10. Ground  Work:  MigraXon   •  Products  used  various  databases   –  SQL  Server   –  Oracle     –  MySQL   •  Few  had  about  1500  stored  procedures   •  Some  used  exoXc  features   •  For  example    MySQL  used  InMemory  Engine,  InnodB   engine,  MyISAM  engine  in  the  same  workload   © 2013 VMware, Inc. All rights reserved
  • 11. MigraXon   •  Leveraged  contractors  to  migrate  stored   procedures   •  Performance  bake-­‐off  tests  to  convince   product  teams   •  Integrated  into  the  build  infrastructure  to   ease  pulling  components   © 2013 VMware, Inc. All rights reserved
  • 12. Example:  vCenter  Server  Appliance   © 2013 VMware, Inc. All rights reserved
  • 13. Plan:  Backup  &  Recovery   •  DB  not  the  only  thing  to  be  backed  up   •  ConfiguraXon  files   •  ApplicaXon  Status   •  All  data  to  be  backed  up  went  into  a  virtual  disk  backed   up  with  vADP   •  pg_dump  /  pg_restore  used  in  few  cases     © 2013 VMware, Inc. All rights reserved
  • 14. IniXal  Embedded  DB  Deployments   •  Each  Product  team  is  different   –   has  different  levels  of  DB  Development  skills   •  Each  architect  comes  up  with  their  own  design     –  Postgres  Service  designed  (Start/Stop)   –  own  DB  Layout  design   –  own  DB  Security  design   –  Some  Tuned  their  DB   –  Many  did  not   © 2013 VMware, Inc. All rights reserved
  • 15. Early  Results   •  YES  !  Customer  started  seeing  benefit   •  However   –  Experience  of  PostgreSQL  different  on  each  product   –  Random  security  holes  idenXfied  due  to  lack  of   knowledge  of  PostgreSQL  nuances   –  Performance  configuraXon  was  an  issue   –  Upgrade  to  new  versions  of  PostgreSQL  was  an   akerthought  (What  no  in-­‐place  upgrade?)   –  Legal  work  required  for  OSS  increased   –  Resulted  in  PostgreSQL  version  sXckiness   © 2013 VMware, Inc. All rights reserved
  • 16. Some  encounters   •  Portable  binaries  –  Shrink  wrapped  sokware   (not  compiled  on  same  systems)   –  OSS  Libraries  used  for  compiling  PostgreSQL  have   to  be  shipped     –  Manage  security  patches  for  OSS  Libraries   •  Need  Standard  drivers  like  ODBC,  JDBC   © 2013 VMware, Inc. All rights reserved
  • 17. MulX-­‐Plaborm  Requirement   •  As  company  grew,  acquisiXons  grew   •  Some  products  only  worked  on  Windows   •  Few  used  exclusively  .NET  framework   © 2013 VMware, Inc. All rights reserved
  • 18. SoluXon:  Embedded  DBaaS   •  Provide  End  to  End  Experience  with   PostgreSQL   © 2013 VMware, Inc. All rights reserved
  • 19. InstallaXon   •  Extend  installaXon  to  setup  a  service   •  Configurable  to  set  up  as  internal  service  or   external  service  (mostly  embedded)   •  Security  handled  as  part  of  service  setup  to   follow  best  pracXcesfor  embedded   •  Security  based  on  access  and  minimum  roles   defined   © 2013 VMware, Inc. All rights reserved
  • 20. InstallaXon   •  RPM    installaXon   –  Dependent  OSS  Libraries  to  make  RPM  portable   –  Server  and  client  RPMs   –  Service  Setup  configurator  to  setup  a  default  service   •  •  •  •  User  setup   initdb  setup   pg_hba  setup     Password  handling   –  Provide  tools  to  quickly  setup  DB  Owner,  DB  for   various  users  of  the  service   © 2013 VMware, Inc. All rights reserved
  • 21. Installer  on  Windows   •  •  •  •  PostgreSQL  Installer  on  Windows   Service  setup  on  Windows   ODBC  Support     Npgsql  Support  for  .NET  Plaborms   © 2013 VMware, Inc. All rights reserved
  • 22. Backup  &  Recovery   •  While  other  backups  strategy  are  available   –  Nothing  beats  standard  database  backups   –  Design  cron  jobs  for  criXcal  data     –  Design  Archive  On  Demand  for  semng  up   replicaXon  quickly   –  Most  customer  do  not  want  to  hack  with  backup/ restore  scripts.     –  Should  work  out  of  the  box   © 2013 VMware, Inc. All rights reserved
  • 23. Upgrades   •  Seamless  upgrade  to  new  version   –  RPM  Upgrades  needs  to  be  transparent  for  minor   versions   –  RPM  upgrades  for  major  version  needs  to  migrate   data  from  the  older  version  in  the  default  service   © 2013 VMware, Inc. All rights reserved
  • 24. Upgrades   •  Problems  sXll  not  completely  resolved   –  Reduce  downXme  for  major  release  upgrades   –  Generally  migraXon  since  in-­‐place  upgrade  does   not  provide  ways  to  roll  back  the  upgrade   © 2013 VMware, Inc. All rights reserved
  • 25. Performance   •  Default  PostgreSQL  semng  are  conservaXve   •  Most  deployments  use  default  values   •  Started  doing  auto-­‐tuning   –  Modified  PostgreSQL  core  engine  with  intelligence   –  For  checkpoint  segments,    shared_memory   •  Added  tool  to  auto  tune  postgresql.conf     –  Based  on  memory  share  for  DB  Service   –  Product  workload  dependent     © 2013 VMware, Inc. All rights reserved
  • 26. Performance  related  tools   •  Provided  tools  to  understand  what’s   happening  with  Postgres   –  pg_top  with  changes   •  Changes  already  contributed  back  to  community   © 2013 VMware, Inc. All rights reserved
  • 27. Example:  pg_top   © 2013 VMware, Inc. All rights reserved
  • 28. Performance  related  future  work   •  ExisXng  tools  sXll  meant  for  expert  users   •  Lot  of  demand  for  simple  performance  reports   •  Looking  into  pg_statspack   © 2013 VMware, Inc. All rights reserved
  • 29. Availability   •  Created  a  watchdog  for  PostgreSQL  to  restart   PostgreSQL  if  database  cannot  be  accessed  for   long   •  If  restart  fails  then  it  can  throw  alerts   •  Also  created  plugins  for  monitoring  the   service   © 2013 VMware, Inc. All rights reserved
  • 30. Related  Problems:  Crashes   •  PostgreSQL  started  throwing  errors  with  “Out   of  Memory”  errors  in  stress  tests     •  MulXple  applicaXons  can  fight  for  memory   •  Made  Performance  semngs  less  aggressively   © 2013 VMware, Inc. All rights reserved
  • 31. Supportability   •  When  customers  hit  a  problem   –  Hard  to  get  access  to  the  system   •  Created  support  package  tool  to  collect   relevant  informaXon   –  Collect  config,  status  in  a  tar  file  for  analysis   © 2013 VMware, Inc. All rights reserved
  • 32. Usability   •  Experts  love  command  line  uXliXes   •  Novices  love  GUI,  WebUI   •  It  needs  to  match  the  other  GUIs  VMware  ship   © 2013 VMware, Inc. All rights reserved
  • 33. Pluggable  UI   •  Matching  VMware’s  GUI  Plaborm   © 2013 VMware, Inc. All rights reserved
  • 34. Embedded  DBaaS  Architecture   VMware   Product     Service       Configurator     WebUI       Pg_top         JDBC     PostgreSQL     ODBC       Linux  Based  VM   Watchdog   Perf-­‐Tuner   Monitoring   Support   package  tool   vSphere  Plaborm   © 2013 VMware, Inc. All rights reserved
  • 35. Virtual  Appliances   © 2013 VMware, Inc. All rights reserved
  • 36. Virtual  Appliances   © 2013 VMware, Inc. All rights reserved
  • 37. ReplicaXon  between  vApps   •  Provide  simple  uXliXes  to  quickly   –  archive_command   –  create_replicaXon_user   –  run_as_replica   –  show_replica_status   –  promote_replica_to_primary   © 2013 VMware, Inc. All rights reserved
  • 38. In  Closing   •  Free  Sokware  is  nice   •  Experience  –  What  business  users  care   –  User  Experience   –  DBA  Experience   –  Support  Experience   –  etc   •  Improve  the  Experience  with  the  technology   © 2013 VMware, Inc. All rights reserved
  • 39. Thanks.   QuesXons?   Download  VMware  vFabric  Postgres     hKp://vmware.com/go/download-­‐vfabric-­‐postgres   Follow us on twitter: @vPostgres Data Platform Blog: http://blogs.vmware.com/dataplatforms © 2013 VMware, Inc. All rights reserved