LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Strings does not work for big files (https://www.linuxquestions.org/questions/linux-newbie-8/strings-does-not-work-for-big-files-746337/)

synthea 08-09-2009 11:45 PM

Strings does not work for big files
 
I was trying to calculate DBID of oracle database according to the topic http://arjudba.blogspot.com/2008/05/...find-dbid.html and following number 2) mechanism specified there that is using of strings keyword.

My unfortunately my oracle database datafile is so big that I could not use strings keyword for searching.

I used,
strings datafilename_loc.

It failed with big file size. What I will do now?
How I can open file with strings?

Tinkster 08-10-2009 04:37 AM

Hi, welcome to LQ!

Can you please describe in what way it "failed"?
What *did* you get? Any error messages? No output
at all? What makes you think the "failure" is size
related in the first place?


Cheers,
Tink

synthea 08-10-2009 05:40 AM

The file is too big for strings to use.

jeromeNP7 08-10-2009 05:49 AM

This can be a memory issue, though databases have a tendency to grow far beyond RAM capacities, no matter how big your RAM modules are. But even so, databases are supposed to hold large amounts of data, and that's why queries have been invented. You need to tailor a query that pre-sorts the possible results. Then you have to run strings keyword on those results. Should take significantly less memory.

Linux

karamarisan 08-10-2009 05:53 AM

Is that the exact error text? It doesn't sound like it... and I just strings'd my strings, and that text isn't in it (the word 'size' doesn't even appear).

Tinkster 08-10-2009 11:49 AM

Quote:

Originally Posted by synthea (Post 3637584)
The file is too big for strings to use.

http://www.linuxquestions.org/questi...30#post3637530



Cheers,
Tink


All times are GMT -5. The time now is 07:46 AM.