Fact-checked by Grok 2 weeks ago

Tablespace

A tablespace is a logical storage unit in systems (RDBMS) that serves as an for organizing and managing the physical of database objects, such as tables, indexes, and other elements, by grouping related data s together. Tablespaces enable database administrators to control data placement across different devices, optimize performance, and facilitate tasks like backups and by isolating logical structures from physical . In systems like , tablespaces consist of one or more data files and can be configured with specific parameters for size, growth, and to meet workload requirements. Similarly, in , they allow explicit control over locations for database objects, supporting scalability across multiple disks. Common types of tablespaces include permanent tablespaces for storing durable and application , temporary tablespaces for handling sort operations and global temporary tables during query execution, and tablespaces dedicated to rollback and read consistency in environments. In MySQL's storage engine, tablespaces encompass system tablespaces for metadata and change buffers, as well as general and file-per-table options for flexible organization and encryption support. These variations across RDBMS highlight tablespaces' role in enhancing storage efficiency, security, and administrative control in modern database architectures.

Definition and Fundamentals

Core Concept

A tablespace is a logical container in a management system (RDBMS) that groups related physical files for storing database objects such as tables, indexes, and partitions. This structure provides an abstraction layer, allowing database administrators to manage storage without directly handling individual files. Tablespaces embody a dual nature, operating as logical entities that organize database objects while mapping to physical storage components like datafiles on disk or filegroups in certain systems. Logically, a tablespace serves as a named unit where elements are allocated, enabling efficient grouping based on criteria such as object type, patterns, or needs. Physically, it corresponds to one or more operating system files that hold the actual , facilitating as the database grows. All permanent database objects must reside within a tablespace, making it a prerequisite for object creation and a critical bridge between design and underlying storage allocation. This integration ensures that data placement aligns with administrative policies, such as separating user data from to optimize , , and operations. The tablespace thus underpins the overall database by translating decisions into concrete storage resources. The tablespace concept emerged in early commercial RDBMS, such as in the late 1970s, to provide logical storage organization. Similar features were later implemented in systems like DB2 and .

Storage Role in Databases

Tablespaces serve as a fundamental logical for organizing and managing physical storage in relational databases, enabling efficient data allocation and access for various database objects. They group related logical structures, such as tables and indexes, into cohesive units that map to underlying data files on disk. At the core of this role, tablespaces facilitate the allocation of space to database objects, with the exact mechanisms (such as space units and allocation strategies) varying by RDBMS. Specific details, like Oracle's use of segments, extents, and blocks, are covered in implementation sections. The allocation of space within tablespaces is designed to optimize storage utilization and performance by minimizing fragmentation. In many systems, space can be allocated dynamically based on the object's needs, using mechanisms to track free space and select appropriately sized contiguous blocks. Alternatively, fixed sizing for space allocations promotes predictability and reduces internal fragmentation, particularly beneficial for high-throughput environments. This approach allows objects to expand incrementally without excessive overhead. Tablespaces integrate seamlessly with database schemas by logical object design from physical details, providing flexibility in . objects are assigned to specific tablespaces through explicit clauses during creation, such as specifying the tablespace in a CREATE TABLE statement, which directs the object's to that tablespace's data files. Databases typically designate a default tablespace for each user, ensuring that objects created without explicit assignment inherit this setting to simplify and enforce policies. This default mechanism, often configurable at the user or system level, balances convenience with control, allowing administrators to route for different schemas to optimized physical locations.

Types and Classifications

Permanent Tablespaces

