| От | Richard Huxton |
|---|---|
| Тема | Re: Accessing 2 different databases in the same query ? |
| Дата | |
| Msg-id | 200306021232.29405.dev@archonet.com обсуждение исходный текст |
| Ответ на | Re: Accessing 2 different databases in the same query ? (Nagib Abi Fadel <nagib_postgres@yahoo.com>) |
| Список | pgsql-general |
On Monday 02 Jun 2003 9:39 am, Nagib Abi Fadel wrote: > From what i read dblink let's us access another database in the same query > ... Which is great. But does it slow down the query ?? Don't use it myself, but from discussion on the lists, I'd say "probably" - don't see how it could be otherwise. You'll want to test. > And what about making references between tables (creating foreign keys) is > it possible ????? Nope - just not practical. You could bring both servers to a grinding halt very quickly trying to keep track of FKs over a network link. Incidentally, if you don't need the two databases on different machines, perhaps look at using schemas to separate users - that would let you have FKs etc. -- Richard Huxton
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера