Re: [pgbr-geral] Problema com Performace em Bytea

2007-08-06 Por tôpico Antonio Nascimento
SO: Windows XP EXPLAIN ANALYZE select * from videos where id =4 Index Scan using videos_pkey on videos (cost=0.00..8.27 rows=1 width=325) (actual time=0.023..0.027 rows=1 loops=1) Index Cond: (id = 4) Total runtime: 0.106 ms Contudo me expressei mal quando disse trava... Testei um bytea com

Re: [pgbr-geral] Problema com Performace em Bytea

2007-08-06 Por tôpico Leandro Guimarães Faria Corcete DUTRA
RFC 1855! Em Seg, 2007-08-06 às 10:34 -0300, Antonio Nascimento escreveu: SO: Windows XP EXPLAIN ANALYZE select * from videos where id =4 Index Scan using videos_pkey on videos (cost=0.00..8.27 rows=1 width=325) (actual time=0.023..0.027 rows=1 loops=1) Index Cond: (id = 4) Total

Re: [pgbr-geral] Problema com Performace em Bytea

2007-08-06 Por tôpico Antonio Nascimento
TABLE videos ( id integer NOT NULL, description text, name text, author text, tags text, license character(1), width integer, height integer, length integer, dateinsertion date, extension text, bitrate integer, framerate double precision, duration text, standard text,

Re: [pgbr-geral] Problema com Performace em Bytea

2007-08-06 Por tôpico Leandro Guimarães Faria Corcete DUTRA
RFC 1855 pelamãedoguarda. Em Seg, 2007-08-06 às 11:41 -0300, Antonio Nascimento escreveu: TABLE videos ( id integer NOT NULL, […] video bytea, thumbnail bytea, CONSTRAINT videos_pkey PRIMARY KEY (id) ) A tupla que queria consultar o campo video tem 55MB Ahn! Nunca

Re: [pgbr-geral] Problema com Performace em Bytea

2007-08-06 Por tôpico Roberto Mello
On 8/6/07, Antonio Nascimento [EMAIL PROTECTED] wrote: Contudo me expressei mal quando disse trava... Testei um bytea com 55MB e quando rodei o select aparece o seguinte: ERROR: out of memory SQL state: 53200 Detail: Failed on request of size 268435456. Fiz uma pesquisa no Google, e a

Re: [pgbr-geral] Problema com Performace em Bytea

2007-08-06 Por tôpico Antonio Nascimento
obrigado Roberto setando esse flag funcionou... demorou 43 segundos para retornar a tupla. Agora irei testar mais opções de tuning pra melhorar esse tempo. Antonio On 8/6/07, Roberto Mello [EMAIL PROTECTED] wrote: On 8/6/07, Antonio Nascimento [EMAIL PROTECTED] wrote: Contudo me

Re: [pgbr-geral] Problema com Performace em Bytea

2007-08-06 Por tôpico Euler Taveira de Oliveira
Antonio Nascimento wrote: SO: Windows XP EXPLAIN ANALYZE select * from videos where id =4 Index Scan using videos_pkey on videos (cost=0.00..8.27 rows=1 width=325) (actual time=0.023..0.027 rows=1 loops=1) Index Cond: (id = 4) Total runtime: 0.106 ms O custo de execução é muito baixo

[pgbr-geral] Problema com Performace em Bytea

2007-08-05 Por tôpico Antonio Nascimento
Pessoal, Estou usando o PostgreSQL 8.2 e estou tendo problemas com a performace na consulta de objetos com mais de 5MB... em uma consulta com 8MB o banco demora 8 segundos... com um arquivo 40MB ele simplesmente trava deixei mais de 40 min e nada... testei em duas máquinas diferentes como