[MDEV-15002] Innovation: CREATE [TEMPORARY] DATABASE Created: 2018-01-19  Updated: 2018-04-18

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Juan Telleria Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: temporary, usability


 Description   

As an innovation to introduce in MariaDB 10.3, I would like to suggest that MariaDB supports temporary (session) databases:

  • In such databases, all created tables will be temporary, independently if we specify the TEMPORARY clause or not when creating tables on such database.
  • It would be a "shortcut" in order to assure that ALL tables created at top a specific database remain always temporary.
  • As temporary tables are always per user session and connection, that would avoid problems such as tables which have not been declared temporary could interfere between users.

NEW SYNTAX:

CREATE [OR REPLACE] [TEMPORARY] {DATABASE | SCHEMA} [IF NOT EXISTS] db_name
    [create_specification] ...
 
create_specification:
    [DEFAULT] CHARACTER SET [=] charset_name
  | [DEFAULT] COLLATE [=] collation_name



 Comments   
Comment by Juan Telleria [ 2018-01-19 ]

It is a new feature request, not a bug.

It is not properly labeled.

Generated at Thu Feb 08 08:17:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.