What's a reasonable maximum size that a cross-platform application could allow a text file to get? I understand that this is an oversimplified question so allow me to explain.
My team is implementing a bulk load interface for clients to load data into our database. It will write out a CSV file and then load that file into the appropriate database (at this point either Oracle or SQL Server). We could be dealing with a relatively high number of records.
Is there any limit I should put on the size of these text files before I start breaking it up into multiple text files? Currently, we're deploying to Linux and Windows, but we also have developers using OS X. Plus, some of our clients have somewhat dated versions of these operating systems. I'd imagine that this is dependent upon the OS, file system, and RDBMS that we're connecting to. Rather than trying to set a limit for each individual platform, I'd like to just have one overall limit for simplicity's sake (as long as that limit isn't overly restrictive). Is this even necessary, or is there a cap I can set across the board?