PostgreSQL и Java: мастер-класс
Java is one of the most used languages when programming with PostgreSQL databases. Join this tutorial to learn or review the techniques to connect to postgres, best programming practices with JDBC, and to explore jOOQ, a mapper software that allows you to use the full power of SQL and postgres advanced query features while avoiding all the boilerplate code.
This tutorial is very practical: most of the time will be dedicated to iterate through code samples. It will cover:
- Introduction to Java and PostgreSQL
- Ways of connecting to PostgreSQL from Java (not only JDBC!)
- Introduction to JDBC. JDBC types. PostgreSQL JDBC
- Code demo: JDBC with PostgreSQL. From Java 1.4 to Java 8, best practices and code samples
- Code demo: jOOQ, a great mapper for PostgreSQL
- Java inside PostgreSQL
- The future of Java and PostgreSQL
About two-thirds of the tutorial will be dedicated to iterate over code samples and demos. All the code would be available from public open-source repositories and built with maven, so that any attendee may download it and build easily to play with it during the tutorial (although not required).
VIDEO
Part 1
Part 2
Part 3
Part 4
Слайды
Другие доклады
-
Ivan Panchenko Postgres Professional
JSON, JSONB, JSQuery
This tutorial is about various applied JSON usage patterns and the related PostgreSQL functionality. We will discuss data storage in the JSON format, retrieving, changing, and searching such data, JSON features for simple SQL queries, as well as using JSON in stored procedures in different languages. You’ll get hands-on experience with some of the discussed problems on the provided virtual machines.
-
Jasonysli Tencent
Как Tenсent использует Postgres XC в платежной системе WeChat
Tencent, based in China, is one of the world's largest companies in the social networking space. This talk discusses how Tencent modified the code of Postgres-XC to meet their internal payment system requirements
-
Marco Slot Citus Data
Ускоряясь до миллиона записей в секунду: масштабирование PostgreSQL с помощью Citus MX
Citus allows you to distribute postgres tables across many servers. It extends postgres to transparently delegate or parallelise work across a set of worker nodes, enabling you to scale out the CPU and memory available for queries.
One year ago, we began a long journey to allow Citus to scale out another dimension: write throughput. With writes being routed through a single postgres node, write throughput in Citus was ultimately bottlenecked on the CPUs of a single node. Citus MX is a new edition of Citus which allows distributed tables to be used from from any of the nodes, enabling NoSQL-like write-scalability.
-
Andrey Fefelov Mastery.pro
Postgres как основа BI платформы, особенности, практический опыт
I will tell you about why Postgres is first-choice product as a foundation for your BI system with classical OLAP workload. Briefly it will be said about existing open source BI solutions.
I will also describe specific of our architecture, why we chose snowflake scheme and how we are doing extract, transformation and load procedures. It will be mentioned about special Postgres tuning for OLAP and massive data bulkload workloads. Also I will let you know about Postgres usage as a column database with cstore_fdw by Citus and results achieved. Cons and problems of our approach will be described in the end of the talk.
VIDEO