pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergei Barbarash <sgt@dot.ru>
To: pgsql-sql@postgreSQL.org
Subject: Indexing datetime
Date: Wed, 26 Aug 1998 10:51:50 +0400
Message-ID: <199808260651.KAA21997@zaraza.dot.ru> (raw)

Hello,

I have a table for web server logs, which contains a datetime column. Most of 
my queries depend on date/time clauses (retrieving periods of time). It works 
terribly slow. Can I optimize it somehow? How should I create an index? What 
operators should I use in the clauses?

Thanks in advance,

-- Sergei





view thread (3+ messages)  latest in thread

Message-ID: <199808260651.KAA21997@zaraza.dot.ru>
Permalink:  ../199808260651.KAA21997@zaraza.dot.ru/
Also on:    postgresql.org/message-id/199808260651.KAA21997@zaraza.dot.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: sgt@dot.ru
  Subject: Re: Indexing datetime
  In-Reply-To: <199808260651.KAA21997@zaraza.dot.ru>
  References: <199808260651.KAA21997@zaraza.dot.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox