Search the whole database

Hi
I was tasked to search the whole database (all schemas, all tables) for hard-coded IP addresses and host names.
I would divide the problem into two:
1) how to search the whole database
2) how to search for ip addresses - I've heard about 10g feature of regular expressions but AFAIK it is not the case of pre-10g db.
Could you gimme the hint how to do it?
Regards
Paul G. Matuszyk

Aside from a general caveat that if you don't know the data model well enough to be able to figure out the handful of columns in the handful of tables that might contain IP addresses and host names, any solution to this problem is going to be incomplete and miss some corner cases...
You can search the entire database by writing dynamic SQL, i.e.
FOR x IN (SELECT * FROM dba_tab_cols WHERE data_type IN ('CHAR', 'VARCHAR2')
LOOP
  EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' || x.owner || '.' || x.table_name || WHERE isHostName( ' || x.column_name || ') = 1' INTO l_cnt;
  IF( l_cnt > 0 )
  THEN
    <<do something>>
  END IF;
END LOOP;This assumes that you have functions like isHostName and isIPAddress and that you can restrict your search to CHAR and VARCHAR2 columns.
Identifying a host name seems rather difficult unless you know that it is a fully qualified host name (i.e. <<host>>.foo.com) rather than the more common approach of assuming the .foo.com bit in an internal application.
Identifying an IP address can be a challenge as well. It's possible that someone would have stored it in 4 separate columns rather than in a VARCHAR2 column as 4 numbers separated by periods. Assuming the latter, though, you can use INSTR and SUBSTR to parse a string looking for periods and then see if the string between periods are numeric.
Of course, this solution is also going to be extremely slow, since you're going to be full scanning just about every table in the database, possibly multiple times.
Justin

Similar Messages

  • Import the whole database

    Hi everyone.
    I am using database 7.3.2.
    I exported the whole database and I want to import the whole database from the exported file.
    please could anyone provide me with the steps to import the whole database and what should I do in **details**.
    bye.

    Hi,
    what should I do exactly before I start importing my database, should I drop all the users or what exactly please.The exact steps depend on your database, used objects and so on. You have to try it in a development environment first. Doing so will probably yield some problems - or none if you are lucky. In addition to that you will know the required timeframe for export and import.
    If you just want to get rid of chained rows you might try "alter table move" or "create table as select"; but i dont know if these were available in 7.3 (most probably 7.3 was release prior my birth ^^)
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • My MacAir is great except for a problem i have. Keys F1, F2,F5,F6,F7,F8,F9,F10,F11,F12 and the power button are unresponsive. These are keys i frequently use and i have searched the whole apple help centre. Anyone got answers for me? Please helP!!!

    My MacAir is great except for a problem i have. Keys F1, F2,F5,F6,F7,F8,F9,F10,F11,F12 and the power button are unresponsive. These are keys i frequently use and i have searched the whole apple help centre. Anyone got answers for me? Please helP!!!

    Some keys don't work as expected
    From the Apple menu, choose System Preferences.
    From the View menu, choose Speech.
    Click the Text to Speech tab.
    If "Speak selected text when the key is pressed" is enabled, the key or key combination set to speak text cannot be used for other purposes or used to type text--click Set Key and change it to a less-commonly used key combination (try to use modifier keys such as Shift, Command, Option, and Control). Or, disable the "Speak selected text when the key is pressed" option.
    Click the Universal Access pane in System Preferences, click the Keyboard tab.
    Make sure that Slow Keys is turned off. With Slow Keys on, you need to press a key for a longer period of time for it to be recognized.
    In the Universal Access pane, click the Mouse tab, and make sure Mouse Keys is turned off. With Mouse Keys enabled, you cannot use the Numeric Keypad to enter numbers--instead the keypad moves the pointer (cursor). (There is an option to enable Mouse Keys with five presses of the Option key; you may want to turn that option off to avoid accidentally enabling it.) If Mouse Keys is enabled and you are using a keyboard with no numeric keypad or Num Lock function, see Unable to type while Mouse Keys is enabled in Mac OS X.
    If the function keys on the top row of the keyboard are not working as expected, see Mac OS X: How to change the behavior of function keys.
    If the issue persists, use Keyboard Viewer to help isolate the issue:
    Click the Language & Text pane (Mac OS X v10.6) or International pane (Mac OS X v10.5.8 or earlier) in System Preferences.
    Click the Input Sources tab (or Input Menu tab in Mac OS X 10.5.8 or earlier).
    Click the Keyboard & Character Viewer "On" checkbox to select it (click the Keyboard Viewer "On" checkbox in Mac OS X 10.5.8 or earlier).
    From the Input (flag) menu, choose Show Keyboard Viewer.
    If the keyboard is connected and detected by Mac OS X, the keys you type will highlight in the Keyboard Viewer window. Open TextEdit (or any text application), and try to type something using the keys that were previously not responding to see if they highlight in Keyboard Viewer.
    Start from the Mac OS X Install Disc, choose Terminal from the Utilities menu and test the keys which were previously not working.  If the keys work while started from the Install disc, then the keyboard itself is working correctly.  Use Mac OS X: How to troubleshoot a software issue to isolate the software issue that may be causing the keys to not respond.
    http://support.apple.com/kb/TS1381

  • Hi, Have tried searching the bookmarks database. Can't find my problem addressed :9

    Hi, Have tried searching the database. Can't find my problem addressed. I have lost one folder in my bookmarks and all of its contents. Went to all of the sites in that folder and downloaded them again. Some of the new downloads don't show up in the bookmarks list even though it says, site is bookmarked? What do I need to do to see all of the contents in that folder, please?
    Thanks.

    Thank you so much for trying to help me. So sorry that I am computer illiterate :)
    Using your first alternate suggestion I closed down the computer completely.
    When reopened it was the same.
    Downloaded the Maintenance Add-On and did All>Execute. Some changes were made but the problem remained the same.
    Following your second suggestion I deleted the places.squite folder and reopened FF. The problem remains...
    For your information - don't know if it matters, both my bookmarks folder and my bookmarksbackups folder are empty. Screen shot attached.
    Oooff - now I am getting upload invalid and I don't know why! I saved them both as .jpg
    So sorry to be thick! Can you help?
    Thank you.

  • How to random select 10% of the customer in the whole database in BIEE 11g

    Hi
    I would like to select 10% of the customer randomly from my database in BIEE, but I found that the function rand() is not for this purpose, how can I do that?
    Thanks for help!

    Read this thread,
    How can i get bind variable value in 9i or 8i?
    In 9i without the trace its not possible to capture the bind values.
    Aman....

  • I accidentally the whole database

    Lately our development database had some hiccups (archivelog destination was full or sth), but I didn't really pay attention, because it's development DB (we had to use rman delete archive log all and it was ok).
    The data is not important, the only real value is the schema and we have that in another database, so the situation is not critical.
    So, today I wanted to do the routine again, but screwed something in the process. I don't know exactly what, where and when I clicked, but I know I did click "perform recovery" a few times in the EM. I think one of the times it was trying to perform restore from backup (I have no idea how old that backup was).
    Now i'm stuck with
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    '/u01/app/oracle/product/11.1.0/db_1/oradata/oradb/system01.dbf'
    I suspect the backup was performed from a really old backup files. I think I do have current archivelogs.
    Is there any way to simply recover the database? I do have other options, we do have create scripts etc., but just want to know it I can do anything.

    Tue Apr 21 06:27:47 2009
    Stopping background process CJQ0
    Tue Apr 21 06:27:47 2009
    Stopping background process MMNL
    Tue Apr 21 06:27:47 2009
    Stopping background process MMON
    Tue Apr 21 06:27:47 2009
    Shutting down instance (immediate)
    License high water mark = 2
    Tue Apr 21 06:27:47 2009
    Stopping Job queue slave processes
    Tue Apr 21 06:27:47 2009
    Job queue slave processes stopped
    All dispatchers and shared servers shutdown
    Tue Apr 21 06:27:47 2009
    ALTER DATABASE CLOSE NORMAL
    ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
    Tue Apr 21 06:27:47 2009
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Apr 21 06:28:06 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 637534208
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 50331648
    streams_pool_size = 50331648
    trace_enabled = FALSE
    nls_language = SLOVENIAN
    nls_territory = SLOVENIA
    nls_length_semantics = CHAR
    sga_target = 1015021568
    control_files = /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control01.ctl, /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control02.ctl, /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control03.ctl
    db_block_size = 8192
    __db_cache_size = 314572800
    compatible = 10.2.0.1.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area
    db_recovery_file_dest_size= 32212254720
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 900
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=oradbXDB)
    job_queue_processes = 10
    background_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/bdump
    user_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/udump
    core_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/cdump
    audit_file_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/adump
    session_max_open_files = 20
    db_name = oradb
    open_cursors = 300
    sql_trace = FALSE
    pga_aggregate_target = 337641472
    gbyhash_aggregation_enabled= TRUE
    aq_tm_processes = 0
    Deprecated system parameters with specified values:
    sql_trace
    End of deprecated system parameter listing
    PMON started with pid=2, OS id=12260
    PSP0 started with pid=3, OS id=12262
    MMAN started with pid=4, OS id=12264
    DBW0 started with pid=5, OS id=12266
    LGWR started with pid=6, OS id=12268
    CKPT started with pid=7, OS id=12270
    SMON started with pid=8, OS id=12272
    RECO started with pid=9, OS id=12274
    CJQ0 started with pid=10, OS id=12276
    MMON started with pid=11, OS id=12278
    MMNL started with pid=12, OS id=12280
    Tue Apr 21 06:28:07 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Tue Apr 21 06:28:07 2009
    ALTER DATABASE MOUNT
    Tue Apr 21 06:28:11 2009
    Setting recovery target incarnation to 2
    Tue Apr 21 06:28:11 2009
    Successful mount of redo thread 1, with mount id 2437988343
    Tue Apr 21 06:28:11 2009
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Tue Apr 21 06:28:11 2009
    ALTER DATABASE OPEN
    ORA-1113 signalled during: ALTER DATABASE OPEN...
    Shutting down instance: further logons disabled
    Tue Apr 21 06:29:11 2009
    Stopping background process CJQ0
    Tue Apr 21 06:29:11 2009
    Stopping background process MMNL
    Tue Apr 21 06:29:11 2009
    Stopping background process MMON
    Tue Apr 21 06:29:11 2009
    Shutting down instance (immediate)
    License high water mark = 1
    Tue Apr 21 06:29:11 2009
    Stopping Job queue slave processes
    Tue Apr 21 06:29:11 2009
    Job queue slave processes stopped
    All dispatchers and shared servers shutdown
    Tue Apr 21 06:29:11 2009
    ALTER DATABASE CLOSE NORMAL
    ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
    Tue Apr 21 06:29:11 2009
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Apr 21 06:29:11 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 641728512
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 50331648
    streams_pool_size = 50331648
    trace_enabled = FALSE
    nls_language = SLOVENIAN
    nls_territory = SLOVENIA
    nls_length_semantics = CHAR
    sga_target = 1015021568
    control_files = /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control01.ctl, /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control02.ctl, /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control03.ctl
    db_block_size = 8192
    __db_cache_size = 310378496
    compatible = 10.2.0.1.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area
    db_recovery_file_dest_size= 32212254720
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 900
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=oradbXDB)
    job_queue_processes = 10
    background_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/bdump
    user_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/udump
    core_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/cdump
    audit_file_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/adump
    session_max_open_files = 20
    db_name = oradb
    open_cursors = 300
    sql_trace = FALSE
    pga_aggregate_target = 337641472
    gbyhash_aggregation_enabled= TRUE
    aq_tm_processes = 0
    Deprecated system parameters with specified values:
    sql_trace
    End of deprecated system parameter listing
    PMON started with pid=2, OS id=12567
    PSP0 started with pid=3, OS id=12569
    MMAN started with pid=4, OS id=12571
    DBW0 started with pid=5, OS id=12573
    LGWR started with pid=6, OS id=12575
    CKPT started with pid=7, OS id=12577
    SMON started with pid=8, OS id=12579
    RECO started with pid=9, OS id=12581
    CJQ0 started with pid=10, OS id=12583
    MMON started with pid=11, OS id=12585
    Tue Apr 21 06:29:12 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=12587
    Tue Apr 21 06:29:12 2009
    starting up 1 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Tue Apr 21 06:29:13 2009
    ALTER DATABASE MOUNT
    Tue Apr 21 06:29:17 2009
    Setting recovery target incarnation to 2
    Tue Apr 21 06:29:17 2009
    Successful mount of redo thread 1, with mount id 2438008377
    Tue Apr 21 06:29:17 2009
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Tue Apr 21 06:31:18 2009
    ALTER DATABASE open
    Tue Apr 21 06:31:18 2009
    ORA-1113 signalled during: ALTER DATABASE open ...
    Tue Apr 21 06:31:54 2009
    Shutting down instance: further logons disabled
    Tue Apr 21 06:31:54 2009
    Stopping background process CJQ0
    Tue Apr 21 06:31:54 2009
    Stopping background process MMNL
    Tue Apr 21 06:31:54 2009
    Stopping background process MMON
    Tue Apr 21 06:31:54 2009
    Shutting down instance (immediate)
    License high water mark = 3
    Tue Apr 21 06:31:54 2009
    Stopping Job queue slave processes
    Tue Apr 21 06:31:54 2009
    Job queue slave processes stopped
    All dispatchers and shared servers shutdown
    Tue Apr 21 06:31:54 2009
    ALTER DATABASE CLOSE NORMAL
    ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
    Tue Apr 21 06:31:54 2009
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Apr 21 06:33:06 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 645922816
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 50331648
    streams_pool_size = 50331648
    trace_enabled = FALSE
    nls_language = SLOVENIAN
    nls_territory = SLOVENIA
    nls_length_semantics = CHAR
    sga_target = 1015021568
    control_files = /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control01.ctl, /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control02.ctl, /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/control03.ctl
    db_block_size = 8192
    __db_cache_size = 306184192
    compatible = 10.2.0.1.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area
    db_recovery_file_dest_size= 32212254720
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 900
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=oradbXDB)
    job_queue_processes = 10
    background_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/bdump
    user_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/udump
    core_dump_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/cdump
    audit_file_dest = /u01/app/oracle/product/11.1.0/db_1/admin/oradb/adump
    session_max_open_files = 20
    db_name = oradb
    open_cursors = 300
    sql_trace = FALSE
    pga_aggregate_target = 337641472
    gbyhash_aggregation_enabled= TRUE
    aq_tm_processes = 0
    Deprecated system parameters with specified values:
    sql_trace
    End of deprecated system parameter listing
    PMON started with pid=2, OS id=4491
    MMAN started with pid=4, OS id=4495
    PSP0 started with pid=3, OS id=4493
    DBW0 started with pid=5, OS id=4497
    LGWR started with pid=6, OS id=4499
    CKPT started with pid=7, OS id=4501
    SMON started with pid=8, OS id=4503
    RECO started with pid=9, OS id=4505
    CJQ0 started with pid=10, OS id=4507
    MMON started with pid=11, OS id=4509
    MMNL started with pid=12, OS id=4511
    Tue Apr 21 06:33:07 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Tue Apr 21 06:33:08 2009
    ALTER DATABASE MOUNT
    Tue Apr 21 06:33:12 2009
    Setting recovery target incarnation to 2
    Tue Apr 21 06:33:12 2009
    Successful mount of redo thread 1, with mount id 2438034980
    Tue Apr 21 06:33:12 2009
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Tue Apr 21 06:33:12 2009
    ALTER DATABASE OPEN
    ORA-1113 signalled during: ALTER DATABASE OPEN...
    Tue Apr 21 06:38:04 2009
    ALTER DATABASE open
    ORA-1113 signalled during: ALTER DATABASE open ...
    Tue Apr 21 06:42:20 2009
    ALTER DATABASE RECOVER database using backup controlfile until cancel
    Tue Apr 21 06:42:20 2009
    Media Recovery Start
    ORA-279 signalled during: ALTER DATABASE RECOVER database using backup controlfile until cancel ...
    Tue Apr 21 06:42:32 2009
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Tue Apr 21 06:42:32 2009
    Media Recovery Log /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/archivelog/2009_04_21/o1_mf_1_1316_%u_.arc
    Errors with log /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/archivelog/2009_04_21/o1_mf_1_1316_%u_.arc
    ORA-308 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Tue Apr 21 06:42:32 2009
    ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:42:33 2009
    Media Recovery Canceled
    Completed: ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:42:56 2009
    ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    Tue Apr 21 06:42:56 2009
    Media Recovery Start
    ORA-279 signalled during: ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL ...
    Tue Apr 21 06:42:59 2009
    ALTER DATABASE RECOVER LOGFILE '/u01/app/oracle/product/11.1.0/db_1/oradata/oradb/redo03.log'
    Tue Apr 21 06:42:59 2009
    Media Recovery Log /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/redo03.log
    Errors with log /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/redo03.log
    ORA-310 signalled during: ALTER DATABASE RECOVER LOGFILE '/u01/app/oracle/product/11.1.0/db_1/oradata/oradb/redo03.log' ...
    Tue Apr 21 06:42:59 2009
    ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:43:00 2009
    Media Recovery Canceled
    Completed: ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:44:07 2009
    ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    Tue Apr 21 06:44:07 2009
    Media Recovery Start
    ORA-279 signalled during: ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL ...
    Tue Apr 21 06:44:12 2009
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Tue Apr 21 06:44:12 2009
    Media Recovery Log /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/archivelog/2009_04_21/o1_mf_1_1316_%u_.arc
    Errors with log /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/archivelog/2009_04_21/o1_mf_1_1316_%u_.arc
    ORA-308 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Tue Apr 21 06:44:12 2009
    ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:44:15 2009
    Media Recovery Canceled
    Completed: ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:44:18 2009
    ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    Media Recovery Start
    ORA-279 signalled during: ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL ...
    Tue Apr 21 06:44:21 2009
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Tue Apr 21 06:44:21 2009
    Media Recovery Log /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/archivelog/2009_04_21/o1_mf_1_1316_%u_.arc
    Errors with log /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/archivelog/2009_04_21/o1_mf_1_1316_%u_.arc
    ORA-308 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Tue Apr 21 06:44:21 2009
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Tue Apr 21 06:44:21 2009
    Media Recovery Log /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/archivelog/2009_04_21/o1_mf_1_1316_%u_.arc
    Errors with log /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/archivelog/2009_04_21/o1_mf_1_1316_%u_.arc
    ORA-308 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Tue Apr 21 06:44:21 2009
    ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:44:21 2009
    Media Recovery Canceled
    Completed: ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:44:34 2009
    ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    Tue Apr 21 06:44:34 2009
    Media Recovery Start
    ORA-279 signalled during: ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL ...
    Tue Apr 21 06:44:36 2009
    ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:44:39 2009
    Media Recovery Canceled
    Completed: ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:45:15 2009
    ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    Tue Apr 21 06:45:15 2009
    Media Recovery Start
    ORA-279 signalled during: ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL ...
    Tue Apr 21 06:45:22 2009
    ALTER DATABASE RECOVER LOGFILE '/u01/app/oracle/product/11.1.0/db_1/oradata/oradb/redo02.log'
    Tue Apr 21 06:45:22 2009
    Media Recovery Log /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/redo02.log
    Errors with log /u01/app/oracle/product/11.1.0/db_1/oradata/oradb/redo02.log
    ORA-310 signalled during: ALTER DATABASE RECOVER LOGFILE '/u01/app/oracle/product/11.1.0/db_1/oradata/oradb/redo02.log' ...
    Tue Apr 21 06:45:22 2009
    ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:45:24 2009
    Media Recovery Canceled
    Completed: ALTER DATABASE RECOVER CANCEL
    Tue Apr 21 06:47:10 2009
    ALTER DATABASE RECOVER datafile '/u01/app/oracle/product/11.1.0/db_1/oradata/oradb/system01.dbf'
    Tue Apr 21 06:47:10 2009
    Media Recovery Start
    Tue Apr 21 06:47:10 2009
    Media Recovery failed with error 1610
    ORA-283 signalled during: ALTER DATABASE RECOVER datafile '/u01/app/oracle/product/11.1.0/db_1/oradata/oradb/system01.dbf' ...
    Tue Apr 21 06:48:12 2009
    Errors in file /u01/app/oracle/product/11.1.0/db_1/admin/oradb/bdump/oradb_mmon_4509.trc:
    ORA-19815: Message 19815 not found; No message file for product=RDBMS, facility=ORA; arguments: [db_recovery_file_dest_size] [32212254720] [99.93] [24136704]
    Tue Apr 21 06:48:12 2009
    You have following choices to free up space from flash recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    Tue Apr 21 06:55:15 2009
    The input backup piece /u01/app/oracle/product/11.1.0/db_1/flash_recovery_area/ORADB/backupset/2008_10_26/o1_mf_nnndf_BACKUP_ORADB_00002_1_4j8lxznf_.bkp is in compressed format.
    Tue Apr 21 07:03:01 2009
    alter database open
    Tue Apr 21 07:03:01 2009
    ORA-1589 signalled during: alter database open...
    Tue Apr 21 07:03:21 2009
    alter database open
    ORA-1589 signalled during: alter database open...
    Tue Apr 21 07:03:35 2009
    alter database open noresetlogs
    Tue Apr 21 07:03:35 2009
    ORA-1588 signalled during: alter database open noresetlogs...
    oracle@oradevdb:/u01/app/oracle/product/11.1.0/db_1/admin/oradb/bdump$
    Edited by: Jernej Kase on Apr 21, 2009 11:52 AM

  • I was recently able to attach files in gmail using Firefox, but now I get an unresponsive link, when I click "upload". It works fine on other browsers. I search the question database but perhaps I missed the fix. Any suggestions?

    I am using windows 7 Home Premium, on an HP. I use and enjoy the Firefox browser. The only major extension that could cause clicking issues is possibly NoScript. But until recently I have had no problems with uploading attachments in Gmail through Firefox.
    The issue:
    I start Gmail. Logging in is fine. When I compose a new message (still no problem) I can't upload any attachment via the attachment link. I click the attach link and it is unresponsive. I use internet explorer and I get no issues. I've noticed this issue only since yesterday. Please help.
    Thanks
    R/S Kenneth

    I also had this problem since yesterday (march, 13). I tried cleaning cache and cookies, restarting the browser and the pc, but nothing happened. With IE and Chrome the attachment worked fine.
    I hoped that with the yesterday's 3.6.28 updade it would be fixed, but it didn't.
    Then, I saw the reply to [http://support.mozilla.org/pt-BR/questions/922873 THIS SIMILAR PROBLEM] which was telling to use the refresh button on FIREFOX (not Gmail's refresh). I tried, and the problem was gone.
    So, if anybody has the same issue, try hitting the refresh button on firefox :)
    Thank you, junkcat!

  • Searching the entire database for a text

    Hi guys,
    I need to get all the tables,cols which have a particular text,these tables have CLOB and similar datatypes also, so how do i find it?

    i am not able use this query as suggested in that thread by MichaelS
      select distinct substr (:val, 1, 11) "Searchword",
                    substr (table_name, 1, 14) "Table",
                    substr (t.column_value.getstringval (), 1, 50) "Column/Value"
               from all_tab_cols,
                    table
                       (xmlsequence
                           (dbms_xmlgen.getxmltype ('select ' || column_name
                                                    || ' from ' || table_name
                                                    || ' where upper('
                                                    || column_name
                                                    || ') like upper(''%' || :val
                                                    || '%'')'
                                                   ).extract ('ROWSET/ROW/*')
                       ) t
            where table_name in (SELECT table_name from all_tables)
            and owner NOT IN ('SYS','SYSTEM') and
            data_type IN ('CHAR','VARCHAR2') and
            data_length >= LENGTH(:val) and
            table_name in (SELECT table_name from all_tables);
           order by "Table";i get this following error
    ORA-19202: Error occurred in XML processing
    ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_XMLGEN", line 288
    ORA-06512: at line 1
    Any help here ?

  • How do I search under a folder (and not the whole computer)

    I want to search for files under a specific folder
    How do I do this?
    When I search, the whole computer is searched
    Thanks
    Omar

    One thing that'll work is (in 10.7.5, at least)
    1) open the folder you want to search, using the Finder
    2) Type your search text into the Finder's Search box
    3) In the Search bar at the top of the results, select the name of the folder.
    Good luck
    srb

  • [SOLVED] mandb rebuilds whole database everytime (again)

    Since several days (after the latest man-db update 2009-09-05 ?) a mandb bug seems to show up again (see  this thread).
    Mandb rebuilds its whole database again in every run. See these timings of a run immediately done after a fresh db rebuild:
    real 1m13.551s
    user 0m23.655s
    sys 0m55.560s
    Does this happen to anybody else? If yes, is there a bug report already? (I can't search the bugs database currently.)
    Last edited by bernarcher (2009-09-12 14:34:57)

    Applying that fixed solved the issue for me as well. But i have another issue with mandb.. When it runs it says:
    Purging old database entries in /usr/man...
    Processing manual pages under /usr/man...
    Purging old database entries in /usr/share/man...
    Processing manual pages under /usr/share/man...
    Purging old database entries in /usr/share/man/it.ISO8859-1...
    Processing manual pages under /usr/share/man/it.ISO8859-1...
    Purging old database entries in /usr/share/man/ru.KOI8-R...
    Processing manual pages under /usr/share/man/ru.KOI8-R...
    Purging old database entries in /usr/share/man/tr...
    Processing manual pages under /usr/share/man/tr...
    Purging old database entries in /usr/share/man/ja...
    Processing manual pages under /usr/share/man/ja...
    Purging old database entries in /usr/share/man/es...
    Processing manual pages under /usr/share/man/es...
    Purging old database entries in /usr/share/man/ru...
    Processing manual pages under /usr/share/man/ru...
    Purging old database entries in /usr/share/man/it...
    Processing manual pages under /usr/share/man/it...
    Purging old database entries in /usr/share/man/hu...
    Processing manual pages under /usr/share/man/hu...
    Purging old database entries in /usr/share/man/sv...
    Processing manual pages under /usr/share/man/sv...
    Purging old database entries in /usr/share/man/zh_CN...
    Processing manual pages under /usr/share/man/zh_CN...
    Purging old database entries in /usr/share/man/fr.ISO8859-1...
    Processing manual pages under /usr/share/man/fr.ISO8859-1...
    Purging old database entries in /usr/share/man/it.UTF-8...
    Processing manual pages under /usr/share/man/it.UTF-8...
    Purging old database entries in /usr/share/man/ru.UTF-8...
    Processing manual pages under /usr/share/man/ru.UTF-8...
    Purging old database entries in /usr/share/man/jp...
    Processing manual pages under /usr/share/man/jp...
    Purging old database entries in /usr/share/man/pl...
    Processing manual pages under /usr/share/man/pl...
    Purging old database entries in /usr/share/man/de.UTF-8...
    Processing manual pages under /usr/share/man/de.UTF-8...
    Purging old database entries in /usr/share/man/pt_BR...
    Processing manual pages under /usr/share/man/pt_BR...
    Purging old database entries in /usr/share/man/id...
    Processing manual pages under /usr/share/man/id...
    Purging old database entries in /usr/share/man/de...
    Processing manual pages under /usr/share/man/de...
    Purging old database entries in /usr/share/man/fr.UTF-8...
    Processing manual pages under /usr/share/man/fr.UTF-8...
    Purging old database entries in /usr/share/man/cs...
    Processing manual pages under /usr/share/man/cs...
    Purging old database entries in /usr/share/man/nl...
    Processing manual pages under /usr/share/man/nl...
    Purging old database entries in /usr/share/man/fr...
    Processing manual pages under /usr/share/man/fr...
    Purging old database entries in /usr/share/man/pl.ISO8859-2...
    Processing manual pages under /usr/share/man/pl.ISO8859-2...
    Purging old database entries in /usr/share/man/zh_TW...
    Processing manual pages under /usr/share/man/zh_TW...
    Purging old database entries in /usr/share/man/pl.UTF-8...
    Processing manual pages under /usr/share/man/pl.UTF-8...
    Purging old database entries in /usr/share/man/ko...
    Processing manual pages under /usr/share/man/ko...
    Purging old database entries in /usr/share/man/fi...
    Processing manual pages under /usr/share/man/fi...
    Processing manual pages under /usr/local/man...
    0 man subdirectories contained newer manual pages.
    0 manual pages were added.
    0 stray cats were added.
    0 old database entries were purged.
    That's all just fine and works but how do i tell mandb to only update the english man pages and not all those other ones? i mean.. i can't read japanese, chinese, polish, german and all those other languages..

  • To search the app

    Hi,
    If I see that there's one statement in the java class like
    import org.apache.myfaces.trinidad.component.core.input.CoreInputFile;
    How can I search the whole app for the place at which the object "CoreInputFile" has been created?
    Best Regards

    search menu -> find in files..
    enter the word 'CoreInputFile'..
    FileTypes button -> select *.java
    user Defined Search path: browse for your root directory of your application
    Options:
    Match Case : checked
    Recurse into directory : checked
    Match Whole word only: checked
    Click ok to see the results...

  • Question to load the entire database into memory.

    I am planing to load the whole database into memory. Suppose mydb is 10G. Then I plan Max Memory for 10G. Then I can create a named cache with 10G and bind the mydb to this cache. Is this the best way to load entire db into memory?
    If the whole db can be loaded into memory, if procedure cache, cache for tempdb and all other params are not important any more? Or still need to follow common practice to configure memory params?

    Hi Kent,
    12-15GB sounds reasonable.
    I recommend always including your version with your initial posting (unless the version simply doesn't apply to the question).  Particularly when running an unusual version, and 12.5.x has been end-of-lifed long enough to be unusual now.  Are you running SAP Applications on this system?  If not, please questions post to the SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications space instead, it is the space for general-purpose ASE questions.
    Cheers,
    -bret

  • Exporting whole database (10GB) using Data Pump export utility

    Hi,
    I have a requirement that we have to export the whole database (10GB) using Data Pump export utility because it is not possible to send the 10GB dump in a CD/DVD to the system vendor of our application (to analyze few issues we have).
    Now when i checked online full export is available but not able to understand how it works, as we never used this data pump utility, we use normal export method. Also, will data pump reduce the size of the dump file so it can fit in a DVD or can we use Parallel Full DB export utility to split the files and include them in a DVD, is it possible.
    Please correct me if i am wrong and kindly help.
    Thanks for your help in advance.

    You need to create a directory object.
    sqlplus user/password
    create directory foo as '/path_here';
    grant all on directory foo to public;
    exit;
    then run you expdp command.
    Data Pump can compress the dumpfile if you are on 11.1 and have the appropriate options. The reason for saying filesize is to limit the size of the dumpfile. If you have 10G and are not compressing and the total dumpfiles are 10G, then by specifying 600MB, you will just have 10G/600MB = 17 dumpfiles that are 600MB. You will have to send them 17 cds. (probably a few more if dumpfiles don't get filled up 100% due to parallel.
    Data Pump dumpfiles are written by the server, not the client, so the dumpfiles don't get created in the directory where the job is run.
    Dean

  • Can I configure Enterprise search to search a Relational database

    We have several legacy web applications. We are currently using coveo to search the relational databases. We create mapping xml file for the coveo indexing services. The coveo access the database using jdbc. It provides the ability to create uri for search result. The uri is invoked when the user clicks on search result.
    Can I setup something similar with SAP Enterprise search.

    Hi:
    SAP NetWeaver Enterprise Search contains an SAP NetWeaver BI instance within the architecture on the appliance.  You can utilize the BI features to extract data from your relational DataBase, then index that data into the TREX part of ES.  BI features both "DB connect" and "UD Connect", which give you techiques to connect the BI system to an external DataBase and extract data.  You will need to model a DataSource, but the features of SAP NetWeaver 2004s BI make this relatively easy.  Once you have a datasource, you can create an Open Hub destination for indexing (with a transformation and DTP to deliver the data), and create a process chain to extract and index the data.
    ES offers numerous DataSources "out of the box" for extraction from SAP ERP systems, you could follow the business content structure for those, but instead use DB connect or UDconnect to get the data from a non-SAP system.
    For more info on this, see the BI area of SDN and help.sap.com > NetWeaver > Key Capability > Information Integration > BI.
    Thanks for any points you choose to assign (they are the way of saying thanks on SDN).
    Best Regards -
    Ron Silberstein
    SAP

  • Hyperlink data to specific data not the whole table

    On a table, I have a hyperlink on one of the columns.
    When I click on the data on that column, another page displays a table with all the data including the data that is clicked.
    I like to be able to click on the hyperlinked data and another page opens up and displays only the data in a table associated with the hyperlinked data. If it displays the whole database table, that will be extraneous data.
    Any ideas?

    If I understand correctly at the moment you have a table with data like this:
    Ford
    Vaxhaull
    Saab
    Fiat
    Jaguar
    Skoda
    And when you click on any of the links (car makes) you would get data like this:
    Focus
    Transit
    Corsa
    Astra
    93
    Panda
    XK8
    Octavia
    Where as what you want to see if you clicked on Ford for example is
    Focus
    Transit
    If that is correct then when you are creating your link in the first table you would need to pass either the make of car or an identifier such as an id to the other page. You can then use that value in the SQL in your new page to select the correct records
    SELECT *
    FROM cars
    WHERE make = :P1_CAR_MAKE
    Kind regards,
    Adam

Maybe you are looking for