• Complain

Regina O. Obe - PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database

Here you can read online Regina O. Obe - PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2014, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Regina O. Obe PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database
  • Book:
    PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2014
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Thinking of migrating to PostgreSQL? This clear, fast-paced introduction helps you understand and use this open source database system. Not only will you learn about the enterprise class features in versions 9.2, 9.3, and 9.4, youll also discover that PostgeSQL is more than a database system--its also an impressive application platform.
With examples throughout, this book shows you how to achieve tasks that are difficult or impossible in other databases. This second edition covers LATERAL queries, augmented JSON support, materialized views, and other key topics. If youre a current PostgreSQL user, youll pick up gems you may have missed before.
  • Learn basic administration tasks such as role management, database creation, backup, and restore
  • Apply the psql command-line utility and the pgAdmin graphical administration tool
  • Explore PostgreSQL tables, constraints, and indexes
  • Learn powerful SQL constructs not generally found in other databases
  • Use several different languages to write database functions
  • Tune your queries to run as fast as your hardware will allow
  • Query external and variegated data sources with foreign data wrappers
  • Learn how to use built-in replication features to replicate data

Regina O. Obe: author's other books


Who wrote PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database? Find out the surname, the name of the author of the book and a list of all author's works by series.

PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
PostgreSQL: Up and Running
Regina O. Obe
Leo S. Hsu
Preface

PostgreSQL is an open source relational database management system that began as a research project at the University of California, Berkeley. It was originally released under the BSD license but now uses the PostgreSQL License (TPL). For all intents and purposes, its BSD-licensed. It has a long history, dating back to 1985.

PostgreSQL has enterprise-class features such as SQL windowing functions, the ability to create aggregate functions and also utilize them in window constructs, common table and recursive common table expressions, and streaming replication. These features are rarely found in other open source databases but are common in newer versions of proprietary databases such as Oracle, SQL Server, and DB2. What sets PostgreSQL apart from other databases, including the proprietary ones we just mentioned, is how easily you can extend it, usually without compiling any code. Not only does it include advanced features, but it also performs them quickly. It can outperform many other databases, including proprietary ones, for many types of database workloads.

In this book, well expose you to the advanced ANSI SQL features that PostgreSQL offers and the unique features it contains. If youre an existing PostgreSQL user or have some familiarity with it, we hope to show you some gems you may have missed along the way or features found in newer PostgreSQL versions that are not in the version youre using. This book assumes youve used another relational database before but may be new to PostgreSQL. Well show some parallels in how PostgreSQL handles tasks compared to other common databases, and well demonstrate feats you can achieve with PostgreSQL that are difficult or impossible to do in other databases. If youre completely new to databases, youll still learn a lot about what PostgreSQL has to offer and how to use it; however, we wont try to teach you SQL or relational theory. You should read other books on these topics to take the greatest advantage of what this book has to offer.

This book focuses on PostgreSQL versions 9.2, 9.3, and 9.4, but we will cover some unique and advanced features that are also present in prior versions of PostgreSQL.

Audience

We hope that both working and budding database professionals will find this book to be of use. We specifically target the following ilk:

  • We hope that someone whos just learning about relational databases will find this book useful and make a bond with PostgreSQL for life. In this second edition, we have expanded on many topics, providing elementary examples where possible.

  • If youre currently using PostgreSQL or managing it as a DBA, we hope youll find this book handy. Well be flying over familiar terrain, but youll be able to pick up a few pointers and shortcuts introduced in newer versions that could save time. If nothing else, this book is 20 times lighter than the PostgreSQL manual.

  • Not using PostgreSQL yet? This book is propagandathe good kind. Each day that youre wedded to a proprietary system, youre bleeding dollars. Each day youre using a less powerful database, youre making compromises with no benefits.

If your work has nothing to do with databases or IT, or if youve just graduated from kindergarten, the cute picture of the elephant shrew on the cover should be worthy of the price alone.

What Makes PostgreSQL Special, and Why Use It?

PostgreSQL is special because its not just a database: its also an application platform, and an impressive one at that.

PostgreSQL allows you to write stored procedures and functions in several programming languages. In addition to the prepackaged languages, you can enable support for more languages via the use of extensions. Example built-in languages that you can write stored functions in are SQL and PL/pgSQL. Languages you can enable via extensions are PL/Perl, PL/Python, PL/V8 (aka PL/JavaScript), and PL/R, to name a few. Many of these are packaged with common distributions. This support for a wide variety of languages allows you to solve problems best addressed with a domain-specific or more procedural or functional language; for example, using R statistics and graphing functions, and R succinct domain idioms, to solve statistics problems; calling a web service via Python; or writing map reduce constructs and then using these functions within an SQL statement.

You can even write aggregate functions in any of these languages, thereby combining the data-aggregation power of SQL with the native capabilities of each language to achieve more than you can with the language alone. In addition to using these languages, you can write functions in C and make them callable, just like any other stored function. Functions written in several different languages can participate in one query. You can even define aggregate functions containing nothing but SQL. Unlike in MySQL and SQL Server, no compilation is required to build an aggregate function in PostgreSQL. So, in short, you can use the right tool for the job even if each subpart of a job requires a different tool. You can use plain SQL in areas where most other databases wont let you. You can create fairly sophisticated functions without having to compile anything.

The custom type support in PostgreSQL is sophisticated and very easy to use, rivaling and often outperforming most other relational databases. The closest competitor in terms of custom type support is Oracle. You can define new data types in PostgreSQL that can then be used as a table column type. Every data type has a companion array type so that you can store an array of a type in a data column or use it in an SQL statement. In addition to having the ability to define new types, you can also define operators, functions, and index bindings to work with these new types. Many third-party extensions for PostgreSQL take advantage of these features to achieve performance speedups, provide domain-specific constructs to allow shorter and more maintainable code, and accomplish tasks you can only fantasize about in other databases.

If building your own types and functions is not your thing, you have a wide variety of built-in data types, such as json (introduced in version 9.2), and extensions that provide more types to choose from. Many of these extensions are packaged with PostgreSQL distributions. PostgreSQL 9.1 introduced a new SQL construct, CREATE EXTENSION, that allows you to install an extension with a single SQL statement. Each extension must be installed in each database you plan to use it in. With CREATE EXTENSION, you can install in each database you plan to use any of the aforementioned PL languages and popular types with their companion functions and operators, such as the hstore key-value store, ltree hierarchical store, PostGIS spatial extension, and countless others. For example, to install the popular PostgreSQL key-value store type and its companion functions, operators, and index classes, you would run:

CREATEEXTENSIONhstore;

In addition, there is an SQL command you can run (see ) to list the available and installed extensions.

Many of the extensions we mentioned, and perhaps even the languages we discussed, may seem uninteresting to you. You may recognize them and think, Meh, Ive seen Python, and Ive seen Perl.... So what? As we delve further, we hope you experience the same wow moments weve come to appreciate with our many years of using PostgreSQL. Each update treats us to new features, increases usability, brings improvements in speed, and pushes the envelope of what is possible with a relational database. In the end, you will wonder why you ever used any other database, because PostgreSQL does everything you could hope for and does it for free. No more reading the licensing-cost fine print of those other databases to figure out how many dollars you need to spend if you have 8 cores on your server and you need X,Y, and Z functionality, and how much it will cost to go to 16 cores.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database»

Look at similar books to PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database»

Discussion, reviews of the book PostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.