CRM TPM Database Sizing for CRM and BW
All,
I am currently sizing for a TPM implementation and have a couple of questions concerning storage capacity for CRM and BW. I have reviewed and created an Excel spreadsheet based on the SAP Sizing Guide for CRM-TPM but I am coming up short in a couple areas.
Here is the document Link: [https://websmp105.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000711312004E]
1. Is there a storage sizing guide for BW or what has worked for the community to estimate?
2. Is the sizing guide for CRM/TPM correct (see below example)?
3. What has worked for CRM/TPM database sizing from the community?
I have a question about section 3.3.3 Disk Sizing in CRM. If the disk sizing is based on per promotion (for the condition generation process), why is there a multiplication factor for PARTNERS? I donu2019t believe we would have more than 1 or 2 partners per promotion.
I did some quick math with some example numbers and came up with about 2.9TB for the CRM database. See below for additional info based on the equation in section 3.3.3.
Part 1
20,000 Promotions
10 Products
1000 Partners
.87TB
Part 2
10,000 Promotions
47 Products
1000 Partners
2.04TB
Is this accurate for sizing the condition generation process for the CRM database? I am failing to understand why, for example, the 20,000 promotions would have 1,200 partners included in the base equation for each promotion.
I appreciate any time you could spend in responding to my question.
Thanks in advance,
Steve
Edited by: Steve Rocha on Jan 7, 2010 5:07 PM
Edited by: Steve Rocha on Jan 7, 2010 5:09 PM
Edited by: Steve Rocha on Jan 7, 2010 5:09 PM
Thanks Steve for you reply.
I am looking for a Sizing sheet from SAP TPM Perspective. If you could share your Excel spreadsheet based on the SAP Sizing Guide for CRM-TPM .
regards
AK
Similar Messages
-
Different Database Behavior for UAT and PRO in same DB
Hi All,
The UAT and Production Documentum schemas reside in the same database instance referring to different applications.
Problem is when I run the same query to production it send me result in a second but in UAT it takes for ever and also its shows the different plan if do explain in UAT and PRO.
OS windows 64Bit
DB 10.2.0.3
There is frequent, automated data load.
The indexes are rebuilt every other day.
SQL on UAT
select all dm_folder.r_object_id, dm_folder.object_name, dm_repeating.i_folder_id, dm_repeating.r_folder_path from dm_folder_sp dm_folder, dm_folder_rp dm_repeating where (dm_folder.r_object_id in (select all dm_repeating.i_ancestor_id from dm_folder_sp dm_folder, dm_folder_rp dm_repeating where ((dm_folder.r_object_id='0b01b3f18000b897') and (dm_folder.a_is_hidden=0)) and (dm_folder.i_has_folder = 1 and dm_folder.i_is_deleted = 0) and dm_repeating.r_object_id=dm_folder.r_object_id )) and (dm_folder.i_has_folder = 1 and dm_folder.i_is_deleted = 0) and dm_repeating.r_object_id=dm_folder.r_object_id order by dm_folder.r_object_id
Explain Plan on UAT
This sql ran forever. An execution plan was gotten for the SQL. Note the MERGE JOIN CARTESIAN with 404 million rows and 34 GB of data highlighted in red.
Execution Plan
Plan hash value: 1131176958
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 132 | 21M (1)| 70:20:41 |
| 1 | NESTED LOOPS SEMI | | 1 | 132 | 21M (1)| 70:20:41 |
| 2 | NESTED LOOPS | | 15087 | 1723K| 21M (1)| 70:08:37 |
| 3 | MERGE JOIN CARTESIAN | | 404M| 34G| 802K (1)| 02:40:32 |
| 4 | NESTED LOOPS | | 9854 | 606K| 382 (1)| 00:00:05 |
|* 5 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_S | 22358 | 1026K| 381 (1)| 00:00:05 |
| 6 | INDEX FULL SCAN | D_1F01B3F180000109 | 26813 | | 5 (0)| 00:00:01 |
|* 7 | INDEX UNIQUE SCAN | D_1F01B3F180000143 | 1 | 16 | 1 (0)| 00:00:01 |
| 8 | BUFFER SORT | | 41065 | 1162K| 802K (1)| 02:40:32 |
| 9 | TABLE ACCESS FULL | DM_FOLDER_R | 41065 | 1162K| 81 (0)| 00:00:01 |
| 10 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_R | 1 | 25 | 1 (0)| 00:00:01 |
|* 11 | INDEX UNIQUE SCAN | D_1F01B3F18000010A | 1 | | 1 (0)| 00:00:01 |
|* 12 | VIEW | VW_NSO_1 | 1 | 15 | 4 (0)| 00:00:01 |
| 13 | NESTED LOOPS | | 2 | 190 | 4 (0)| 00:00:01 |
| 14 | NESTED LOOPS | | 4 | 304 | 3 (0)| 00:00:01 |
| 15 | NESTED LOOPS | | 1 | 42 | 2 (0)| 00:00:01 |
|* 16 | INDEX UNIQUE SCAN | D_1F01B3F180000143 | 1 | 16 | 1 (0)| 00:00:01 |
|* 17 | TABLE ACCESS BY INDEX ROWID| DM_SYSOBJECT_S | 1 | 26 | 1 (0)| 00:00:01 |
|* 18 | INDEX UNIQUE SCAN | D_1F01B3F180000109 | 1 | | 1 (0)| 00:00:01 |
| 19 | TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 4 | 136 | 1 (0)| 00:00:01 |
|* 20 | INDEX RANGE SCAN | DM_FOLDER_R_IND_UT | 4 | | 1 (0)| 00:00:01 |
|* 21 | INDEX UNIQUE SCAN | D_1F01B3F18000010A | 1 | 19 | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
5 - filter("YB_"."I_HAS_FOLDER"=1 AND "YB_"."I_IS_DELETED"=0)
7 - access("YB_"."R_OBJECT_ID"="OG_"."R_OBJECT_ID")
11 - access("ZB_"."R_OBJECT_ID"="PG_"."R_OBJECT_ID" AND
"ZB_"."I_POSITION"="PG_"."I_POSITION")
filter("ZB_"."R_OBJECT_ID"="YB_"."R_OBJECT_ID")
12 - filter("YB_"."R_OBJECT_ID"="$nso_col_1")
16 - access("OG_"."R_OBJECT_ID"='0b01b3f18000b897')
17 - filter("YB_"."I_HAS_FOLDER"=1 AND "YB_"."I_IS_DELETED"=0 AND "YB_"."A_IS_HIDDEN"=0)
18 - access("YB_"."R_OBJECT_ID"='0b01b3f18000b897')
20 - access("PG_"."R_OBJECT_ID"='0b01b3f18000b897')
21 - access("ZB_"."R_OBJECT_ID"='0b01b3f18000b897' AND "ZB_"."I_POSITION"="PG_"."I_POSITION")
SQL on Production
The following sql was run through sqlplus on production. It is identical to the one run on UAT with the exception that a different r_object_id is used.
select all dm_folder.r_object_id, dm_folder.object_name, dm_repeating.i_folder_id, dm_repeating.r_folder_path from dm_folder_sp dm_folder, dm_folder_rp dm_repeating where (dm_folder.r_object_id in (select all dm_repeating.i_ancestor_id from dm_folder_sp dm_folder, dm_folder_rp dm_repeating where ((dm_folder.r_object_id='0b01b3f080011726') and (dm_folder.a_is_hidden=0)) and (dm_folder.i_has_folder = 1 and dm_folder.i_is_deleted = 0) and dm_repeating.r_object_id=dm_folder.r_object_id )) and (dm_folder.i_has_folder = 1 and dm_folder.i_is_deleted = 0) and dm_repeating.r_object_id=dm_folder.r_object_id order by dm_folder.r_object_id
Explain Plan on Production
This query ran very quickly. The query plan does not contain a MERGE JOIN CARTESIAN.
Execution Plan
Plan hash value: 3553258581
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 5 | 650 | 10 (20)| 00:00:01 |
| 1 | SORT ORDER BY | | 5 | 650 | 10 (20)| 00:00:01 |
| 2 | NESTED LOOPS | | 5 | 650 | 9 (12)| 00:00:01 |
| 3 | NESTED LOOPS | | 9 | 936 | 8 (13)| 00:00:01 |
| 4 | NESTED LOOPS | | 3 | 234 | 7 (15)| 00:00:01 |
| 5 | NESTED LOOPS | | 3 | 186 | 6 (17)| 00:00:01 |
| 6 | VIEW | VW_NSO_1 | 3 | 48 | 4 (0)| 00:00:01 |
| 7 | HASH UNIQUE | | 3 | 279 | | |
| 8 | NESTED LOOPS | | 3 | 279 | 4 (0)| 00:00:01 |
| 9 | NESTED LOOPS | | 5 | 365 | 3 (0)| 00:00:01 |
| 10 | NESTED LOOPS | | 1 | 38 | 2 (0)| 00:00:01 |
|* 11| INDEX UNIQUE SCAN | D_1F01B3F080000143 | 1 | 16 | 1 (0)| 00:00:01 |
|* 12| TABLE ACCESS BY INDEX ROWID| DM_SYSOBJECT_S | 1 | 22 | 1 (0)| 00:00:01 |
|* 13| INDEX UNIQUE SCAN | D_1F01B3F080000109 | 1 | | 1 (0)| 00:00:01 |
| 14| TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 5 | 175 | 1 (0)| 00:00:01 |
|* 15| INDEX RANGE SCAN | DM_FOLDER_R_IND | 5 | | 1 (0)| 00:00:01 |
|* 16| INDEX UNIQUE SCAN | D_1F01B3F08000010A | 1 | 20 | 1 (0)| 00:00:01 |
|* 17| TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_S | 1 | 46 | 1 (0)| 00:00:01 |
|* 18| INDEX UNIQUE SCAN | D_1F01B3F080000109 | 1 | | 1 (0)| 00:00:01 |
|* 19| INDEX UNIQUE SCAN | D_1F01B3F080000143 | 1 | 16 | 1 (0)| 00:00:01 |
| 20| TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_R | 3 | 78 | 1 (0)| 00:00:01 |
|* 21| INDEX RANGE SCAN | D_1F01B3F08000010A | 3 | | 1 (0)| 00:00:01 |
| 22| TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 1 | 26 | 1 (0)| 00:00:01 |
|* 23| INDEX UNIQUE SCAN | D_1F01B3F080000144 | 1 | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
11 - access("TGB_"."R_OBJECT_ID"='0b01b3f080011726')
12 - filter("GJ_"."A_IS_HIDDEN"=0 AND "GJ_"."I_HAS_FOLDER"=1 AND "GJ_"."I_IS_DELETED"=0)
13 - access("GJ_"."R_OBJECT_ID"='0b01b3f080011726')
15 - access("VGB_"."R_OBJECT_ID"='0b01b3f080011726')
16 - access("IJ_"."R_OBJECT_ID"='0b01b3f080011726' AND "IJ_"."I_POSITION"="VGB_"."I_POSITION")
17 - filter("GJ_"."I_HAS_FOLDER"=1 AND "GJ_"."I_IS_DELETED"=0)
18 - access("GJ_"."R_OBJECT_ID"="$nso_col_1")
19 - access("GJ_"."R_OBJECT_ID"="TGB_"."R_OBJECT_ID")
21 - access("IJ_"."R_OBJECT_ID"="GJ_"."R_OBJECT_ID")
23 - access("IJ_"."R_OBJECT_ID"="VGB_"."R_OBJECT_ID" AND "IJ_"."I_POSITION"="VGB_"."I_POSITION")
Message was edited by:
user624068I am gathering the statistics for the full database statement is .
execute dbms_stats.gather_database_stats(ESTIMATE_PERCENT => 99, CASCADE => TRUE)
I tried to gather the stats on schema but no effect.
No of indexes are same in UAT and Pro.
I am still confuse if we have less data do it change the plan and if it did it should be faster.
Thats the max it got format. is there any other way i can format that or send u.
Execution Plan
Plan hash value: 3842135587
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 3 | 384 | 14M (1)| 47:28:20 |
| 1 | NESTED LOOPS SEMI | | 3 | 384 | 14M (1)| 47:28:20 |
| 2 | NESTED LOOPS | | 10269 | 1133K| 14M (1)| 47:20:08 |
| 3 | MERGE JOIN CARTESIAN | | 273M| 22G| 541K (1)| 01:48:20 |
| 4 | NESTED LOOPS | | 6648 | 383K| 412 (0)| 00:00:05 |
|* 5 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_S | 6648 | 279K| 411 (0)| 00:00:05 |
| 6 | INDEX FULL SCAN | D_1F01B3F180000109 | 26592 | | 5 (0)| 00:00:01 |
|* 7 | INDEX UNIQUE SCAN | D_1F01B3F180000143 | 1 | 16 | 1 (0)| 00:00:01 |
| 8 | BUFFER SORT | | 41076 | 1163K| 541K (1)| 01:48:20 |
| 9 | TABLE ACCESS FULL | DM_FOLDER_R | 41076 | 1163K| 81 (0)| 00:00:01 |
| 10 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_R | 1 | 25 | 1 (0)| 00:00:01 |
|* 11 | INDEX UNIQUE SCAN | D_1F01B3F18000010A | 1 | | 1 (0)| 00:00:01 |
|* 12 | VIEW | VW_NSO_1 | 1 | 15 | 4 (0)| 00:00:01 |
| 13 | NESTED LOOPS | | 2 | 182 | 4 (0)| 00:00:01 |
| 14 | NESTED LOOPS | | 4 | 288 | 3 (0)| 00:00:01 |
| 15 | NESTED LOOPS | | 1 | 38 | 2 (0)| 00:00:01 |
|* 16 | INDEX UNIQUE SCAN | D_1F01B3F180000143 | 1 | 16 | 1 (0)| 00:00:01 |
|* 17 | TABLE ACCESS BY INDEX ROWID| DM_SYSOBJECT_S | 1 | 22 | 1 (0)| 00:00:01 |
|* 18 | INDEX UNIQUE SCAN | D_1F01B3F180000109 | 1 | | 1 (0)| 00:00:01 |
| 19 | TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 4 | 136 | 1 (0)| 00:00:01 |
|* 20 | INDEX RANGE SCAN | D_1F01B3F180000144 | 4 | | 1 (0)| 00:00:01 |
|* 21 | INDEX UNIQUE SCAN | D_1F01B3F18000010A | 1 | 19 | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
5 - filter("RG_"."I_HAS_FOLDER"=1 AND "RG_"."I_IS_DELETED"=0)
7 - access("RG_"."R_OBJECT_ID"="WQ_"."R_OBJECT_ID")
11 - access("SG_"."R_OBJECT_ID"="XQ_"."R_OBJECT_ID" AND
"SG_"."I_POSITION"="XQ_"."I_POSITION")
filter("SG_"."R_OBJECT_ID"="RG_"."R_OBJECT_ID")
12 - filter("RG_"."R_OBJECT_ID"="$nso_col_1")
16 - access("WQ_"."R_OBJECT_ID"='0b01b3f18000b897')
17 - filter("RG_"."A_IS_HIDDEN"=0 AND "RG_"."I_HAS_FOLDER"=1 AND "RG_"."I_IS_DELETED"=0)
18 - access("RG_"."R_OBJECT_ID"='0b01b3f18000b897')
20 - access("XQ_"."R_OBJECT_ID"='0b01b3f18000b897')
21 - access("SG_"."R_OBJECT_ID"='0b01b3f18000b897' AND "SG_"."I_POSITION"="XQ_"."I_POSITION")
Production Explan
Execution Plan
Plan hash value: 3553258581
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 5 | 650 | 10 (20)| 00:00:01 |
| 1 | SORT ORDER BY | | 5 | 650 | 10 (20)| 00:00:01 |
| 2 | NESTED LOOPS | | 5 | 650 | 9 (12)| 00:00:01 |
| 3 | NESTED LOOPS | | 9 | 936 | 8 (13)| 00:00:01 |
| 4 | NESTED LOOPS | | 3 | 234 | 7 (15)| 00:00:01 |
| 5 | NESTED LOOPS | | 3 | 186 | 6 (17)| 00:00:01 |
| 6 | VIEW | VW_NSO_1 | 3 | 48 | 4 (0)| 00:00:01 |
| 7 | HASH UNIQUE | | 3 | 279 | | |
| 8 | NESTED LOOPS | | 3 | 279 | 4 (0)| 00:00:01 |
| 9 | NESTED LOOPS | | 5 | 365 | 3 (0)| 00:00:01 |
| 10 | NESTED LOOPS | | 1 | 38 | 2 (0)| 00:00:01 |
|* 11 | INDEX UNIQUE SCAN | D_1F01B3F080000143 | 1 | 16 | 1 (0)| 00:00:01 |
|* 12 | TABLE ACCESS BY INDEX ROWID| DM_SYSOBJECT_S | 1 | 22 | 1 (0)| 00:00:01 |
|* 13 | INDEX UNIQUE SCAN | D_1F01B3F080000109 | 1 | | 1 (0)| 00:00:01 |
| 14 | TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 5 | 175 | 1 (0)| 00:00:01 |
|* 15 | INDEX RANGE SCAN | DM_FOLDER_R_IND | 5 | | 1 (0)| 00:00:01 |
|* 16 | INDEX UNIQUE SCAN | D_1F01B3F08000010A | 1 | 20 | 1 (0)| 00:00:01 |
|* 17 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_S | 1 | 46 | 1 (0)| 00:00:01 |
|* 18 | INDEX UNIQUE SCAN | D_1F01B3F080000109 | 1 | | 1 (0)| 00:00:01 |
|* 19 | INDEX UNIQUE SCAN | D_1F01B3F080000143 | 1 | 16 | 1 (0)| 00:00:01 |
| 20 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_R | 3 | 78 | 1 (0)| 00:00:01 |
|* 21 | INDEX RANGE SCAN | D_1F01B3F08000010A | 3 | | 1 (0)| 00:00:01 |
| 22 | TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 1 | 26 | 1 (0)| 00:00:01 |
|* 23 | INDEX UNIQUE SCAN | D_1F01B3F080000144 | 1 | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
11 - access("TGB_"."R_OBJECT_ID"='0b01b3f080011726')
12 - filter("GJ_"."A_IS_HIDDEN"=0 AND "GJ_"."I_HAS_FOLDER"=1 AND "GJ_"."I_IS_DELETED"=0)
13 - access("GJ_"."R_OBJECT_ID"='0b01b3f080011726')
15 - access("VGB_"."R_OBJECT_ID"='0b01b3f080011726')
16 - access("IJ_"."R_OBJECT_ID"='0b01b3f080011726' AND "IJ_"."I_POSITION"="VGB_"."I_POSITION")
17 - filter("GJ_"."I_HAS_FOLDER"=1 AND "GJ_"."I_IS_DELETED"=0)
18 - access("GJ_"."R_OBJECT_ID"="$nso_col_1")
19 - access("GJ_"."R_OBJECT_ID"="TGB_"."R_OBJECT_ID")
21 - access("IJ_"."R_OBJECT_ID"="GJ_"."R_OBJECT_ID")
23 - access("IJ_"."R_OBJECT_ID"="VGB_"."R_OBJECT_ID" AND "IJ_"."I_POSITION"="VGB_"."I_POSITION")
Message was edited by:
user624068 -
Database schema for Warehouse and Logistics Systems
I am interested in the database design of Warehouse and Logistics Systems. Does any know whether Oracle has some sample database schema for such systems? Thanks.
Although you have not mentioned the database version,
Does any know whether Oracle has some sample database schema for such systems? Please review the following links;
Using DBCA to Create and Configure a Database
http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/install003.htm#sthref55
There are vavious types of templates for databases inlcuding data warehouse.
If you check on sample schemas. It will establish sample schemas with Example tablespace within the databse being installed. It is an Oracle recommendation.
You might also view the following link;
DBCA Templates Provided by Oracle
http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/install003.htm#CIHJDGDH
Adith -
TPM- Status management for Funds and Fund Plans
Hi Friends,
Could anyone please tell me where do we create the status profiles for TPm and where do we assign the Status profiles to the Funds and Fund Plans.
Looking forward to your reply.
Thanks in anticipation.
Regards,
Neeraj SharmaHello Neraj,
Use the transaction code CRMBS02, there you can find option to create a status profile.
Once you have defined your status profile , then you have to assign the object types by clicking on the object types button. There you can find various objects such as Funds Plan Status Object Type, Fund Status Object Type. You have to check those boxes to make your status profile valid for fund & fund plans.
Hope this helps.
Regards
Raja Pamireddy
CRM Marketing Forum Moderator. -
Database Sizing for Oracle Applications 11i
Hi,
I was wondering if someone could guide me on how to size an oracle applications database, we'll be using the following modules: GL,AP,CE,FA.
The operating system, might be windows 2000.
What I have in my mind right now regarding the information i need to collect is as follows:
1. No. of users
2. Estimated transaction activity for the above modules, and whether month
end's are particularly transaction intensive.
And yeah thats how far ive gotten , hence the help needed.
About the transaction activity, how do i really quantify it and then translate it into something meaningful that will help me in sizing the database. Could I perhaps get information regarding how many transactions an average user enters in a day ????
Well basically any sort of input would be really helpful, thanks in advance.
NMNeed to know the number of users as we can guess at the transactions level.
Some base line assumptions.
1. You need 1 Gybte of memory before you add any users.
2. You need 10 Gbytes of disc, to hold the SGA, UNIX, Swap Space, Application etc. -
MS access database prompting for username and password
Hello,
When I try to run a crystal report that is connected to a (Access Database) from crystal server 2013, I get prompted for a username and password. Im not sure what im doing wrong, Ive tried creating a ODBC connection, change the SAP service to run under a domain user account, recreated the report with a different file path. but still no luck, please help im at a lose.
Thank youHello,
Refer please to the following kbas, probably this can help you :
http://service.sap.com/sap/support/notes/1270997
http://service.sap.com/sap/support/notes/1661997
Regards,
Asma -
Remove direct update of database table for VBUk and VBRK
hello,
we are updating database table only for thse two single fields VBRK-FKDAT_RL and VBUK-RELIK using direct UPDATE statements.
Could you please suggest some function modules or BAPI ?
BDC is not possible as some fields are not editable.
Awaiting your responses.
I have tried RV_INVOICE_DOCUMENT_READ, RV_INVOICE_DOCUMENT_UPDATE, RV_INVOICE_DOCUMENT_ADD.The fields aren't editable for a reason. If you explain the reason for the requirement and what is the trigger for changing the values, you might get a better response. Why isn't this handled via configuration for instance?
-
Database Structure For Articles and Categories
Hi - This is a question about database structure - please help. Thanks
For a website with many subjects or themes is it best to use 1 big table to hold or the articles or many small tables to hold articles for different subjects - I will explain what I mean.
Say my website has a 'cooking' section, a 'sports' section and a general 'blog' section.
In each section the articles will be organized into different sub-categories but I can't see a way to do this.
Case 1: All the articles are stored in 1 table. There is a second table which 'assigns' an article to a category (the cateogries themselves are stored in a separate table) and also assigns a sub-category (sub-categories stored in a separate table???) and then what if there needed to be a sub-sub-cateogry?? This just doesn't seem to work well!
Case 2: For each theme there is a separate table - Cooking Table, Sports Table, Blog Table. And for each separate table there is a categories table Cooking-Categories which assigns each cooking article a sub-cateogry (and the sub-categories are stored in a separate table also) - and what if I needed to make a sub-sub-category - then would I need to make another table? This just sounds like a lot of tables even though the end result would probably be easier!
Case 3: All categories are stored in 1 table - as well as all subcateogires of those categories as well as all sub-sub categories, etc (each with an ID)... Each article is 'assigned' a category ID
Please someone show me the light! I am confusing myself.
Thanks
ChrisThere is no 'best' way of creating a database. It's more logic that is involved in examining the parameters that determine what DB will suit your current requirement. These parameters may include but aren't limited to:
Latency
Performance
Sortability
Accessibility
Ease-of-use
Scalability
If I were you, for the said purpose, I'd create with 4 tables as follows:
Categories - this will hold your main categoriesCatID, Name, Order ID
Sub-CategotiesSubCatID, CatID (that the SubCat is linked to), Name, Order ID
Sub-Sub CategoriesSubSubCatID, SubCatID, CatID, Name, Order Id
ArticlesArticleID, SubSubCatID (can hold multiple Sub-Sub-categories) SubCatID (can hold multiple Sub-categories), CatID (can hold multiple Categotries), Name, Order ID, Article Title, Article Description, Article Thumbnail, URL Name, Metatags (for SEO, if you're looking at doing SEO)
The CatID in Article Table will usually be an INT value with limited chars, the SubCatID and SubSubCatID in Article Table will ideally be a varchar value with about 200 chars so you could assign multiple SubCatIDs to one article.
I'd like to add here that this is very much a debatable post. What suits me may not suit you and/ or the others who may read this post! But this way, I can accomplish my programming/ coding task/ CMS integration with ease-of-use.
Good luck with your DB!
~ST -
Duplicate records in database view for ANLA and ANLC tables
HI all,
Can any one please suggest me how to remove duplicate records from ANLA and ANLC tables when creating a database view.
thanks in advance,
ben.Hi,
Suppose we have two tables one with one field and another with two fields:
TAB1 - Key field KEY1
TAB2 - Key fields KEY1 & Key 2.
No if we create a Database view of these two tables we can do by joining these two tables on Key field KEY1.
Now if in View tab we have inculded TAB1- Key1.
Now lets suppose following four entries are in table TAB1: (AAA), (BBB), (CCC).
and following entries are in table TAB2: (AAA, 1), (AAA, 2), (BBB, 3), (BBB, 5), (DDD, 3).
The data base view will show following entries:
AAA,
AAA,
BBB,
BBB,
Now these entris are duplicate in the output.
This is because TAB2 has multilple entries for same key value of TAB1.
Now if we want to remove multiple entries from ouput - we need to include an entry in selection conditions like TAB2-KEY2 = '1'.
Regards,
Pranav. -
Updating database table for 'CHANGE' and 'ADD' buttons.
Hi,
I am working on module pool program. Here i am using table control.Below is my requirement:
1) I have designed a selection - screen with 'CHANGE' and 'DISPLAY' buttons and in screen 100 i have 'ADD' and 'SAVE' buttons.
2) when i click on 'CHANGE' , it will move to screen 200 here i need to change quantity field for that particular record which is in table control.once i change the field value and click on 'SAVE' a message should be populated that "RECORD IS SAVED' and this record should be updated in database table with new quantity field value and it should return back to my selection screen.
3) When i click on 'ADD' , it should display already existing records in disable mode and a new line should be added inorder to enter new records. Once i enter the data and click on SAVE, this new record should be saved in the database table along with existing records.
Kindly suggest me a sample code for this as am new to table control in module pool programming.Hi Gaurav,
I've a similar problem!! any solutions to your problem!! -
Using SQL Server as a Database sources for Essbase and Planning
I was reading Jake Turrell white Paper on Hyperion Planning "sandbox" enviroment on a laptop and he stated that you can use SQL Server, u guess my question is i have been using oracle 11gr2 is there really any different
also
is best to build different schema for
Shared Services
workspace
Essbase Admin Srvices
Planning system Respostory
Planning App's
Calc manager
and
Finanical Reporting and web analysis
i have been just buildint the Instance n Oracle and making a schema for planning
Please advise
Edited by: Next Level on Oct 18, 2012 9:27 PM
Edited by: Next Level on Oct 18, 2012 9:30 PM
Edited by: Next Level on Oct 18, 2012 9:31 PM
Edited by: Next Level on Oct 18, 2012 10:11 PMFWIW, my own (ugh) install of 11.1.1.3 32 bit on my laptop (oh, soon I am going to jettison this thing and move to a 32 gig laptop) I am using SQL Server 2005. A client from last year used the same release of SS but I think the 64 bit release. John Booth's EPM AMI uses SQL Server Express 2008. IOW, yeah, you can totally use SQL Server with the EPM suite. I think that there is an exception for ERPi, but I could be wrong about that. For sure I used ODI 11.1.1.5 with SQL Server as I (gasp) set that up myself out on the cloud.
Regards,
Cameron Lackpour -
Guide for Tuning and Optimizing Red Hat Linux AS for Oracle9i Database
I put together a step-by-step guide for tuning and optimizing Red Hat Linux Advanced Server for Oracle9i. It's my first draft version and I would appreciate any comments and feedback.
The article
"Tuning and Optimizing Red Hat Linux Advanced Server for Oracle9i Database"
can be found at:
http://www.puschitz.com/TuningLinuxForOracle.shtml
The article
"Oracle 9i Installation on Red Hat Linux 7.1, 7.2, 7.3, 8.0, and on Red Hat Advanced Server 2.1"
can now be found at http://www.puschitz.com/InstallingOracle9i.shtml
And both links for
"Oracle on Red Hat Linux"
can be found at
http://www.puschitz.com/OracleOnLinux.shtml
WernerIs this good for Redhat Linux 9.0 and not just the advanced server.
If it is not could you please provide me the links to articles like,
"Guide for Tuning and Optimizing Red Hat Linux for Oracle9i Database"
"Guide for Tuning and Optimizing Red Hat Linux for Oracle9i App Server"
"Guide for Tuning and Optimizing Red Hat Linux for Oracle9i Infrastucture"
Thanks. -
Hi ,
Can any one help me to know, how to do database sizing for oracle database.
If database sizing is differed from version than i want to know for 9i,10g and 11.5.10.2 application.
I dont have basic knowledge for doing database sizing. please tell me know because i have assigned a project on this in my company?
Thanks a lot in advanceThe version of the database is irrelevant. Sizing is solely a function of the application.
In your case, since you have one or more applications in the Oracle eBusiness Suite, there is almost certainly a sizing spreadsheet floating around. If you post this question over in the forum for the particular application(s) you are using, someone over there may be able to give you some pointers. I would also strongly suspect that a Metalink search that included the particular application(s) you're using would be beneficial.
Justin -
Mysql database only for one java project
Hello,
Can anyone tell me if somehow I can connect mysql only for one java project.
For e.g. I'm building a swing application I need to use database for some purposes. I want to have all in one. That my project will contain database only for it and nothing else. The user could not be able to connect to that mysql which I'm using for my project.
Any ideas how to make this work?Paulius wrote:
Yes. I want that the database would be implemented in my program (project). And it must be used only with this project and nothing else.Then you'll probably want to use one of the In-memory databases. There was one that came with Java these days too, JavaDB or similar I think.
You can't embed MySQL (AFAIK) in your project. -
How to config CRM and BW for IIS SOluction Database
Dear Sir,
We upgrade CRM2.0c to CRM 5.0- and solution Dtabase is not working, I don't know how to config, some person said that it need to config from CRM and BW for this features. Please kindly advise.
Thank you and best regards,
VimoHi,
It is not clear what you meaning about multiple environments. Do you mean these environments are in different directories or in the same directory ? If you mean environments in different dirs share the same cache, it is interesting why you need that.
If you do not use DB_PRIVATE to open the environment, the created cache will be on disk, in the environment directory, so it can be shared by multiple processes and multiple threads. Currently, the cache file is in the environment directory, and we do not support specifying a separate directory for cache only.
Regards,
Oracle Berkeley DB.
Maybe you are looking for
-
SqlPlus or PL/SQL -- how to copy one procedure with one command?
Hello, In this scenario, I have 11g on server1 and server2. Using SqlPlus or a PL/SQL procedure, I want to issue a command to copy a procedure now on server1 over to a new identical server and tablespace called server2. Would someone please help me w
-
Creating View Objects for complex query
Hi All, I am trying to create a VO for inner query, but i am not able understand what type of bind variable to select. PFB the scenario: I have 2 tables, say orders, products I am supposed to execute the following query: Select * from Orders o, Produ
-
Havent been on forums before, I have just posted this question now hoping for a reply
-
Mavericks maps problem - why do they go blank?
I just started to use Mavericks and find that in iPhoto and in the Apple Maps app itself the maps show for a brief moment the appropriate map then it goes blank - actually a yellow-cream color. In iPhoto I see drop pins but no map content. Anyone h
-
Hello, I'm a begginer with ODI and I don't know which KM I need. My source and target DB is the same Oracle 10g2 (and odi ref master too). I have tried some KM but always the same errors in OPERATOR : 1)SS_0 - drop work table -> warning : table does