Jun 11, 2002 #1 dupa12345 MIS Jun 6, 2002 10 US how can i check what is in my space? i want to make sure that i don't keep tables/views/macros that i don't need under "username. "
how can i check what is in my space? i want to make sure that i don't keep tables/views/macros that i don't need under "username. "
Jun 11, 2002 #2 Sridharan Technical User Dec 3, 2001 523 IN hi dupa12345, select * from dbc.tables where databasename = 'db1' the above will give you all tables/macros/views under ur database name.... if u wanna check the space occupied by ur database try this one below.. select * from dbc.diskspace where databasename = 'db1' regards sridharan Upvote 0 Downvote
hi dupa12345, select * from dbc.tables where databasename = 'db1' the above will give you all tables/macros/views under ur database name.... if u wanna check the space occupied by ur database try this one below.. select * from dbc.diskspace where databasename = 'db1' regards sridharan
Jun 16, 2002 #3 tdatgod Programmer Jul 21, 2001 601 US Hi, you can simply do help database db1; to see what is created in your database space. Views and Macros don't take away from your Diskspace allotment as they only reside inside the dictionary table. Tables occupy space. Even a table which contains no rows will occupy 1K for every amp on your system due to the internal table header. Stored procedures occupy space. Every Index you create on your tables will use space if the table has rows. As stated above in the other post you can see how much space each table is using by doing..... select * from dbc.diskspace where databasename = 'db1' This is the total for the whole table, including the Primrary data table and fall back data table and index tables. Upvote 0 Downvote
Hi, you can simply do help database db1; to see what is created in your database space. Views and Macros don't take away from your Diskspace allotment as they only reside inside the dictionary table. Tables occupy space. Even a table which contains no rows will occupy 1K for every amp on your system due to the internal table header. Stored procedures occupy space. Every Index you create on your tables will use space if the table has rows. As stated above in the other post you can see how much space each table is using by doing..... select * from dbc.diskspace where databasename = 'db1' This is the total for the whole table, including the Primrary data table and fall back data table and index tables.