In , permanent tablespaces serve as logical storage units designed to accommodate persistent database objects such as tables, indexes, and undo segments. Their core purpose is to maintain durable data that endures across database instances, restarts, and shutdowns, ensuring the and of application and system data over the long term. Key attributes of permanent tablespaces include the ability to incorporate multiple datafiles for distributed across physical volumes, support for states to facilitate without full database , and configurable modes such as read-write for active or read-only to safeguard static . These features enable flexible of resources while preserving accessibility and security. In practice, permanent tablespaces are primarily utilized for housing core application data in production environments and for archiving historical records in read-only configurations, which conserves computational resources by preventing unnecessary write operations on infrequently accessed information. Unlike temporary tablespaces employed for transient tasks like , permanent ones emphasize enduring . Permanent tablespaces are available in two variants: smallfile, which allows up to smaller datafiles per tablespace for granular control in complex storage setups, and bigfile, which employs a single, expansive datafile—potentially reaching 128 terabytes with 32K block sizes—to streamline administration in large-scale databases by reducing the overhead of managing numerous files. The bigfile approach is particularly advantageous for environments requiring massive capacity without proportional increases in file-tracking complexity. In other RDBMS, equivalent concepts vary. uses tablespaces primarily for directing permanent objects to specific locations without a distinct "permanent" type. employs general tablespaces and file-per-table options for persistent data storage.

Temporary Tablespaces

In , temporary tablespaces are specialized storage structures designed to hold transient data generated during short-lived operations, such as sorting or hashing, where the data is automatically discarded upon completion of the task or session. They function as work areas to manage temporary segments that support database operations unable to fit entirely in memory, ensuring efficient handling of intermediate results without persisting them as permanent objects. This design prevents the accumulation of unnecessary data in the database while facilitating resource-intensive queries. Key attributes of temporary tablespaces include support for multiple tempfiles, which distribute I/O across several files to enhance performance and scalability in high-concurrency environments. They typically utilize automatic space management, allowing the database to dynamically allocate and release extents without manual configuration, thereby optimizing space usage for ephemeral needs. Space allocation is session-specific, where each database session receives private extents within shared sort segments, minimizing contention and ensuring data isolation between concurrent users. Temporary tablespaces are essential for operations like SQL sorts triggered by ORDER BY clauses, hash joins that combine large datasets, index builds requiring key sorting, and storage of global temporary tables that exist only within a session's . These use cases arise frequently in analytical queries or tasks where constraints necessitate disk-based temporary . Databases assign a temporary tablespace at the system level during creation to guarantee that all sessions have access to temporary , with the option to specify user-level defaults for customized allocation. This ensures consistent availability for temporary operations across the environment. In , temporary storage is managed via the temp_tablespaces parameter, which specifies tablespaces for temporary tables, indexes, and sort files. handles temporary tables in a designated temporary directory rather than dedicated tablespaces.

Undo Tablespaces

In , undo tablespaces are a specialized type of permanent tablespace dedicated to storing undo data for transaction rollback, read consistency, and flashback operations. They maintain before-image data to support multi-version concurrency control, allowing queries to see consistent data without blocking writers. Undo tablespaces can be configured similarly to other permanent tablespaces, including bigfile support, and are crucial for maintaining database recoverability.

Implementation Across Systems

In Oracle Database

In , tablespaces serve as logical storage containers that organize physical data files into manageable units, enabling efficient allocation and management of database space. This feature provided a foundational for storing objects such as tables and indexes, separating logical design from underlying details. The architecture mandates specific system tablespaces for core functionality. The tablespace, created first during database initialization, holds the and essential system objects, ensuring it remains online at all times. The SYSAUX tablespace, introduced alongside the database creation process, supports auxiliary data for features like performance monitoring and is designed to offload non-critical storage from . Additionally, tablespaces store undo data necessary for operations, read consistency, and processes. Tablespaces are physically composed of one or more data files, typically with a .dbf extension, which store the actual data blocks. These files can be added, resized, or auto-extended dynamically to accommodate growth, with management handled through SQL commands like ALTER TABLESPACE. Transportable tablespaces facilitate efficient data movement across databases by allowing self-contained tablespaces—often set to read-only—to be copied and plugged into another instance, minimizing downtime for large-scale migrations. Oracle integrates tablespaces with Automatic Storage Management (ASM), a clustered file system that abstracts storage by treating tablespaces as logical volumes spanning disk groups for high availability and load balancing in enterprise environments. Key enhancements include bigfile tablespaces, introduced in Oracle 10g in 2003, which support up to 128 terabytes per file to simplify management in very large databases by reducing the number of files needed. In Oracle Database 23ai, the SHRINK TABLESPACE feature was introduced, enabling the reorganization and resizing of bigfile tablespaces to reclaim unused space using the DBMS_SPACE.SHRINK_TABLESPACE procedure.

