PostgreSQL Tuning and running a query on a big data

Поиск
Список
Период
Сортировка
От Sachin Kumar
Тема PostgreSQL Tuning and running a query on a big data
Дата
Msg-id CALg-PKDzXckzuZfMu-zt768sG5T17iuqso8ton6Cgj_vPa6U9w@mail.gmail.com
обсуждение исходный текст
Ответы Re: PostgreSQL Tuning and running a query on a big data
Re: PostgreSQL Tuning and running a query on a big data
Список pgsql-admin
Hi Experts,

1.   I require guidance in tuning my PostgreSQL server installed on Windows 2016 Server. Please help me out with the configuration. or a url to ture PostgreSQL Server

I am not able to find an expert who can help me in Postgres, that why I am asking too many questions. I will be really grateful if you can help me out.


2.   I have to upload a 5 GB file into a Table. Will it allow a 5GB file to be uploaded? or I have to increase the tablespace of the particular table.

3.   while running the query on 1 million cards it is taking too much time, say 150 min. is there any way I can reduce it.
Query I am using
UPDATE hk_card_master_test m
SET "ACCOUNT_NUMBER" = v."v_account_number", "ISSUANCE_NUMBER" = v."v_issuance_number","cron"=1
FROM (
SELECT h."id",h."CARD_SEQUENCE_NUMBER" ,h."ACCOUNT_NUMBER" ,h."ISSUANCE_NUMBER",c."ACCOUNT_NUMBER" v_account_number,c."ISSUANCE_NUMBER" v_issuance_number
FROM
hk_card_master_test h
JOIN
vdaccount_card_bank c
ON SUBSTR(c."ACCOUNT_NUMBER", 1, 10) = h."CARD_SEQUENCE_NUMBER"
ORDER BY h."id" ASC LIMIT 1000
) AS v
WHERE m."CARD_SEQUENCE_NUMBER" = v."CARD_SEQUENCE_NUMBER";

--

Best Regards,
Sachin Kumar

В списке pgsql-admin по дате отправления:

Предыдущее
От: postgres dba
Дата:
Сообщение: How to overcome network issue in pgpool auto failover
Следующее
От: Ron
Дата:
Сообщение: Re: PostgreSQL Tuning and running a query on a big data