Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Bad Idea? Questions of performance issues, file locking, and GPG

by ptum (Priest)
on Apr 12, 2006 at 16:40 UTC ( [id://542880]=note: print w/replies, xml ) Need Help??


in reply to Bad Idea? Questions of performance issues, file locking, and GPG

Half a million records for a six-month period suggests that you are bringing in less than 3000 submissions a day, on average. This is not a particularly large number from a flat file perspective -- I wouldn't worry too much about optimization unless you have a practice of really going out of your way to make your code inefficient. :)

I know you've said you don't have access to a database, but sometimes people say that when they mean "I don't have access to an instance of Oracle" or whatever the company uses for production data. Have you considered MySQL? It is pretty easy to install, and has most of the power of a 'full-fledged' commercial relational database. Encryption/decryption aside (because I know very little about such things), having your data stored in a relational database makes the extraction of that data in interesting ways much easier.

Rather than blindly hand over the CSV file or whatever to your customers, I would go a step further and ask, "What do you do with this information?" I find that many times there is some simple task I can do while I still have the data that makes life much easier for my customers.


No good deed goes unpunished. -- (attributed to) Oscar Wilde
  • Comment on Re: Bad Idea? Questions of performance issues, file locking, and GPG

Replies are listed 'Best First'.
Re^2: Bad Idea? Questions of performance issues, file locking, and GPG
by hmbscully (Scribe) on Apr 12, 2006 at 18:02 UTC
    Yes, we've considered MySQL... basically we've begged on our knees to be given any database since we aren't allowed access to our Oracle system, but IT says no dice. They don't know MySQL and will not put it on our system no matter what proof to its benefits we provide. I don't have the admin rights on our systems to do it myself. I'm looking to do this stop-gap solution for now. I appreciate the replies and outside of the box suggestions, but I want to assure you all that I am unfortunately extrememly familiar with the data and what the user is doing with it all. I am glad to know that the file locking isn't an issue. Honestly, I never really thought it was but that enough non-perl people have been questioning me on it that I began to doubt my previous thoughts.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found