In PostgreSQL and Alternatives

In , tablespaces provide a mechanism for database administrators to control the physical placement of database objects across different locations in the , facilitating the distribution of and indexes over multiple disks to optimize and manage resources. A tablespace is essentially a on the where the files representing database objects, such as tables and indexes, are stored; by default, uses the pg_default tablespace for user objects and pg_global for shared system catalogs. To create a tablespace, a executes the CREATE TABLESPACE command, specifying a unique name and the LOCATION parameter pointing to an existing, empty owned by the operating system user, such as CREATE TABLESPACE fastspace LOCATION '/ssd1/postgresql/[data](/page/Data)';. Once created, objects can be assigned to a tablespace during creation using the TABLESPACE clause in commands like CREATE TABLE or CREATE INDEX, or by setting configuration parameters like default_tablespace for new objects or temp_tablespaces for temporary ones. For load balancing and maintenance, allows the relocation of existing objects between tablespaces without for the entire , using the ALTER TABLE ... SET TABLESPACE or ALTER INDEX ... SET TABLESPACE commands, which physically move the files to the target directory. This operation is useful for shifting high-access tables to faster or archiving older to slower, higher-capacity disks, though it requires sufficient privileges and can be resource-intensive for large objects. Unlike Oracle's model, which relies on managed datafiles within tablespaces, tablespaces directly map to directories, providing flexibility but also requiring careful management of underlying to avoid issues like inaccessible directories rendering the database unusable. In alternative database systems, tablespace-like features serve similar purposes but differ in implementation. MySQL, particularly with the InnoDB storage engine, supports tablespaces through options like file-per-table (where each table has its own .ibd file) or the shared InnoDB system tablespace (ibdata1), with general tablespaces introduced for more flexible shared storage across multiple tables via CREATE TABLESPACE. General tablespaces in MySQL allow data files to be placed outside the main data directory and support features like compression, but they do not release space to the operating system upon table drops, reusing it internally instead. Similarly, Microsoft SQL Server uses filegroups as an analogous construct, grouping one or more physical data files (.mdf or .ndf) to partition database storage logically, enabling administrators to place objects on specific drives for performance or backup purposes via CREATE TABLE ... ON filegroup_name. These systems highlight key differences from 's approach: while emphasizes direct file system directory integration without built-in file management abstractions like Oracle's bigfile tablespaces, and SQL Server focus on file-based structures with proportional filling algorithms across files in a group, offering varying degrees of shared versus isolated storage control. lacks native tablespace-level quotas, relying instead on operating system-level controls or extensions for space limits, in contrast to more granular quota mechanisms in some enterprise alternatives.

Management Operations

Creation and Configuration

Management operations for tablespaces vary across relational database management systems (RDBMS), with differences in syntax, parameters, and underlying storage models. In Oracle Database, creating a tablespace requires specifying a unique name, the paths and filenames for the associated data files, and the initial size of those files to allocate storage space for database objects. This step ensures that the tablespace can accommodate segments such as tables and indexes from the outset. Configuration attributes, including extent management options, are also defined during creation to control how space is allocated and tracked. Key prerequisites for tablespace creation in Oracle include verifying sufficient available disk space to prevent allocation failures and ensuring the database administrator holds the appropriate privileges, such as the CREATE TABLESPACE system privilege. In Oracle, new databases are installed with default tablespaces such as SYSTEM for metadata and USERS for general object storage, providing an initial configuration without manual intervention; defaults vary in other systems, such as pg_default in PostgreSQL or the PRIMARY filegroup in SQL Server. In , important parameters during configuration include BLOCKSIZE, which sets the database block size to optimize operations based on and characteristics, typically ranging from 2 to 32 . Another critical parameter is SEGMENT SPACE MANAGEMENT, which can be configured as to enable bitmap-based free space tracking for efficient segment allocation or to rely on freelists for compatibility with legacy applications. Extent management is similarly configurable as , using bitmaps within the tablespace for self-contained tracking and reduced overhead, or , which relies on centralized entries for extent information. Local management is preferred for modern databases due to its scalability and performance benefits. Other systems lack direct equivalents; for instance, configuration focuses on tablespace options like seq_page_cost via WITH clauses, without block or extent management. In , tablespaces are created using CREATE TABLESPACE with a unique name and LOCATION specifying an absolute path to an existing directory owned by the PostgreSQL user, without defining data files or initial sizes, as storage is handled by the filesystem. SQL Server uses filegroups analogous to tablespaces, created via ALTER DATABASE ADD FILEGROUP, followed by adding files with specified paths and sizes. In MySQL's , general tablespaces are created with CREATE TABLESPACE specifying data file paths and sizes, similar to , while file-per-table is the default for individual tables without explicit tablespace creation. A representative workflow for tablespace setup in begins during database installation, where core default tablespaces are automatically provisioned via the CREATE DATABASE statement. Post-installation, administrators create custom tablespaces by defining their parameters and then assign them as defaults for users using ALTER USER statements, ensuring that new objects are stored in the intended location. This approach allows for organized storage distribution from the database's inception. For temporary tablespaces in , the process is similar to permanent ones but emphasizes settings for sort and temporary segment handling. In , default tablespaces are created during cluster initialization with initdb, and custom ones can be assigned via the TABLESPACE clause in object creation statements.

