473,534 Members | 2,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PG over NFS tips

The higher-ups are attempting to force me to run Postgres over NFS at
least temporarily.

Despite giving me a queasy feeling and reading quite a bit of messages
advising against it, running Oracle over NFS with a NAS filer doesn't
seem to be unusual. Is there a reason PG would be more sensitive than
Oracle?

Anyone ever done this before in a production environment?

thanks!

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #1
4 5413
Cott Lang wrote:
The higher-ups are attempting to force me to run Postgres over NFS at
least temporarily.

Despite giving me a queasy feeling and reading quite a bit of messages
advising against it, running Oracle over NFS with a NAS filer doesn't
seem to be unusual. Is there a reason PG would be more sensitive than
Oracle?

Anyone ever done this before in a production environment?

thanks!


Do you trust your data to a udp connection ?
We had problem in copying big files ( 1.9GB ) in a mounted NFS partition
and now we prefer to not use it anymore for our data.

Regards
Gaetano Mendola


Nov 23 '05 #2
Cott Lang <co**@internetstaff.com> writes:
The higher-ups are attempting to force me to run Postgres over NFS at
least temporarily. Despite giving me a queasy feeling and reading quite a bit of messages
advising against it, running Oracle over NFS with a NAS filer doesn't
seem to be unusual. Is there a reason PG would be more sensitive than
Oracle?


No --- the issues are not with Postgres per se but with the reliability
of your NFS setup. On top of the not-infinite reliability of disk drive
hardware you now have to stack risk of failure of the NAS machine itself,
network problems, and misconfiguration problems (eg, ill-chosen mount
options).

The people who run Oracle over NFS successfully have usually paid top
dollar for quality NAS hardware and a network run by people who know
what they're doing. Put PG into that same environment and it will work
just as well. But put PG on a lesser-grade setup, run by not quite such
competent admins, and you're in for trouble.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #3
On Thu, 2004-08-05 at 07:37, Tom Lane wrote:
No --- the issues are not with Postgres per se but with the reliability
of your NFS setup. On top of the not-infinite reliability of disk drive
hardware you now have to stack risk of failure of the NAS machine itself,
network problems, and misconfiguration problems (eg, ill-chosen mount
options).
All too well understood - although not by the higher-ups.
The people who run Oracle over NFS successfully have usually paid top
dollar for quality NAS hardware and a network run by people who know
what they're doing. Put PG into that same environment and it will work
just as well. But put PG on a lesser-grade setup, run by not quite such
competent admins, and you're in for trouble.

This will be with an EMC Celerra - so it's at least top dollar. The jury
is still out on quality. :)

I was hoping to cable the machines directly to the NAS, but despite
promises to the contrary, on arrival it lacks enough ports for redundant
crossover connections.

I'm now planning on using the Linux bonding ethernet driver and
etherchannels for redundancy - redundant ethernet cards, links,
switches, and even NAS heads in the filer. I'm not sure how to setup an
NFS network any better, but I welcome any suggestions!

FWIW, I'm being forced to do this because EMC has not (so far) validated
using Opterons in 64bit mode attached to a Clariion SAN. Consider this a
big heads-up for anyone else out there thinking about using EMC +
Opteron.



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #4
Gaetano Mendola wrote:
Do you trust your data to a udp connection ?
- Last time I checked, UDP was connectionless. :)
- NFS runs over TCP, too.
- TCP isn't any better than UDP when it comes to data safety. Either the
app does its own checksumming, or you trust the datalink layer.
We had problem in copying big files ( 1.9GB ) in a mounted NFS partition
and now we prefer to not use it anymore for our data.


I think some (old) versions of NFS and/or (old) Linux kernels have issues
with files >2GB. That 1.9GB is suspiciously close to a 2^31 file offset
limit. I have a 2.2.xx based NFS server here, and of course I can't copy
any file bigger than 2GB on it (since the filesystem on the server doesn't
support that).

I think PostgreSQL handles that well, but I dunno how it detects whether
the filesystem supports 64 bit offsets or not.

..TM.
--
____/ ____/ /
/ / / Marco Colombo
___/ ___ / / Technical Manager
/ / / ESI s.r.l.
_____/ _____/ _/ Co*****@ESI.it

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
2184
by: Chris Mantoulidis | last post by:
There must be some tips to make a program quicker. I guess more than 50% of ppl here will say "avoid the if-s". Yeah I know this makes a program quicker but some times an "if" is inevitable, isn't it? What are some tips to make a program quicker? TIA, cmad
2
2931
by: Allen Browne | last post by:
If you have bookmarked or linked to the Access tips at this site, please ensure you are using the domain name: http://allenbrowne.com/ If your link contains a reference to the server that previously hosted the site (Bigpond), it will cease to work soon. This move follows a frustrating time of outages, emails not delivered for days, and ftp...
2
2201
by: alan | last post by:
Hi all, I have create a simple function and make a pure C dll. When I use this DLL from my main program, I found I cannot see this function's definition tips (yellow box). It works fine, but no yellow box tips! Here is my creating procedure, ----------------------------------------------- #include <stdio.h>
7
2316
by: eyh5 | last post by:
Hi, I'm writing some C codes to run simulations. I'm wondering if there is a website that may contain useful information on how to make one's code run more efficiently and in a computational-time-saving manner. Specifically, what I'd like to know is if there're any useful tips about writing your codes more efficiently. One such useful tip...
7
2387
by: Cheryl Langdon | last post by:
Does anyone know if there is a way to globally turn off ALL control tips in Access 2003 using VBA code? Thanks. --- CL
1
15879
by: MrNobody | last post by:
You know those little balloon tips that come out of your task bar- like for example when Windows warns you about window supdates being available? I'd like to create some of those from my C# app... Can you tell me how? I want to use it to notify users of an event while my program is running in the background (possibly as a service) and it...
68
17884
bartonc
by: bartonc | last post by:
I've decide to compile a bunch of your favorite tips and tricks for the Articles section. I found a post yesterday by Chrisjc that is a perfect example. I copied his post over to create Dealing with USB flash drive issues. Post your favorite tips and tricks here, in this thread, and I'll copy the best ones to a Tips and Tricks article (to be...
0
1181
by: zzzmail.01 | last post by:
I find some useful tips about C/C++ and want to share with you. Sorry if it bothers you. Tips for better Coding Style: http://tmh-coding-tips.blogspot.com/2008/09/cc-guidelines-for-better-coding-style.html Tips for better Memory Management: http://tmh-coding-tips.blogspot.com/2008/09/cc-tips-for-better-memory-management.html Tips for...
20
12333
Nepomuk
by: Nepomuk | last post by:
As Linux and the various flavours of Unix are slowly spreading into the world of personal computers, I thought we could collect a few Tips and Tricks here to help each other making the best out of our distributions! Ideally any Tips posted here should be available for several distributions, but we won't reject any that aren't. :-) Please...
8
5907
Frinavale
by: Frinavale | last post by:
Edit Many times we spend hours and hours trying to solve a problem. When we finally figure it out, we want to share it to keep others from suffering the same way! That's why we have this "Tips and Tricks" thread. Post your solutions and tricks that you think will help someone down the road here. If the tip is complex or long, you might...
0
7359
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7286
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7528
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7634
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5821
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4840
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3341
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1747
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
570
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.