Check Database Consistency
Dear All,
i m trying to run Check Database Consistency through DB13,i m getting following error.
Unable to start execution of step 1 (reason: The
ob step contains one or more tokens. For SQL Serv
r 2005 Service Pack 1 or later, all job steps wit
tokens must be updated with a macro before the j
b can run.). The step failed.
i m runing SAP ecc5 On SQL 2005 SP1.
Please advice how to resolved this error.
Thanks & Regards,
Hiten Modi
Ok, I don't know much about MS SQL. Really.
But just looking for "step contains one or more token" in the SDN search brought up this note:
[SAP Note 947702 DB13 - DBCC Checkdb job fails in SQL 2005 SP1|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_db/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393437373032%7d]
Why does apparently no one ever tries this before posting a question?
cheers,
Lars
Similar Messages
-
Database consistency issue..
Hi.
SCCM 2012 English, RTM
For unknown reason the DR link broke between CA and primary.
It says Site Replication status both way Active, but data replication is mixed. Parent to child Global data - failed and child to parent site data failed. Child to parent global - Active. Replication link analyzer performs several checks and then informs
- Database consistency issues detected for site XXX. (parent). Skiping rule - shows different replication groups which are failed. I tried to replicate those, but nothing changed.(according to following article last step)
http://blogs.msdn.com/b/minfangl/archive/2012/05/16/tips-for-troubleshooting-sc-2012-configuration-manager-data-replication-service-drs.aspx
Any more ideas?Now i have read more about DRS and SCCM 2012 and get in state where 2 from 3 replications are active.
Mainly with puting relevatnt pub files to RCM.BOX. But global data replication from CAs to PRI is still failed. No idea ....
More related articles:
http://blogs.technet.com/b/sudheesn/archive/2012/10/21/drs-initialization-in-configuration-manager-2012.aspx
http://anoopcnair.com/2012/06/20/sccm-configmgr-2012-site-to-site-replication-sql-data-replication-service-replication-configuration-management-sql-service-broker-replication-groups-and-manual-sync/
And one more thing - do not know it is related or not
Severity Type Site code Date / Time System Component Message ID Description
Error Milestone XXX 12/14/2012 10:34:29 AM server.domain.local SMS_POLICY_PROVIDER 620 Microsoft SQL Server reported SQL message 547, severity 16: [23000][547][Microsoft][SQL Server Native Client 10.0][SQL Server]The INSERT
statement conflicted with the FOREIGN KEY constraint "ResPolicyMap_PolicyAssignment_FK". The conflict occurred in database "CM_XXX", table "dbo.PolicyAssignment", column 'PADBID Please refer to your Configuration Manager documentation, SQL
Server documentation, or the Microsoft Knowledge Base for further troubleshooting information.
It is jaming replication ? and how fix DB inconsistency detected by Replication Link analyzer ? -
Error while check database in DB13
Hi,
I have scheduled check database in DB13 , I am getting an error as, BR0970W Database administration alert - level: ERROR, type: MISSING_STATISTICS, object: (table) SAPSR3./BEV2/ED970. There are lot of messages found after check database. I am also getting error in verify database in DB13. What could be problem? Please help me with your solutions.....
Regards,
NageshwarThis condition checks to see whether there are tables or indices that do not have any statistics, although they should have them.
The OBJECT field is not specified for this condition.
This condition has no checking operands, threshold values and value units.
Run your DB stats every week -
I have read all other cases that relate to this error and cannot get this to work. Running SQL Server 2012 sp1 on Windows server 2012 R2. Disk space and permissions are fine, but I get the error below when I try and use the check database integrity task
within my maintenance plan on both system and user databases. I have researched this and fragmentation is not the issue. I'm lost at this point and would appreciate at least some steps to try. databases are not "read only" as I have read this may
contribute to the problem. All other maintenance tasks run fine.
Error message from SQL LOG
Check Database integrity on Local server connection
Databases: All system databases
Task start: 2014-01-13T11:00:04.
Task end: 2014-01-13T11:00:04.
Failed:(-1073548784) Executing the query "DBCC CHECKDB(N'master', NOINDEX)
" failed with the following error: "A database snapshot cannot be created because it failed to start.
A database snapshot cannot be created because it failed to start.
MODIFY FILE encountered operating system error 665(The requested operation could not be completed due to a file system limitation) while attempting to expand the physical file 'E:\\SQLdata\\MSSQL11.MSSQLSERVER\\MSSQL\\DATA\\master.mdf:MSSQL_DBCC9'.
The database snapshot for online checks could not be created. Either the reason is given in a previous error or one of the underlying volumes does not support sparse files or alternate streams. Attempting to get exclusive access to run checks offline.
The database could not be exclusively locked to perform the operation.
Check statement aborted. The database could not be checked as a database snapshot could not be created and the database or table could not be locked. See Books Online for details of when this behavior is expected and what workarounds exist. Also see previous
errors for more details.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Error Message from Log File Viewer in SSMS:
Source: Check Database Integrity Task Executing query "USE [ReportServer] ".: 50% complete End Progress Error: 2014-01-13 11:31:54.92 Code: 0xC002F210
Source: Check Database Integrity Task Execute SQL Task Description: Executing the query "DBCC CHECKDB(N'ReportServer') WITH NO_INFOMSGS " failed with the following error: "A database snapshot cannot be created
because it failed to start. A database snapshot cannot be created because it failed to start. MODIFY FILE encountered operating system error 665(The requested operation could not be completed due to a file system limitation) while attempting to
expand the physical file 'E:\SQLdata\MSSQL11.MSSQLSERVER\MSSQL\DATA\ReportServer.mdf:MSSQL_DBCC9'. The database snapshot for online checks could not be created. Either the reason is given in a previous error or one of the underlying volumes does not
support sparse files or alternate streams. Attempting to get exclusive access to run checks offline. The database could not be exclusively locked to perform the operation. Check statement aborted. The database could not be checked as a database
snapshot could not be created and the database or table could not be locked. See Books Online for details of when this behavior is expected and what workarounds exist. Also see previous errors for more details.". Possible failure reasons: Problems with
the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. End Error Progress: 2014-01-13 11:31:54.93 Source: Check Database Integrity Task
Executing query "USE [ReportServerTempDB] ".: 50% complete End Progress Error: 2014-01-13 11:31:55.02 Code: 0xC002F210 Source: Check Database Integrity Task Execute SQL Task
Description: Executing the query "DBCC CHECKDB(N'ReportServerTempDB') WITH NO_INFOM..." failed with the following error: "A database snapshot cannot be created because it failed to start. A database snapshot cannot be created because
it failed to start. MODIFY FILE encountered operating system error 665(The requested operation could not be completed due to a file system limitation) while attempting to expand the physical file 'E:\SQLdata\MSSQL11.MSSQLSERVER\MSSQL\DATA\ReportServerTempDB.mdf:MSSQL_DBCC9'.
The database snapshot for online checks could not be created. Either the reason is given in a previous error or one of the underlying volumes does not support sparse files or alternate streams. Attempting to get exclusive access to run checks offline.".
Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. End Error Progress: 2014-01-13 11:31:55.02 Source:
Check Database Integrity Task Executing query "USE [AddressUpload] ".: 50% complete End Progress Error: 2014-01-13 11:31:55.13 Code: 0xC002F210 Source:
Check Database Integrity Task Execute SQL Task Description: Executing the query "DBCC CHECKDB(N'AddressUpload') WITH NO_INFOMSGS " failed with the following error: "A database snapshot cannot be created because
it failed to start. A database snapshot cannot be created because it failed to start. MODIFY FILE encountered operating system error 665(The requested operation could not be completed due to a file system limitation) while attempting to expand
the physical file 'E:\SQLData\MSSQL11.MSSQLSERVER\MSSQL\DATA\database1.mdf:MSSQL_DBCC9'. The database snapshot for online checks could not be created. Either th... The package execution fa... The step failed.ReFS is NOT supported in use with SQL Server 2012. Once such item, which you've stumbled upon is the fact that alternate streams and sparse files are not implemented in ReFS and thus these issues are caused. You *could* force the checkdb to execute by using
WITH TABLOCKX but that'll require exclusive access to the database for the duration of the checkdb scan and that's not something I would advise to do.
Sean Gallardy | Blog |
Twitter -
Need a Script to check Database backup chain for revovery
Dear All,
any having a handy script to check database backup chain ,
Database A --> Full backup -- Diff -- log1 --Log 2 ...... and scan through the files to validate if we can recover the database using the avaiable backups.
Regards
Sufian
Mohd Sufian www.sqlship.wordpress.com Please mark the post as Answered if it helped.You can use below TSQL
set nocount on
go
if exists ( select name from tempdb..sysobjects where name like '#DatabasesBackupsStatus%')
drop table #DatabasesBackupsStatus
GO
create table #DatabasesBackupsStatus
ServerName varchar(100) null,
DBName varchar(100) null,
RecoveryModel varchar(100) null,
LastFullbackup datetime null,
days_since_Lastfullbackup int null,
days_since_Lastdiffbackup int null,
HOURS_since_LastLogbackup int,
DBStatus varchar (100) null,
FullBackupLocation varchar(1000) null,
MEDIASET INT,
JobOwner varchar(100) null
Go
insert into #DatabasesBackupsStatus(ServerName,DBName)
select convert(varchar,serverproperty('ServerName')),a.name
from master.dbo.sysdatabases a
where a.name <> 'tempdb'
update #DatabasesBackupsStatus
set LastFullbackup=b.backup_start_date,
days_since_Lastfullbackup=datediff(dd,b.backup_start_date,getdate()),
MEDIASET=b.media_set_id
from #DatabasesBackupsStatus a,(select database_name,MAX(media_set_id)media_set_id,max(backup_start_date) backup_start_date
from msdb..backupset where type='D' group by database_name)b
where a.DBName=b.database_name
update #DatabasesBackupsStatus
set RecoveryModel=convert(sysname,DatabasePropertyEx(DBName,'Recovery'))
update #DatabasesBackupsStatus
set DBStatus=convert(sysname,DatabasePropertyEx(DBName,'Status'))
update d
set d.FullBackupLocation=b.physical_device_name
from #DatabasesBackupsStatus d , msdb..backupmediafamily b
where d.MEDIASET =b.media_set_id
update d
set d.days_since_Lastdiffbackup=datediff(dd,b.backup_finish_date,getdate())
from #DatabasesBackupsStatus d , (select database_name,max(backup_finish_date) backup_finish_date
from msdb..backupset where type ='I' group by database_name) b
where d.DBName = b.database_name
update d
set d.JobOwner=b.[user_name]
from #DatabasesBackupsStatus d , msdb..backupset b
where d.MEDIASET = b.media_set_id
update d
set d.HOURS_since_LastLogbackup=datediff(hh,b.backup_finish_date,getdate())
from #DatabasesBackupsStatus d , (select database_name,max(backup_finish_date) backup_finish_date
from msdb..backupset where type ='L' group by database_name) b
where d.DBName = b.database_name
AND d.RecoveryModel != 'SIMPLE'
Go
select * from #DatabasesBackupsStatus
Go
drop table #DatabasesBackupsStatus
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Thanks,
Shashikant -
User exit to check the consistency of filled fields before saving
Hi,
I am looking for a User Exit which can be executed when a user click on "Save" button.
In this User Exit, I would like to implement some controls to check the consistency of filled fields.
I have an example to better understand : I work on transaction code ME11 and ME12 (create and modify Info Record). When all mandatory fields are filled, the user can save its. When the user click on "Save" button, I want that a checking (with a user exit, or anything else) verify the consistency of some fields (for example, the consistency between the Tax code of the country and the country of the supplier).
If it's not clear, I could precise...
Thanks in advance for you help...Hi,
I am looking for a User Exit which can be executed when a user click on "Save" button.
In this User Exit, I would like to implement some controls to check the consistency of filled fields.
I have an example to better understand : I work on transaction code ME11 and ME12 (create and modify Info Record). When all mandatory fields are filled, the user can save its. When the user click on "Save" button, I want that a checking (with a user exit, or anything else) verify the consistency of some fields (for example, the consistency between the Tax code of the country and the country of the supplier).
If it's not clear, I could precise...
Thanks in advance for you help... -
Check database with error "ORA-01031: insufficient privileges"
Dear Gurus,
I ran "Check database" in DB13 but I got error "ORA-01031: insufficient privileges"
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
'PREPARE stmt_5 STATEMENT FROM'
'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
ORA-01031: insufficient privileges
BR0806I End of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.37.00
Note I try to execute sapdba_role.sql (with command "sqlplus /nolog @sapdba_role.sql SR3") as Note 134592 both login 'oradev' and 'devadm' but it seem to do nothing (not found sapdba_role.log)
Please advice.
Best regards,
Choosak B.
Ps.
detailed log of /oracle/DEV/sapcheck/cecxekdh.chk
BR0801I BRCONNECT 7.00 (40)
BR0477I Oracle pfile /oracle/DEV/102_64/dbs/initDEV.ora created from spfile /oracle/DEV/102_64/dbs/spfileDEV.ora
BR0805I Start of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.30.53
BR0484I BRCONNECT log file: /oracle/DEV/sapcheck/cecxekdh.chk
BR0101I Parameters
Name Value
oracle_sid DEV
oracle_home /oracle/DEV/102_64
oracle_profile /oracle/DEV/102_64/dbs/initDEV.ora
sapdata_home /oracle/DEV
sap_profile /oracle/DEV/102_64/dbs/initDEV.sap
system_info devadm/oradev sapdev SunOS 5.10 Generic_142900-03 sun4v
oracle_info DEV 10.2.0.4.0 8192 7465 94896497 sapdev UTF8 UTF8
sap_info 701 SAPSR3 0002LK0003DEV0011N11827599290015Maintenance_ORA
make_info sun_64 OCI_102 Feb 21 2009
command_line brconnect -u / -jid CHECK20100331123000 -c -f check
alert_log /oracle/DEV/saptrace/background/alert_DEV.log
BR0280I BRCONNECT time stamp: 2010-03-31 12.30.56
BR0813I Schema owners found in database DEV:
DBSNMP, DIP, OPS$DEVADM, OPS$ORADEV, OPS$SAPSERVICEDEV, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM,
TSMSYS
BR0118I Tablespaces and data files
Tablespace Status File Status Id. Size MaxSize IncrSize BlkSize Device Type Link
PSAPSR3 ONLINE+ /oracle/DEV/sapdata2/sr3_1/sr3.data1 ONLINE+ 4 2411732992 10485760000 20971520 8192 16777219 FILE NOLINK
SYSTEM ONLINE+ /oracle/DEV/sapdata1/system_1/system.data1 SYSTEM+ 1 1017126912 10485760000 20971520 8192 16777219 FILE NOLINK
BR0119I Redo log files
File Status Group Size Device Type Link
/oracle/DEV/origlogA/log_g11m1.dbf INUSE 1 52429312 16777218 FILE NOLINK
/oracle/DEV/mirrlogA/log_g11m2.dbf INUSE 1 52429312 16777218 FILE NOLINK
/oracle/DEV/origlogB/log_g12m1.dbf INUSE 2 52429312 16777218 FILE NOLINK
/oracle/DEV/mirrlogB/log_g12m2.dbf INUSE 2 52429312 16777218 FILE NOLINK
/oracle/DEV/origlogA/log_g13m1.dbf INUSE 3 52429312 16777218 FILE NOLINK
/oracle/DEV/mirrlogA/log_g13m2.dbf INUSE 3 52429312 16777218 FILE NOLINK
/oracle/DEV/origlogB/log_g14m1.dbf INUSE 4 52429312 16777218 FILE NOLINK
/oracle/DEV/mirrlogB/log_g14m2.dbf INUSE 4 52429312 16777218 FILE NOLINK
BR0120I Control files
File Size Device Type Link
/oracle/DEV/origlogA/cntrl/cntrlDEV.dbf 15024128 16777218 FILE NOLINK
/oracle/DEV/origlogB/cntrl/cntrlDEV.dbf 15024128 16777218 FILE NOLINK
/oracle/DEV/sapdata1/cntrl/cntrlDEV.dbf 15024128 16777219 FILE NOLINK
BR0982I Database disk volumes
Directory / Raw disk Device Total[KB] Free[KB] Used[%] MaxNeed[KB] MaxMiss[KB]
/oracle/DEV/102_64 16777218 480700086 404332206 15.89 0 0
/oracle/DEV 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/mirrlogA 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/mirrlogB 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/origlogA 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/origlogB 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/sapdata1 16777219 591212116 404332206 31.61 240019884 0
/oracle/DEV/sapdata2 16777219 591212116 404332206 31.61 240019884 0
/oracle/DEV/sapdata3 16777219 591212116 404332206 31.61 240019884 0
/oracle/DEV/sapdata4 16777219 591212116 404332206 31.61 240019884 0
/oracle/DEV/saparch 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/sapbackup 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/sapcheck 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/sapreorg 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/saptrace 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/oraarch 16777218 480700086 404332206 15.89 0 0
BR0280I BRCONNECT time stamp: 2010-03-31 12.31.29
BR0814I Number of tables in schema of owner SAPSR3: 74582
BR0836I Number of info cube tables found for owner SAPSR3: 49
BR0814I Number of tables/partitions in schema of owner SYS: 625/189
BR0814I Number of tables/partitions in schema of owner SYSTEM: 134/27
BR0280I BRCONNECT time stamp: 2010-03-31 12.32.28
BR0815I Number of indexes in schema of owner SAPSR3: 89159
BR0815I Number of indexes/partitions in schema of owner SYS: 678/199
BR0815I Number of indexes/partitions in schema of owner SYSTEM: 175/32
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0816I Number of segments in schema of owner DBSNMP: 25
BR0816I Number of segments in schema of owner OPS$DEVADM: 1
BR0816I Number of segments in schema of owner OUTLN: 9
BR0816I Number of segments/LOBs in schema of owner SAPSR3: 168369/2314
BR0816I Number of segments/LOBs in schema of owner SYS: 1831/87
BR0816I Number of segments/LOBs in schema of owner SYSTEM: 353/22
BR0816I Number of segments in schema of owner TSMSYS: 4
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0961I Number of conditions found in DBCHECKORA: 118
BR0983I Tablespace fragmentation
Tablespace Files Tables Indexes Extents Total[KB] Used[%] Free[KB] FreeExt. MaxSize[KB] MaxAlloc[KB] Used[%] Free[KB] Largest[KB]
PSAPSR3 16 74248 88689 209864 54138880 94.51 2970752 240 163840000+ 109701120+ 31.23+ 112671872+ 9246720:7966720:7946240:7905280:7905280+
PSAPSR3701 14 0 0 0 54466560 0.00 54465664 20 143360000+ 88893440+ 0.00+ 143359104+ 9021440:8192000:8192000:8192000:8192000+
PSAPSR3701X 4 310 445 12190 68342784 94.20 3962240 7 68342784 0 94.20 3962240 1298432:1191936:979968:163776:163776
PSAPSR3USR 1 24 25 51 51200 6.50 47872 1 10240000+ 10188800+ 0.03+ 10236672+ 10188800+:47872:0:0:0
PSAPTEMP 1 0 0 0 1433600 0.00 1433600 0 10240000+ 8806400+ 0.00+ 10240000+ 8806400+:0:0:0:0
PSAPUNDO 1 0 0 0 7823360 0.00 7823296 406 10240000+ 2416640+ 0.00+ 10239936+ 2416640+:2041792:1814464:1433536:603072
SYSAUX 1 254 284 2059 307200 93.35 20416 16 10240000+ 9932800+ 2.80+ 9953216+ 9932800+:13248:3072:1024:640
SYSTEM 1 505 569 2926 993280 98.91 10816 2 10240000+ 9246720+ 9.59+ 9257536+ 9246720+:10176:640:0:0
Total: 39 75341 90012 227090 187556864 62.29 70734656 692 426742784 239185920 27.38 309920576 60157952:19463744:18936384:17695616:16864768
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
'PREPARE stmt_5 STATEMENT FROM'
'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
ORA-01031: insufficient privileges
BR0806I End of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.37.00
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0804I BRCONNECT terminated with errorsHi,
It solved after change permission of directory that sapdba_role.sql kept to oradev:dba after that it can write sapdba_role.log.
Thank you for your guideline.
Now, I can ran 'Check database' via DB13 without that error.
Best regards,
Choosak B. -
Not Displaying Options tab while Checking Global Consistancy in OBIEE 11G
Hi,
We recently upgraded from 10G to 11 G . Here When I checked Global Consistency I got some Errors but they are negligible . I need to disable those errors but am not finding that option .
Please give me the soln.
Thanks in Advance.Hi,
11g does not allow beginning or trailing spaces in logical names within the RPD. This causes errors in this release instead of warnings as in OBIEE 10g.I would suggest you to close the window.
For more information go through this blog http://www.skurabigroup.com/blog/?p=759
Hope it helps you,if answered award points.
By,
KK -
Urgent: How to have a page CONTINUE to check Database Record?
Hello,
How to have a page CONTINUE to check Database Record? For example, there's a page which itself will periodically check the database, if there's any new data the page will Popup a new page with those data. My question is how can the page keep checking the database?
One of the solution(not good) is that there's a hidden frame with a hidden Servlet, it will refresh every x secs and connect database for every refresh, it seems not a good solution. Please suggest some idea. Another way is using applet.
Someone suggest me to use JMS, I know nothing about it, so is it possible and how,thanks very much
Thank you.
KenI don't think JMS is suitable for your solution but I know very little anyway.
-
Urgent: How to have a page CONTINUE to check Database
Hello,
How to have a page CONTINUE to check Database Record? For example, there's a page which itself will periodically check the database, if there's any new data the page will Popup a new page with those data. My question is how can the page keep checking the database?
One of the solution(not good) is that there's a hidden frame with a hidden Servlet, it will refresh every x secs and connect database for every refresh, it seems not a good solution. Please suggest some idea.
Thank you.You can check the database in a thread as much as you want but your problem will be sending the data to your client when it changes. Normally you can't send anything to the client until it sends a request; that's why the HTML meta-tag for refreshing works. The other way to have the client make repeated requests that was suggested was an applet. This could indeed work, except that you mentioned "mobile agent" as a requirement. Not quite sure what that is, but it's probably not a platform that supports applets. That would be a problem.
On the other hand, if your platform is one that can receive unscheduled messages (in pager style), you could try that approach. -
Error when Check global consistency: Physical tables have multiple Joins
Hi
I have a table that have multiple joins with a dimension in the physical layer, this is a fact table and the dimension is a geograhic dimension, and in the fact table I have three codes, customer geography, account geography and office geography. This is a simple model and is correct for my DWH. However when I want to check global consistency the consistency check manager display the next error (three times):
ERRORS:
GLOBAL:
[38015] Physical tables "ODS".."ODS"."FT_INTERFAZ_CICLO_FACTURACION" and "ODS".."ODS"."DIM_GEOGRAFIA" have multiple joins. Delete new foreign key object if it is a duplicate of existing foreign key.
[38015] Physical tables "ODS".."ODS"."FT_INTERFAZ_CICLO_FACTURACION" and "ODS".."ODS"."DIM_GEOGRAFIA" have multiple joins. Delete new foreign key object if it is a duplicate of existing foreign key.
[38015] Physical tables "ODS".."ODS"."FT_INTERFAZ_CICLO_FACTURACION" and "ODS".."ODS"."DIM_GEOGRAFIA" have multiple joins. Delete new foreign key object if it is a duplicate of existing foreign key.
How can I do to solve this error?
Thanks
EdwinI have one dim table name team.
In the dim table there are two primary keys like Team key and Team Type key.
In the Fact table there are 4 foriegnkey like
a) Sales team key
b) Sales team type key
c) Trader team key
d) Trader team type key
For this purpose , i am going to create the alias table in the physical layer. Can any body explain to me the whole process -
Dear all
I have install a quality server now is working perfectly
but when use the db 13 then when i excute the
1-check database.
2-check and update optimizer staitics
not excuted please guide , will we configre any location ?
thanks
with best regards
venkatHi,
which database you are using?
check following notes might helps you.
Note 1072066 - DBA Cockpit: New function for DB monitoring
Note 1027146 - Database administration and monitoring in the DBA Cockpit
if you are using SQL Server then check following notes.
Note 1027512 - MSSQL: DBA cockpit for basis release 7.00 and later
Note 1057855 - DB13/DBACOCKPIT database jobs fail after SP12
regards,
kaushal -
Dear Friends,
After the refresh of QAS from PRD, When I am running "CHECK DATABASE" or "Check and update optimizer statistics" from DB13 it gives following error:
Job started
Step 001 started (program RSDBAJOB, variant &0000000001777, user ID BCHBASIS)
Execute logical command BRCONNECT On host bchqas
Parameters: -u / -jid CHECK20100602155122 -c -f check
BR0801I BRCONNECT 7.00 (43)
BR0805I Start of BRCONNECT processing: cedjdcad.chk 2010-06-02 15.51.39
BR0252E Function fopen() failed for 'K:\oracle\QAS\sapcheck\cedjdcad.chk' at location main-11
BR0253E errno 13: Permission denied
BR0121E Processing of log file K:\oracle\QAS\sapcheck\cedjdcad.chk failed
BR0280I BRCONNECT time stamp: 2010-06-02 15.51.45
BR0301E SQL error -1017 at location db_connect-2,SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance QAS failed
BR0806I End of BRCONNECT processing: cedjdcad.chk2010-06-02 15.51.45
BR0280I BRCONNECT time stamp: 2010-06-02 15.51.45
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finished
Except this everthings is running fine, Please help me.BR0301E SQL error -1017 at location db_connect-2,SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance QAS failed
Problem with your OPS$ user dsitribution, check below SAP notes and create/correct them.
SAP Note 50088
SAP Note 400241
Regards,
Nick Loy -
Errors in Livecache when running a "check database structure"
Helleo, i have the following error messages when i do a check database structure of our QA Livecache environment :
DBA Action starts:
Timestamp: 20090406141745 Function: cdb Object: DATABASE
VERIFY command:
check data
VERIFY result:
ERR
-24988,ERR_SQL: SQL error
-9053,〰〰〰〰〰〰〰〰〰〳
17,Servertask Info: because b01pverify_participant() failed
10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
17,Servertask Info: because b01pverify_participant() failed
10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
17,Servertask Info: because b01pverify_participant() failed
10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
DBA Action ends:
Timestamp: 20090406141753 State: Failure
ANd i have the same result whether i run it from DB13 or from the database managerIs there a way to run the check database with a repair option ? How can i fix this ?
Thanks for your help.
Y.
Edited by: Youssef ANEGAY on Apr 6, 2009 3:59 PM> I guess i'll have no choice but to restore the database ...
Yes - most like that will be the case
But before you do that, I'd check the hardware also (drivers, firmware, OS patches etc.). If the system is connected to a SAN I would also check the logs of that.
Markus -
Error Messages when Checking Database via dbacockpit
Hi,
I got the below messages when I tried to exe a "Check Database" job. What could be wrong ? Please advise. TIA !
SXPG_STEP_XPG_START: RFC_TCPIP_CONNECTION_OPEN returned rc_cannot_get_rfc_dests
Message no. BT351
SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 901
Message no. BT351
SXPG_COMMAND_EXECUTE failed for BRARCHIVE - Reason: x_error
Message no. Q2233
Diagnosis
This message includes variables. No additional information can be specified.
Job cancelled after system exception ERROR_MESSAGE
Message no. 00564
DLHai,
Are you trying to execute the job in a remote server, if yes check the RFC connection which it uses to connect.
Provide the SAP Gateway details for that RFC connection and then try.
Regards,
Yoganand.V
Maybe you are looking for
-
Mega 180/Media Player/Graphic Card/TV-Out
Hi, after very long research I decided to use Mega 180 as a dedicated PC for media center purpose and to connect it directly to my TV (Siemens 100 Hz real flat 16:9) and to upgrade my second PC and to connect the two PCs wirelesly and to use Media Po
-
Failed to close connection for data source "EntityDataSource"
Hi All, I have deployed some PowerView reports on SharePoint 2013. I have open it on sharepoint, wait for 5 mins & then I try to change any filter then I am getting following error as Failed to close connection for data source "EntityDataSource" Erro
-
Checked with chat rep - adobe tech couldnt comment and pointed here?! Help, am I missing something or fudged my install? Or is simply not a feature in the OSX build yet? Thanks
-
Design Window Not Displaying Correctly
In MX 2004, I have a layout in which the column structure is set forth in CSS, but the columns then contain HTML-defined tables. Is this mixture problematic in MX 2004? If I hit F12 or upload, the result is fine, but in the Design window, the display
-
Finding out what Subtype a reference is
Hi! I'm trying to bulid an applicaton with abab g and as a Java developer I'm doing it with Abap Objects. Now I have a nice abstract superclass and now I have to check references what type they have, before casting them into the subclasses. I'm looki