Alteration and Resizing

In management systems like , altering and resizing tablespaces involves modifying the storage allocation and attributes of existing tablespaces to accommodate changing data needs without recreating them. These operations are typically performed using SQL statements such as ALTER TABLESPACE, which allow administrators to expand capacity, adjust growth behaviors, or change accessibility states while minimizing disruption to ongoing database operations. Resizing operations enable dynamic adjustment of tablespace capacity. To increase size, administrators can add a new datafile with ALTER TABLESPACE tablespace_name ADD DATAFILE 'file_path' SIZE initial_size AUTOEXTEND ON NEXT increment_size MAXSIZE maximum_size, where AUTOEXTEND ON allows the file to grow automatically up to the specified maximum when space is low. For existing datafiles, resizing uses ALTER DATABASE DATAFILE 'file_path' RESIZE new_size to expand or shrink the file, provided the new size is larger than the current used space. Autoextend options support incremental growth, such as extending by 1 increments up to 32 , preventing immediate space exhaustion during peak loads. In bigfile tablespaces, direct resizing is possible via ALTER TABLESPACE tablespace_name RESIZE new_size. Attribute changes provide flexibility in managing tablespace behavior and availability. Administrators can switch extent allocation policies, such as enabling AUTOALLOCATE for uniform extent sizes managed by the database, using ALTER TABLESPACE tablespace_name DEFAULT STORAGE (AUTOALLOCATE). To perform , tablespaces can be taken offline with ALTER TABLESPACE tablespace_name OFFLINE [NORMAL | IMMEDIATE | TEMPORARY], restricting until brought online via ALTER TABLESPACE tablespace_name ONLINE, which helps in scenarios like file relocation without full . Conversion to read-only mode, using ALTER TABLESPACE tablespace_name READ ONLY, prevents further writes and optimizes processes for stable data sets. Coalescing free space addresses fragmentation by merging adjacent free extents into larger contiguous blocks, improving allocation efficiency. This is achieved with ALTER TABLESPACE tablespace_name COALESCE, which can be manual or triggered automatically in certain configurations to reclaim unused space without adding files. For temporary tablespaces, space reclamation uses ALTER TABLESPACE temp_tablespace_name [SHRINK](/page/Shrink) SPACE, reducing overall after temporary operations. Certain limitations apply to ensure system stability. The tablespace cannot be set to read-only or taken offline, as it stores critical , though resizing is possible with careful execution to avoid impacting core database functions. All alteration operations require privileges like ALTER TABLESPACE or SYSDBA, and planning is essential to prevent , as some changes (e.g., offline operations) may temporarily block access to dependent objects. In other systems, such as , alteration is limited to renaming, changing ownership, or setting I/O parameters via ALTER TABLESPACE, with no direct resizing as storage is filesystem-managed. SQL Server uses ALTER DATABASE to add or modify files in filegroups, supporting size increases but requiring separate shrink commands for reductions. MySQL's ALTER TABLESPACE focuses on adding datafiles in NDB clusters or configuring autoextend increments in , but lacks broad resizing for general tablespaces.

