Bug #44835 INTO OUTFILE should support writing to named pipes
| Submitted: | 12 May 2009 21:37 | Modified: | 13 May 2009 6:24 |
|---|---|---|---|
| Reporter: | Justin Swanhart | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S4 (Feature request) |
| Version: | ANY | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[12 May 2009 21:37]
Justin Swanhart
[13 May 2009 6:24]
Valeriy Kravchuk
Thank you for the feature request.
[17 Oct 2009 18:55]
Peter Laursen
Why not just add a LOCAL option to SELECT INTO OUTFILE just like LOAD DATA has already. This is a very old request actually.
[18 Oct 2009 19:55]
Mark Callaghan
The LOCAL option would be nice to have, but I also want a named pipe. The LOCAL option is more overhead when the client is on the same server as mysqld. I want support for a named pipe to read the data, process it and then send it elsewhere without ever having it on disk.
[25 Jan 2010 15:43]
David Andre
I'd like to add a vote for this feature (an option to support named pipes as a target of INTO OUTFILE). Lack of this feature makes it very difficult to move huge data sets, and can be hugely consumptive of disk resources. We spend a fair amount of time working around this.
[8 Aug 2011 19:39]
dan young
I would like to add a +1 vote for this as well. Not sure if anything recently has changed to support this. Moving large amounts of data around is time consuming...especially on EC2/EBS
[11 Apr 2014 0:08]
Willian Rocha
For security reasons i.e. (don't destroy "/etc/passwd") would create a specific directory in my.cnf for use R/W to OUTFILE. Would be fantastic to use: mkfifo /tmp/FIFO gzip < /tmp/FIFO > table.gz& mysql ..... INTO OUTFILE "/tmp/FIFO" ....
[16 May 2018 16:02]
Mark Rowlinson
I have a large amount of data to export and can't compress until the output is complete, using a named pipe will allow the data to be split into chunks and compressed on the fly so there will be no space issues. I understand concerns about overwriting system files but these aren't FIFO files and you can restrict them to specific directories or declare them in the MySQL configuration. A definite +1 from me
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.