Will creating a view Table in schema 2 that pulls data from Table on schema 1 , affect the database or cause any other issues? my code:
CREATE VIEW "test"."Excavation" AS
SELECT *
FROM "public"."Distribution_UG";
Will creating a view Table in schema 2 that pulls data from Table on schema 1 , affect the database or cause any other issues? my code:
CREATE VIEW "test"."Excavation" AS
SELECT *
FROM "public"."Distribution_UG";
Creating a view does not cause any performance problem as such. Schemas don't make a difference there; they are just a logical category.
Of course it can impact your performance if you use the view — just like running the defining query can impact performance, because it consumes resources.