Monitoring and Troubleshooting

Monitoring tablespaces varies by RDBMS, often involving system views for and external tools for physical storage. In , monitoring involves querying dynamic performance views and views to assess space utilization, free extents, and growth trends. The DBA_TABLESPACES view provides on all tablespaces, including attributes such as block size, maximum , initial and next extent sizes, and percentage increase for extents, enabling administrators to evaluate configuration and potential growth patterns. Complementing this, the V$DATAFILE view offers real-time information from the control file, detailing datafile sizes in bytes and blocks, status (e.g., ONLINE or OFFLINE), and tablespace associations to monitor overall storage health and accessibility. For temporary tablespaces, DBA_TEMP_FREE_SPACE can be queried to track allocated and free space, aiding in the identification of usage spikes during operations like . In , tablespaces can be listed via the pg_tablespace system view, which provides names and locations, but space usage requires filesystem monitoring tools (e.g., du) since does not track filesystem fullness directly; database-level space is assessed with functions like pg_database_size(). SQL Server monitoring uses sys.database_files and sys.filegroups views to check file sizes, growth, and usage within filegroups. For , INFORMATION_SCHEMA.INNODB_TABLESPACES or SHOW TABLE STATUS provide details on tablespace files and sizes. Common issues in tablespace management include insufficient space leading to errors such as in , which occurs when the system cannot allocate an extent for a temporary or permanent segment due to a full tablespace or concurrent usage exceeding available space. Another frequent problem is fragmentation, where updates and deletes create small, unusable pockets of free space within extents, resulting in inefficient allocation and degraded performance as new objects cannot reuse these fragments effectively. Troubleshooting in begins with analyzing space usage through the DBMS_SPACE package, which includes procedures like OBJECT_GROWTH_TREND to track historical trends, UNUSED_SPACE to identify reclaimable areas in segments, and SPACE_USAGE to report free blocks under the in automatically managed segments. For fragmentation, online segment shrink via ALTER TABLE ... SHRINK SPACE consolidates free space below the and deallocates unused space above it, applicable to eligible tables and indexes in locally managed tablespaces; alternatively, relocating hot objects can be achieved through online table redefinition, which rebuilds the object in a new location while maintaining availability. To address space shortages during peak loads, administrators can dynamically add datafiles using ALTER TABLESPACE ... ADD DATAFILE, expanding capacity without downtime. In other systems, troubleshooting often involves OS-level checks; for example, in , resizing the underlying filesystem or relocating tablespaces addresses space issues. Proactive monitoring in is facilitated by integrating with , which generates server alerts for dictionary-managed tablespaces based on configurable thresholds, such as percentage full or remaining free space in kilobytes, notifying users via the Database Control home page when space runs low. Custom scripts can automate threshold checks on views like DBA_FREE_SPACE, which aggregates free extent counts, maximum piece sizes, and total blocks to detect fragmentation early and trigger actions like extent coalescing in dictionary-managed tablespaces.

Advanced Considerations

Performance Optimization

