04780nam 2200649 a 450 991078522900332120200520144314.01-282-89647-497866128964771-84951-031-8(CKB)2670000000055048(EBL)943995(OCoLC)796383595(SSID)ssj0000441016(PQKBManifestationID)11292965(PQKBTitleCode)TC0000441016(PQKBWorkID)10405149(PQKB)10423785(Au-PeEL)EBL943995(CaPaEBR)ebr10428670(CaONFJC)MIL289647(CaSebORM)9781849510301(MiAaPQ)EBC943995(PPN)227983920(EXLCZ)99267000000005504820101207d2010 uy 0engurunu|||||txtccrPostgreSQL 9.0[electronic resource] high performance /Gregory Smith1st editionBirmingham [England] Packt Publishing20101 online resource (468 p.)Open source : community experience distilled"Accelerate your PostgreSQL system and avoid the common pitfalls that can slow it down."Includes index.1-84951-030-X Cover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: PostgreSQL Versions; Performance of historical PostgreSQL releases; Choosing a version to deploy; Upgrading to a newer major version; Upgrades to PostgreSQL 8.3+ from earlier ones; Minor version upgrades; PostgreSQL or another database?; PostgreSQL tools; PostgreSQL contrib; Finding contrib modules on your system; Installing a contrib module from source; Using a contrib module; pgFoundry; Additional PostgreSQL-related software; PostgreSQL application scaling lifecyclePerformance tuning as a practice Summary; Chapter 2: Database Hardware; Balancing hardware spending; CPUs; Memory; Disks; RAID; Drive error handling; Hard drive reliability studies; Drive firmware and RAID; SSDs; Disk controllers; Hardware and Software RAID; Recommended disk controllers; Attached storage - SAN and NAS; Reliable controller and disk setup; Write-back caches; Sources of write-back caching; Disk controller monitoring; Disabling drive write caches; Performance impact of write-through caching; Summary; Chapter 3: Database Hardware Benchmarking; CPU and memory benchmarkingmemtest86+STREAM memory testing; STREAM and Intel vs. AMD; CPU benchmarking; Sources of slow memory and processors; Physical disk performance; Random access and I/Os Per Second; Sequential access and ZCAV; Short stroking; Commit rate; PostgreSQL test_fsync; INSERT rate; Windows commit rate; Disk benchmarking tools; hdtune; Short stroking tests; IOPS; Unpredictable performance and Windows; dd; bonnie++; bonnie++ 2.0; bonnie++ ZCAV; sysbench; Seek rate; fsync commit rate; Complicated disk benchmarks; Sample disk results; Disk performance expectations; Sources of slow disk and array performanceSummary Chapter 4: Disk Setup; Maximum file system sizes; File system crash recovery; Journaling file systems; Linux file systems; ext2; ext3; ext4; XFS; Other Linux file systems; Write barriers; Drive support for barriers; File system support for barriers; General Linux file system tuning; Read-ahead; File access times; Read caching and swapping; Write cache sizing; I/O scheduler elevator; Solaris and FreeBSD file systems; Solaris UFS; FreeBSD UFS2; ZFS; Windows filesystems; FAT32; NTFS; Adjusting mounting behaviour; Disk layout for PostgreSQL; Symbolic links; Tablespaces; Database directory treeTemporary files Disk arrays, RAID, and disk layout; Disk layout guidelines; Summary; Chapter 5: Memory for Database Caching; Memory units in the postgresql.conf; Increasing UNIX shared memory parameters for larger buffer sizes; Kernel semaphores; Estimating shared memory allocation; Inspecting the database cache; Installing pg_buffercache into a database; Database disk layout; Creating a new block in a database; Writing dirty blocks to disk; Crash recovery and the buffer cache; Checkpoint processing basics; Write-ahead log and recovery processing; Checkpoint timing; Checkpoint spikesSpread checkpointsAccelerate your PostgreSQL systemDatabase managementDatabase management.005.7585Smith Gregory193667MiAaPQMiAaPQMiAaPQBOOK9910785229003321PostgreSQL 9.03698124UNINA