Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Sharing a 300MB variable.

by em (Scribe)
on Dec 28, 2002 at 03:07 UTC ( [id://222680]=note: print w/replies, xml ) Need Help??


in reply to Sharing a 300MB variable.

You might want to start transitioning towards database type solutions as a 'hint' that the MotherLog should become the MotherDB.

I'd suggest looking at the DBI module and one of the following:

  • DBD::CSV - treat a text file like a SQL database
  • DBD::ODBC - driver for ODBC connections (i.e. Access, MS SQL Server, etc)
I've used DBD::ODBC to connect to MS SQL Server and it worked great.

Having several programs access this monster log file is going to be painful. It won't get better -- trust me on this. Start agitating on getting this done right. You'll save a few sanity points if you can get the 'powers that be' to start changing their infrastructure.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://222680]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-20 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found