Effective placement strategies for tablespaces involve distributing data files across multiple disks or configurations to enable parallel I/O operations and minimize contention. In , storing related logical structures on separate disk drives reduces I/O bottlenecks, particularly for high-concurrency workloads, while using multiple tablespaces allows for targeted storage allocation based on object types. Similarly, tablespaces support placing frequently accessed objects, such as indexes, on high-performance SSDs, while archiving less critical data to slower, cost-effective storage to balance speed and expense. This separation of indexes from tables in dedicated tablespaces further enhances parallelism by allowing concurrent reads and writes without interference. Extent sizing plays a critical role in mitigating fragmentation and improving allocation efficiency. recommends locally managed tablespaces with automatic extent allocation (AUTOALLOCATE) for flexibility in dynamic environments, starting from a minimum of 64 , or uniform sizing for predictable growth in stable setups to avoid internal fragmentation. Uniform extents, such as 128 , ensure consistent block usage but may lead to wasted space if not matched to object sizes, whereas autoallocation adapts to workload patterns. In , while extent management is handled internally, tablespace placement indirectly influences allocation by directing segments to optimized , reducing seek times for scattered . Automatic Segment Space Management (ASSM) in further optimizes concurrency by dynamically managing within segments, eliminating the need for parameters like PCTUSED and reducing overhead during DML operations. For standard workloads, ASSM delivers superior compared to manual segment management (MSSM), with improved utilization and lower administrative requirements. Enabled by default in new permanent tablespaces via SEGMENT SPACE MANAGEMENT AUTO, it uses bitmaps for efficient free tracking, benefiting OLTP scenarios with frequent inserts and updates. achieves analogous concurrency gains through tablespace isolation, though without explicit ASSM; instead, it relies on processes to reclaim , augmented by strategic placement. I/O efficiency is enhanced by tailoring block sizes and tablespace configurations to workload types. In Oracle, a database block size of 8 KB suits OLTP for , while larger sizes like 16 KB or 32 KB benefit OLAP sequential scans by reducing logical I/O calls; bigfile tablespaces, supporting up to 128 TB with 32 KB blocks, streamline management for large-scale I/O. In 23ai, bigfile tablespaces are created by default, simplifying administration for large datasets, and a new shrink capability allows non-disruptive reduction of bigfile tablespace sizes to reclaim unused space efficiently. Multiple tablespaces dedicated to OLTP (e.g., for active transactions) versus OLAP (e.g., for analytical queries) prevent , with table further cutting I/O through reduced disk and buffer usage. optimizes I/O via tablespace location choices, such as SSDs for hot data, yielding latency reductions proportional to tier differences—e.g., moving indexes to NVMe can accelerate queries by factors tied to disk throughput. Evaluating performance gains from tablespace strategies often involves metrics like response time and throughput post-reorganization. In Oracle, reorganizing fragmented tablespaces via ALTER TABLE MOVE or Segment Advisor can reclaim unused space and reorder data by primary key, leading to significant I/O reductions and query response time improvements in high-volume environments, as measured against baseline CPU and wait events. PostgreSQL benefits similarly from relocating tables to optimized tablespaces, with throughput gains evident in EXPLAIN ANALYZE outputs showing lower execution times for disk-bound queries. Tools like Oracle's Automatic Workload Repository or PostgreSQL's pg_stat_statements provide these metrics for iterative tuning.

Security and Backup Implications

Tablespaces play a critical role in enforcing access controls within database systems, particularly through mechanisms that limit user resource consumption and protect data confidentiality. In , administrators can assign tablespace quotas to individual users or roles, restricting the amount of space they can allocate for objects like tables and indexes, thereby preventing over-allocation and potential denial-of-service scenarios from excessive storage use. This quota management is configured via the ALTER USER statement, allowing fine-grained control over storage privileges without granting unlimited access. Additionally, tablespace-level encryption, such as (TDE), safeguards by encrypting entire tablespaces, protecting against unauthorized access through physical media theft or filesystem breaches outside the database environment. TDE operates transparently, requiring no application changes, and uses algorithms like to secure data while maintaining performance. Backup strategies for tablespaces integrate seamlessly with database recovery tools, enabling granular data protection without full-system interruptions. Oracle's Recovery Manager (RMAN) supports tablespace-level backups, allowing administrators to back up and restore specific tablespaces independently, which streamlines maintenance for large databases. Transportable tablespaces further enhance this by facilitating (PITR), where tablespaces can be exported, backed up, and imported at a precise system change number (SCN) or , minimizing during migrations or recoveries. This approach leverages RMAN to create self-contained tablespace sets from backups, supporting scenarios like database cloning or rapid redeployment. Recovery processes benefit significantly from tablespace architecture, particularly in isolating failures. Tablespace Point-in-Time Recovery (TSPITR) via RMAN allows restoration of one or more tablespaces to an earlier state without impacting the rest of the database, enabling quick from logical errors like or unintended deletions. For the UNDO tablespace, which stores rollback data, its dedicated management ensures reliable during instance crashes or , as undo records are used to reverse uncommitted changes and maintain read consistency across sessions. Proper sizing and retention policies for the UNDO tablespace are essential to support these operations, preventing "snapshot too old" errors in long-running queries. Despite these protections, tablespaces introduce vulnerabilities related to shared storage environments, where multi-tenant access or improper configuration can lead to unauthorized data exposure. In shared storage setups like , inadequate access controls on underlying filesystems may allow privileged users to bypass database-level and access sensitive tablespace data directly. To mitigate such risks, best practices include isolating sensitive data in dedicated, encrypted tablespaces and applying strict quotas and privileges to limit cross-schema access, ensuring compliance with security standards like . Regular auditing of tablespace permissions further helps detect and prevent potential breaches in shared infrastructures.

