简体   繁体   English

SAP 数据字典中的数据库表技术信息

[英]DB tables technical info in SAP Data Dictionary

I was given a task to develop a report that would present the following details (as separate columns in ALV): 1) Name of the DB table (like MSEG, EKPO etc.) 2) Size of the DB table in megabytes 3) Number of records 4) Number of read requests performed on the table 5) Number of write requests performed on the table我的任务是开发一份报告,该报告将显示以下详细信息(作为 ALV 中的单独列):1) 数据库表的名称(如 MSEG、EKPO 等)2) 数据库表的大小 (MB) 3) 数字记录数 4) 对表执行的读请求数 5) 对表执行的写请求数

There are DB* tables that contain such kind of info.有包含此类信息的 DB* 表。 Specifically I am referring to DB6PMHST and DB6HISTBS.具体来说,我指的是 DB6PMHST 和 DB6HISTBS。 When I try to view them via SE11 or SE16, system reports that these tables do not hold any records.当我尝试通过 SE11 或 SE16 查看它们时,系统报告这些表没有任何记录。 I tried all three development, testing and production landscapes.我尝试了所有三种开发、测试和生产环境。 Please may you provide a guidance on what I am doing wrong?请您提供有关我做错了什么的指导吗? Maybe there are some other system tables that would contain the necessary info?也许还有其他一些系统表会包含必要的信息? PS I tried to debug ST04 transaction in order to see the tables from which the report selects data, but wasn't able to find those lines of the source code. PS 我试图调试 ST04 事务以查看报告从中选择数据的表,但无法找到源代码的那些行。

I would deeply appreciate your kind assistance.我将非常感谢您的帮助。

PSS Checked the table MSSDBSTATT - it is empty as well (our enterprise uses MS SQL Database) PSS 检查表 MSDBSTATT - 它也是空的(我们的企业使用 MS SQL 数据库)

Go to SE38 and run this report RSTABLESIZE, enter table ID and see the magic.转到 SE38 并运行此报告 RSTABLESIZE,输入表 ID 并查看魔术。

RSTABLESIZE

The number of reads and writes on a table is a subject specific to the type of database ( MSSQL ) -> please tag your question accordingly.表上的读取和写入次数是特定于数据库类型 ( MSSQL ) 的主题 -> 请相应地标记您的问题。

If you get an answer by an MSSQL expert, which says that the data is stored in some MSSQL tables, then you cannot query those tables using "Open SQL" but you may query them using "native SQL" (ie EXEC SQL or ADBC for instance).如果您得到 MSSQL 专家的回答,说数据存储在某些 MSSQL 表中,那么您不能使用“Open SQL”查询这些表,但可以使用“本机 SQL”(即EXEC SQL或 ADBC for实例)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从sql db中的多个表中提取数据 - extracting data from multiple tables in sql db 将SQL表作为数据导入访问Db - Import SQL tables as data into access Db 连接MySQL信息和2个表 - Joining MySQL info and 2 tables 编辑MS SQL DB,将20个表转换为1个表,而不会丢失数据 - Editing MS SQL DB with 20 tables to 1 table without data lost SSIS SQL SAP SAP HANA数据库(ODBC) - ssis sql sap hana db (odbc) 将以_Log结尾的表中的数据传输到另一个DB中,而在主DB中仅保留1周的数据? - Transfer Data from tables that end with _Log into a another DB and only leaving 1 week of data in the main DB? 文本文件作为表和数据到Oracle db-转换工具 - Text file to Oracle db as tables and data - Conversion tool 如何使用 T-SQL 链接服务器获取列的 MS Access 数据字典信息 - How to use T-SQL Linked Server to Get MS Access Data Dictionary Info For Columns 将数据从 MSSQL 的多个表传输到 H2DB 并将公式应用于数据 - transfering data from multiple tables from MSSQL to H2DB and applying formulas to data 如何在sql server 2014中将多个表中的数据从一个数据库复制到另一个数据库,其中时间戳用于所有表 - How to copy data from multiple table from one DB to other DB in sql server 2014 where Timestamp is used for all the tables
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM