Re: [GENERAL] Postgresql not using an index

2008-08-01 Thread Pavel Stehule
2008/8/1 Marc Cuypers <[EMAIL PROTECTED]>: > Hi Pavel, > > Pavel Stehule schreef: >> >> 2008/8/1 Marc Cuypers <[EMAIL PROTECTED]>: >>> >>> Hi Pavel, >>> >>> Isn't the text for the Verbose Explain analyze not enough? >>> Is not, how can i generate it? >>> >>> -- >> >> >> no, I am missing statistics

Re: [GENERAL] Postgresql not using an index

2008-08-01 Thread Marc Cuypers
Hi Pavel, Pavel Stehule schreef: 2008/8/1 Marc Cuypers <[EMAIL PROTECTED]>: Hi Pavel, Isn't the text for the Verbose Explain analyze not enough? Is not, how can i generate it? -- no, I am missing statistics info try EXPLAIN ANALYZE SELECT . regards I entered the command in pgsql an

Re: [GENERAL] Postgresql not using an index

2008-08-01 Thread Pavel Stehule
2008/8/1 Marc Cuypers <[EMAIL PROTECTED]>: > Hi Pavel, > > Isn't the text for the Verbose Explain analyze not enough? > Is not, how can i generate it? > > -- no, I am missing statistics info try EXPLAIN ANALYZE SELECT . regards Pavel Stehule > Best regards, > > Marc > > Pavel Stehule schree

Re: [GENERAL] Postgresql not using an index

2008-08-01 Thread Marc Cuypers
Hi Pavel, Isn't the text for the Verbose Explain analyze not enough? Is not, how can i generate it? -- Best regards, Marc Pavel Stehule schreef: Hello please, send EXPLAIN ANALYZE output. regards Pavel Stehule 2008/8/1 Marc Cuypers <[EMAIL PROTECTED]>: Hi, I'm using postgres 7.4 and bacu

Re: [GENERAL] Postgresql not using an index

2008-08-01 Thread Gregory Williamson
Marc -- > Hi, > > I'm using postgres 7.4 and bacula 1.38 on debian. > > In the bacula database there is a table named 'file' which has about 2.5 > million rows. > In this table there is a field 'jobid' which is indexed. > The index is created with the following command: > CREATE INDEX fil

Re: [GENERAL] Postgresql not using an index

2008-08-01 Thread Pavel Stehule
Hello please, send EXPLAIN ANALYZE output. regards Pavel Stehule 2008/8/1 Marc Cuypers <[EMAIL PROTECTED]>: > Hi, > > I'm using postgres 7.4 and bacula 1.38 on debian. > > In the bacula database there is a table named 'file' which has about 2.5 > million rows. > In this table there is a field 'j

[GENERAL] Postgresql not using an index

2008-08-01 Thread Marc Cuypers
Hi, I'm using postgres 7.4 and bacula 1.38 on debian. In the bacula database there is a table named 'file' which has about 2.5 million rows. In this table there is a field 'jobid' which is indexed. The index is created with the following command: CREATE INDEX file_jobid_idx ON file U