Queries Running for Negative Time
Related posts:
- PSQL Not Running First Statement In Script
- Preventing filling the temporary tablespace by killing slow queries
- Session hanging with no locking pid
- PostgreSQL Quick Health Check
- PostgreSQL Database Capacity Planning 1 – Disk Space
- Debugging ShareLock on Transaction
- PostgreSQL: Issue with Prepared Transactions
- Compacting PostgreSQL Tables
1 Comment
Leave a comment
Article Series
Kick Ass PostgreSQL Books
Recent Posts
Kick Ass Oracle Books
Popular Posts
- Top 10 Missing PostgreSQL Features 487 view(s)
- PostgreSQL vs Oracle Differences #4 - Shared Memory Usage 371 view(s)
- PostgreSQL vs Oracle Differences #3 - System Resources 331 view(s)
- pg_restore: [archiver] unsupported version (1.12) in file header 289 view(s)
- PostgreSQL - Dropping a template database 265 view(s)
- PostgreSQL Database Capacity Planning 1 - Disk Space 148 view(s)
- PostgreSQL vs Oracle Differences #1 - Clusters 145 view(s)
- PostgreSQL vs Oracle Differences #2 - Support 99 view(s)
Archives
- March 2012 (1)
- September 2011 (1)
- August 2011 (2)
- July 2011 (3)
- June 2011 (10)
- May 2011 (10)
- April 2011 (7)
- March 2011 (10)
- February 2011 (5)
- January 2011 (1)
- December 2010 (4)
- November 2010 (2)
- October 2010 (3)
Tags
Alerts
Analyze
Backup
Bloat
Catalog
Checkpoints
compression
Copy
Disk
Disk Space
gzip
Index
Install
Kill
Linux
Locking
Logs
Monitoring
Oracle
Parallel
Parameter
Partition
Performance
pg_ctl
pg_dump
pg_restore
pg_xlog
PostgreSQL
psql
Roles
Scripts
Security
ssh
Stats
Support
Tablespace
Template
Temporary
toast
Transactions
Upgrade
UTF
Vacuum
Versions
Windows
Categories
- Linux (23)
- Oracle (6)
- PostgreSQL (55)
- Uncategorized (1)
- Windows (7)




The post should have been titled: “Postgres can see the future!”
I have also experienced a situation where Postgres was able to show me a piece of data that was supposed to be from the future. I was running the query on a very cheap VPS, and it was speculated that on a multi-processor machine the values of gettimeofday() can drift apart, and hence this side effect. http://goo.gl/baWrA