LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2009, 12:45 AM   #1
synthea
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
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?
 
Old 08-10-2009, 05:37 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 08-10-2009, 06:40 AM   #3
synthea
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
The file is too big for strings to use.
 
Old 08-10-2009, 06:49 AM   #4
jeromeNP7
Member
 
Registered: Jun 2009
Posts: 101

Rep: Reputation: 19
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

Last edited by jeromeNP7; 09-04-2009 at 10:23 PM.
 
Old 08-10-2009, 06:53 AM   #5
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
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).
 
Old 08-10-2009, 12:49 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by synthea View Post
The file is too big for strings to use.
http://www.linuxquestions.org/questi...30#post3637530



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing strings in many files using tcsh mcbenus Linux - Software 5 03-03-2008 06:50 PM
getting strings for all the files and folders in a folder Hard_Working_ Programming 6 04-07-2007 11:55 AM
group files by strings in dir Melsync Programming 7 12-17-2005 01:53 PM
Searching files for strings tmoorman Linux - Software 4 01-08-2004 02:46 PM
concatenating strings to open files veilig Programming 1 11-10-2003 06:36 PM


All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration