[PERFORM] Create view

2017-08-03 Thread Daulat Ram
Dear team, Can you please let me know how we can create a view using db link, A base table column having serial datatype. And we want to create a view of that table on server B. But unable to create and getting the below issue. Error: ERROR: type "serial" does not exist LINE 17: as roaster_tes

Re: [PERFORM] Create view

2017-08-03 Thread Pavel Stehule
Hi This is wrong mailing list for this question - please, use pgsql-general for similar questions. I don't see any relation to performance. 2017-08-03 9:18 GMT+02:00 Daulat Ram : > Dear team, > > > > Can you please let me know how we can create a view using db link, > > A base table column havin

[PERFORM] Slow queries after db upgrade to 9.6

2017-08-03 Thread Bhaskar Annamalai
Hi, We recently upgraded our database from 9.1 to 9.6. We are seeing some unusual slow queries after the upgrade. Sometimes the queries are faster after vacuum analyze, but not consistent. We tried with different settings of random_page_cost, work_mem, effective_cache_size but the query results