References

  1. [1]
    11 Managing Tablespaces - Oracle Help Center
    A tablespace is a database storage unit that groups related logical structures together. The database data files are stored in tablespaces.
  2. [2]
    Documentation: 18: 22.6. Tablespaces - PostgreSQL
    Tablespaces in PostgreSQL allow database administrators to define locations in the file system where the files representing database objects can be stored.
  3. [3]
    Tablespaces - CloudNativePG v1.27
    A tablespace is a robust and widely embraced feature in database management systems. It offers a powerful means to enhance the vertical scalability of a ...
  4. [4]
    MySQL 8.4 Reference Manual :: 17.6.3.1 The System Tablespace
    The system tablespace is the storage area for the change buffer. It may also contain table and index data if tables are created in the system tablespace.
  5. [5]
    MySQL 8.4 Reference Manual :: 17.6.3.3 General Tablespaces
    The TABLESPACE option can be used with CREATE TABLE to create tables in a general tablespaces, file-per-table tablespace, or in the system tablespace. The ...
  6. [6]
    3 Tablespaces, Datafiles, and Control Files
    This chapter describes tablespaces, the primary logical database structures of any Oracle database, and the physical datafiles that correspond to each ...
  7. [7]
    Table spaces - IBM
    A table space is a storage structure containing tables, indexes, large objects, and long data. They are used to organize data in a database into logical ...
  8. [8]
    Introduction to Oracle Database
    Oracle Version 3, released in 1983, was the first relational database to run on mainframes, minicomputers, and PCs.
  9. [9]
    50 years of the relational database - Oracle
    Feb 19, 2024 · The relational database has reached a golden milestone—it's been 50 years since IBM launched a project to develop the first prototype relational ...
  10. [10]
    14 Logical Storage Structures - Database - Oracle Help Center
    Within a tablespace, a segment can include extents from multiple data files, as shown in the preceding graphic. For example, one extent for a segment may be ...Missing: documentation | Show results with:documentation
  11. [11]
    13 Managing Tablespaces - Oracle Help Center
    A tablespace is a database storage unit that groups related logical structures together. The database data files are stored in tablespaces.
  12. [12]
    Documentation: 18: CREATE TABLESPACE - PostgreSQL
    CREATE TABLESPACE registers a new cluster-wide tablespace. The tablespace name must be distinct from the name of any existing tablespace in the database ...
  13. [13]
    Database files and filegroups - SQL Server - Microsoft Learn
    Jul 22, 2024 · Learn about database files and how to create filegroups in SQL Server for allocation and administrative purposes. View examples, rules, and ...
  14. [14]
    CREATE TABLESPACE - Oracle Help Center
    Purpose. Use the CREATE TABLESPACE statement to create a tablespace, which is an allocation of space in the database that can contain schema objects.
  15. [15]
    Tablespaces - Oracle Help Center
    Notes. A tablespace is a logical storage container for segments. Segments are database objects, such as tables and indexes, that consume storage space.
  16. [16]
    CREATE DATABASE - Oracle Help Center
    Specify DEFAULT TEMPORARY TABLESPACE to create a default shared temporary tablespace for the database. Shared temporary tablespaces were available in prior ...
  17. [17]
    Documentation: 18: ALTER TABLESPACE - PostgreSQL
    ALTER TABLESPACE can be used to change the definition of a tablespace. You must own the tablespace to change the definition of a tablespace.
  18. [18]
    ALTER DATABASE File and Filegroups - SQL Server (Transact-SQL)
    ### Summary: Altering Filegroups and Files in SQL Server
  19. [19]
  20. [20]
    Database Reference
    ### Summary of DBA_TABLESPACES View
  21. [21]
    Database Reference
    ### Summary of V$DATAFILE View
  22. [22]
    Database Administrator’s Guide
    Summary of each segment:
  23. [23]
  24. [24]
    Managing Space for Schema Objects - Database - Oracle Help Center
    Managing space for schema objects involves tasks such as managing tablespace alerts and space allocation, reclaiming unused space, dropping unused object ...
  25. [25]
    PL/SQL Packages and Types Reference
    ### Summary of DBMS_SPACE Usage for Space Analysis
  26. [26]
    Managing Tablespace Alerts - Oracle Help Center
    Oracle Database provides proactive help in managing disk space for tablespaces by alerting you when available space is running low.
  27. [27]
    Understanding PostgreSQL Tablespaces - Tiger Data
    Jan 3, 2024 · A tablespace is a disk location where the physical data files of database objects (tables, indexes, sequences, etc.) are stored.Missing: origin | Show results with:origin
  28. [28]
    4 Configuring a Database for Performance - Oracle Help Center
    Properly configuring the temporary tablespace helps optimize disk sort performance. Temporary tablespaces can be dictionary-managed or locally managed. Oracle ...
  29. [29]
    Query on Oracle Concepts: Advantages of ASSM
    Mar 19, 2013 · For many standard workloads, application performance with ASSM is better than the performance of a well-tuned application that uses MSSM.
  30. [30]
    What are the advantages/disadvantages of using Oracle Auto ...
    May 28, 2009 · The essential point of ASSM is that Oracle chooses PCTUSED dynamically and automatically for you and you don't have control over it anymore.
  31. [31]
    Improve Performance-Oracle 12c Table Reorganization - Oracledbwr
    Based on transactions on table, it may require maintenance activities such as table reorganization. After table reorg, it is seen performance improved a lot.
  32. [32]
    2 Managing Security for Oracle Database Users
    You can set the temporary tablespace for a user at user creation, and change it later using the ALTER USER statement. You can also establish tablespace groups ...
  33. [33]
    2 Managing Security for Oracle Database Users
    You can restrict the quota limits for user objects in a tablespace by using the ALTER USER SQL statement to change the current quota of the user to zero. After ...
  34. [34]
    8 Developing Applications Using the Data Encryption API
    Typically, you can use access control mechanisms to address security policies that limit data access to those with a need to see it. Oracle Database has ...
  35. [35]
    21 Performing RMAN Tablespace Point-in-Time Recovery (TSPITR)
    RMAN TSPITR enables quick recovery of one or more tablespaces in a database to an earlier time without affecting the rest of the tablespaces and objects in the ...
  36. [36]
    14 Creating Transportable Tablespace Sets from Backup with RMAN
    Using RMAN for creating a transportable tablespace set also enables you to specify a target point in time, SCN or restore point during your recovery window and ...
  37. [37]
    27 Creating Transportable Tablespace Sets
    The RMAN TRANSPORT TABLESPACE command also enables you to specify a target point in time, SCN, or restore point during your recovery window and transport ...<|control11|><|separator|>
  38. [38]
    10 Managing the Undo Tablespace - Oracle Help Center
    These records are collectively referred to as undo. Undo records are used to: Roll back transactions when a ROLLBACK statement is issued. Recover the database.
  39. [39]
    Managing Undo for Your Database - Oracle Help Center
    A rollback operation can be the result of a user who wants to undo the changes of a misguided or unintentional transaction, or it can be part of a recovery ...
  40. [40]
  41. [41]
    2 Security Features of Oracle Database Appliance
    Oracle Database Vault protects against misuse of stolen login credentials, application bypass, and unauthorized changes to applications and data, including ...<|control11|><|separator|>
  42. [42]
    Database Security Assessment Tool User Guide - Oracle Help Center
    Human errors could leave your database open to everyone, or an attacker could maliciously exploit configuration mistakes to gain unauthorized access to ...