Posts

Showing posts with the label Production

ATG Support Analysis Database Queries

Hi Guys, Just wanted to share with you all the database Queries that can be used to analyse various things from database perspective. Every fault that occurs in ATG has some link with the Database and we also start analysing things starting from Database standpoint. Here i have used simple sql Queries but yet they will give perfect results (Iam not DB expert to give more optimised Queries. Any suggestions for new and optimised Queries are welcome). Orders Placed on Particular date in Particular state select o.* from dcspp_order o inner join dcspp_pay_group p on o.order_id = p.order_ref join DCSPP_BILL_ADDR b on p.PAYMENT_GROUP_ID = b.PAYMENT_GROUP_ID where substr(o.creation_date,0,9) = '31-JUL-17' and o.state not in('SUBMITTED','REMOVED');  Orders with Specific ShippingGroup(for example hardgoodShippingGroup) select * from atgcore.dcspp_order o inner join atgcore.dcspp_ship_group s on o.order_id=S.ORDER_REF where s.state  not i...

ATG Database Tables

Most Important Tables that is required when analysing ATG related things are been listed below with all the description. The below list of tables is been divided based on the schemas in which they reside. The schemas that have been classified is based in Switching Database Architecture. For nonSwitching it a bit different which you will get to know when you reach the end. Schemas are : Production Schema Catalog Schema(SwitchA/CatA/SwitchB/CatB) Publishing Schema Production Schema :       User: DPS_USER - Has all the User details, whoever registers their account in ATG will have its entry its here. DPS_CREDIT_CARD - Contains all the User profile save cards info. This is been linked to DPS_USER table with linking table(DPS_USR_CREDITCARD). DPS_CONTACT_INFO - All the User saved addresses will be saved here like firstname, lastname, Address1, City, State, Phone Number. This table is linked with DPS_USER table using DPS_USER_ADDRESS. DCS_USER - Thi...